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:
parent
142dc9d1dd
commit
21f19c8a9f
2
.github/workflows/challenges.yml
vendored
2
.github/workflows/challenges.yml
vendored
@ -11,7 +11,7 @@ jobs:
|
|||||||
runs-on: 'ubuntu-latest'
|
runs-on: 'ubuntu-latest'
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
steps:
|
steps:
|
||||||
- uses: 'actions/checkout@v3.5.3'
|
- uses: 'actions/checkout@v4.0.0'
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
|
6
.github/workflows/cli.yml
vendored
6
.github/workflows/cli.yml
vendored
@ -10,7 +10,7 @@ jobs:
|
|||||||
lint:
|
lint:
|
||||||
runs-on: 'ubuntu-latest'
|
runs-on: 'ubuntu-latest'
|
||||||
steps:
|
steps:
|
||||||
- uses: 'actions/checkout@v3.5.3'
|
- uses: 'actions/checkout@v4.0.0'
|
||||||
|
|
||||||
- name: 'Setup Node.js'
|
- name: 'Setup Node.js'
|
||||||
uses: 'actions/setup-node@v3.8.1'
|
uses: 'actions/setup-node@v3.8.1'
|
||||||
@ -29,7 +29,7 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: 'ubuntu-latest'
|
runs-on: 'ubuntu-latest'
|
||||||
steps:
|
steps:
|
||||||
- uses: 'actions/checkout@v3.5.3'
|
- uses: 'actions/checkout@v4.0.0'
|
||||||
|
|
||||||
- name: 'Setup Node.js'
|
- name: 'Setup Node.js'
|
||||||
uses: 'actions/setup-node@v3.8.1'
|
uses: 'actions/setup-node@v3.8.1'
|
||||||
@ -48,7 +48,7 @@ jobs:
|
|||||||
test:
|
test:
|
||||||
runs-on: 'ubuntu-latest'
|
runs-on: 'ubuntu-latest'
|
||||||
steps:
|
steps:
|
||||||
- uses: 'actions/checkout@v3.5.3'
|
- uses: 'actions/checkout@v4.0.0'
|
||||||
|
|
||||||
- name: 'Setup Docker'
|
- name: 'Setup Docker'
|
||||||
uses: 'actions-hub/docker/cli@master'
|
uses: 'actions-hub/docker/cli@master'
|
||||||
|
2
.swcrc
2
.swcrc
@ -5,7 +5,7 @@
|
|||||||
"syntax": "typescript",
|
"syntax": "typescript",
|
||||||
"dynamicImport": true
|
"dynamicImport": true
|
||||||
},
|
},
|
||||||
"target": "es2022"
|
"target": "esnext"
|
||||||
},
|
},
|
||||||
"module": {
|
"module": {
|
||||||
"type": "es6"
|
"type": "es6"
|
||||||
|
592
package-lock.json
generated
592
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
18
package.json
18
package.json
@ -42,30 +42,30 @@
|
|||||||
"@commitlint/cli": "17.7.1",
|
"@commitlint/cli": "17.7.1",
|
||||||
"@commitlint/config-conventional": "17.7.0",
|
"@commitlint/config-conventional": "17.7.0",
|
||||||
"@swc/cli": "0.1.62",
|
"@swc/cli": "0.1.62",
|
||||||
"@swc/core": "1.3.78",
|
"@swc/core": "1.3.85",
|
||||||
"@tsconfig/strictest": "2.0.1",
|
"@tsconfig/strictest": "2.0.2",
|
||||||
"@types/date-and-time": "0.13.0",
|
"@types/date-and-time": "0.13.0",
|
||||||
"@types/mock-fs": "4.13.1",
|
"@types/mock-fs": "4.13.1",
|
||||||
"@types/ms": "0.7.31",
|
"@types/ms": "0.7.31",
|
||||||
"@types/node": "20.5.1",
|
"@types/node": "20.6.2",
|
||||||
"@types/sinon": "10.0.16",
|
"@types/sinon": "10.0.16",
|
||||||
"@types/validate-npm-package-name": "4.0.0",
|
"@types/validate-npm-package-name": "4.0.0",
|
||||||
"@typescript-eslint/eslint-plugin": "6.4.1",
|
"@typescript-eslint/eslint-plugin": "6.7.0",
|
||||||
"@typescript-eslint/parser": "6.4.1",
|
"@typescript-eslint/parser": "6.7.0",
|
||||||
"cross-env": "7.0.3",
|
"cross-env": "7.0.3",
|
||||||
"editorconfig-checker": "5.1.1",
|
"editorconfig-checker": "5.1.1",
|
||||||
"eslint": "8.47.0",
|
"eslint": "8.49.0",
|
||||||
"eslint-config-conventions": "11.0.1",
|
"eslint-config-conventions": "11.0.1",
|
||||||
"eslint-plugin-import": "2.28.1",
|
"eslint-plugin-import": "2.28.1",
|
||||||
"eslint-plugin-promise": "6.1.1",
|
"eslint-plugin-promise": "6.1.1",
|
||||||
"eslint-plugin-unicorn": "48.0.1",
|
"eslint-plugin-unicorn": "48.0.1",
|
||||||
"get-stream": "8.0.1",
|
"get-stream": "8.0.1",
|
||||||
"markdownlint-cli2": "0.8.1",
|
"markdownlint-cli2": "0.9.2",
|
||||||
"markdownlint-rule-relative-links": "2.1.0",
|
"markdownlint-rule-relative-links": "2.1.0",
|
||||||
"mock-fs": "5.2.0",
|
"mock-fs": "5.2.0",
|
||||||
"ms": "2.1.3",
|
"ms": "2.1.3",
|
||||||
"rimraf": "5.0.1",
|
"rimraf": "5.0.1",
|
||||||
"sinon": "15.2.0",
|
"sinon": "16.0.0",
|
||||||
"typescript": "5.1.6"
|
"typescript": "5.2.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
FROM gcc:12.3.0-bullseye AS builder
|
FROM gcc:13.2.0-bookworm AS builder
|
||||||
WORKDIR /usr/src/application
|
WORKDIR /usr/src/application
|
||||||
COPY ./ ./
|
COPY ./ ./
|
||||||
RUN gcc ./*.c* -o solution -Wall -Wextra -Wfloat-equal -Wundef -Werror -std=c17 -pedantic -pedantic-errors -O3
|
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
|
WORKDIR /usr/src/application
|
||||||
COPY --from=builder /usr/src/application/solution ./
|
COPY --from=builder /usr/src/application/solution ./
|
||||||
CMD ["./solution"]
|
CMD ["./solution"]
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
FROM gcc:12.3.0-bullseye AS builder
|
FROM gcc:13.2.0-bookworm AS builder
|
||||||
WORKDIR /usr/src/application
|
WORKDIR /usr/src/application
|
||||||
COPY ./ ./
|
COPY ./ ./
|
||||||
RUN g++ ./*.cpp* -o solution -Wall -Wextra -Wfloat-equal -Wundef -Werror -std=c++17 -pedantic -pedantic-errors -O3
|
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
|
WORKDIR /usr/src/application
|
||||||
COPY --from=builder /usr/src/application/solution ./
|
COPY --from=builder /usr/src/application/solution ./
|
||||||
CMD ["./solution"]
|
CMD ["./solution"]
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
FROM dart:3.1.0 AS builder
|
FROM dart:3.1.2 AS builder
|
||||||
WORKDIR /usr/src/application
|
WORKDIR /usr/src/application
|
||||||
COPY ./ ./
|
COPY ./ ./
|
||||||
RUN dart compile exe solution.dart -o solution
|
RUN dart compile exe solution.dart -o solution
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
FROM rust:1.71.1 AS builder
|
FROM rust:1.72.0 AS builder
|
||||||
WORKDIR /usr/src/rust_application
|
WORKDIR /usr/src/rust_application
|
||||||
|
|
||||||
# Cache dependencies
|
# Cache dependencies
|
||||||
@ -10,7 +10,7 @@ RUN cargo build --release && rm --recursive --force ./src ./target/release/deps/
|
|||||||
COPY ./ ./
|
COPY ./ ./
|
||||||
RUN cargo build --release
|
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
|
WORKDIR /usr/src/rust_application
|
||||||
COPY --from=builder /usr/src/rust_application/target/release/rust_application ./
|
COPY --from=builder /usr/src/rust_application/target/release/rust_application ./
|
||||||
CMD ["./rust_application"]
|
CMD ["./rust_application"]
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
FROM node:20.5.1 AS builder-dependencies
|
FROM node:20.6.1 AS builder-dependencies
|
||||||
WORKDIR /usr/src/application
|
WORKDIR /usr/src/application
|
||||||
COPY ./package*.json ./
|
COPY ./package*.json ./
|
||||||
RUN npm install
|
RUN npm install
|
||||||
|
|
||||||
FROM node:20.5.1 AS builder
|
FROM node:20.6.1 AS builder
|
||||||
WORKDIR /usr/src/application
|
WORKDIR /usr/src/application
|
||||||
COPY --from=builder-dependencies /usr/src/application/node_modules ./node_modules
|
COPY --from=builder-dependencies /usr/src/application/node_modules ./node_modules
|
||||||
COPY ./ ./
|
COPY ./ ./
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"build": "tsc"
|
"build": "tsc"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/node": "20.4.9",
|
"@types/node": "20.6.2",
|
||||||
"typescript": "5.1.6"
|
"typescript": "5.2.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -8,6 +8,14 @@
|
|||||||
"rootDir": "./",
|
"rootDir": "./",
|
||||||
"strict": true,
|
"strict": true,
|
||||||
"skipLibCheck": true,
|
"skipLibCheck": true,
|
||||||
"esModuleInterop": true
|
"esModuleInterop": true,
|
||||||
|
"allowUnusedLabels": false,
|
||||||
|
"allowUnreachableCode": false,
|
||||||
|
"noFallthroughCasesInSwitch": true,
|
||||||
|
"noImplicitOverride": true,
|
||||||
|
"noImplicitReturns": true,
|
||||||
|
"noUncheckedIndexedAccess": true,
|
||||||
|
"noUnusedLocals": true,
|
||||||
|
"noUnusedParameters": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user