Skip to content

Commit

Permalink
fix: separate default npm for each node version and global npm for sy…
Browse files Browse the repository at this point in the history
…stem node verion

- separate default npm for each node version and global npm for system node verion
  • Loading branch information
ntsd committed Sep 1, 2024
1 parent 6a75d3c commit e95535a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ asdf-packages: asdf
asdf install

node-packages: asdf
. $(ASDF_PATH)/asdf.sh && $(ASDF_PATH)/shims/npm install -g $(shell cat install/npmfile)
. $(ASDF_PATH)/asdf.sh && $(ASDF_PATH)/shims/npm install -g $(shell cat install/npmfile) && $(ASDF_PATH)/shims/npm install -g $(shell cat runcom/.default-npm-packages)

test:
bats test
10 changes: 1 addition & 9 deletions install/npmfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,2 @@
yarn
pnpm
prettier
release-it
http-server
fkill-cli
get-port-cli
npm-check-updates
tldr
@microsoft/inshellisense
http-server
5 changes: 5 additions & 0 deletions runcom/.default-npm-packages
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
yarn
pnpm
release-it
npm-check-updates
@microsoft/inshellisense

0 comments on commit e95535a

Please sign in to comment.