moved around files
This commit is contained in:
34
panel-mgmt_backend/node_modules/node/README.md
generated
vendored
Normal file
34
panel-mgmt_backend/node_modules/node/README.md
generated
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
node
|
||||
========
|
||||
|
||||
Installs a `node` binary into your project, which because `npm` runs scripts with the local `./node_modules/.bin` in the `PATH` ahead of the system copy means you can have a local version of node that is different than your system's, and manage node as a normal dependency.
|
||||
|
||||
Warning: don't install this globally with npm 2. `npm@2` immediately removes node, then can't run the scripts that make this work.
|
||||
|
||||
Use
|
||||
---
|
||||
|
||||
```
|
||||
npm i node@lts
|
||||
```
|
||||
|
||||
Use with `npx`
|
||||
--------------
|
||||
|
||||
```
|
||||
npx node@4 myscript.js
|
||||
```
|
||||
|
||||
This will run `myscript.js` with the latest version of node from the v4 major.
|
||||
|
||||
Using the shell auto-fallback of npx, you can even do it like so:
|
||||
|
||||
|
||||
```
|
||||
node@4 myscript.js
|
||||
```
|
||||
|
||||
Thanks
|
||||
------
|
||||
|
||||
Major thanks to Kat Marchán for late-night problem solving, and to CJ Silverio and Maciej Małecki for egging me on way back when I had the idea to package node up this way. It does turn out if you ask "why _not_?!" once in a while something fun happens.
|
BIN
panel-mgmt_backend/node_modules/node/bin/node
generated
vendored
Executable file
BIN
panel-mgmt_backend/node_modules/node/bin/node
generated
vendored
Executable file
Binary file not shown.
1
panel-mgmt_backend/node_modules/node/installArchSpecificPackage.js
generated
vendored
Normal file
1
panel-mgmt_backend/node_modules/node/installArchSpecificPackage.js
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
require('node-bin-setup')("22.17.0", require)
|
22
panel-mgmt_backend/node_modules/node/node_modules/.package-lock.json
generated
vendored
Normal file
22
panel-mgmt_backend/node_modules/node/node_modules/.package-lock.json
generated
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"node_modules/node-bin-darwin-arm64": {
|
||||
"version": "22.17.0",
|
||||
"resolved": "https://registry.npmjs.org/node-bin-darwin-arm64/-/node-bin-darwin-arm64-22.17.0.tgz",
|
||||
"integrity": "sha512-SLO0Sux5ABsTwV+Xurz/RSMmxVDj9t+Cv/S/fBf8a+r/R4lxzKzHeLTF19Lex1g6e5MTorLfBCfbPZV4VJwsnw==",
|
||||
"cpu": "arm64",
|
||||
"os": "darwin",
|
||||
"bin": {
|
||||
"node": "bin/node"
|
||||
}
|
||||
},
|
||||
"node_modules/node-bin-setup": {
|
||||
"version": "1.1.4",
|
||||
"resolved": "https://registry.npmjs.org/node-bin-setup/-/node-bin-setup-1.1.4.tgz",
|
||||
"integrity": "sha512-vWNHOne0ZUavArqPP5LJta50+S8R261Fr5SvGul37HbEDcowvLjwdvd0ZeSr0r2lTSrPxl6okq9QUw8BFGiAxA==",
|
||||
"license": "ISC"
|
||||
}
|
||||
}
|
||||
}
|
27
panel-mgmt_backend/node_modules/node/package.json
generated
vendored
Normal file
27
panel-mgmt_backend/node_modules/node/package.json
generated
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"name": "node",
|
||||
"version": "22.17.0",
|
||||
"description": "node",
|
||||
"main": "index.js",
|
||||
"keywords": [
|
||||
"runtime"
|
||||
],
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/aredridel/node-bin-gen.git"
|
||||
},
|
||||
"scripts": {
|
||||
"preinstall": "node installArchSpecificPackage"
|
||||
},
|
||||
"bin": {
|
||||
"node": "bin/node"
|
||||
},
|
||||
"dependencies": {
|
||||
"node-bin-setup": "^1.0.0"
|
||||
},
|
||||
"license": "ISC",
|
||||
"author": "",
|
||||
"engines": {
|
||||
"npm": ">=5.0.0"
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user