1
1
mirror of https://github.com/theoludwig/programming-challenges.git synced 2024-12-08 00:45:29 +01:00

build(deps): update latest

This commit is contained in:
Théo LUDWIG 2023-08-10 11:28:54 +02:00
parent 0245c7a12c
commit 5cc8bea083
Signed by: theoludwig
GPG Key ID: ADFE5A563D718F3B
11 changed files with 538 additions and 402 deletions

View File

@ -11,7 +11,7 @@ jobs:
runs-on: 'ubuntu-latest'
timeout-minutes: 30
steps:
- uses: 'actions/checkout@v3.5.2'
- uses: 'actions/checkout@v3.5.3'
with:
fetch-depth: 0
@ -21,7 +21,7 @@ jobs:
SKIP_LOGIN: true
- name: 'Setup Node.js'
uses: 'actions/setup-node@v3.6.0'
uses: 'actions/setup-node@v3.7.0'
with:
node-version: 'lts/*'
cache: 'npm'

View File

@ -10,10 +10,10 @@ jobs:
lint:
runs-on: 'ubuntu-latest'
steps:
- uses: 'actions/checkout@v3.5.2'
- uses: 'actions/checkout@v3.5.3'
- name: 'Setup Node.js'
uses: 'actions/setup-node@v3.6.0'
uses: 'actions/setup-node@v3.7.0'
with:
node-version: 'lts/*'
cache: 'npm'
@ -29,10 +29,10 @@ jobs:
build:
runs-on: 'ubuntu-latest'
steps:
- uses: 'actions/checkout@v3.5.2'
- uses: 'actions/checkout@v3.5.3'
- name: 'Setup Node.js'
uses: 'actions/setup-node@v3.6.0'
uses: 'actions/setup-node@v3.7.0'
with:
node-version: 'lts/*'
cache: 'npm'
@ -48,7 +48,7 @@ jobs:
test:
runs-on: 'ubuntu-latest'
steps:
- uses: 'actions/checkout@v3.5.2'
- uses: 'actions/checkout@v3.5.3'
- name: 'Setup Docker'
uses: 'actions-hub/docker/cli@master'
@ -56,7 +56,7 @@ jobs:
SKIP_LOGIN: true
- name: 'Setup Node.js'
uses: 'actions/setup-node@v3.6.0'
uses: 'actions/setup-node@v3.7.0'
with:
node-version: 'lts/*'
cache: 'npm'

View File

@ -2,7 +2,7 @@ image: 'gitpod/workspace-full'
tasks:
- name: 'programming-challenges'
before: 'npm install'
before: 'npm clean-install'
init: 'npm run build'
command: 'npm install --global && programming-challenges'

View File

