Skip to content

Allow building with less noise #28

Description

@arielshaqed

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:

  1. 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?)
  2. Add an option --npm-install-args so I can pass --npm-install-args=--no-package-lock and get rid of the "notice".

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions