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

Replace file copying command line utility #1012

Merged
merged 2 commits into from
Feb 8, 2022
Merged

Conversation

mint-thompson
Copy link
Collaborator

Fixes #1004 and completes task CIMPL-875.

The cpy-cli package has a deep dependency with a security vulnerability. It is replaced by the copyfiles package. This is used by the build script. The source path is quoted because the copyfiles documentation recommended quoting paths that contain globs.

To test, run npm clean-install, which will clear out your node_modules directory and install based on the updated package requirements. Then, run npm build, and check to see that the dist/utils/init-project directory contains all the files from src/utils/init-project.

The cpy-cli package has a deep dependency with a security vulnerability.
It is replaced by the copyfiles package. This is used by the build
script. The source path is quoted because the copyfiles documentation
recommended quoting paths that contain globs.
Copy link
Member

@cmoesel cmoesel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It works well on Mac. I had to lookup the docs to see what -u 3 does. Now I get it (although I think it's kind of weird that you need it). Anyway... Perfect. Thanks, @mint-thompson!

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.

Replace cpy-cli w/ something else
3 participants