fix: replace .npmrc node version with engines in package.json (#7623)

This commit is contained in:
sriram veeraghanta
2025-08-22 14:13:08 +05:30
committed by GitHub
parent d0f26f8734
commit d3b26996dd
2 changed files with 4 additions and 4 deletions

3
.npmrc
View File

@@ -18,9 +18,6 @@ public-hoist-pattern[]=eslint
public-hoist-pattern[]=prettier
public-hoist-pattern[]=typescript
# Enforce Node version for consistent installs
use-node-version=22.18.0
# Reproducible installs across CI and dev
prefer-frozen-lockfile=true

View File

@@ -39,5 +39,8 @@
"sharp": "0.33.5"
}
},
"packageManager": "pnpm@10.12.1"
"packageManager": "pnpm@10.12.1",
"engines": {
"node": ">=22.18.0"
}
}