2.0.1 • Published 9 days ago

@ambassify/set-npmrc v2.0.1

Weekly downloads
112
License
UNLICENSED
Repository
github
Last release
9 days ago

@ambassify/set-npmrc

This script adds NPM registry authentication through the .npmrc file in the current directory. If no .npmrc file exists, it is created, otherwise the authentication is appended to the existing file.

Usage

npx @ambassify/set-npmrc [--registry registry] [--env token_var_key]

Options:

  • --registry: For which registry to set authentication, e.g. npm.ambassify.eu. If not set, it will use npm's NPM_CONFIG_REGISTRY environment variable or default to registry.npmjs.org if it isn't present.
  • --env: The environment variable that contains the token for authentication. If the variable isn't set, no authentication will be added. Defaults to NPM_TOKEN.
2.0.1

9 days ago

2.0.0

9 days ago

1.1.2

1 year ago

1.1.1

1 year ago

1.1.0

3 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago