When specifying the contents flag like np --contents=./../../ --preview"
it seems to be ignored.
This may be caused by my setup but I am not sure because using npm publish ./../../ --dry-run
does what I expect.
My project has a dependency called vl-ui-util that has a package.json
containing an npm run script that calls np. When calling np in the parent project, np will try and publish vl-ui-util instead of the parent project. According to the documentation, this can be fixed using the --contents
flag, however, this seems to fail.
np --contents=./../../ --preview"
(Script X)Np wizard starts and tries to release project A.
np - 6.3.0
Node.js - 13.12.0
npm - 6.14.5
Git - 2.15.0
OS - OSX Catalina 10.15.5
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too