create-nx-workspace 23.1.0 → 23.1.1
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.
|
@@ -157,9 +157,9 @@ exports.commandsObject = yargs_1.default
|
|
|
157
157
|
default: true,
|
|
158
158
|
})
|
|
159
159
|
.option('aiAgents', {
|
|
160
|
-
describe: chalk_1.default.dim `List of AI agents to configure.`,
|
|
160
|
+
describe: chalk_1.default.dim `List of AI agents to configure. Use "none" to skip.`,
|
|
161
161
|
type: 'array',
|
|
162
|
-
choices: [...create_workspace_options_1.supportedAgents],
|
|
162
|
+
choices: [...create_workspace_options_1.supportedAgents, 'none'],
|
|
163
163
|
})
|
|
164
164
|
.option('template', {
|
|
165
165
|
describe: chalk_1.default.dim `GitHub template repository to use. Available templates: nrwl/empty-template, nrwl/react-template, nrwl/angular-template, nrwl/typescript-template`,
|
|
@@ -19,7 +19,7 @@ export declare function determineTemplate(parsedArgs: yargs.Arguments<{
|
|
|
19
19
|
interactive?: boolean;
|
|
20
20
|
}>): Promise<string | 'custom'>;
|
|
21
21
|
export declare function determineAiAgents(parsedArgs: yargs.Arguments<{
|
|
22
|
-
aiAgents?: Agent[];
|
|
22
|
+
aiAgents?: (Agent | 'none')[];
|
|
23
23
|
interactive?: boolean;
|
|
24
24
|
}>): Promise<Agent[]>;
|
|
25
25
|
export declare function determineAnalytics(parsedArgs: yargs.Arguments<{
|
|
@@ -135,7 +135,11 @@ async function determineTemplate(parsedArgs) {
|
|
|
135
135
|
}
|
|
136
136
|
async function determineAiAgents(parsedArgs) {
|
|
137
137
|
if (parsedArgs.aiAgents) {
|
|
138
|
-
|
|
138
|
+
const filtered = parsedArgs.aiAgents.filter((a) => a !== 'none');
|
|
139
|
+
if (filtered.length > 0) {
|
|
140
|
+
return filtered;
|
|
141
|
+
}
|
|
142
|
+
return [];
|
|
139
143
|
}
|
|
140
144
|
const detected = (0, ai_output_1.detectAiAgentName)();
|
|
141
145
|
if (detected) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-nx-workspace",
|
|
3
|
-
"version": "23.1.
|
|
3
|
+
"version": "23.1.1",
|
|
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.
|
|
40
|
+
"axios": "1.18.1",
|
|
41
41
|
"chalk": "^4.1.0",
|
|
42
42
|
"enquirer": "~2.3.6",
|
|
43
43
|
"flat": "^5.0.2",
|