mirror of
https://github.com/shuaiplus/nodewarden.git
synced 2026-11-04 10:40:20 +00:00
chore: update Node.js version requirements and add .node-version file
This commit is contained in:
1 parent
4c241aa64b
commit
02081ea07f
4 files changed
+63
-10
No files matched your search
@@ -119,6 +119,15 @@ For new locales, update:
|
||||
|
||||
## Recommended Checks
|
||||
|
||||
Use the Node.js version in `.node-version` for local and Cloudflare builds.
|
||||
Cloudflare Pages and Workers Builds read this file automatically. If a project
|
||||
sets `NODE_VERSION` in its dashboard, keep it aligned with this file.
|
||||
|
||||
When regenerating the lockfile, use a directory without `node_modules` and
|
||||
verify `npm ci` with npm 10.9.2, the version used by Cloudflare's build image.
|
||||
Include optional dependencies so the lockfile also covers native and WASM
|
||||
dependencies on other platforms.
|
||||
|
||||
For most backend or shared changes:
|
||||
|
||||
```sh
|
||||
|
||||
Reference in new issue
Block a user