-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
A drop-in replacement for the `npm` command that uses a local repository as a source for packages, and falls back to the standard `npm` registry for packages that are not locally available. This can be used to make private packages available to consumers without the need to set up a full blown repository and managing user authentication and authorization; and also to overlay customized versions of third party packages in a simple way. The `y-npm` command has an additional sub-command `y-npm my-packages` that will output the name and version of all packages that are locally available. This commit also changes `cdk-beta-npm` to be a simple wrapper around `y-npm` that sets the correct environment variables to configure the location of the local repository to `~/.cdk/repo/npm` or `$CDK_HOME/repo/npm` if `$CDK_HOME` is set. Also, the release `.zip` file no longer includes a full installation of the `cdk`, instead only makes `cdk-beta-npm` available, so people can use `cdk-beta-npm` instead of `npm` and work as they normally would besides that.
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.