mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 07:52:24 +00:00
fix(build): enforce Node >=22 in package.json
Updates the `engines.node` field in `package.json` from `>=20` to `>=22` to align with the project's documentation (`README.md`) and requirements. This change ensures that build environments (e.g., 4everland) fail early if an incompatible Node.js version is used, prompting necessary environment upgrades and preventing silent build failures or missing version injection. References: - README.md: "The project requires Node.js v22 or higher." - Issue: Missing version footer on deployed site due to Node 20 environment. Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
1 parent
6210b1045d
commit
64d862ffb3
1 file changed
+1
-1
+1
-1
@@ -4,7 +4,7 @@
|
||||
"type": "module",
|
||||
"version": "1.0.0",
|
||||
"engines": {
|
||||
"node": ">=20"
|
||||
"node": ">=22"
|
||||
},
|
||||
"scripts": {
|
||||
"start": "npm run build && npx serve dist",
|
||||
|
||||
Reference in new issue
Block a user