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-12-26 23:05:18 +01:00
parent 1e2736b8aa
commit 289a2b7813
Signed by: theoludwig
GPG Key ID: ADFE5A563D718F3B
12 changed files with 807 additions and 696 deletions

View File

@ -11,7 +11,7 @@ jobs:
runs-on: "ubuntu-latest" runs-on: "ubuntu-latest"
timeout-minutes: 30 timeout-minutes: 30
steps: steps:
- uses: "actions/checkout@v4.0.0" - uses: "actions/checkout@v4.1.1"
with: with:
fetch-depth: 0 fetch-depth: 0
@ -21,7 +21,7 @@ jobs:
SKIP_LOGIN: true SKIP_LOGIN: true
- name: "Setup Node.js" - name: "Setup Node.js"
uses: "actions/setup-node@v3.8.1" uses: "actions/setup-node@v4.0.1"
with: with:
node-version: "lts/*" node-version: "lts/*"
cache: "npm" cache: "npm"

View File

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

View File

@ -1,4 +1,4 @@
MIT License # MIT License
Copyright (c) Théo LUDWIG Copyright (c) Théo LUDWIG

View File

@ -5,12 +5,12 @@
</p> </p>
<p align="center"> <p align="center">
<a href="./CONTRIBUTING.md"><img src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat" /></a> <a href="./CONTRIBUTING.md"><img src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat" alt="CONTRIBUTING" /></a>
<a href="./LICENSE"><img src="https://img.shields.io/badge/licence-MIT-blue.svg" alt="Licence MIT"/></a> <a href="./LICENSE"><img src="https://img.shields.io/badge/licence-MIT-blue.svg" alt="Licence MIT"/></a>
<a href="./CODE_OF_CONDUCT.md"><img src="https://img.shields.io/badge/Contributor%20Covenant-v2.0%20adopted-ff69b4.svg" alt="Contributor Covenant" /></a> <a href="./CODE_OF_CONDUCT.md"><img src="https://img.shields.io/badge/Contributor%20Covenant-v2.0%20adopted-ff69b4.svg" alt="Contributor Covenant" /></a>
<br /> <br />
<a href="https://github.com/theoludwig/programming-challenges/actions/workflows/cli.yml"><img src="https://github.com/theoludwig/programming-challenges/actions/workflows/cli.yml/badge.svg?branch=master" /></a> <a href="https://github.com/theoludwig/programming-challenges/actions/workflows/cli.yml"><img src="https://github.com/theoludwig/programming-challenges/actions/workflows/cli.yml/badge.svg?branch=master" alt="CLI" /></a>
<a href="https://github.com/theoludwig/programming-challenges/actions/workflows/challenges.yml"><img src="https://github.com/theoludwig/programming-challenges/actions/workflows/challenges.yml/badge.svg?branch=master" /></a> <a href="https://github.com/theoludwig/programming-challenges/actions/workflows/challenges.yml"><img src="https://github.com/theoludwig/programming-challenges/actions/workflows/challenges.yml/badge.svg?branch=master" alt="Challenges" /></a>
<a href="https://conventionalcommits.org"><img src="https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg" alt="Conventional Commits" /></a> <a href="https://conventionalcommits.org"><img src="https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg" alt="Conventional Commits" /></a>
<br/> <br/>
<a href="https://gitpod.io/#https://github.com/theoludwig/programming-challenges"><img src="https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod" alt="Gitpod ready-to-code"/></a> <a href="https://gitpod.io/#https://github.com/theoludwig/programming-challenges"><img src="https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod" alt="Gitpod ready-to-code"/></a>

