mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-12-21 23:01:22 +00:00
Copy persist changes from nodejs to nodejs-lts
This commit is contained in:
parent
c5985c1057
commit
f796d12511
@ -12,11 +12,12 @@
|
|||||||
"hash": "868a96e012222ce95c732d4e2c97d0349f8fefbd889af690cf6d2278d6844932"
|
"hash": "868a96e012222ce95c732d4e2c97d0349f8fefbd889af690cf6d2278d6844932"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"env_add_path": "nodejs",
|
"extract_dir": "nodejs",
|
||||||
|
"persist": [ "bin" ],
|
||||||
|
"env_add_path": [ ".", "bin" ],
|
||||||
"post_install": "
|
"post_install": "
|
||||||
# Remove npmrc that makes global modules get installed in AppData\\Roaming\\npm
|
# Set npm prefix to install modules inside bin
|
||||||
rm $dir\\nodejs\\node_modules\\npm\\npmrc
|
Set-Content -Value \"prefix=$dir\\bin\" -Path $dir\\node_modules\\npm\\npmrc",
|
||||||
npm update -g",
|
|
||||||
"checkver": {
|
"checkver": {
|
||||||
"url": "https://nodejs.org/en/download/",
|
"url": "https://nodejs.org/en/download/",
|
||||||
"re": "LTS version: <strong>v([\\d.]+)</strong>"
|
"re": "LTS version: <strong>v([\\d.]+)</strong>"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user