create-nx-workspace 19.6.0 → 19.6.2
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/README.md +1 -1
- package/package.json +2 -2
- package/src/utils/error-utils.js +2 -2
package/README.md
CHANGED
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
|
|
23
23
|
# `> npx create-nx-workspace`
|
|
24
24
|
|
|
25
|
-
Nx is a build system
|
|
25
|
+
Nx is a build system, optimized for monorepos, with plugins for popular frameworks and tools and advanced CI capabilities including caching and distribution.
|
|
26
26
|
|
|
27
27
|
## What is It?
|
|
28
28
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-nx-workspace",
|
|
3
|
-
"version": "19.6.
|
|
3
|
+
"version": "19.6.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Smart Monorepos · Fast CI",
|
|
6
6
|
"repository": {
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"tmp": "~0.2.1",
|
|
38
38
|
"tslib": "^2.3.0",
|
|
39
39
|
"yargs": "^17.6.2",
|
|
40
|
-
"axios": "^1.7.
|
|
40
|
+
"axios": "^1.7.4"
|
|
41
41
|
},
|
|
42
42
|
"publishConfig": {
|
|
43
43
|
"access": "public"
|
package/src/utils/error-utils.js
CHANGED
|
@@ -16,7 +16,7 @@ function mapErrorToBodyLines(error) {
|
|
|
16
16
|
const errorLines = error.message?.split('\n').filter((line) => !!line.trim());
|
|
17
17
|
if (errorLines.length < 3) {
|
|
18
18
|
const lines = [`Error: ${error.message}`];
|
|
19
|
-
if (process.env.NX_VERBOSE_LOGGING) {
|
|
19
|
+
if (process.env.NX_VERBOSE_LOGGING === 'true') {
|
|
20
20
|
lines.push(`Stack: ${error.stack}`);
|
|
21
21
|
}
|
|
22
22
|
return lines;
|
|
@@ -24,7 +24,7 @@ function mapErrorToBodyLines(error) {
|
|
|
24
24
|
const lines = error instanceof CreateNxWorkspaceError
|
|
25
25
|
? [`Exit code: ${error.code}`, `Log file: ${error.logFile}`]
|
|
26
26
|
: [];
|
|
27
|
-
if (process.env.NX_VERBOSE_LOGGING) {
|
|
27
|
+
if (process.env.NX_VERBOSE_LOGGING === 'true') {
|
|
28
28
|
lines.push(`Error: ${error.message}`);
|
|
29
29
|
lines.push(`Stack: ${error.stack}`);
|
|
30
30
|
}
|