create-nx-workspace 19.6.1 → 19.6.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/README.md +1 -1
- package/package.json +1 -1
- package/src/utils/error-utils.js +2 -2
- package/src/utils/nx/ab-testing.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
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
|
}
|
|
@@ -7,10 +7,10 @@ const is_ci_1 = require("../ci/is-ci");
|
|
|
7
7
|
const package_manager_1 = require("../package-manager");
|
|
8
8
|
exports.NxCloudChoices = [
|
|
9
9
|
'github',
|
|
10
|
-
'circleci',
|
|
11
10
|
'gitlab',
|
|
12
11
|
'azure',
|
|
13
12
|
'bitbucket-pipelines',
|
|
13
|
+
'circleci',
|
|
14
14
|
'skip',
|
|
15
15
|
'yes', // Deprecated but still handled
|
|
16
16
|
];
|
|
@@ -25,10 +25,10 @@ const messageOptions = {
|
|
|
25
25
|
initial: 0,
|
|
26
26
|
choices: [
|
|
27
27
|
{ value: 'github', name: 'GitHub Actions' },
|
|
28
|
-
{ value: 'circleci', name: 'Circle CI' },
|
|
29
28
|
{ value: 'gitlab', name: 'Gitlab' },
|
|
30
29
|
{ value: 'azure', name: 'Azure DevOps' },
|
|
31
30
|
{ value: 'bitbucket-pipelines', name: 'BitBucket Pipelines' },
|
|
31
|
+
{ value: 'circleci', name: 'Circle CI' },
|
|
32
32
|
{ value: 'skip', name: '\nDo it later' },
|
|
33
33
|
],
|
|
34
34
|
footer: '\nRemote caching, task distribution and test splitting are provided by Nx Cloud. Read more at https://nx.dev/ci',
|