A macup module that enables you to easily install global NodeJS packages using NPM.
Run the following command to add it to your repo
npm install lsmj/macup-npm
Add npm to the macup_packages array in my.config
macup_packages+=(
npm
)
Add NPM packages to the macup_node_packages_npm array to be managed globally by NPM. Node is installed via Homebrew if it's not already installed. Homebrew is also installed if it's not already installed. All global packages are then listed. Finally, packages that are outdated are highlighted.
macup_node_packages_npm+=(
yarn@berry
)