@nx/workspace 21.6.0-canary.20250912-cfc03a2 → 21.6.0-canary.20250916-a429972
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
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@nx/workspace",
|
3
|
-
"version": "21.6.0-canary.
|
3
|
+
"version": "21.6.0-canary.20250916-a429972",
|
4
4
|
"private": false,
|
5
5
|
"description": "The Workspace plugin contains executors and generators that are useful for any Nx workspace. It should be present in every Nx workspace and other plugins build on it.",
|
6
6
|
"repository": {
|
@@ -38,7 +38,7 @@
|
|
38
38
|
}
|
39
39
|
},
|
40
40
|
"dependencies": {
|
41
|
-
"@nx/devkit": "21.6.0-canary.
|
41
|
+
"@nx/devkit": "21.6.0-canary.20250916-a429972",
|
42
42
|
"@zkochan/js-yaml": "0.0.7",
|
43
43
|
"chalk": "^4.1.0",
|
44
44
|
"enquirer": "~2.3.6",
|
@@ -46,10 +46,10 @@
|
|
46
46
|
"semver": "^7.6.3",
|
47
47
|
"tslib": "^2.3.0",
|
48
48
|
"yargs-parser": "21.1.1",
|
49
|
-
"nx": "21.6.0-canary.
|
49
|
+
"nx": "21.6.0-canary.20250916-a429972"
|
50
50
|
},
|
51
51
|
"devDependencies": {
|
52
|
-
"nx": "21.6.0-canary.
|
52
|
+
"nx": "21.6.0-canary.20250916-a429972"
|
53
53
|
},
|
54
54
|
"publishConfig": {
|
55
55
|
"access": "public"
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"generate-workspace-files.d.ts","sourceRoot":"","sources":["../../../../../../packages/workspace/src/generators/new/generate-workspace-files.ts"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,IAAI,EAGV,MAAM,YAAY,CAAC;AAQpB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,OAAO,CAAC;
|
1
|
+
{"version":3,"file":"generate-workspace-files.d.ts","sourceRoot":"","sources":["../../../../../../packages/workspace/src/generators/new/generate-workspace-files.ts"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,IAAI,EAGV,MAAM,YAAY,CAAC;AAQpB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,OAAO,CAAC;AA0I9C,wBAAsB,sBAAsB,CAC1C,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,gBAAgB,mBAuD1B"}
|
@@ -9,6 +9,7 @@ const semver_1 = require("semver");
|
|
9
9
|
const default_base_1 = require("../../utilities/default-base");
|
10
10
|
const versions_1 = require("../../utils/versions");
|
11
11
|
const presets_1 = require("../utils/presets");
|
12
|
+
const set_up_ai_agents_1 = require("nx/src/ai/set-up-ai-agents/set-up-ai-agents");
|
12
13
|
// map from the preset to the name of the plugin s.t. the README can have a more
|
13
14
|
// meaningful generator command.
|
14
15
|
const presetToPluginMap = {
|
@@ -133,6 +134,11 @@ async function generateWorkspaceFiles(tree, options) {
|
|
133
134
|
}, nxJson)
|
134
135
|
: null;
|
135
136
|
await createReadme(tree, options, token);
|
137
|
+
await (0, set_up_ai_agents_1.setupAiAgentsGenerator)(tree, {
|
138
|
+
directory: options.directory,
|
139
|
+
writeNxCloudRules: options.nxCloud !== 'skip',
|
140
|
+
packageVersion: 'latest',
|
141
|
+
});
|
136
142
|
const [packageMajor] = packageManagerVersion.split('.');
|
137
143
|
if (options.packageManager === 'pnpm' && +packageMajor >= 7) {
|
138
144
|
if ((0, semver_1.gte)(packageManagerVersion, '10.6.0')) {
|
package/src/utils/versions.d.ts
CHANGED
package/src/utils/versions.js
CHANGED
@@ -5,4 +5,4 @@ exports.nxVersion = require('../../package.json').version;
|
|
5
5
|
exports.typescriptVersion = '~5.9.2';
|
6
6
|
// TODO: remove when preset generation is reworked and
|
7
7
|
// deps are not installed from workspace
|
8
|
-
exports.angularCliVersion = '~20.
|
8
|
+
exports.angularCliVersion = '~20.3.0';
|