`ignore` not work with bootstrap
See original GitHub issueExpected 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:
- Created 5 years ago
- Comments:6 (3 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Closing as duplicate of #1421
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.