Skip to content

Commit

Permalink
Update deps 2023-12 (#1215)
Browse files Browse the repository at this point in the history
* Update Node version from 18 to 20

* Update deps for the repo root

* Npm audit for the repo root

* Update deps for system-tests

* Add a couple of box: trues

* Update deps for shared-module

* Npm audit for shared-module

* Update deps for cms

* Npm audit for cms

* Update deps for course-material

* Npm audit for course-material

* Update deps for example-exercise

* Npm audit for example-exercise

* Update deps for main-frontend

* Npm audit for main-frontend

* Update deps for quizzes

* Npm audit for quizzes

* Update deps for tmc

* Npm audit for tmc

* cargo upgrade

* Cargo update

* Fix types

* Cargo clippy

* Cargo fmt

* Eslint fixes

* isLoading -> isPending

* Type updates

* Type updates

* Fix render loop

* Test fixes

* Snapshot updates

* Update gutenberg attributes

* Documentation updates

* Code style

* Fixes

* Fixes

* Fixes

* Remove unused imports

* Update doc files
  • Loading branch information
nygrenh authored Dec 12, 2023
1 parent 4f305ef commit a105a8a
Show file tree
Hide file tree
Showing 236 changed files with 10,478 additions and 8,454 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18
20
2 changes: 1 addition & 1 deletion Dockerfile.node.base.dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18-bookworm-slim
FROM node:20-bookworm-slim

RUN apt-get update \
&& apt-get upgrade -yy \
Expand Down
2 changes: 1 addition & 1 deletion bin/build-dockerfile-node-base
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ RELATIVE_PATH=$(realpath --relative-to="$(pwd)" "$FOLDER_PATH")

run_command cd "$RELATIVE_PATH" || exit

run_command docker pull node:18-bookworm-slim
run_command docker pull node:20-bookworm-slim

run_command docker build . --file Dockerfile.node.base.dockerfile -t eu.gcr.io/moocfi-public/project-331-node-base
File renamed without changes.
5 changes: 2 additions & 3 deletions docs/updating-dependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,7 @@ Compile the system with `bin/dev` and `bin/test`. Try to use the different parts

## Base image updates

1. Run command: `bin/build-dockerfile-development-base && docker push eu.gcr.io/moocfi-public/project-331-headless-lms-dev-base`
2. Run command: `bin/build-dockerfile-production-base && docker push eu.gcr.io/moocfi-public/project-331-headless-lms-production-base`
3. Run command: `bin/build-dockerfile-node-base && docker push eu.gcr.io/moocfi-public/project-331-node-base`
1. Run command: `bin/build-dockerfile-development-base && docker push eu.gcr.io/moocfi-public/project-331-headless-lms-dev-base && bin/build-dockerfile-production-base && docker push eu.gcr.io/moocfi-public/project-331-headless-lms-production-base`
2. Run command: `bin/build-dockerfile-node-base && docker push eu.gcr.io/moocfi-public/project-331-node-base`

Run `bin/minikube-pull-images` on your host and instruct others to run this command as well once your update PR is merged.
2,629 changes: 1,575 additions & 1,054 deletions package-lock.json

Large diffs are not rendered by default.

34 changes: 17 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,33 +23,33 @@
"homepage": "https://github.com/rage/secret-project-331#readme",
"devDependencies": {
"@stylelint/postcss-css-in-js": "^0.38.0",
"@tanstack/eslint-plugin-query": "^4.36.1",
"@types/node": "^20.8.4",
"@typescript-eslint/eslint-plugin": "^6.7.5",
"@typescript-eslint/parser": "^6.7.5",
"concurrently": "^8.2.1",
"eslint": "^8.51.0",
"eslint-config-next": "^13.5.4",
"eslint-config-prettier": "^9.0.0",
"@tanstack/eslint-plugin-query": "^5.12.1",
"@types/node": "^20.10.3",
"@typescript-eslint/eslint-plugin": "^6.13.2",
"@typescript-eslint/parser": "^6.13.2",
"concurrently": "^8.2.2",
"eslint": "^8.55.0",
"eslint-config-next": "^14.0.3",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-eslint-custom-rules": "file:eslint-custom-rules",
"eslint-plugin-i18next": "^6.0.3",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-playwright": "^0.16.0",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-playwright": "^0.19.0",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"husky": "^8.0.3",
"lint-staged": "^14.0.1",
"postcss": "^8.4.31",
"lint-staged": "^15.2.0",
"postcss": "^8.4.32",
"postcss-styled-syntax": "^0.5.0",
"postcss-syntax": "^0.36.2",
"prettier": "^3.0.3",
"stylelint": "^15.10.3",
"prettier": "^3.1.0",
"stylelint": "^15.11.0",
"stylelint-config-recommended": "^13.0.0",
"ts-auto-guard": "^4.1.3",
"ts-auto-guard": "^4.1.4",
"ts-node": "^10.9.1",
"typescript": "^5.2.2"
"typescript": "^5.3.2"
},
"dependencies": {
"@vectopus/atlas-icons": "^0.0.7"
Expand Down
2 changes: 1 addition & 1 deletion services/cms/.nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18
20
Loading

0 comments on commit a105a8a

Please sign in to comment.