What
Building e.g. a client package outputs these lines to standard error:
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN @binaris/shift-interfaces-node-client@0.2.0-rc.0 No license field.
This causes pain e.g. when using Rush.
Give some way to prevent these 2 outputs.
Suggestions:
- Copy license from
package.json of generating package to generated package.json. This doesn't have to be (probably shouldn't be) the license field, it could be instead generated-license. That fixes the "warning" -- which is really always a bug. (Maybe also allow setting private there?)
- Add an option
--npm-install-args so I can pass --npm-install-args=--no-package-lock and get rid of the "notice".
What
Building e.g. a client package outputs these lines to standard error:
This causes pain e.g. when using Rush.
Give some way to prevent these 2 outputs.
Suggestions:
package.jsonof generating package to generatedpackage.json. This doesn't have to be (probably shouldn't be) thelicensefield, it could be insteadgenerated-license. That fixes the "warning" -- which is really always a bug. (Maybe also allow settingprivatethere?)--npm-install-argsso I can pass--npm-install-args=--no-package-lockand get rid of the "notice".