Skip to content

Commit 0b80a83

Browse files
authored
chore: add engine field in main workspace
add the engine in the project root to the run the project, however keep lower requirement for the lib itself
1 parent 64697ba commit 0b80a83

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@
4747
"test": "vitest --watch --config ./vitest/vitest.config.mts",
4848
"test:coverage": "vitest --coverage --config ./vitest/vitest.config.mts"
4949
},
50+
"engines": {
51+
"node": "^20.0.0 || >=22.0.0",
52+
"pnpm": "9.x"
53+
},
5054
"packageManager": "[email protected]",
5155
"devDependencies": {
5256
"@biomejs/biome": "^1.9.4",
@@ -62,4 +66,4 @@
6266
"typescript": "^5.7.3",
6367
"vitest": "^3.0.5"
6468
}
65-
}
69+
}

0 commit comments

Comments
 (0)