We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
core
11.5.3
Create a project with o3r generator, then generate a library:
npm create @o3r project cd project ng g library lib
In the generated libs/library/package.json file, there are occurrences to a cpy script, for example:
libs/library/package.json
cpy
"prepare:build:builders": "npm run cpy 'collection.json' dist && npm run cpy 'schematics/**/*.json' dist/schematics",
However, this cpy script is not generated, so running this command will fail with:
npm error Missing script: "cpy"
If we want to generate scripts containing npm run cpy, then we should also generate the cpy script.
npm run cpy
No response
The text was updated successfully, but these errors were encountered:
Replace run with exec and we are missing a dependency on cpy-cli
run
exec
cpy-cli
Sorry, something went wrong.
Actually, the cpy-cli dev dep is already there. We just need to use exec instead of run.
vscaiceanu-1a
Successfully merging a pull request may close this issue.
Package name
core
Package version
11.5.3
Reproduction steps
Create a project with o3r generator, then generate a library:
npm create @o3r project cd project ng g library lib
Current result
In the generated
libs/library/package.json
file, there are occurrences to acpy
script, for example:However, this
cpy
script is not generated, so running this command will fail with:npm error Missing script: "cpy"
Expected result
If we want to generate scripts containing
npm run cpy
, then we should also generate thecpy
script.Additional comments
No response
The text was updated successfully, but these errors were encountered: