Skip to content

Commit b6b884c

Browse files
committed
Move to Node.js 22 and pnpm 9
1 parent da2f46a commit b6b884c

File tree

3 files changed

+3278
-2599
lines changed

3 files changed

+3278
-2599
lines changed

.tool-versions

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
nodejs 20.12.1
2-
pnpm 8.15.6
1+
nodejs 22.0.0
2+
pnpm 9.0.6

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@
99
"start": "vite --open",
1010
"test:js": "eslint .",
1111
"test:css": "stylelint src/**/*.pcss",
12-
"test:build": "pnpm build && size-limit",
12+
"test:build": "node --run build && size-limit",
1313
"test": "pnpm run /^test:/",
1414
"clean": "rm -Rf dist/",
1515
"build:home": "NODE_ENV=production ./scripts/build-home.js",
1616
"build:api": "NODE_ENV=production ./scripts/build-api.js",
1717
"build:docs": "NODE_ENV=production ./scripts/build-docs.js",
18-
"build": "pnpm build:home && pnpm build:api && pnpm build:docs",
18+
"build": "node --run build:home && node --run build:api && node --run build:docs",
1919
"start:build": "serve dist"
2020
},
2121
"dependencies": {
@@ -62,6 +62,6 @@
6262
"svgo": "^3.0.5"
6363
},
6464
"engines": {
65-
"node": "^20.0.0"
65+
"node": "^22.0.0"
6666
}
6767
}

0 commit comments

Comments
 (0)