New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@nodenv/nodenv-default-packages

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nodenv/nodenv-default-packages - npm Package Compare versions

Comparing version 0.3.0 to 1.0.0

5

package.json
{
"name": "@nodenv/nodenv-default-packages",
"version": "0.3.0",
"version": "1.0.0",
"description": "Install default packages every time you install a new version of Node",

@@ -39,2 +39,3 @@ "homepage": "https://github.com/nodenv/nodenv-default-packages#readme",

"devDependencies": {
"@nodenv/nodenv": "^1.3.0",
"bats": "^1.1.0",

@@ -45,4 +46,4 @@ "bats-assert": "jasonkarns/bats-assert-1",

"brew-publish": "^2.3.1",
"shellcheck": "github:jasonkarns/shellcheck#install-hook"
"shellcheck": "^0.3.0"
}
}

35

README.md
# nodenv-default-packages
[![Build Status](https://travis-ci.org/nodenv/nodenv-default-packages.svg)](https://travis-ci.org/nodenv/nodenv-default-packages)
[![Build Status](https://travis-ci.org/nodenv/nodenv-default-packages.svg?branch=master)](https://travis-ci.org/nodenv/nodenv-default-packages)
This nodenv plugin hooks into the `nodenv install` command to automatically
install `npm` packages every time you install a new version of Node. It
requires the `node-build` plugin to be installed.
This nodenv plugin hooks into the `nodenv install` command to automatically install `npm` packages every time you install a new version of Node.
It requires the `node-build` plugin to be installed.
Forked from the excellent [`rbenv-default-gems`][rbenv-default-gems] plugin from
[sstephenson][sstephenson].
Forked from the excellent [`rbenv-default-gems`][rbenv-default-gems] plugin from [sstephenson][sstephenson].

@@ -18,2 +16,3 @@ <!-- toc -->

- [Usage](#usage)
* [default-packages Files](#default-packages-files)
* [Updating Default Packages](#updating-default-packages)

@@ -34,7 +33,5 @@ - [Credits](#credits)

Mac OS X users can install nodenv-default-packages with the
[Homebrew](http://brew.sh) package manager.
Mac OS X users can install nodenv-default-packages with the [Homebrew](http://brew.sh) package manager.
*This is the recommended method of installation if you installed nodenv
with Homebrew.*
*This is the recommended method of installation if you installed nodenv with Homebrew.*

@@ -53,8 +50,6 @@ ```

nodenv-default-packages automatically installs the packages listed in the
`$(nodenv root)/default-packages` file every time you successfully install a new
version of Node with `nodenv install`.
nodenv-default-packages automatically installs the packages listed in the [default-packages file(s)](#default-packages-files) file every time you successfully install a new version of Node with `nodenv install`.
Specify packages in `$(nodenv root)/default-packages` by name, one per line. You may
optionally specify a semver version spec after the name. For example:
Specify packages in `default-packages` by name, one per line.
You may optionally specify a semver version spec after the name. For example:

@@ -67,8 +62,13 @@ grunt-cli

### default-packages Files
nodenv-default-packages reads from `$(nodenv root)/default-packages` as well as `nodenv/default-packages` under all [XDG config directories][xdg].
The XDG config directories searched are `$XDG_CONFIG_HOME` (`$HOME/.config` if unset/empty) and all colon-separated `$XDG_CONFIG_DIRS` (`/etc/xdg` if unset/empty).
### Updating Default Packages
if you update your `$(nodenv root)/default-packages` and want to refresh some or all of
your existing node installations you can use commands like this:
if you update your `$(nodenv root)/default-packages` and want to refresh some or all of your existing node installations you can use commands like this:
nodenv default-packages install 8.8.1 # Reinstall default packages on Node version 8.8.1
nodenv default-packages install --all # Reinstall default packages on _all_ installed Node versions

@@ -86,1 +86,2 @@

[nodenv]: https://github.com/nodenv/nodenv
[xdg]: https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc