forked from bergundy/tjs-methods
-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
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.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?) - Add an option
--npm-install-argsso I can pass--npm-install-args=--no-package-lockand get rid of the "notice".
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels