Skip to content

Lerna attempts to publish private packages #286

Closed

Description

@ianwremmel

I'm pretty sure 1.x would ignore packages with private:true in package.json, but 2.x spits out the following:

npm ERR! This package has been marked as private
npm ERR! Remove the 'private' field from the package.json to publish it.

Activity

  1. ianwremmel commented on Jul 29, 2016

    @ianwremmel
    ContributorAuthor

    It looks like it's specific to --canary releases.

    collectUpdates() has a filter condition that's basically <complex logic> || true

  2. added a commit that references this issue on Jul 29, 2016
    de0f7f2
  3. added a commit that references this issue on Aug 25, 2016
  4. added a commit that references this issue on Sep 8, 2016
  5. gigabo commented on Sep 9, 2016

    @gigabo
    Contributor

    Hi @ianwremmel, #321 landed in [email protected]. That should get publish with private modules working correctly. Please reopen (or start a new ticket) if you still run into trouble after upgrading.

  6. lock commented on Dec 28, 2018

    @lock

    This thread has been automatically locked because there has not been any recent activity after it was closed. Please open a new issue for related bugs.

  7. locked as resolved and limited conversation to collaborators on Dec 28, 2018
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