nx 21.3.0 → 21.3.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/package.json +11 -11
- package/src/command-line/init/implementation/add-nx-to-monorepo.d.ts +1 -1
- package/src/command-line/init/implementation/add-nx-to-monorepo.js +2 -2
- package/src/command-line/init/implementation/add-nx-to-npm-repo.d.ts +1 -1
- package/src/command-line/init/implementation/add-nx-to-npm-repo.js +2 -2
- package/src/command-line/init/implementation/utils.js +1 -5
- package/src/command-line/init/init-v2.js +41 -22
- package/src/core/graph/main.js +1 -1
- package/src/native/nx.wasm32-wasi.wasm +0 -0
- package/src/nx-cloud/generators/connect-to-nx-cloud/connect-to-nx-cloud.js +3 -7
- package/src/utils/ab-testing.d.ts +3 -3
- package/src/utils/ab-testing.js +3 -3
Binary file
|
@@ -69,14 +69,10 @@ async function createNxCloudWorkspaceV2(workspaceName, installationSource, nxIni
|
|
69
69
|
async function printSuccessMessage(token, installationSource, usesGithub) {
|
70
70
|
const connectCloudUrl = await (0, url_shorten_1.createNxCloudOnboardingURL)(installationSource, token, usesGithub);
|
71
71
|
output_1.output.note({
|
72
|
-
title: `Your
|
72
|
+
title: `Your Self-Healing CI and Remote Caching setup is almost complete`,
|
73
73
|
bodyLines: [
|
74
|
-
`
|
75
|
-
|
76
|
-
`- Create a pull request for the changes.`,
|
77
|
-
`- Go to the following URL to connect your workspace to Nx Cloud:`,
|
78
|
-
'',
|
79
|
-
`${connectCloudUrl}`,
|
74
|
+
`1. Commit your changes and push a pull request to your repository.`,
|
75
|
+
`2. Go to Nx Cloud and finish the setup: ${connectCloudUrl}`,
|
80
76
|
],
|
81
77
|
});
|
82
78
|
return connectCloudUrl;
|
@@ -1,8 +1,8 @@
|
|
1
1
|
export type MessageOptionKey = 'yes' | 'skip';
|
2
2
|
declare const messageOptions: {
|
3
3
|
readonly setupNxCloud: readonly [{
|
4
|
-
readonly code: "enable-
|
5
|
-
readonly message: "Would you like
|
4
|
+
readonly code: "enable-ci";
|
5
|
+
readonly message: "Would you like to enable AI-powered Self-Healing CI and Remote Caching?";
|
6
6
|
readonly initial: 0;
|
7
7
|
readonly choices: readonly [{
|
8
8
|
readonly value: "yes";
|
@@ -11,7 +11,7 @@ declare const messageOptions: {
|
|
11
11
|
readonly value: "skip";
|
12
12
|
readonly name: "Skip for now";
|
13
13
|
}];
|
14
|
-
readonly footer: "\
|
14
|
+
readonly footer: "\nLearn about it at https://nx.dev/nx-cloud";
|
15
15
|
readonly hint: "\n(it's free and can be disabled any time)";
|
16
16
|
}];
|
17
17
|
readonly setupViewLogs: readonly [{
|
package/src/utils/ab-testing.js
CHANGED
@@ -9,14 +9,14 @@ const get_cloud_options_1 = require("../nx-cloud/utilities/get-cloud-options");
|
|
9
9
|
const messageOptions = {
|
10
10
|
setupNxCloud: [
|
11
11
|
{
|
12
|
-
code: 'enable-
|
13
|
-
message: `Would you like
|
12
|
+
code: 'enable-ci',
|
13
|
+
message: `Would you like to enable AI-powered Self-Healing CI and Remote Caching?`,
|
14
14
|
initial: 0,
|
15
15
|
choices: [
|
16
16
|
{ value: 'yes', name: 'Yes' },
|
17
17
|
{ value: 'skip', name: 'Skip for now' },
|
18
18
|
],
|
19
|
-
footer: '\
|
19
|
+
footer: '\nLearn about it at https://nx.dev/nx-cloud',
|
20
20
|
hint: `\n(it's free and can be disabled any time)`,
|
21
21
|
},
|
22
22
|
],
|