Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
21b918e
Update Node.js and Rust versions in Dockerfile and configuration files
nygrenh Mar 2, 2026
fcf4dd9
Update dependencies for repo root
nygrenh Mar 2, 2026
65d3679
pnpm audit for repo root
nygrenh Mar 2, 2026
eb93b59
Update dependencies for system-tests
nygrenh Mar 2, 2026
8421796
Update dependencies for cms
nygrenh Mar 2, 2026
dc04de8
pnpm audit for cms
nygrenh Mar 2, 2026
ed7a4e1
Update dependencies for example-exercise
nygrenh Mar 2, 2026
dd39319
pnpm audit for example-exercise
nygrenh Mar 2, 2026
f5b3646
Update dependencies for main-frontend
nygrenh Mar 2, 2026
702ba8c
pnpm audit for main-frontend
nygrenh Mar 2, 2026
e4cebf6
Update dependencies for quizzes
nygrenh Mar 2, 2026
62b8f74
pnpm audit for quizzes
nygrenh Mar 2, 2026
6b46b38
Update dependencies for tmc
nygrenh Mar 2, 2026
1a8ea82
pnpm audit for tmc
nygrenh Mar 2, 2026
2d4b6bd
Update dependencies for shared-module
nygrenh Mar 2, 2026
b669f89
Update dependencies for shared-module/common
nygrenh Mar 2, 2026
3695471
pnpm audit for shared-module/common
nygrenh Mar 2, 2026
f8786f3
Update rust dependencies
nygrenh Mar 2, 2026
c2b3947
Fix extract gutenberg attribute types
nygrenh Mar 2, 2026
482f71a
Generate gutenberg types
nygrenh Mar 2, 2026
d1c6116
Update block implementations
nygrenh Mar 2, 2026
539a892
Eslint fixes
nygrenh Mar 2, 2026
9b85d5c
Rust fixes
nygrenh Mar 2, 2026
64d3bec
Update pnpm
nygrenh Mar 2, 2026
7302347
Rust fixes
nygrenh Mar 2, 2026
10a77b7
Fixes
nygrenh Mar 2, 2026
e9371d4
Double check that at least one chapter unlocked
nygrenh Mar 2, 2026
c73f680
CMS fixes
nygrenh Mar 3, 2026
23a2e5e
System test fixes
nygrenh Mar 3, 2026
3b8e64d
Merge remote-tracking branch 'origin/master' into update-deps-2026-03
nygrenh Mar 3, 2026
ce0f834
Test fixes
nygrenh Mar 3, 2026
91baaec
Update test to use base module for unlocking logic in user chapter lo…
nygrenh Mar 3, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile.node.base.dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Create a dummy project for installing the right pnpm and node versions
FROM node:22-bookworm-slim AS dummy-project-builder
FROM node:24-bookworm-slim AS dummy-project-builder

RUN mkdir -p /tmp/dummy-project
WORKDIR /tmp/dummy-project
Expand All @@ -8,7 +8,7 @@ COPY package.json /tmp/dummy-project/real-package.json
RUN PNPM_VERSION=$(grep -o '"packageManager": "pnpm@[^"]*"' real-package.json | sed 's/.*pnpm@\([^"]*\).*/\1/') && \
echo "{\"name\": \"temp\", \"version\": \"1.0.0\", \"packageManager\": \"pnpm@$PNPM_VERSION\"}" > package.json

FROM node:22-bookworm-slim AS node-base
FROM node:24-bookworm-slim AS node-base

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:22-bookworm-slim
run_command docker pull node:24-bookworm-slim

run_command docker build . --file Dockerfile.node.base.dockerfile -t eu.gcr.io/moocfi-public/project-331-node-base "$@"
2 changes: 1 addition & 1 deletion bin/build-dockerfile-node-cache
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ run_command cd "$RELATIVE_PATH" || exit
# Build the base image first if it doesn't exist or if --force-base is passed
if [[ "$*" == *"--force-base"* ]] || ! docker image inspect eu.gcr.io/moocfi-public/project-331-node-base:latest >/dev/null 2>&1; then
echo -e "${BLUE}Building base image first...${RESET_EVERYTHING}"
run_command docker pull node:22-bookworm-slim
run_command docker pull node:24-bookworm-slim
run_command docker build . --file Dockerfile.node.base.dockerfile -t eu.gcr.io/moocfi-public/project-331-node-base
else
echo -e "${GREEN}Base image already exists, skipping base build${RESET_EVERYTHING}"
Expand Down
12 changes: 10 additions & 2 deletions bin/extract-gutenberg-types
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,15 @@ if [ -f "./services/main-frontend/types/DeprecatedGutenbergBlockAttributes.guard
fi

run_command pnpm exec ts-auto-guard --export-all --paths services/main-frontend/types/GutenbergBlockAttributes.ts --project services/main-frontend/tsconfig.json
run_command pnpm exec prettier --write services/main-frontend/types/GutenbergBlockAttributes.ts services/main-frontend/types/GutenbergBlockAttributes.guard.ts
if [ -f "./services/main-frontend/types/GutenbergBlockAttributes.guard.ts" ]; then
run_command pnpm exec prettier --write services/main-frontend/types/GutenbergBlockAttributes.ts services/main-frontend/types/GutenbergBlockAttributes.guard.ts
else
run_command pnpm exec prettier --write services/main-frontend/types/GutenbergBlockAttributes.ts
fi

run_command pnpm exec ts-auto-guard --export-all --paths services/main-frontend/types/DeprecatedGutenbergBlockAttributes.ts --project services/main-frontend/tsconfig.json
run_command pnpm exec prettier --write services/main-frontend/types/DeprecatedGutenbergBlockAttributes.ts services/main-frontend/types/DeprecatedGutenbergBlockAttributes.guard.ts
if [ -f "./services/main-frontend/types/DeprecatedGutenbergBlockAttributes.guard.ts" ]; then
run_command pnpm exec prettier --write services/main-frontend/types/DeprecatedGutenbergBlockAttributes.ts services/main-frontend/types/DeprecatedGutenbergBlockAttributes.guard.ts
else
run_command pnpm exec prettier --write services/main-frontend/types/DeprecatedGutenbergBlockAttributes.ts
fi
43 changes: 24 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "",
"homepage": "https://github.com/rage/secret-project-331#readme",
"main": "index.js",
"packageManager": "pnpm@10.26.2",
"packageManager": "pnpm@10.30.3",
"type": "module",
"bugs": {
"url": "https://github.com/rage/secret-project-331/issues"
Expand All @@ -26,38 +26,43 @@
"dependencies": {
"@vectopus/atlas-icons": "^0.0.7"
},
"pnpm": {
"overrides": {
"eslint-plugin-jsx-a11y>minimatch": "3.1.2"
}
},
"devDependencies": {
"@eslint/js": "^9.36.0",
"@next/eslint-plugin-next": "^15.5.4",
"@eslint/js": "^9.39.3",
"@next/eslint-plugin-next": "^16.1.6",
"@stylelint/postcss-css-in-js": "^0.38.0",
"@tanstack/eslint-plugin-query": "^5.91.0",
"@types/node": "^24.6.2",
"@typescript-eslint/eslint-plugin": "^8.45.0",
"@typescript-eslint/parser": "^8.45.0",
"@tanstack/eslint-plugin-query": "^5.91.4",
"@types/node": "^25.3.3",
"@typescript-eslint/eslint-plugin": "^8.56.1",
"@typescript-eslint/parser": "^8.56.1",
"concurrently": "^9.2.0",
"esbuild": "^0.25.10",
"eslint": "^9.32.0",
"eslint-config-next": "^15.4.5",
"esbuild": "^0.27.3",
"eslint": "^9.39.3",
"eslint-config-next": "^16.1.6",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-explicit-use-directives": "^0.0.3",
"eslint-plugin-i18next": "^6.1.3",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-playwright": "^2.2.2",
"eslint-plugin-prettier": "^5.5.3",
"eslint-plugin-playwright": "^2.9.0",
"eslint-plugin-prettier": "^5.5.5",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^6.1.0",
"globals": "^16.4.0",
"eslint-plugin-react-hooks": "^7.0.1",
"globals": "^17.4.0",
"husky": "^9.1.7",
"lint-staged": "^16.2.3",
"lint-staged": "^16.3.1",
"postcss": "^8.5.6",
"postcss-styled-syntax": "^0.7.1",
"postcss-syntax": "^0.36.2",
"prettier": "^3.6.2",
"stylelint": "^16.23.0",
"stylelint-config-recommended": "^17.0.0",
"prettier": "^3.8.1",
"stylelint": "^17.4.0",
"stylelint-config-recommended": "^18.0.0",
"ts-auto-guard": "^5.0.1",
"tsx": "^4.20.3",
"tsx": "^4.21.0",
"typescript": "^5.9.3"
}
}
Loading
Loading