Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

lerna

Package Overview
Dependencies
Maintainers
3
Versions
276
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lerna - npm Package Compare versions

Comparing version 2.0.0-beta.14 to 2.0.0-beta.15

3

bin/lerna.js

@@ -25,3 +25,4 @@ #!/usr/bin/env node

" --npm-tag [tagname] Publish packages with the specified npm dist-tag",
" --force-publish Force publish for the specified packages (comma-separated) or all packages using * (skips the git diff check for changed packages)"
" --force-publish Force publish for the specified packages (comma-separated) or all packages using * (skips the git diff check for changed packages)",
" --yes Skip all confirmation prompts"
], {

@@ -28,0 +29,0 @@ alias: {

@@ -279,5 +279,10 @@ "use strict";

_PromptUtilities2.default.confirm("Are you sure you want to publish the above changes?", function (confirm) {
callback(null, confirm);
});
if (!this.flags.yes) {
_PromptUtilities2.default.confirm("Are you sure you want to publish the above changes?", function (confirm) {
callback(null, confirm);
});
} else {
this.logger.info("Assuming confirmation.");
callback(null, true);
}
}

@@ -284,0 +289,0 @@ }, {

{
"name": "lerna",
"version": "2.0.0-beta.14",
"version": "2.0.0-beta.15",
"description": "Tool for managing JavaScript projects with multiple packages",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -15,10 +15,2 @@ <p align="center">

## Background
While developing [Babel](https://github.com/babel/babel) I followed a
[monorepo](https://github.com/babel/babel/blob/master/doc/design/monorepo.md) approach where the entire project was split into individual packages but everything lived in the same repo. This was great. It allowed super easy modularisation which meant the core was easier to approach and meant others could use the useful parts of Babel in their own projects.
This tool was abstracted out of that and deals with bootstrapping packages by linking them together as well as publishing them to npm. You can see the
[Babel repo](https://github.com/babel/babel/tree/master/packages) for an example of a large Lerna project.
## About

@@ -242,2 +234,11 @@

#### --yes
```sh
$ lerna publish --canary --yes
# skips `Are you sure you want to publish the above changes?`
```
Skip all confirmation prompts. Would be useful in CI to automatically answer the publish confirmation prompt.
### Updated

@@ -244,0 +245,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc