Skip to content

Commit b40ae85

Browse files
committed
be explicit about needing nodejs v22+
1 parent 5da29fd commit b40ae85

File tree

3 files changed

+11
-10
lines changed

3 files changed

+11
-10
lines changed

src/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
"name": "cocalc",
33
"version": "1.0.0",
44
"description": "CoCalc: Collaborative Calculation",
5+
"engines": {
6+
"node": ">=22"
7+
},
58
"scripts": {
69
"make": "pnpm run build",
710
"make-dev": "pnpm run build-dev",

src/packages/backend/package.json

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
"name": "@cocalc/backend",
33
"version": "1.22.2",
44
"description": "CoCalc backend functionality: functionality used by either the hub, the next.js server or the project.",
5+
"engines": {
6+
"node": ">=22"
7+
},
58
"exports": {
69
"./*": "./dist/*.js",
710
"./database": "./dist/database/index.js",
@@ -14,10 +17,7 @@
1417
"./auth/tokens/*": "./dist/auth/tokens/*.js",
1518
"./podman": "./dist/podman/index.js"
1619
},
17-
"keywords": [
18-
"utilities",
19-
"cocalc"
20-
],
20+
"keywords": ["utilities", "cocalc"],
2121
"scripts": {
2222
"preinstall": "npx only-allow pnpm",
2323
"clean": "rm -rf dist node_modules",
@@ -36,12 +36,7 @@
3636
"conat-persist": "DEBUG=cocalc:* node ./bin/conat-persist.cjs",
3737
"conat-test-server": "node ./bin/conat-test-server.cjs"
3838
},
39-
"files": [
40-
"dist/**",
41-
"bin/**",
42-
"README.md",
43-
"package.json"
44-
],
39+
"files": ["dist/**", "bin/**", "README.md", "package.json"],
4540
"author": "SageMath, Inc.",
4641
"license": "SEE LICENSE.md",
4742
"dependencies": {

src/packages/lite/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@
2525
"bin": {
2626
"cocalc-lite": "./bin/start.js"
2727
},
28+
"engines": {
29+
"node": ">=22"
30+
},
2831
"author": "SageMath, Inc.",
2932
"license": "SEE LICENSE.md",
3033
"dependencies": {

0 commit comments

Comments
 (0)