create-nx-workspace 24.1.0-beta.1 โ†’ 24.1.0-beta.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.
@@ -22,6 +22,7 @@ export declare function isCopilotCli(): boolean;
22
22
  export declare function isReplitAi(): boolean;
23
23
  export declare function isCursorAi(): boolean;
24
24
  export declare function isGeminiCli(): boolean;
25
+ export declare function isAntigravity(): boolean;
25
26
  export declare function detectAiAgentName(): string | null;
26
27
  export type ProgressStage = 'starting' | 'downloading' | 'installing' | 'configuring' | 'initializing' | 'complete' | 'error';
27
28
  export interface ProgressMessage {
@@ -19,6 +19,7 @@ exports.isCopilotCli = isCopilotCli;
19
19
  exports.isReplitAi = isReplitAi;
20
20
  exports.isCursorAi = isCursorAi;
21
21
  exports.isGeminiCli = isGeminiCli;
22
+ exports.isAntigravity = isAntigravity;
22
23
  exports.detectAiAgentName = detectAiAgentName;
23
24
  exports.writeAiOutput = writeAiOutput;
24
25
  exports.logProgress = logProgress;
@@ -33,6 +34,7 @@ function isAiAgent() {
33
34
  isOpenCode() ||
34
35
  isCodex() ||
35
36
  isCopilotCli() ||
37
+ isAntigravity() ||
36
38
  isReplitAi() ||
37
39
  isCursorAi() ||
38
40
  isGeminiCli();
@@ -68,6 +70,9 @@ function isCursorAi() {
68
70
  function isGeminiCli() {
69
71
  return !!process.env.GEMINI_CLI;
70
72
  }
73
+ function isAntigravity() {
74
+ return !!process.env.ANTIGRAVITY_AGENT;
75
+ }
71
76
  function detectAiAgentName() {
72
77
  if (isClaudeCode())
73
78
  return 'claude';
@@ -81,6 +86,8 @@ function detectAiAgentName() {
81
86
  return 'copilot-cli';
82
87
  if (isGeminiCli())
83
88
  return 'gemini';
89
+ if (isAntigravity())
90
+ return 'antigravity';
84
91
  return null;
85
92
  }
86
93
  /**
@@ -30,7 +30,7 @@ export declare function isEnterpriseCloudUrl(cloudUrl?: string): boolean;
30
30
  * Get the banner variant for completion messages.
31
31
  * Now locked to variant 2 (CLOUD-4255).
32
32
  * - Variant 0: Plain link - used for enterprise URLs and docs generation
33
- * - Variant 2: "Enable remote caching and automatic fixes" banner
33
+ * - Variant 2: Simple box banner with setup URL
34
34
  *
35
35
  * @param cloudUrl - The Nx Cloud URL. If enterprise, always returns '0'.
36
36
  */
@@ -136,7 +136,7 @@ function isEnterpriseCloudUrl(cloudUrl) {
136
136
  * Get the banner variant for completion messages.
137
137
  * Now locked to variant 2 (CLOUD-4255).
138
138
  * - Variant 0: Plain link - used for enterprise URLs and docs generation
139
- * - Variant 2: "Enable remote caching and automatic fixes" banner
139
+ * - Variant 2: Simple box banner with setup URL
140
140
  *
141
141
  * @param cloudUrl - The Nx Cloud URL. If enterprise, always returns '0'.
142
142
  */
@@ -180,7 +180,7 @@ const messageOptions = {
180
180
  { value: 'circleci', name: 'Circle CI\n' },
181
181
  { value: 'skip', name: 'Do it later' },
182
182
  ],
183
- footer: `\nSelf-healing CI, remote caching, and task distribution are provided by Nx Cloud: ${exports.NX_CLOUD_HYPERLINK}\nSee it in action: ${exports.NX_CLOUD_DEMO_HYPERLINK}`,
183
+ footer: `\nRemote caching and task distribution are provided by Nx Cloud: ${exports.NX_CLOUD_HYPERLINK}\nSee it in action: ${exports.NX_CLOUD_DEMO_HYPERLINK}`,
184
184
  fallback: { value: 'skip', key: 'setupNxCloud' },
185
185
  completionMessage: 'ci-setup',
186
186
  },
@@ -198,7 +198,7 @@ const messageOptions = {
198
198
  { value: 'yes', name: 'Yes' },
199
199
  { value: 'skip', name: 'Skip' },
200
200
  ],
201
- footer: `\nAutomatically fix broken PRs, 70% faster CI: ${exports.NX_CLOUD_HYPERLINK}\nSee it in action: ${exports.NX_CLOUD_DEMO_HYPERLINK}`,
201
+ footer: `\n70% faster CI with remote caching and task distribution: ${exports.NX_CLOUD_HYPERLINK}\nSee it in action: ${exports.NX_CLOUD_DEMO_HYPERLINK}`,
202
202
  fallback: undefined,
203
203
  completionMessage: 'platform-setup',
204
204
  },
@@ -91,7 +91,7 @@ function getSkippedCloudMessage() {
91
91
  bodyLines: [
92
92
  'Run "nx connect" to enable remote caching and speed up your CI.',
93
93
  '',
94
- '70% faster CI, 60% less compute, automatically fix broken PRs.',
94
+ '70% faster CI, 60% less compute.',
95
95
  'Learn more at https://nx.dev/nx-cloud',
96
96
  ],
97
97
  };
@@ -10,7 +10,7 @@ const BEGIN_MARKER = '<!-- BEGIN: nx-cloud -->';
10
10
  const END_MARKER = '<!-- END: nx-cloud -->';
11
11
  const CLOUD_SETUP_SECTION = `## Finish your Nx platform setup
12
12
 
13
- ๐Ÿš€ [Finish setting up your workspace]({{CONNECT_URL}}) to get faster builds with remote caching, distributed task execution, and self-healing CI. [Learn more about Nx Cloud](https://nx.dev/ci/intro/why-nx-cloud).
13
+ ๐Ÿš€ [Finish setting up your workspace]({{CONNECT_URL}}) to get faster builds with remote caching and distributed task execution. [Learn more about Nx Cloud](https://nx.dev/ci/intro/why-nx-cloud).
14
14
  `;
15
15
  /**
16
16
  * Updates README content by processing the nx-cloud marker section.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-nx-workspace",
3
- "version": "24.1.0-beta.1",
3
+ "version": "24.1.0-beta.3",
4
4
  "private": false,
5
5
  "description": "Smart Monorepos ยท Fast Builds",
6
6
  "repository": {