Skip to content

Commit 21f19c8

Browse files
committed
build(deps): update latest
1 parent 142dc9d commit 21f19c8

File tree

12 files changed

+353
-297
lines changed

12 files changed

+353
-297
lines changed

.github/workflows/challenges.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: 'ubuntu-latest'
1212
timeout-minutes: 30
1313
steps:
14-
- uses: 'actions/checkout@v3.5.3'
14+
- uses: 'actions/checkout@v4.0.0'
1515
with:
1616
fetch-depth: 0
1717

.github/workflows/cli.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
lint:
1111
runs-on: 'ubuntu-latest'
1212
steps:
13-
- uses: 'actions/checkout@v3.5.3'
13+
- uses: 'actions/checkout@v4.0.0'
1414

1515
- name: 'Setup Node.js'
1616
uses: 'actions/[email protected]'
@@ -29,7 +29,7 @@ jobs:
2929
build:
3030
runs-on: 'ubuntu-latest'
3131
steps:
32-
- uses: 'actions/checkout@v3.5.3'
32+
- uses: 'actions/checkout@v4.0.0'
3333

3434
- name: 'Setup Node.js'
3535
uses: 'actions/[email protected]'
@@ -48,7 +48,7 @@ jobs:
4848
test:
4949
runs-on: 'ubuntu-latest'
5050
steps:
51-
- uses: 'actions/checkout@v3.5.3'
51+
- uses: 'actions/checkout@v4.0.0'
5252

5353
- name: 'Setup Docker'
5454
uses: 'actions-hub/docker/cli@master'

.swcrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"syntax": "typescript",
66
"dynamicImport": true
77
},
8-
"target": "es2022"
8+
"target": "esnext"
99
},
1010
"module": {
1111
"type": "es6"

package-lock.json

Lines changed: 319 additions & 271 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -42,30 +42,30 @@
4242
"@commitlint/cli": "17.7.1",
4343
"@commitlint/config-conventional": "17.7.0",
4444
"@swc/cli": "0.1.62",
45-
"@swc/core": "1.3.78",
46-
"@tsconfig/strictest": "2.0.1",
45+
"@swc/core": "1.3.85",
46+
"@tsconfig/strictest": "2.0.2",
4747
"@types/date-and-time": "0.13.0",
4848
"@types/mock-fs": "4.13.1",
4949
"@types/ms": "0.7.31",
50-
"@types/node": "20.5.1",
50+
"@types/node": "20.6.2",
5151
"@types/sinon": "10.0.16",
5252
"@types/validate-npm-package-name": "4.0.0",
53-
"@typescript-eslint/eslint-plugin": "6.4.1",
54-
"@typescript-eslint/parser": "6.4.1",
53+
"@typescript-eslint/eslint-plugin": "6.7.0",
54+
"@typescript-eslint/parser": "6.7.0",
5555
"cross-env": "7.0.3",
5656
"editorconfig-checker": "5.1.1",
57-
"eslint": "8.47.0",
57+
"eslint": "8.49.0",
5858
"eslint-config-conventions": "11.0.1",
5959
"eslint-plugin-import": "2.28.1",
6060
"eslint-plugin-promise": "6.1.1",
6161
"eslint-plugin-unicorn": "48.0.1",
6262
"get-stream": "8.0.1",
63-
"markdownlint-cli2": "0.8.1",
63+
"markdownlint-cli2": "0.9.2",
6464
"markdownlint-rule-relative-links": "2.1.0",
6565
"mock-fs": "5.2.0",
6666
"ms": "2.1.3",
6767
"rimraf": "5.0.1",
68-
"sinon": "15.2.0",
69-
"typescript": "5.1.6"
68+
"sinon": "16.0.0",
69+
"typescript": "5.2.2"
7070
}
7171
}

templates/docker/c/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
FROM gcc:12.3.0-bullseye AS builder
1+
FROM gcc:13.2.0-bookworm AS builder
22
WORKDIR /usr/src/application
33
COPY ./ ./
44
RUN gcc ./*.c* -o solution -Wall -Wextra -Wfloat-equal -Wundef -Werror -std=c17 -pedantic -pedantic-errors -O3
55

6-
FROM gcr.io/distroless/cc-debian11:latest AS runner
6+
FROM gcr.io/distroless/cc-debian12:latest AS runner
77
WORKDIR /usr/src/application
88
COPY --from=builder /usr/src/application/solution ./
99
CMD ["./solution"]

templates/docker/cpp/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
FROM gcc:12.3.0-bullseye AS builder
1+
FROM gcc:13.2.0-bookworm AS builder
22
WORKDIR /usr/src/application
33
COPY ./ ./
44
RUN g++ ./*.cpp* -o solution -Wall -Wextra -Wfloat-equal -Wundef -Werror -std=c++17 -pedantic -pedantic-errors -O3
55

6-
FROM gcr.io/distroless/cc-debian11:latest AS runner
6+
FROM gcr.io/distroless/cc-debian12:latest AS runner
77
WORKDIR /usr/src/application
88
COPY --from=builder /usr/src/application/solution ./
99
CMD ["./solution"]

templates/docker/dart/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM dart:3.1.0 AS builder
1+
FROM dart:3.1.2 AS builder
22
WORKDIR /usr/src/application
33
COPY ./ ./
44
RUN dart compile exe solution.dart -o solution

templates/docker/rust/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM rust:1.71.1 AS builder
1+
FROM rust:1.72.0 AS builder
22
WORKDIR /usr/src/rust_application
33

44
# Cache dependencies
@@ -10,7 +10,7 @@ RUN cargo build --release && rm --recursive --force ./src ./target/release/deps/
1010
COPY ./ ./
1111
RUN cargo build --release
1212

13-
FROM gcr.io/distroless/cc-debian11:latest AS runner
13+
FROM gcr.io/distroless/cc-debian12:latest AS runner
1414
WORKDIR /usr/src/rust_application
1515
COPY --from=builder /usr/src/rust_application/target/release/rust_application ./
1616
CMD ["./rust_application"]

templates/docker/typescript/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
FROM node:20.5.1 AS builder-dependencies
1+
FROM node:20.6.1 AS builder-dependencies
22
WORKDIR /usr/src/application
33
COPY ./package*.json ./
44
RUN npm install
55

6-
FROM node:20.5.1 AS builder
6+
FROM node:20.6.1 AS builder
77
WORKDIR /usr/src/application
88
COPY --from=builder-dependencies /usr/src/application/node_modules ./node_modules
99
COPY ./ ./

templates/docker/typescript/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"build": "tsc"
55
},
66
"devDependencies": {
7-
"@types/node": "20.4.9",
8-
"typescript": "5.1.6"
7+
"@types/node": "20.6.2",
8+
"typescript": "5.2.2"
99
}
1010
}

templates/docker/typescript/tsconfig.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,14 @@
88
"rootDir": "./",
99
"strict": true,
1010
"skipLibCheck": true,
11-
"esModuleInterop": true
11+
"esModuleInterop": true,
12+
"allowUnusedLabels": false,
13+
"allowUnreachableCode": false,
14+
"noFallthroughCasesInSwitch": true,
15+
"noImplicitOverride": true,
16+
"noImplicitReturns": true,
17+
"noUncheckedIndexedAccess": true,
18+
"noUnusedLocals": true,
19+
"noUnusedParameters": true
1220
}
1321
}

0 commit comments

Comments
 (0)