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

Lerna run isn't running on packages after upgrading to v.3.14.x and above #2165

Closed
alcferreira opened this issue Jul 5, 2019 · 3 comments
Closed

Comments

@alcferreira
Copy link

Expected Behavior

It seems that lerna run isn't running on packages from a monorepo.
Until v3.13.4 it used to work fine

Current Behavior

It is not working after v3.14.x

Steps to Reproduce (for bugs)

  1. Clone this repo
  2. Install dependencies yarn
  3. Run yarn build > which will create a lib directory on every package
  4. Check out if the lib directory has been created for the alert package: /farmblocks/packages/alert/lib
  5. Remove this directory
  6. Upgrade lerna to the latest version (or v3.14.x) yarn add --dev lerna@latest -W
  7. Run yarn build again. The directory /farmblocks/packages/alert/lib should've been created but it was not.
lerna.json

<!-- Please paste your `lerna.json` here -->
{
  "lerna": "3.13.1",
  "packages": ["packages/*"],
  "version": "independent",
  "command": {
    "publish": {
      "conventionalCommits": true,
      "message": "chore(release): [ci skip] publish"
    }
  },
  "npmClient": "yarn",
  "useWorkspaces": true
}

Context

Your Environment

Executable Version
lerna --version 3.15.0
yarn --version 1.16.0
node --version 12.1.0
OS Version
macOS Mojave 10.14
@danez
Copy link

danez commented Jul 17, 2019

Probably the same issue as #2107

@evocateur
Copy link
Member

@alcferreira v3.16.0 contains the fix in #2107, can you try it and verify if this is fixed? Thanks!

@alcferreira
Copy link
Author

@evocateur and @danez fix confirmed, thank you all!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants