Socket
Socket
Sign inDemoInstall

lerna-update-wizard

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lerna-update-wizard - npm Package Compare versions

Comparing version 0.15.0 to 0.15.1

2

package.json

@@ -6,3 +6,3 @@ {

},
"version": "0.15.0",
"version": "0.15.1",
"main": "index.js",

@@ -9,0 +9,0 @@ "license": "MIT",

@@ -60,29 +60,2 @@ const path = require("path");

if (workspaces && !flags.lazy && !flags.nonInteractive) {
ui.logBottom("");
const { useLazy } = await inquirer.prompt([
{
name: "useLazy",
type: "list",
message: lines(
"It looks like you are using Yarn Workspaces!",
chalk.reset(
" A single install at the end is recommended to save time."
),
chalk.reset(
" Note: You can enable this automatically using the --lazy flag"
),
""
),
choices: [
{ name: "Run single-install (lazy)", value: true },
{ name: "Run individual installs (exhaustive)", value: false },
],
},
]);
flags.lazy = useLazy;
}
// Attempt to get `packages` config from lerna.json

@@ -414,2 +387,30 @@ try {

// PROMPT: Yarn workspaces lazy installation prompt
if (workspaces && !flags.lazy && !flags.nonInteractive) {
ui.logBottom("");
const { useLazy } = await inquirer.prompt([
{
name: "useLazy",
type: "list",
message: lines(
"It looks like you are using Yarn Workspaces!",
chalk.reset(
" A single install at the end is recommended to save time."
),
chalk.reset(
" Note: You can enable this automatically using the --lazy flag"
),
""
),
choices: [
{ name: "Run single-install (lazy)", value: true },
{ name: "Run individual installs (exhaustive)", value: false },
],
},
]);
flags.lazy = useLazy;
}
perf.start();

@@ -416,0 +417,0 @@ let totalInstalls = 0;

@@ -51,3 +51,16 @@ const { default: runProgram } = require("./utils/runProgram");

projectPath,
`? It looks like you are using Yarn Workspaces!
`
❯ lodash (1 version)
>>> input ENTER
❯◉ sub-package-myPackages (0.1.0)
>>> input ENTER
? Select version to install:
>>> input ENTER
? It looks like you are using Yarn Workspaces!
A single install at the end is recommended to save time.

@@ -61,5 +74,2 @@ Note: You can enable this automatically using the --lazy flag

? Select a dependency to upgrade: (Use arrow keys or type to search)
❯ lodash (1 version)
>>> input CTRL+C`

@@ -66,0 +76,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