Skip to content

Commit 17730ad

Browse files
authored
Fix package.json engines and required Node version (#950)
Including "pnpm" in the engines field of your package.json for a library is generally not recommended, even if you use it for building the library. The engines field is typically used to specify runtime environments (such as Node.js versions) that are required to run the library, not the tools used to build or develop it. Most developers expect the engines field to list only the runtime requirements, not development tools like package managers.
1 parent 36e1b19 commit 17730ad

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@
3838
"main": "dist/client-side-validations.js",
3939
"module": "dist/client-side-validations.esm.js",
4040
"engines": {
41-
"node": ">= 18.0",
42-
"pnpm": "^9.12.1"
41+
"node": ">= 18.12"
4342
},
4443
"packageManager": "pnpm@^9.12.1",
4544
"browserslist": [

0 commit comments

Comments
 (0)