Open Luke265 opened 6 months ago
I have updated the provided repo nx dependencies 18.3.0 to 19.5.7, it appears that the error has been resolved. However, the imported library is now being omitted from the pruned package.json
and pnpm-lock.yaml
files.
Current Behavior
when building an app with
generatePackageJson
enabled, nx fails to prune lock file if there are any packages that has peer dependencies and are installed from url eg;https://registry.npmjs.org/bootstrap/-/bootstrap-5.3.3.tgz?test
Edit: It also drops
https://
from the generated package.json when it should not.Expected Behavior
nx should be able to prune lock file when there are packages with peer dependencies installed from url
GitHub Repo
https://github.com/Luke265/nx-prune-issue
Steps to Reproduce
pnpm i
nx run issue:build
Nx Report
Failure Logs
Package Manager Version
No response
Operating System
Additional Information
No response