Skip to content

Commit 526cf72

Browse files
committed
dev-demo: add support of node 23/24 on dev-demo
1 parent 31e032a commit 526cf72

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

dev-demo/pnpm-workspace.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,8 @@
1+
allowBuilds:
2+
'@prisma/client': true
3+
'@prisma/engines': true
4+
better-sqlite3: true
5+
esbuild: true
6+
prisma: true
17
overrides:
28
adminforth: link:../adminforth

dev-demo/scripts/check-node.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
const [major] = process.versions.node.split('.').map(Number);
22

3-
if (major < 20 || major > 22) {
3+
if (major < 20 || major > 24) {
44
console.error(
55
`❌ Node.js ${process.versions.node} detected.\n` +
6-
`Please use Node.js version 20, 21, or 22.`,
6+
`Please use Node.js version 20, 21, 22, 23, or 24.`,
77
);
88
process.exit(1);
99
}

0 commit comments

Comments
 (0)