@angular/cli 14.1.0-next.0 → 14.1.0-next.3
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/lib/cli/index.js +2 -2
- package/lib/config/schema.json +667 -5
- package/lib/init.js +4 -2
- package/package.json +14 -14
- package/src/analytics/analytics.js +3 -0
- package/src/command-builder/architect-base-command-module.d.ts +1 -1
- package/src/command-builder/architect-base-command-module.js +4 -1
- package/src/command-builder/command-module.d.ts +3 -1
- package/src/command-builder/command-module.js +26 -3
- package/src/command-builder/command-runner.js +3 -22
- package/src/command-builder/schematics-command-module.d.ts +1 -1
- package/src/command-builder/schematics-command-module.js +3 -1
- package/src/command-builder/utilities/command.js +13 -2
- package/src/command-builder/utilities/schematic-engine-host.js +2 -0
- package/src/commands/add/cli.js +5 -0
- package/src/commands/cache/clean/cli.d.ts +1 -1
- package/src/commands/cache/clean/cli.js +1 -1
- package/src/commands/cache/cli.d.ts +1 -1
- package/src/commands/cache/cli.js +1 -1
- package/src/commands/cache/info/cli.d.ts +1 -1
- package/src/commands/cache/info/cli.js +1 -1
- package/src/commands/cache/settings/cli.d.ts +2 -2
- package/src/commands/cache/settings/cli.js +2 -2
- package/src/commands/completion/cli.js +2 -0
- package/src/commands/config/cli.js +2 -17
- package/src/commands/new/cli.d.ts +1 -1
- package/src/commands/new/cli.js +2 -2
- package/src/commands/run/cli.d.ts +1 -1
- package/src/commands/run/cli.js +11 -1
- package/src/commands/update/cli.d.ts +1 -1
- package/src/commands/update/cli.js +11 -1
- package/src/commands/update/schematic/index.js +3 -0
- package/src/utilities/color.js +0 -1
- package/src/utilities/completion.js +3 -0
- package/src/utilities/config.d.ts +1 -1
- package/src/utilities/config.js +9 -2
- package/src/utilities/error.d.ts +10 -0
- package/src/utilities/error.js +18 -0
package/lib/cli/index.js
CHANGED
|
@@ -81,7 +81,7 @@ async function default_1(options) {
|
|
|
81
81
|
}
|
|
82
82
|
catch (e) {
|
|
83
83
|
logger.fatal(`An unhandled exception occurred: ${err.message}\n` +
|
|
84
|
-
`Fatal error writing debug log file: ${e
|
|
84
|
+
`Fatal error writing debug log file: ${e}`);
|
|
85
85
|
if (err.stack) {
|
|
86
86
|
logger.fatal(err.stack);
|
|
87
87
|
}
|
|
@@ -95,7 +95,7 @@ async function default_1(options) {
|
|
|
95
95
|
// Log nothing.
|
|
96
96
|
}
|
|
97
97
|
else {
|
|
98
|
-
logger.fatal(`An unexpected error occurred: ${
|
|
98
|
+
logger.fatal(`An unexpected error occurred: ${err}`);
|
|
99
99
|
}
|
|
100
100
|
return 1;
|
|
101
101
|
}
|