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-09-16 14:38:47 +02:00
parent 142dc9d1dd
commit 21f19c8a9f
Signed by: theoludwig
GPG Key ID: ADFE5A563D718F3B
12 changed files with 354 additions and 298 deletions

View File

@ -11,7 +11,7 @@ jobs:
runs-on: 'ubuntu-latest'
timeout-minutes: 30
steps:
- uses: 'actions/checkout@v3.5.3'
- uses: 'actions/checkout@v4.0.0'
with:
fetch-depth: 0

View File

@ -10,7 +10,7 @@ jobs:
lint:
runs-on: 'ubuntu-latest'
steps:
- uses: 'actions/checkout@v3.5.3'
- uses: 'actions/checkout@v4.0.0'
- name: 'Setup Node.js'
uses: 'actions/setup-node@v3.8.1'
@ -29,7 +29,7 @@ jobs:
build:
runs-on: 'ubuntu-latest'
steps:
- uses: 'actions/checkout@v3.5.3'
- uses: 'actions/checkout@v4.0.0'
- name: 'Setup Node.js'
uses: 'actions/setup-node@v3.8.1'
@ -48,7 +48,7 @@ jobs:
test:
runs-on: 'ubuntu-latest'
steps:
- uses: 'actions/checkout@v3.5.3'
- uses: 'actions/checkout@v4.0.0'
- name: 'Setup Docker'
uses: 'actions-hub/docker/cli@master'

2
.swcrc
View File

@ -5,7 +5,7 @@
"syntax": "typescript",
"dynamicImport": true
},
"target": "es2022"
"target": "esnext"
},
"module": {
"type": "es6"

592
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -42,30 +42,30 @@
"@commitlint/cli": "17.7.1",
"@commitlint/config-conventional": "17.7.0",
"@swc/cli": "0.1.62",
"@swc/core": "1.3.78",
"@tsconfig/strictest": "2.0.1",
"@swc/core": "1.3.85",
"@tsconfig/strictest": "2.0.2",
"@types/date-and-time": "0.13.0",
"@types/mock-fs": "4.13.1",
"@types/ms": "0.7.31",
"@types/node": "20.5.1",
"@types/node": "20.6.2",
"@types/sinon": "10.0.16",
"@types/validate-npm-package-name": "4.0.0",
"@typescript-eslint/eslint-plugin": "6.4.1",
"@typescript-eslint/parser": "6.4.1",
"@typescript-eslint/eslint-plugin": "6.7.0",
"@typescript-eslint/parser": "6.7.0",
"cross-env": "7.0.3",
"editorconfig-checker": "5.1.1",
"eslint": "8.47.0",
"eslint": "8.49.0",
"eslint-config-conventions": "11.0.1",
"eslint-plugin-import": "2.28.1",
"eslint-plugin-promise": "6.1.1",
"eslint-plugin-unicorn": "48.0.1",
"get-stream": "8.0.1",
"markdownlint-cli2": "0.8.1",
"markdownlint-cli2": "0.9.2",
"markdownlint-rule-relative-links": "2.1.0",
"mock-fs": "5.2.0",
"ms": "2.1.3",
"rimraf": "5.0.1",
"sinon": "15.2.0",
"typescript": "5.1.6"
"sinon": "16.0.0",
"typescript": "5.2.2"
}
}

View File

@ -1,9 +1,9 @@
FROM gcc:12.3.0-bullseye AS builder
FROM gcc:13.2.0-bookworm AS builder
WORKDIR /usr/src/application
COPY ./ ./
RUN gcc ./*.c* -o solution -Wall -Wextra -Wfloat-equal -Wundef -Werror -std=c17 -pedantic -pedantic-errors -O3
FROM gcr.io/distroless/cc-debian11:latest AS runner
FROM gcr.io/distroless/cc-debian12:latest AS runner
WORKDIR /usr/src/application
COPY --from=builder /usr/src/application/solution ./
CMD ["./solution"]

View File

@ -1,9 +1,9 @@
FROM gcc:12.3.0-bullseye AS builder
FROM gcc:13.2.0-bookworm AS builder
WORKDIR /usr/src/application
COPY ./ ./
RUN g++ ./*.cpp* -o solution -Wall -Wextra -Wfloat-equal -Wundef -Werror -std=c++17 -pedantic -pedantic-errors -O3
FROM gcr.io/distroless/cc-debian11:latest AS runner
FROM gcr.io/distroless/cc-debian12:latest AS runner
WORKDIR /usr/src/application
COPY --from=builder /usr/src/application/solution ./
CMD ["./solution"]

View File

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

View File

@ -1,4 +1,4 @@
FROM rust:1.71.1 AS builder
FROM rust:1.72.0 AS builder
WORKDIR /usr/src/rust_application
# Cache dependencies
@ -10,7 +10,7 @@ RUN cargo build --release && rm --recursive --force ./src ./target/release/deps/
COPY ./ ./
RUN cargo build --release
FROM gcr.io/distroless/cc-debian11:latest AS runner
FROM gcr.io/distroless/cc-debian12:latest AS runner
WORKDIR /usr/src/rust_application
COPY --from=builder /usr/src/rust_application/target/release/rust_application ./
CMD ["./rust_application"]

View File

@ -1,9 +1,9 @@
FROM node:20.5.1 AS builder-dependencies
FROM node:20.6.1 AS builder-dependencies
WORKDIR /usr/src/application
COPY ./package*.json ./
RUN npm install
FROM node:20.5.1 AS builder
FROM node:20.6.1 AS builder
WORKDIR /usr/src/application
COPY --from=builder-dependencies /usr/src/application/node_modules ./node_modules
COPY ./ ./

View File

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

View File

@ -8,6 +8,14 @@
"rootDir": "./",
"strict": true,
"skipLibCheck": true,
"esModuleInterop": true
"esModuleInterop": true,
"allowUnusedLabels": false,
"allowUnreachableCode": false,
"noFallthroughCasesInSwitch": true,
"noImplicitOverride": true,
"noImplicitReturns": true,
"noUncheckedIndexedAccess": true,
"noUnusedLocals": true,
"noUnusedParameters": true
}
}