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.

Bootstrap a single package.

See original GitHub issue

I’m trying to bootstrap only a specific package from the root.

Expected Behavior

Suppose I added to mono repo test1 and test2. I want to just bootstrap test1. So the test2 package should fail if it runs because it’s node package shouldn’t be installed. On the other hand test1 should run properly as I’m bootstrapped it.

lerna.json

{
  "packages": [
    "packages/*"
  ],
  "version": "0.1.0",
  "npmClient": "yarn",
  "useWorkspaces": true
}

Your Environment

Executable Version
lerna --version 3.16.4
npm --version npm --version
yarn --version 1.19.1
node --version 11.15.0
OS Version
Ubuntu 16.04

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:4
  • Comments:6

github_iconTop GitHub Comments

5reactions
igilhamcommented, Nov 25, 2019

I believe this can be done using the filters on the CLI, E.g.

lerna bootstrap --include-dependents --include-dependencies --scope test1
2reactions
6thpathcommented, Oct 7, 2021

any update on this?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Getting started - Bootstrap
Bootstrap (currently v3.4.1) has a few easy ways to quickly get started, each one appealing to a different skill level and use case....
Read more >
Customize and download - Bootstrap
Don't have one? That's okay—just start customizing the fields below. Toggle all ... Background color of single list items on hover. @list-group-active-color.
Read more >
Build tools - Bootstrap
Our package.json includes convenient methods for working with the framework, including compiling code, running tests, and more.
Read more >
Get started with Bootstrap · Bootstrap v5.2
Get started by including Bootstrap's production-ready CSS and JavaScript via CDN without the need for any build steps. See it in practice with...
Read more >
CSS · Bootstrap
Using a single set of .col-md-* grid classes, you can create a basic grid system that starts out stacked on mobile ... templates/,...
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