lerna-update-wizard
Advanced tools
Comparing version 0.15.0 to 0.15.1
@@ -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 @@ ); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
22923148
2211