Skip to content

Add --skip-npm flag - #198

Merged
jamiebuilds merged 1 commit into
lerna:masterfrom
gigabo:skip-npm
Jun 9, 2016
Merged

jamiebuilds merged 1 commit into
lerna:masterfrom
gigabo:skip-npm

Conversation

@gigabo

@gigabo gigabo commented Jun 9, 2016

Copy link
Copy Markdown
Contributor

Have Lerna update all versions and dependencies where required in package.json files without actually publishing the changes to NPM.

This is useful for publishing manually, which is necessary to do periodically to get README updates to show up on npmjs.com (until https://github.com/npm/newww/issues/389 is resolved).

This is a workaround for #64.

This was proposed in #127.

Have Lerna update all versions and dependencies where required in
`package.json` files without actually publishing the changes to NPM.

This is useful for publishing manually, which is necessary to do periodically
to get README updates to show up on npmjs.com
(until https://github.com/npm/newww/issues/389 is resolved).

This is a workaround for lerna#64.

This was proposed in lerna#127.
@jamiebuilds

Copy link
Copy Markdown
Contributor

Nice, this looks awesome. Thanks!

@jamiebuilds
jamiebuilds merged commit 49e2ade into lerna:master Jun 9, 2016
Comment thread README.md
versions and dependency versions, but it will not actually publish the
packages to npm.

This flag can be combined with `--skip-git` to _just_ update versions and

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could be useful to give the example of just wanting to push a readme update

gigabo added a commit to gigabo/react-server that referenced this pull request Jun 10, 2016
This picks up some patches that will help us out:

- lerna/lerna#181
- lerna/lerna#196
- lerna/lerna#198
- lerna/lerna#199
gigabo added a commit to redfin/react-server that referenced this pull request Jun 13, 2016
* Upgrade lerna-2.0.0-beta.18

This picks up some patches that will help us out:

- lerna/lerna#181
- lerna/lerna#196
- lerna/lerna#198
- lerna/lerna#199

* Use `lerna clean` for `npm run nuke`
davidalber pushed a commit to davidalber/react-server that referenced this pull request Jul 24, 2016
* Upgrade lerna-2.0.0-beta.18

This picks up some patches that will help us out:

- lerna/lerna#181
- lerna/lerna#196
- lerna/lerna#198
- lerna/lerna#199

* Use `lerna clean` for `npm run nuke`
@dmfenton

dmfenton commented Nov 8, 2016

Copy link
Copy Markdown

@thejameskyle @gigabo Is there a way to default this setting using lerna.json? We're using lerna for closed-source code that we don't want to publish to NPM at all.

@lock

lock Bot commented Dec 27, 2018

Copy link
Copy Markdown

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.

@lock lock Bot locked as resolved and limited conversation to collaborators Dec 27, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants