mirror of
https://github.com/unraid/api.git
synced 2025-12-30 13:09:52 -06:00
chore: add check-node-version pre-install check to monorepo (#1570)
--- - To see the specific tasks where the Asana app for GitHub is being used, see below: - https://app.asana.com/0/0/1210813683607812 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Enforced use of Node.js version 22 during installation. * Added a new tool to verify Node.js version before installing dependencies. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
"type-check": "pnpm -r type-check",
|
||||
"check": "manypkg check",
|
||||
"sync-webgui-repo": "node web/scripts/sync-webgui-repo.js",
|
||||
"preinstall": "npx check-node-version --node 22 || echo '❌ Node.js 22 required. See readme.md Prerequisites section.'",
|
||||
"postinstall": "simple-git-hooks"
|
||||
},
|
||||
"pnpm": {
|
||||
|
||||
6
pnpm-lock.yaml
generated
6
pnpm-lock.yaml
generated
@@ -20671,6 +20671,10 @@ snapshots:
|
||||
dependencies:
|
||||
ms: 2.1.3
|
||||
|
||||
debug@4.4.1:
|
||||
dependencies:
|
||||
ms: 2.1.3
|
||||
|
||||
debug@4.4.1(supports-color@5.5.0):
|
||||
dependencies:
|
||||
ms: 2.1.3
|
||||
@@ -23505,7 +23509,7 @@ snapshots:
|
||||
dependencies:
|
||||
chalk: 5.5.0
|
||||
commander: 14.0.0
|
||||
debug: 4.4.1(supports-color@5.5.0)
|
||||
debug: 4.4.1
|
||||
lilconfig: 3.1.3
|
||||
listr2: 9.0.1
|
||||
micromatch: 4.0.8
|
||||
|
||||
@@ -118,7 +118,7 @@ Make sure the following software is installed before proceeding.
|
||||
|
||||
* Bash
|
||||
* Docker (for macOS folks, Orbstack works too)
|
||||
* [Node.js (v20)][Node-url]
|
||||
* [Node.js (v22)][Node-url]
|
||||
* [Just](https://github.com/casey/just) (optional)
|
||||
* libvirt (macOS folks can run `brew install libvirt`)
|
||||
* rclone (for development)
|
||||
|
||||
Reference in New Issue
Block a user