Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
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
2 changes: 1 addition & 1 deletion .ddev/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ database:
use_dns_when_possible: true
composer_version: "2"
web_environment: []
nodejs_version: "20"
nodejs_version: "22"

# Key features of ddev's config.yaml:

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-demo-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
node-version: '22'
- name: Install npm packages
run: npm ci
- name: Build Storybook artifact
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,4 @@ tsconfig.tsbuildinfo

# Storybook build files
storybook-static/
storybook/
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20
v22.19
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG NODE_VERSION="18"
ARG NODE_VERSION="22"

FROM node:${NODE_VERSION}-alpine AS artifact
# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed.
Expand Down
23 changes: 8 additions & 15 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"export": "next build && next export",
"lint": "next lint && stylelint \"source/**/*.css\"",
"prepare": "husky install",
"prettier": "prettier --check pages source/",
"prettier": "prettier --check app source/",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch!

"prettier:write": "prettier --write app source/",
"tsc": "tsc --noEmit",
"test": "npm run lint && npm run tsc",
Expand Down Expand Up @@ -42,7 +42,7 @@
"@svgr/babel-plugin-add-jsx-attribute": "^8.0.0",
"@svgr/babel-plugin-remove-jsx-attribute": "^8.0.0",
"@svgr/cli": "^8.1.0",
"@types/node": "^20.19.11",
"@types/node": "^22.18.1",
"@types/react": "19.1.12",
"@types/react-dom": "19.1.9",
"@typescript-eslint/eslint-plugin": "^8.29.1",
Expand Down Expand Up @@ -79,5 +79,8 @@
"@types/react": "19.1.12",
"@types/react-dom": "19.1.9",
"storybook": "$storybook"
},
"engines": {
"node": ">=22"
}
}