mirror of
https://github.com/ivabus/pantry
synced 2024-11-23 00:45:07 +03:00
npm i -g install to ~/.local/bin (#1295)
This commit is contained in:
parent
24e9d7c31a
commit
1caf64aeca
2 changed files with 9 additions and 5 deletions
2
projects/npmjs.com/npmrc
Normal file
2
projects/npmjs.com/npmrc
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
prefix = ${HOME}/.local
|
||||||
|
update_notifier = false
|
|
@ -12,10 +12,6 @@ provides:
|
||||||
dependencies:
|
dependencies:
|
||||||
nodejs.org: '>=14'
|
nodejs.org: '>=14'
|
||||||
|
|
||||||
runtime:
|
|
||||||
env:
|
|
||||||
NPM_CONFIG_UPDATE_NOTIFIER: false
|
|
||||||
|
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
crates.io/semverator: '*'
|
crates.io/semverator: '*'
|
||||||
|
@ -26,4 +22,10 @@ build:
|
||||||
|
|
||||||
node . install --global --prefix={{prefix}} $ARGS
|
node . install --global --prefix={{prefix}} $ARGS
|
||||||
|
|
||||||
test: npx -q tldr ls
|
mv props/npmrc {{prefix}}/lib/node_modules/npm
|
||||||
|
|
||||||
|
test: |
|
||||||
|
npm install --global cowsay
|
||||||
|
$HOME/.local/bin/cowsay xyz.tea.hi
|
||||||
|
|
||||||
|
npx -qy tldr ls
|
||||||
|
|
Loading…
Reference in a new issue