PATH: //proc/thread-self/root/opt/alt/alt-nodejs10/root/lib/node_modules/npm/scripts
FILE_BARU
CREATE
FOLDER_BARU
MKDIR
UPLOAD_FILE
GO
[ .. KEMBALI ]
📄 changelog.js
↓
X
📄 clean-old.sh
↓
X
📄 dep-update
↓
X
📄 dev-dep-update
↓
X
📄 docs-build.js
↓
X
📄 gen-changelog
↓
X
📄 gen-dev-ignores.js
↓
X
📄 install.sh
↓
X
📄 maketest
↓
X
📄 pr
↓
X
📄 publish-tag.js
↓
X
📄 release.sh
↓
X
📄 relocate.sh
↓
X
📄 update-authors.sh
↓
X
📄 update-dist-tags.js
↓
X
SAVING...
BERHASIL DIUBAH!
EDITING: relocate.sh
#!/usr/bin/env bash # Change the cli shebang to point at the specified node # Useful for when the program is moved around after install. # Also used by the default 'make install' in node to point # npm at the newly installed node, rather than the first one # in the PATH, which would be the default otherwise. # bash /path/to/npm/scripts/relocate.sh $nodepath # If $nodepath is blank, then it'll use /usr/bin/env dir="$(dirname "$(dirname "$0")")" cli="$dir"/bin/npm-cli.js tmp="$cli".tmp node="$1" if [ "x$node" = "x" ]; then node="/usr/bin/env node" fi node="#!$node" sed -e 1d "$cli" > "$tmp" echo "$node" > "$cli" cat "$tmp" >> "$cli" rm "$tmp" chmod ogu+x $cli
SIMPAN PERUBAHAN