@ -20,7 +20,7 @@
## 📜 About
**programming-challenges** brings together lots of programming exercises and challenges to improve your algorithmic logic.
**programming-challenges** brings programming exercises and challenges to improve your algorithmic logic.
Each challenge has its **solutions**, its **instructions** and **input/output examples** so you can try to solve them on your own. See [challenges](./challenges) folder.
@ -48,7 +48,7 @@ Gitpod will automatically setup an environment for you.
#### Prerequisites
- [Node.js](https://nodejs.org/) >= 18.0.0
- [Node.js](https://nodejs.org/) >= 20.0.0
- [npm](https://npmjs.com/) >= 9.0.0
- [Docker](https://www.docker.com/)
@ -62,7 +62,7 @@ git clone git@github.com:theoludwig/programming-challenges.git
cd programming-challenges
# Install dependencies
npm install
npm clean-install
# Build the Command Line Interface (CLI)
npm run build

872
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +1,7 @@
{
"name": "programming-challenges",
"version": "1.0.0",
"description": "programming-challenges brings together lots of programming exercises and challenges to improve your algorithmic logic.",
"description": "programming-challenges brings programming exercises and challenges to improve your algorithmic logic.",
"private": true,
"type": "module",
"license": "MIT",
@ -10,7 +10,7 @@
"url": "https://github.com/theoludwig/programming-challenges"
},
"engines": {
"node": ">=18.0.0",
"node": ">=20.0.0",
"npm": ">=9.0.0"
},
"main": "build/index.js",
@ -30,35 +30,35 @@
"chalk": "5.3.0",
"clipanion": "3.2.1",
"date-and-time": "3.0.2",
"execa": "7.1.1",
"execa": "7.2.0",
"log-symbols": "5.1.0",
"ora": "6.3.1",
"ora": "7.0.1",
"replace-in-file": "7.0.1",
"table": "6.8.1",
"typanion": "3.13.0",
"typanion": "3.14.0",
"validate-npm-package-name": "5.0.0"
},
"devDependencies": {
"@commitlint/cli": "17.6.7",
"@commitlint/config-conventional": "17.6.7",
"@commitlint/cli": "17.7.1",
"@commitlint/config-conventional": "17.7.0",
"@swc/cli": "0.1.62",
"@swc/core": "1.3.70",
"@swc/core": "1.3.75",
"@tsconfig/strictest": "2.0.1",
"@types/date-and-time": "0.13.0",
"@types/mock-fs": "4.13.1",
"@types/ms": "0.7.31",
"@types/node": "20.4.2",
"@types/sinon": "10.0.15",
"@types/node": "20.4.9",
"@types/sinon": "10.0.16",
"@types/validate-npm-package-name": "4.0.0",
"@typescript-eslint/eslint-plugin": "6.1.0",
"@typescript-eslint/parser": "6.1.0",
"@typescript-eslint/eslint-plugin": "6.3.0",
"@typescript-eslint/parser": "6.3.0",
"cross-env": "7.0.3",
"editorconfig-checker": "5.1.1",
"eslint": "8.45.0",
"eslint": "8.46.0",
"eslint-config-conventions": "11.0.1",
"eslint-plugin-import": "2.27.5",
"eslint-plugin-import": "2.28.0",
"eslint-plugin-promise": "6.1.1",
"eslint-plugin-unicorn": "48.0.0",
"eslint-plugin-unicorn": "48.0.1",
"get-stream": "7.0.1",
"markdownlint-cli2": "0.8.1",
"markdownlint-rule-relative-links": "2.1.0",

View File

@ -1,4 +1,4 @@
FROM dart:3.0.6 AS builder
FROM dart:3.0.7 AS builder
WORKDIR /usr/src/application
COPY ./ ./
RUN dart compile exe solution.dart -o solution

View File

@ -1,4 +1,4 @@
FROM gcr.io/distroless/nodejs18-debian11:latest AS runner
FROM gcr.io/distroless/nodejs20-debian11:latest AS runner
WORKDIR /usr/src/application
COPY ./ ./
CMD ["./solution.js"]

View File

@ -1,4 +1,4 @@
FROM rust:1.71.0 AS builder
FROM rust:1.71.1 AS builder
WORKDIR /usr/src/rust_application
# Cache dependencies

View File

@ -1,15 +1,15 @@
FROM node:18.17.0 AS builder-dependencies
FROM node:20.5.1 AS builder-dependencies
WORKDIR /usr/src/application
COPY ./package*.json ./
RUN npm install
FROM node:18.17.0 AS builder
FROM node:20.5.1 AS builder
WORKDIR /usr/src/application
COPY --from=builder-dependencies /usr/src/application/node_modules ./node_modules
COPY ./ ./
RUN npm run build
FROM gcr.io/distroless/nodejs18-debian11:latest AS runner
FROM gcr.io/distroless/nodejs20-debian11:latest AS runner
WORKDIR /usr/src/application
ENV NODE_ENV=production
COPY --from=builder /usr/src/application/package.json ./package.json

View File

@ -4,7 +4,7 @@
"build": "tsc"
},
"devDependencies": {
"@types/node": "20.4.2",
"@types/node": "20.4.9",
"typescript": "5.1.6"
}
}