Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When publihing several packages, some packages gets published to the same package #2231

Open
oskarkvamme opened this issue Aug 16, 2019 · 0 comments

Comments

@oskarkvamme
Copy link

commented Aug 16, 2019

Expected Behavior

When I publish several packages to Github package registry in one go, I expect that the assets is published to the correct packages.

Current Behavior

Some packages gets assets from several packages, and some have no assets. The assets from the packages that has no assets I have found on the packages that have several assets.

When I try to install a package with no asset I get a status code 404, and when I try to install a package which have several packages I get status code 409.

Im not sure if its a bug in lerna or a bug in the Github package registry (which is in beta).

lerna.json

{
  "lerna": "3.16.4",
  "npmClient": "yarn",
  "useWorkspaces": true,
  "packages": [
    "packages/*"
  ],
  "version": "independent",
  "command": {
    "publish": {
      "npmClient": "npm",
      "verifyAccess": false,
      "allowBranch": [
        "master",
        "v*.x"
      ],
      "conventionalCommits": true,
      "ignoreChanges": [
        ".eslintrc",
        ".gitattributes",
        ".gitignore",
        ".npmignore",
        ".npmrc"
      ],
      "message": "chore: publish"
    }
  }
}

Context

Trying to publish my monorepo to Github package registry

Your Environment

Executable Version
lerna --version 3.16.4
npm --version 6.9.0
yarn --version 1.17.3
node --version 10.16.0
OS Version
macOS Mojave 10.14.5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.