Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add feature to skip some components #99

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

stormsw
Copy link

@stormsw stormsw commented Dec 13, 2017

Hi,
I have faced an issue when some components (in my case proprietary, non-public) are checked into VCS.
The original implementation just removes target folder for component installation before installing dependencies.

I have implemented additional option support through the --skipDirectories (-s) parameter
It is verified to be valid RegEx expression and applied on each parent folder name (that is generally package name) in the target components directory during clean operation.

example usage:

npm-cache install -s "kendo|company-*"

this will skip clean up of components under both npm and bower components location.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant