netlify-cli 8.6.3 → 8.6.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "netlify-cli",
|
|
3
|
-
"version": "8.6.
|
|
3
|
+
"version": "8.6.4",
|
|
4
4
|
"lockfileVersion": 2,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "netlify-cli",
|
|
9
|
-
"version": "8.6.
|
|
9
|
+
"version": "8.6.4",
|
|
10
10
|
"hasInstallScript": true,
|
|
11
11
|
"license": "MIT",
|
|
12
12
|
"dependencies": {
|
package/package.json
CHANGED
|
@@ -41,8 +41,8 @@ const FALLBACK_HELP_CMD_WIDTH = 80
|
|
|
41
41
|
const HELP_$ = NETLIFY_CYAN('$')
|
|
42
42
|
// indent on commands or description on the help page
|
|
43
43
|
const HELP_INDENT_WIDTH = 2
|
|
44
|
-
//
|
|
45
|
-
const
|
|
44
|
+
// separator width between term and description
|
|
45
|
+
const HELP_SEPARATOR_WIDTH = 5
|
|
46
46
|
|
|
47
47
|
/**
|
|
48
48
|
* Formats a help list correctly with the correct indent
|
|
@@ -213,7 +213,7 @@ class BaseCommand extends Command {
|
|
|
213
213
|
const bang = isCommand ? `${HELP_$} ` : ''
|
|
214
214
|
|
|
215
215
|
if (description) {
|
|
216
|
-
const pad = termWidth +
|
|
216
|
+
const pad = termWidth + HELP_SEPARATOR_WIDTH
|
|
217
217
|
const fullText = `${bang}${term.padEnd(pad - (isCommand ? 2 : 0))}${chalk.grey(description)}`
|
|
218
218
|
return helper.wrap(fullText, helpWidth - HELP_INDENT_WIDTH, pad)
|
|
219
219
|
}
|
|
@@ -20,7 +20,7 @@ module.exports = function generatePrompts(settings) {
|
|
|
20
20
|
console.log('')
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
// Handle shorthand config. Probably will be removed.
|
|
23
|
+
// Handle shorthand config. Probably will be removed. Severely limited + not great UX
|
|
24
24
|
if (typeof setting === 'string' || typeof setting === 'boolean') {
|
|
25
25
|
if (typeof setting === 'string') {
|
|
26
26
|
prompt = {
|
|
@@ -196,7 +196,7 @@ const forwardMessagesToLog = ({ subprocess }) => {
|
|
|
196
196
|
stopSpinner({
|
|
197
197
|
spinner,
|
|
198
198
|
error: true,
|
|
199
|
-
text: `${NETLIFYDEVERR} An error
|
|
199
|
+
text: `${NETLIFYDEVERR} An error occurred while bundling processing the messages from routing-local-proxy: ${err}`,
|
|
200
200
|
})
|
|
201
201
|
|
|
202
202
|
firstBundleReject(err)
|