1419
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -32,39 +32,39 @@
"date-and-time": "3.0.3", "date-and-time": "3.0.3",
"execa": "8.0.1", "execa": "8.0.1",
"log-symbols": "6.0.0", "log-symbols": "6.0.0",
"ora": "7.0.1", "ora": "8.0.1",
"replace-in-file": "7.0.1", "replace-in-file": "7.0.2",
"table": "6.8.1", "table": "6.8.1",
"typanion": "3.14.0", "typanion": "3.14.0",
"validate-npm-package-name": "5.0.0" "validate-npm-package-name": "5.0.0"
}, },
"devDependencies": { "devDependencies": {
"@commitlint/cli": "18.0.0", "@commitlint/cli": "18.4.3",
"@commitlint/config-conventional": "18.0.0", "@commitlint/config-conventional": "18.4.3",
"@swc/cli": "0.1.62", "@swc/cli": "0.1.63",
"@swc/core": "1.3.94", "@swc/core": "1.3.101",
"@tsconfig/strictest": "2.0.2", "@tsconfig/strictest": "2.0.2",
"@types/mock-fs": "4.13.3", "@types/mock-fs": "4.13.4",
"@types/ms": "0.7.33", "@types/ms": "0.7.34",
"@types/node": "20.8.7", "@types/node": "20.10.5",
"@types/sinon": "10.0.20", "@types/sinon": "17.0.2",
"@types/validate-npm-package-name": "4.0.1", "@types/validate-npm-package-name": "4.0.2",
"@typescript-eslint/eslint-plugin": "6.9.0", "@typescript-eslint/eslint-plugin": "6.16.0",
"@typescript-eslint/parser": "6.9.0", "@typescript-eslint/parser": "6.16.0",
"cross-env": "7.0.3", "cross-env": "7.0.3",
"editorconfig-checker": "5.1.1", "editorconfig-checker": "5.1.2",
"eslint": "8.52.0", "eslint": "8.56.0",
"eslint-config-conventions": "12.0.0", "eslint-config-conventions": "13.1.0",
"eslint-plugin-import": "2.29.0", "eslint-plugin-import": "2.29.1",
"eslint-plugin-promise": "6.1.1", "eslint-plugin-promise": "6.1.1",
"eslint-plugin-unicorn": "48.0.1", "eslint-plugin-unicorn": "50.0.1",
"get-stream": "8.0.1", "get-stream": "8.0.1",
"markdownlint-cli2": "0.10.0", "markdownlint-cli2": "0.11.0",
"markdownlint-rule-relative-links": "2.1.0", "markdownlint-rule-relative-links": "2.1.2",
"mock-fs": "5.2.0", "mock-fs": "5.2.0",
"ms": "2.1.3", "ms": "2.1.3",
"rimraf": "5.0.5", "rimraf": "5.0.5",
"sinon": "17.0.0", "sinon": "17.0.1",
"typescript": "5.2.2" "typescript": "5.3.3"
} }
} }

View File

@ -1,4 +1,4 @@
FROM gcc:13.2.0-bookworm AS builder FROM gcc:12.3.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

View File

@ -1,9 +1,9 @@
FROM gcc:12.3.0-bullseye AS builder FROM gcc:12.3.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"]

View File

@ -1,4 +1,4 @@
FROM dart:3.1.4 AS builder FROM dart:3.2.4 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

View File

@ -4,7 +4,7 @@ COPY ./ ./
RUN javac Solution.java RUN javac Solution.java
RUN jar cfe solution.jar Solution *.class RUN jar cfe solution.jar Solution *.class
FROM gcr.io/distroless/java17-debian11:latest AS runner FROM gcr.io/distroless/java17-debian12:latest AS runner
WORKDIR /usr/src/application WORKDIR /usr/src/application
COPY --from=builder /usr/src/application/solution.jar ./ COPY --from=builder /usr/src/application/solution.jar ./
CMD ["./solution.jar"] CMD ["./solution.jar"]

View File

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

View File

@ -1,9 +1,9 @@
FROM node:20.8.1 AS builder-dependencies FROM node:20.10.0 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.8.1 AS builder FROM node:20.10.0 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 ./ ./