Skip to content

cli tool to remove (and restore later) packages from the dependencies

License

Notifications You must be signed in to change notification settings

petersendev/node-skip-packages

Repository files navigation

skip-packages

This packages was created primarily for the ability to separate the installation of packages from a private registry to a later stage to better facilitate docker's caching mechanism when you have to use an authentication which changes on every build (like the System.AccessToken in Azure Pipelines).

skip-packages

skips or unskips packages

Options:
  --help        Show help                                              [boolean]
  --version     Show version number                                    [boolean]
  --unskip, -u                                        [boolean] [default: false]

configuration

Configuration is done via the package.json. Simply define the names of the packages in a "skip" section. Packages will then be moved from the dependencies section to a "skipped" section. Unskipping reverses this.

{
    "dependencies": {
        "fs-extra-promise": "^1.0.1",
        "yargs": "^13.2.4"
    },
    "skip": [
        "yargs"
    ]
}

About

cli tool to remove (and restore later) packages from the dependencies

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published