create-nx-workspace 23.0.1 → 23.0.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.
|
@@ -417,9 +417,6 @@ async function normalizeArgsMiddleware(argv) {
|
|
|
417
417
|
argv.name = ai_output_1.SUGGESTED_WORKSPACE_NAME;
|
|
418
418
|
(0, ai_output_1.logProgress)('starting', `Using workspace name: ${argv.name} (if directory exists, re-run with a different name like my-nx-repo-2)`);
|
|
419
419
|
}
|
|
420
|
-
// Always enable Nx Cloud for AI agents - ignore --nxCloud=skip since the AI
|
|
421
|
-
// may pass it without asking the user. Nx Cloud is required for the full experience.
|
|
422
|
-
argv.nxCloud = 'yes';
|
|
423
420
|
// Skip GitHub push prompts in AI mode - we'll provide instructions in the success output
|
|
424
421
|
argv.skipGitHubPush = true;
|
|
425
422
|
}
|
|
@@ -2,10 +2,10 @@ import type { BannerVariant, CompletionMessageKey } from './messages';
|
|
|
2
2
|
export declare const NX_CLOUD_URL = "https://nx.dev/nx-cloud";
|
|
3
3
|
/**
|
|
4
4
|
* Clickable Nx Cloud marketing link for cloud prompt footers. Every
|
|
5
|
-
* create-nx-workspace prompt reports the same
|
|
6
|
-
* baked constant embedded directly in the footers. Visible text stays
|
|
7
|
-
* `NX_CLOUD_URL` while clicks carry UTM attribution; terminals
|
|
8
|
-
* support just render the bare URL (CLOUD-4642).
|
|
5
|
+
* create-nx-workspace prompt reports the same content tag, so the link is a
|
|
6
|
+
* single baked constant embedded directly in the footers. Visible text stays
|
|
7
|
+
* the clean `NX_CLOUD_URL` while clicks carry UTM attribution; terminals
|
|
8
|
+
* without OSC 8 support just render the bare URL (CLOUD-4642).
|
|
9
9
|
*/
|
|
10
10
|
export declare const NX_CLOUD_HYPERLINK: string;
|
|
11
11
|
/**
|
|
@@ -17,12 +17,12 @@ const terminal_link_1 = require("../terminal-link");
|
|
|
17
17
|
exports.NX_CLOUD_URL = 'https://nx.dev/nx-cloud';
|
|
18
18
|
/**
|
|
19
19
|
* Clickable Nx Cloud marketing link for cloud prompt footers. Every
|
|
20
|
-
* create-nx-workspace prompt reports the same
|
|
21
|
-
* baked constant embedded directly in the footers. Visible text stays
|
|
22
|
-
* `NX_CLOUD_URL` while clicks carry UTM attribution; terminals
|
|
23
|
-
* support just render the bare URL (CLOUD-4642).
|
|
20
|
+
* create-nx-workspace prompt reports the same content tag, so the link is a
|
|
21
|
+
* single baked constant embedded directly in the footers. Visible text stays
|
|
22
|
+
* the clean `NX_CLOUD_URL` while clicks carry UTM attribution; terminals
|
|
23
|
+
* without OSC 8 support just render the bare URL (CLOUD-4642).
|
|
24
24
|
*/
|
|
25
|
-
exports.NX_CLOUD_HYPERLINK = (0, terminal_link_1.terminalLink)(exports.NX_CLOUD_URL, `${exports.NX_CLOUD_URL}?utm_source=nx-cli&utm_medium=create-nx-workspace`);
|
|
25
|
+
exports.NX_CLOUD_HYPERLINK = (0, terminal_link_1.terminalLink)(exports.NX_CLOUD_URL, `${exports.NX_CLOUD_URL}?utm_source=nx-cli&utm_medium=cli&utm_campaign=nx-cloud-connect&utm_content=create-nx-workspace`);
|
|
26
26
|
// Flow variant controls both tracking and banner display (CLOUD-4235)
|
|
27
27
|
// Variants: 0 = control, 1 = updated prompt, 2 = no prompt (auto-connect)
|
|
28
28
|
const FLOW_VARIANT_CACHE_FILE = (0, node_path_1.join)((0, node_os_1.tmpdir)(), 'nx-cnw-flow-variant');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-nx-workspace",
|
|
3
|
-
"version": "23.0.
|
|
3
|
+
"version": "23.0.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Smart Monorepos · Fast Builds",
|
|
6
6
|
"repository": {
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
},
|
|
38
38
|
"homepage": "https://nx.dev",
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"axios": "1.16.
|
|
40
|
+
"axios": "1.16.1",
|
|
41
41
|
"chalk": "^4.1.0",
|
|
42
42
|
"enquirer": "~2.3.6",
|
|
43
43
|
"flat": "^5.0.2",
|