question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`ignore` not work with bootstrap

See original GitHub issue

Expected Behavior

The package which match the pattern of ignore should be ignored.

Current Behavior

Still Install dependencies in package which should be ignored.

Possible Solution

Steps to Reproduce (for bugs)

yarn lerna bootstrap or yarn lerna bootstap --ignore test-*

lerna.json

{
  "version": "0.2.14",
  "command": {
    "bootstrap": {
      "ignore": "test-*"
    }   
  },  
  "changelog": {
    "repo": "meepshop/meep-lerna",
    "cacheDir": ".changelog",
    "labels": {
      "PR: Breaking Change :boom:": ":boom: Breaking Change",
      "PR: New Feature :rocket:": ":rocket: New Feature",
      "PR: Bug Fix :bug:": ":bug: Bug Fix",
      "PR: Docs :memo:": ":memo: Documentation",
      "PR: Internal :house:": ":house: Internal"
    }   
  },  
  "lerna": "2.11.0",
  "npmClientArgs": [
    "--no-package-lock"
  ],  
  "packages": [
    "packages/*"
  ]
}

bootstrap command information

lerna info version 2.11.0
lerna info ignore test-*
lerna info Bootstrapping 3 packages
lerna info lifecycle preinstall
lerna info Installing external dependencies
lerna info Symlinking packages and binaries
lerna info lifecycle postinstall
lerna info lifecycle prepublish
lerna info lifecycle prepare
lerna success Bootstrapped 3 packages

Context

I do not want to install dependencies in the packages which are named by test-*, like test-utils. Because test-* packages are just used for testing, I do not need to use this in the development step.

Your Environment

Executable Version
lerna --version 2.11.0
npm --version 6.2.0
yarn --version 1.7.0
node --version 10.2.1
OS Version
macOS High Sierra 10.13.6

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
doug-wadecommented, Jul 30, 2018

Closing as duplicate of #1421

0reactions
lock[bot]commented, Dec 27, 2018

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to ignore bootstrap codes from main css - Stack Overflow
2.download the css file , attach to your project then update the bootstrap.css file with :not selector. In bootstrap.css property should be ...
Read more >
Grid system - Bootstrap
Use our powerful mobile-first flexbox grid to build layouts of all shapes and sizes thanks to a twelve column system, five default responsive...
Read more >
10 Most Common Bootstrap Mistakes That Developers Make
You don't need to know how media queries work, but you need to understand how ... Common Bootstrap Mistake #7: Overcomplicating with JavaScript...
Read more >
Git Ignore and .gitignore - W3Schools
Pattern Explanation/Matches Examples # text comment Lines starting with # are ignored name.file All files with the name.file /name.file /lib/name.file *.file All files withe .file extention...
Read more >
Ignoring code - Stylelint
You can ignore: ... off rules for individual lines with a /* stylelint-disable-line */ comment, after which you do not need to explicitly...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found