@aws/nx-plugin 0.62.0 → 0.62.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.
- package/LICENSE-THIRD-PARTY +30 -3
- package/package.json +3 -4
- package/src/infra/app/__snapshots__/generator.spec.ts.snap +2 -2
- package/src/mcp-server/schema.d.ts +7 -2
- package/src/mcp-server/schema.js +2 -2
- package/src/mcp-server/schema.js.map +1 -1
- package/src/mcp-server/tools/create-workspace-command.js +8 -2
- package/src/mcp-server/tools/create-workspace-command.js.map +1 -1
- package/src/mcp-server/tools/general-guidance.js +4 -1
- package/src/mcp-server/tools/general-guidance.js.map +1 -1
- package/src/mcp-server/tools/generator-guide.js +7 -4
- package/src/mcp-server/tools/generator-guide.js.map +1 -1
- package/src/mcp-server/tools/list-generators.js +4 -1
- package/src/mcp-server/tools/list-generators.js.map +1 -1
- package/src/py/mcp-server/__snapshots__/generator.spec.ts.snap +1 -1
- package/src/py/strands-agent/__snapshots__/generator.spec.ts.snap +1 -1
- package/src/ts/mcp-server/__snapshots__/generator.spec.ts.snap +2 -2
- package/src/ts/mcp-server/files/resources/sample-guidance.ts.template +1 -1
- package/src/ts/mcp-server/files/tools/add.ts.template +6 -4
- package/src/ts/mcp-server/generator.js +1 -5
- package/src/ts/mcp-server/generator.js.map +1 -1
- package/src/ts/nx-plugin/__snapshots__/generator.spec.ts.snap +35 -20
- package/src/ts/nx-plugin/files/mcp-server/schema.ts.template +1 -1
- package/src/ts/nx-plugin/files/mcp-server/tools/create-workspace-command.ts.template +7 -5
- package/src/ts/nx-plugin/files/mcp-server/tools/general-guidance.ts.template +5 -3
- package/src/ts/nx-plugin/files/mcp-server/tools/generator-guide.ts.template +9 -7
- package/src/ts/nx-plugin/files/mcp-server/tools/list-generators.ts.template +6 -4
- package/src/ts/react-website/app/__snapshots__/generator.spec.ts.snap +10 -10
- package/src/utils/versions.d.ts +9 -10
- package/src/utils/versions.js +9 -12
- package/src/utils/versions.js.map +1 -1
package/LICENSE-THIRD-PARTY
CHANGED
|
@@ -3878,7 +3878,7 @@ THE SOFTWARE.
|
|
|
3878
3878
|
|
|
3879
3879
|
---
|
|
3880
3880
|
|
|
3881
|
-
The following software may be included in this product: @modelcontextprotocol/sdk (1.
|
|
3881
|
+
The following software may be included in this product: @modelcontextprotocol/sdk (1.24.1)
|
|
3882
3882
|
This software contains the following license and notice below:
|
|
3883
3883
|
|
|
3884
3884
|
MIT License
|
|
@@ -15822,6 +15822,33 @@ SOFTWARE.
|
|
|
15822
15822
|
|
|
15823
15823
|
---
|
|
15824
15824
|
|
|
15825
|
+
The following software may be included in this product: jose (6.1.3)
|
|
15826
|
+
This software contains the following license and notice below:
|
|
15827
|
+
|
|
15828
|
+
The MIT License (MIT)
|
|
15829
|
+
|
|
15830
|
+
Copyright (c) 2018 Filip Skokan
|
|
15831
|
+
|
|
15832
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
15833
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
15834
|
+
in the Software without restriction, including without limitation the rights
|
|
15835
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
15836
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
15837
|
+
furnished to do so, subject to the following conditions:
|
|
15838
|
+
|
|
15839
|
+
The above copyright notice and this permission notice shall be included in all
|
|
15840
|
+
copies or substantial portions of the Software.
|
|
15841
|
+
|
|
15842
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
15843
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
15844
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
15845
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
15846
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
15847
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
15848
|
+
SOFTWARE.
|
|
15849
|
+
|
|
15850
|
+
---
|
|
15851
|
+
|
|
15825
15852
|
The following software may be included in this product: js-tokens (4.0.0)
|
|
15826
15853
|
This software contains the following license and notice below:
|
|
15827
15854
|
|
|
@@ -27276,7 +27303,7 @@ SOFTWARE.
|
|
|
27276
27303
|
|
|
27277
27304
|
---
|
|
27278
27305
|
|
|
27279
|
-
The following software may be included in this product: ts-node (10.9.
|
|
27306
|
+
The following software may be included in this product: ts-node (10.9.2)
|
|
27280
27307
|
This software contains the following license and notice below:
|
|
27281
27308
|
|
|
27282
27309
|
The MIT License (MIT)
|
|
@@ -31481,7 +31508,7 @@ OTHER DEALINGS IN THE SOFTWARE.
|
|
|
31481
31508
|
|
|
31482
31509
|
---
|
|
31483
31510
|
|
|
31484
|
-
The following software may be included in this product: zod (
|
|
31511
|
+
The following software may be included in this product: zod (4.1.13)
|
|
31485
31512
|
This software contains the following license and notice below:
|
|
31486
31513
|
|
|
31487
31514
|
MIT License
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws/nx-plugin",
|
|
3
|
-
"version": "0.62.
|
|
3
|
+
"version": "0.62.1",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/awslabs/nx-plugin-for-aws.git",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"@apidevtools/swagger-parser": "^10.1.1",
|
|
27
27
|
"@hey-api/openapi-ts": "0.64.13",
|
|
28
28
|
"@iarna/toml": "^2.2.5",
|
|
29
|
-
"@modelcontextprotocol/sdk": "^1.
|
|
29
|
+
"@modelcontextprotocol/sdk": "^1.24.0",
|
|
30
30
|
"@nx/devkit": "~22.1.3",
|
|
31
31
|
"@nx/eslint": "~22.1.3",
|
|
32
32
|
"@nx/js": "~22.1.3",
|
|
@@ -48,8 +48,7 @@
|
|
|
48
48
|
"typescript": "~5.9.3",
|
|
49
49
|
"vite": "^7.2.4",
|
|
50
50
|
"vitest": "^4.0.14",
|
|
51
|
-
"zod": "^4.1.13"
|
|
52
|
-
"zod-v3": "npm:zod@^3.25.76"
|
|
51
|
+
"zod": "^4.1.13"
|
|
53
52
|
},
|
|
54
53
|
"types": "./src/index.d.ts"
|
|
55
54
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
exports[`infra generator > should add required dependencies to package.json > dependencies 1`] = `
|
|
4
4
|
{
|
|
5
5
|
"aws-cdk": "2.1033.0",
|
|
6
|
-
"aws-cdk-lib": "2.
|
|
6
|
+
"aws-cdk-lib": "2.230.0",
|
|
7
7
|
"constructs": "10.4.3",
|
|
8
8
|
"esbuild": "0.27.0",
|
|
9
9
|
"source-map-support": "0.5.21",
|
|
@@ -40,7 +40,7 @@ exports[`infra generator > should add required dependencies to package.json > pa
|
|
|
40
40
|
{
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"aws-cdk": "2.1033.0",
|
|
43
|
-
"aws-cdk-lib": "2.
|
|
43
|
+
"aws-cdk-lib": "2.230.0",
|
|
44
44
|
"constructs": "10.4.3",
|
|
45
45
|
"esbuild": "0.27.0",
|
|
46
46
|
"source-map-support": "0.5.21",
|
|
@@ -2,6 +2,11 @@
|
|
|
2
2
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
3
3
|
* SPDX-License-Identifier: Apache-2.0
|
|
4
4
|
*/
|
|
5
|
-
import { z } from 'zod
|
|
5
|
+
import { z } from 'zod';
|
|
6
6
|
export declare const PACKAGE_MANAGERS: readonly ["pnpm", "yarn", "npm", "bun"];
|
|
7
|
-
export declare const PackageManagerSchema: z.ZodEnum<
|
|
7
|
+
export declare const PackageManagerSchema: z.ZodEnum<{
|
|
8
|
+
yarn: "yarn";
|
|
9
|
+
pnpm: "pnpm";
|
|
10
|
+
npm: "npm";
|
|
11
|
+
bun: "bun";
|
|
12
|
+
}>;
|
package/src/mcp-server/schema.js
CHANGED
|
@@ -5,7 +5,7 @@ exports.PackageManagerSchema = exports.PACKAGE_MANAGERS = void 0;
|
|
|
5
5
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
6
6
|
* SPDX-License-Identifier: Apache-2.0
|
|
7
7
|
*/
|
|
8
|
-
const
|
|
8
|
+
const zod_1 = require("zod");
|
|
9
9
|
exports.PACKAGE_MANAGERS = ['pnpm', 'yarn', 'npm', 'bun'];
|
|
10
|
-
exports.PackageManagerSchema =
|
|
10
|
+
exports.PackageManagerSchema = zod_1.z.enum(exports.PACKAGE_MANAGERS);
|
|
11
11
|
//# sourceMappingURL=schema.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../../packages/nx-plugin/src/mcp-server/schema.ts"],"names":[],"mappings":";;;AAAA;;;GAGG;AACH,
|
|
1
|
+
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../../packages/nx-plugin/src/mcp-server/schema.ts"],"names":[],"mappings":";;;AAAA;;;GAGG;AACH,6BAAwB;AAEX,QAAA,gBAAgB,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,CAAU,CAAC;AAC3D,QAAA,oBAAoB,GAAG,OAAC,CAAC,IAAI,CAAC,wBAAgB,CAAC,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.addCreateWorkspaceCommandTool = void 0;
|
|
4
|
-
const
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
5
|
const schema_1 = require("../schema");
|
|
6
6
|
const iac_1 = require("../../utils/iac");
|
|
7
7
|
const versions_1 = require("../../utils/versions");
|
|
@@ -9,7 +9,13 @@ const versions_1 = require("../../utils/versions");
|
|
|
9
9
|
* Add a tool which tells a model how to create an Nx workspace
|
|
10
10
|
*/
|
|
11
11
|
const addCreateWorkspaceCommandTool = (server) => {
|
|
12
|
-
server.
|
|
12
|
+
server.registerTool('create-workspace-command', {
|
|
13
|
+
description: 'Tool to discover how to create a workspace to start a new project.',
|
|
14
|
+
inputSchema: {
|
|
15
|
+
workspaceName: zod_1.z.string(),
|
|
16
|
+
packageManager: schema_1.PackageManagerSchema,
|
|
17
|
+
},
|
|
18
|
+
}, ({ workspaceName, packageManager }) => ({
|
|
13
19
|
content: [
|
|
14
20
|
{
|
|
15
21
|
type: 'text',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-workspace-command.js","sourceRoot":"","sources":["../../../../../../packages/nx-plugin/src/mcp-server/tools/create-workspace-command.ts"],"names":[],"mappings":";;;AAKA,
|
|
1
|
+
{"version":3,"file":"create-workspace-command.js","sourceRoot":"","sources":["../../../../../../packages/nx-plugin/src/mcp-server/tools/create-workspace-command.ts"],"names":[],"mappings":";;;AAKA,6BAAwB;AACxB,sCAAiD;AACjD,yCAAgD;AAChD,mDAAmD;AAEnD;;GAEG;AACI,MAAM,6BAA6B,GAAG,CAAC,MAAiB,EAAE,EAAE;IACjE,MAAM,CAAC,YAAY,CACjB,0BAA0B,EAC1B;QACE,WAAW,EACT,oEAAoE;QACtE,WAAW,EAAE;YACX,aAAa,EAAE,OAAC,CAAC,MAAM,EAAE;YACzB,cAAc,EAAE,6BAAoB;SACrC;KACF,EACD,CAAC,EAAE,aAAa,EAAE,cAAc,EAAE,EAAE,EAAE,CAAC,CAAC;QACtC,OAAO,EAAE;YACP;gBACE,IAAI,EAAE,MAAe;gBACrB,IAAI,EAAE;;;0BAGU,sBAAW,CAAC,qBAAqB,CAAC,IAAI,aAAa,SAAS,cAAc;;;8CAGtD,aAAa;;qEAEU,mBAAa,CAAC,IAAI,CAAC,IAAI,CAAC;yCACpD,mBAAa,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,mBAAmB,GAAG,IAAI,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC;GACzG;aACM;SACF;KACF,CAAC,CACH,CAAC;AACJ,CAAC,CAAC;AA9BW,QAAA,6BAA6B,iCA8BxC"}
|
|
@@ -15,7 +15,10 @@ exports.TOOL_SELECTION_GUIDE = `## Tool Selection Guide
|
|
|
15
15
|
* Add a tool which provides general guidance for using Nx and the Nx Plugin for AWS
|
|
16
16
|
*/
|
|
17
17
|
const addGeneralGuidanceTool = (server, generators) => {
|
|
18
|
-
server.
|
|
18
|
+
server.registerTool('general-guidance', {
|
|
19
|
+
title: 'General Guidance',
|
|
20
|
+
description: 'Tool for guidance and best practices for working with Nx and the Nx Plugin for AWS',
|
|
21
|
+
}, () => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
|
|
19
22
|
return ({
|
|
20
23
|
content: [
|
|
21
24
|
{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"general-guidance.js","sourceRoot":"","sources":["../../../../../../packages/nx-plugin/src/mcp-server/tools/general-guidance.ts"],"names":[],"mappings":";;;;AAMA,sCAA6C;AAC7C,sDAAoE;AACpE,yCAAgD;AAEnC,QAAA,oBAAoB,GAAG;;;;;gGAK4D,CAAC;AAEjG;;GAEG;AACI,MAAM,sBAAsB,GAAG,CACpC,MAAiB,EACjB,UAA6B,EAC7B,EAAE;IACF,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"general-guidance.js","sourceRoot":"","sources":["../../../../../../packages/nx-plugin/src/mcp-server/tools/general-guidance.ts"],"names":[],"mappings":";;;;AAMA,sCAA6C;AAC7C,sDAAoE;AACpE,yCAAgD;AAEnC,QAAA,oBAAoB,GAAG;;;;;gGAK4D,CAAC;AAEjG;;GAEG;AACI,MAAM,sBAAsB,GAAG,CACpC,MAAiB,EACjB,UAA6B,EAC7B,EAAE;IACF,MAAM,CAAC,YAAY,CACjB,kBAAkB,EAClB;QACE,KAAK,EAAE,kBAAkB;QACzB,WAAW,EACT,oFAAoF;KACvF,EACD,GAAS,EAAE;QAAC,OAAA,CAAC;YACX,OAAO,EAAE;gBACP;oBACE,IAAI,EAAE,MAAe;oBACrB,IAAI,EAAE;;EAEd,4BAAoB;;;;2DAIqC,yBAAgB,CAAC,IAAI,CAAC,IAAI,CAAC;iFACL,mBAAa,CAAC,IAAI,CAAC,IAAI,CAAC;;;;;;;EAOvG,yBAAgB,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,IAAA,+BAAc,EAAC,WAAW,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkC3E,MAAM,IAAA,gCAAe,EAAC,CAAC,oBAAoB,EAAE,gBAAgB,CAAC,EAAE,UAAU,CAAC;;KAExE;iBACI;aACF;SACF,CAAC,CAAA;MAAA,CACH,CAAC;AACJ,CAAC,CAAC;AAtEW,QAAA,sBAAsB,0BAsEjC"}
|
|
@@ -2,16 +2,19 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.addGeneratorGuideTool = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const
|
|
5
|
+
const zod_1 = require("zod");
|
|
6
6
|
const generator_info_1 = require("../generator-info");
|
|
7
7
|
const schema_1 = require("../schema");
|
|
8
8
|
/**
|
|
9
9
|
* Add a tool which provides a detailed guide for an individual generator
|
|
10
10
|
*/
|
|
11
11
|
const addGeneratorGuideTool = (server, generators) => {
|
|
12
|
-
server.
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
server.registerTool('generator-guide', {
|
|
13
|
+
description: 'Tool to retrieve detailed information about a specific generator.',
|
|
14
|
+
inputSchema: {
|
|
15
|
+
packageManager: schema_1.PackageManagerSchema,
|
|
16
|
+
generator: zod_1.z.enum(generators.map((g) => g.id)),
|
|
17
|
+
},
|
|
15
18
|
}, (_a) => tslib_1.__awaiter(void 0, [_a], void 0, function* ({ packageManager, generator: generatorId }) {
|
|
16
19
|
const generator = generators.find((g) => g.id === generatorId);
|
|
17
20
|
if (!generator) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generator-guide.js","sourceRoot":"","sources":["../../../../../../packages/nx-plugin/src/mcp-server/tools/generator-guide.ts"],"names":[],"mappings":";;;;AAMA,
|
|
1
|
+
{"version":3,"file":"generator-guide.js","sourceRoot":"","sources":["../../../../../../packages/nx-plugin/src/mcp-server/tools/generator-guide.ts"],"names":[],"mappings":";;;;AAMA,6BAAwB;AACxB,sDAG2B;AAC3B,sCAAiD;AAEjD;;GAEG;AACI,MAAM,qBAAqB,GAAG,CACnC,MAAiB,EACjB,UAA6B,EAC7B,EAAE;IACF,MAAM,CAAC,YAAY,CACjB,iBAAiB,EACjB;QACE,WAAW,EACT,mEAAmE;QACrE,WAAW,EAAE;YACX,cAAc,EAAE,6BAAoB;YACpC,SAAS,EAAE,OAAC,CAAC,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;SAC/C;KACF,EACD,KAAmD,EAAE,oDAA9C,EAAE,cAAc,EAAE,SAAS,EAAE,WAAW,EAAE;QAC/C,MAAM,SAAS,GAAG,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,WAAW,CAAC,CAAC;QAC/D,IAAI,CAAC,SAAS,EAAE,CAAC;YACf,MAAM,IAAI,KAAK,CACb,8BAA8B,WAAW,2BAA2B,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAC7G,CAAC;QACJ,CAAC;QAED,OAAO;YACL,OAAO,EAAE;gBACP;oBACE,IAAI,EAAE,MAAe;oBACrB,IAAI,EAAE,MAAM,IAAA,oCAAmB,EAAC,cAAc,EAAE,SAAS,CAAC;;;;EAIpE,MAAM,IAAA,4CAA2B,EAAC,SAAS,EAAE,UAAU,EAAE,cAAc,CAAC;CACzE;iBACU;aACF;SACF,CAAC;IACJ,CAAC,CAAA,CACF,CAAC;AACJ,CAAC,CAAC;AArCW,QAAA,qBAAqB,yBAqChC"}
|
|
@@ -7,7 +7,10 @@ const generator_info_1 = require("../generator-info");
|
|
|
7
7
|
* Adds a tool which lists details about the available generators
|
|
8
8
|
*/
|
|
9
9
|
const addListGeneratorsTool = (server, generators) => {
|
|
10
|
-
server.
|
|
10
|
+
server.registerTool('list-generators', {
|
|
11
|
+
description: 'Tool to discover the available generators and how to run them.',
|
|
12
|
+
inputSchema: { packageManager: schema_1.PackageManagerSchema },
|
|
13
|
+
}, ({ packageManager }) => ({
|
|
11
14
|
content: [
|
|
12
15
|
{
|
|
13
16
|
type: 'text',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-generators.js","sourceRoot":"","sources":["../../../../../../packages/nx-plugin/src/mcp-server/tools/list-generators.ts"],"names":[],"mappings":";;;AAKA,sCAAiD;AACjD,sDAAwD;AAGxD;;GAEG;AACI,MAAM,qBAAqB,GAAG,CACnC,MAAiB,EACjB,UAA6B,EAC7B,EAAE;IACF,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"list-generators.js","sourceRoot":"","sources":["../../../../../../packages/nx-plugin/src/mcp-server/tools/list-generators.ts"],"names":[],"mappings":";;;AAKA,sCAAiD;AACjD,sDAAwD;AAGxD;;GAEG;AACI,MAAM,qBAAqB,GAAG,CACnC,MAAiB,EACjB,UAA6B,EAC7B,EAAE;IACF,MAAM,CAAC,YAAY,CACjB,iBAAiB,EACjB;QACE,WAAW,EACT,gEAAgE;QAClE,WAAW,EAAE,EAAE,cAAc,EAAE,6BAAoB,EAAE;KACtD,EACD,CAAC,EAAE,cAAc,EAAE,EAAE,EAAE,CAAC,CAAC;QACvB,OAAO,EAAE;YACP;gBACE,IAAI,EAAE,MAAe;gBACrB,IAAI,EAAE;;IAEZ,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,OAAO,IAAA,oCAAmB,EAAC,cAAc,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC;GACpF;aACM;SACF;KACF,CAAC,CACH,CAAC;AACJ,CAAC,CAAC;AAvBW,QAAA,qBAAqB,yBAuBhC"}
|
|
@@ -640,9 +640,9 @@ exports[`ts#mcp-server generator > should match snapshot for generated files > u
|
|
|
640
640
|
"snapshot-server": "./src/snapshot-server/stdio.js"
|
|
641
641
|
},
|
|
642
642
|
"dependencies": {
|
|
643
|
-
"@modelcontextprotocol/sdk": "1.
|
|
643
|
+
"@modelcontextprotocol/sdk": "1.24.0",
|
|
644
644
|
"express": "5.1.0",
|
|
645
|
-
"zod
|
|
645
|
+
"zod": "4.1.13"
|
|
646
646
|
},
|
|
647
647
|
"devDependencies": {
|
|
648
648
|
"@modelcontextprotocol/inspector": "0.17.2",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
|
|
2
2
|
|
|
3
3
|
export const registerSampleGuidanceResource = (server: McpServer) => {
|
|
4
|
-
server.
|
|
4
|
+
server.registerResource('example-context', 'example://context', {}, async (uri) => ({
|
|
5
5
|
contents: [{ uri: uri.href, text: `## Sample Guidance
|
|
6
6
|
|
|
7
7
|
This is some guidance in markdown format!`}],
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
|
|
2
|
-
import { z } from 'zod
|
|
2
|
+
import { z } from 'zod';
|
|
3
3
|
|
|
4
4
|
export const registerAddTool = (server: McpServer) => {
|
|
5
|
-
server.
|
|
6
|
-
|
|
5
|
+
server.registerTool("add", {
|
|
6
|
+
description: "adds two numbers",
|
|
7
|
+
inputSchema: { a: z.number(), b: z.number() }
|
|
8
|
+
},
|
|
7
9
|
async ({ a, b }) => ({
|
|
8
|
-
content: [{ type: "text", text: String(a + b) }]
|
|
10
|
+
content: [{ type: "text" as const, text: String(a + b) }]
|
|
9
11
|
})
|
|
10
12
|
);
|
|
11
13
|
};
|
|
@@ -62,11 +62,7 @@ const tsMcpServerGenerator = (tree, options) => tslib_1.__awaiter(void 0, void 0
|
|
|
62
62
|
distDir,
|
|
63
63
|
}, { overwriteStrategy: devkit_1.OverwriteStrategy.KeepExisting });
|
|
64
64
|
// Add dependencies
|
|
65
|
-
|
|
66
|
-
// Zod v3 is needed since the MCP SDK doesn't yet support v4 (or both v3 and v4 via standard schema)
|
|
67
|
-
// Tracking: https://github.com/modelcontextprotocol/typescript-sdk/issues/164
|
|
68
|
-
// We use a renamed dependency so that v3 and v4 can coexist in projects until the above is resolved
|
|
69
|
-
const deps = (0, versions_1.withVersions)(['@modelcontextprotocol/sdk', 'zod-v3', 'express']);
|
|
65
|
+
const deps = (0, versions_1.withVersions)(['@modelcontextprotocol/sdk', 'zod', 'express']);
|
|
70
66
|
const devDeps = (0, versions_1.withVersions)([
|
|
71
67
|
'tsx',
|
|
72
68
|
'@types/express',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generator.js","sourceRoot":"","sources":["../../../../../../packages/nx-plugin/src/ts/mcp-server/generator.ts"],"names":[],"mappings":";;;;AAAA;;;GAGG;AACH,uCAYoB;AAEpB,uCAMwB;AACxB,iDAAsE;AACtE,+CAA0D;AAC1D,mDAAoD;AACpD,6CAA2D;AAC3D,qEAA0E;AAC1E,mGAA4F;AAC5F,qDAAoD;AACpD,yCAAqD;AACrD,sDAAsE;AACtE,2CAA8C;AAEjC,QAAA,4BAA4B,GACvC,IAAA,qBAAgB,EAAC,UAAU,CAAC,CAAC;AAExB,MAAM,oBAAoB,GAAG,CAClC,IAAU,EACV,OAAmC,EACP,EAAE;;IAC9B,MAAM,OAAO,GAAG,IAAA,wCAAmC,EAAC,IAAI,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC;IAE3E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IAAI,EAAE,QAAQ;SACf,CAAC,CAAC;IACL,CAAC;IAED,qFAAqF;IACrF,+DAA+D;IAC/D,0CAA0C;IAC1C,MAAM,GAAG,GAAG,IAAA,iBAAQ,EAAC,IAAI,EAAE,sBAAsB,CAAC,CAAC,IAAI,KAAK,QAAQ,CAAC;IAErE,+DAA+D;IAC/D,uFAAuF;IACvF,+BAA+B;IAC/B,IAAA,mBAAU,EAAC,IAAI,EAAE,sBAAsB,EAAE,CAAC,GAAG,EAAE,EAAE;;QAC/C,MAAA,GAAG,CAAC,GAAG,oCAAP,GAAG,CAAC,GAAG,GAAK,EAAE,EAAC;QACf,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,GAAG,iBAAiB,WAAW,CAAC;QAChD,OAAO,GAAG,CAAC;IACb,CAAC,CAAC,CAAC;IAEH,0BAA0B;IAC1B,IAAA,sBAAa,EACX,IAAI,EACJ,IAAA,0BAAiB,EAAC,SAAS,EAAE,OAAO,CAAC,EACrC,eAAe,EACf;QACE,IAAI;QACJ,GAAG;QACH,OAAO;KACR,EACD,EAAE,iBAAiB,EAAE,0BAAiB,CAAC,YAAY,EAAE,CACtD,CAAC;IAEF,mBAAmB;IACnB,
|
|
1
|
+
{"version":3,"file":"generator.js","sourceRoot":"","sources":["../../../../../../packages/nx-plugin/src/ts/mcp-server/generator.ts"],"names":[],"mappings":";;;;AAAA;;;GAGG;AACH,uCAYoB;AAEpB,uCAMwB;AACxB,iDAAsE;AACtE,+CAA0D;AAC1D,mDAAoD;AACpD,6CAA2D;AAC3D,qEAA0E;AAC1E,mGAA4F;AAC5F,qDAAoD;AACpD,yCAAqD;AACrD,sDAAsE;AACtE,2CAA8C;AAEjC,QAAA,4BAA4B,GACvC,IAAA,qBAAgB,EAAC,UAAU,CAAC,CAAC;AAExB,MAAM,oBAAoB,GAAG,CAClC,IAAU,EACV,OAAmC,EACP,EAAE;;IAC9B,MAAM,OAAO,GAAG,IAAA,wCAAmC,EAAC,IAAI,EAAE,O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BAAoB,wBA+K/B;AAEF,kBAAe,4BAAoB,CAAC"}
|
|
@@ -148,7 +148,7 @@ exports[`ts#nx-plugin generator > should generate MCP server files > test-plugin
|
|
|
148
148
|
`;
|
|
149
149
|
|
|
150
150
|
exports[`ts#nx-plugin generator > should generate MCP server files > test-plugin/src/mcp-server/schema.ts 1`] = `
|
|
151
|
-
"import { z } from 'zod
|
|
151
|
+
"import { z } from 'zod';
|
|
152
152
|
|
|
153
153
|
export const PACKAGE_MANAGERS = ['pnpm', 'yarn', 'npm', 'bun'] as const;
|
|
154
154
|
export const PackageManagerSchema = z.enum(PACKAGE_MANAGERS);
|
|
@@ -223,7 +223,7 @@ void (async () => {
|
|
|
223
223
|
|
|
224
224
|
exports[`ts#nx-plugin generator > should generate MCP server files > test-plugin/src/mcp-server/tools/create-workspace-command.ts 1`] = `
|
|
225
225
|
"import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
|
|
226
|
-
import { z } from 'zod
|
|
226
|
+
import { z } from 'zod';
|
|
227
227
|
import { PackageManagerSchema } from '../schema';
|
|
228
228
|
import { buildInstallCommand, getPackageName } from '../utils';
|
|
229
229
|
|
|
@@ -231,14 +231,20 @@ import { buildInstallCommand, getPackageName } from '../utils';
|
|
|
231
231
|
* Registers a tool which tells a model how to create an Nx workspace
|
|
232
232
|
*/
|
|
233
233
|
export const registerCreateWorkspaceCommandTool = (server: McpServer) => {
|
|
234
|
-
server.
|
|
234
|
+
server.registerTool(
|
|
235
235
|
'create-workspace-command',
|
|
236
|
-
|
|
237
|
-
|
|
236
|
+
{
|
|
237
|
+
description:
|
|
238
|
+
'Tool to discover how to create a workspace to start a new project.',
|
|
239
|
+
inputSchema: {
|
|
240
|
+
workspaceName: z.string(),
|
|
241
|
+
packageManager: PackageManagerSchema,
|
|
242
|
+
},
|
|
243
|
+
},
|
|
238
244
|
({ workspaceName, packageManager }) => ({
|
|
239
245
|
content: [
|
|
240
246
|
{
|
|
241
|
-
type: 'text',
|
|
247
|
+
type: 'text' as const,
|
|
242
248
|
text: \`Run the following command to create a workspace:
|
|
243
249
|
|
|
244
250
|
\\\`\\\`\\\`bash
|
|
@@ -270,13 +276,16 @@ import * as path from 'path';
|
|
|
270
276
|
* Registers a tool which provides general guidance for using Nx and this plugin
|
|
271
277
|
*/
|
|
272
278
|
export const registerGeneralGuidanceTool = (server: McpServer) => {
|
|
273
|
-
server.
|
|
279
|
+
server.registerTool(
|
|
274
280
|
'general-guidance',
|
|
275
|
-
|
|
281
|
+
{
|
|
282
|
+
description:
|
|
283
|
+
'Tool for guidance and best practices for working with Nx and this plugin',
|
|
284
|
+
},
|
|
276
285
|
async () => ({
|
|
277
286
|
content: [
|
|
278
287
|
{
|
|
279
|
-
type: 'text',
|
|
288
|
+
type: 'text' as const,
|
|
280
289
|
text: fs.readFileSync(
|
|
281
290
|
path.resolve(__dirname, '../resources/GENERAL_GUIDANCE.md'),
|
|
282
291
|
'utf-8',
|
|
@@ -291,7 +300,7 @@ export const registerGeneralGuidanceTool = (server: McpServer) => {
|
|
|
291
300
|
|
|
292
301
|
exports[`ts#nx-plugin generator > should generate MCP server files > test-plugin/src/mcp-server/tools/generator-guide.ts 1`] = `
|
|
293
302
|
"import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
|
|
294
|
-
import { z } from 'zod
|
|
303
|
+
import { z } from 'zod';
|
|
295
304
|
import { renderGeneratorInfo, listGenerators } from '../utils';
|
|
296
305
|
import { PackageManagerSchema } from '../schema';
|
|
297
306
|
import * as fs from 'fs';
|
|
@@ -301,15 +310,18 @@ import * as path from 'path';
|
|
|
301
310
|
* Registers a tool which provides a detailed guide for an individual generator
|
|
302
311
|
*/
|
|
303
312
|
export const registerGeneratorGuideTool = (server: McpServer) => {
|
|
304
|
-
|
|
313
|
+
const generators = listGenerators();
|
|
314
|
+
server.registerTool(
|
|
305
315
|
'generator-guide',
|
|
306
|
-
'Tool to retrieve detailed information about a specific generator.',
|
|
307
316
|
{
|
|
308
|
-
|
|
309
|
-
|
|
317
|
+
description:
|
|
318
|
+
'Tool to retrieve detailed information about a specific generator.',
|
|
319
|
+
inputSchema: {
|
|
320
|
+
packageManager: PackageManagerSchema,
|
|
321
|
+
generator: z.enum(generators.map((g) => g.id)),
|
|
322
|
+
},
|
|
310
323
|
},
|
|
311
324
|
async ({ packageManager, generator: generatorId }) => {
|
|
312
|
-
const generators = listGenerators();
|
|
313
325
|
const generator = generators.find((g) => g.id === generatorId);
|
|
314
326
|
if (!generator) {
|
|
315
327
|
throw new Error(
|
|
@@ -320,7 +332,7 @@ export const registerGeneratorGuideTool = (server: McpServer) => {
|
|
|
320
332
|
return {
|
|
321
333
|
content: [
|
|
322
334
|
{
|
|
323
|
-
type: 'text',
|
|
335
|
+
type: 'text' as const,
|
|
324
336
|
text: \`## \${renderGeneratorInfo(packageManager, generator)}
|
|
325
337
|
|
|
326
338
|
# Guide
|
|
@@ -345,14 +357,17 @@ import { renderGeneratorInfo, listGenerators } from '../utils';
|
|
|
345
357
|
* Registers a tool which lists details about the available generators
|
|
346
358
|
*/
|
|
347
359
|
export const registerListGeneratorsTool = (server: McpServer) => {
|
|
348
|
-
server.
|
|
360
|
+
server.registerTool(
|
|
349
361
|
'list-generators',
|
|
350
|
-
|
|
351
|
-
|
|
362
|
+
{
|
|
363
|
+
description:
|
|
364
|
+
'Tool to discover the available generators and how to run them.',
|
|
365
|
+
inputSchema: { packageManager: PackageManagerSchema },
|
|
366
|
+
},
|
|
352
367
|
({ packageManager }) => ({
|
|
353
368
|
content: [
|
|
354
369
|
{
|
|
355
|
-
type: 'text',
|
|
370
|
+
type: 'text' as const,
|
|
356
371
|
text: \`## Available Generators
|
|
357
372
|
|
|
358
373
|
\${listGenerators()
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
|
|
2
|
-
import { z } from 'zod
|
|
2
|
+
import { z } from 'zod';
|
|
3
3
|
import { PackageManagerSchema } from '../schema';
|
|
4
4
|
import { buildInstallCommand, getPackageName } from '../utils';
|
|
5
5
|
|
|
@@ -7,14 +7,16 @@ import { buildInstallCommand, getPackageName } from '../utils';
|
|
|
7
7
|
* Registers a tool which tells a model how to create an Nx workspace
|
|
8
8
|
*/
|
|
9
9
|
export const registerCreateWorkspaceCommandTool = (server: McpServer) => {
|
|
10
|
-
server.
|
|
10
|
+
server.registerTool(
|
|
11
11
|
'create-workspace-command',
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
{
|
|
13
|
+
description: 'Tool to discover how to create a workspace to start a new project.',
|
|
14
|
+
inputSchema: { workspaceName: z.string(), packageManager: PackageManagerSchema },
|
|
15
|
+
},
|
|
14
16
|
({ workspaceName, packageManager }) => ({
|
|
15
17
|
content: [
|
|
16
18
|
{
|
|
17
|
-
type: 'text',
|
|
19
|
+
type: 'text' as const,
|
|
18
20
|
text: `Run the following command to create a workspace:
|
|
19
21
|
|
|
20
22
|
\`\`\`bash
|
|
@@ -6,13 +6,15 @@ import * as path from 'path';
|
|
|
6
6
|
* Registers a tool which provides general guidance for using Nx and this plugin
|
|
7
7
|
*/
|
|
8
8
|
export const registerGeneralGuidanceTool = (server: McpServer) => {
|
|
9
|
-
server.
|
|
9
|
+
server.registerTool(
|
|
10
10
|
'general-guidance',
|
|
11
|
-
|
|
11
|
+
{
|
|
12
|
+
description: 'Tool for guidance and best practices for working with Nx and this plugin',
|
|
13
|
+
},
|
|
12
14
|
async () => ({
|
|
13
15
|
content: [
|
|
14
16
|
{
|
|
15
|
-
type: 'text',
|
|
17
|
+
type: 'text' as const,
|
|
16
18
|
text: fs.readFileSync(
|
|
17
19
|
path.resolve(__dirname, '../resources/GENERAL_GUIDANCE.md'),
|
|
18
20
|
'utf-8',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
|
|
2
|
-
import { z } from 'zod
|
|
2
|
+
import { z } from 'zod';
|
|
3
3
|
import { renderGeneratorInfo, listGenerators } from '../utils';
|
|
4
4
|
import { PackageManagerSchema } from '../schema';
|
|
5
5
|
import * as fs from 'fs';
|
|
@@ -11,15 +11,17 @@ import * as path from 'path';
|
|
|
11
11
|
export const registerGeneratorGuideTool = (
|
|
12
12
|
server: McpServer,
|
|
13
13
|
) => {
|
|
14
|
-
|
|
14
|
+
const generators = listGenerators();
|
|
15
|
+
server.registerTool(
|
|
15
16
|
'generator-guide',
|
|
16
|
-
'Tool to retrieve detailed information about a specific generator.',
|
|
17
17
|
{
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
description: 'Tool to retrieve detailed information about a specific generator.',
|
|
19
|
+
inputSchema: {
|
|
20
|
+
packageManager: PackageManagerSchema,
|
|
21
|
+
generator: z.enum(generators.map(g => g.id)),
|
|
22
|
+
},
|
|
20
23
|
},
|
|
21
24
|
async ({ packageManager, generator: generatorId }) => {
|
|
22
|
-
const generators = listGenerators();
|
|
23
25
|
const generator = generators.find((g) => g.id === generatorId);
|
|
24
26
|
if (!generator) {
|
|
25
27
|
throw new Error(
|
|
@@ -30,7 +32,7 @@ export const registerGeneratorGuideTool = (
|
|
|
30
32
|
return {
|
|
31
33
|
content: [
|
|
32
34
|
{
|
|
33
|
-
type: 'text',
|
|
35
|
+
type: 'text' as const,
|
|
34
36
|
text: `## ${renderGeneratorInfo(packageManager, generator)}
|
|
35
37
|
|
|
36
38
|
# Guide
|
|
@@ -8,14 +8,16 @@ import { renderGeneratorInfo, listGenerators } from '../utils';
|
|
|
8
8
|
export const registerListGeneratorsTool = (
|
|
9
9
|
server: McpServer,
|
|
10
10
|
) => {
|
|
11
|
-
server.
|
|
11
|
+
server.registerTool(
|
|
12
12
|
'list-generators',
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
{
|
|
14
|
+
description: 'Tool to discover the available generators and how to run them.',
|
|
15
|
+
inputSchema: { packageManager: PackageManagerSchema },
|
|
16
|
+
},
|
|
15
17
|
({ packageManager }) => ({
|
|
16
18
|
content: [
|
|
17
19
|
{
|
|
18
|
-
type: 'text',
|
|
20
|
+
type: 'text' as const,
|
|
19
21
|
text: `## Available Generators
|
|
20
22
|
|
|
21
23
|
${listGenerators().map((g) => `### ${renderGeneratorInfo(packageManager, g)}`).join('\n\n')}
|
|
@@ -1055,9 +1055,9 @@ exports[`react-website generator > Tanstack router integration > should generate
|
|
|
1055
1055
|
"name": "@proj/source",
|
|
1056
1056
|
"dependencies": {
|
|
1057
1057
|
"@cloudscape-design/board-components": "3.0.130",
|
|
1058
|
-
"@cloudscape-design/components": "3.0.
|
|
1058
|
+
"@cloudscape-design/components": "3.0.1144",
|
|
1059
1059
|
"@cloudscape-design/global-styles": "1.0.49",
|
|
1060
|
-
"aws-cdk-lib": "2.
|
|
1060
|
+
"aws-cdk-lib": "2.230.0",
|
|
1061
1061
|
"constructs": "10.4.3",
|
|
1062
1062
|
"react": "19.2.0",
|
|
1063
1063
|
"react-dom": "19.2.0",
|
|
@@ -2460,10 +2460,10 @@ exports[`react-website generator > Tanstack router integration > should generate
|
|
|
2460
2460
|
"name": "@proj/source",
|
|
2461
2461
|
"dependencies": {
|
|
2462
2462
|
"@cloudscape-design/board-components": "3.0.130",
|
|
2463
|
-
"@cloudscape-design/components": "3.0.
|
|
2463
|
+
"@cloudscape-design/components": "3.0.1144",
|
|
2464
2464
|
"@cloudscape-design/global-styles": "1.0.49",
|
|
2465
|
-
"@tanstack/react-router": "1.139.
|
|
2466
|
-
"aws-cdk-lib": "2.
|
|
2465
|
+
"@tanstack/react-router": "1.139.7",
|
|
2466
|
+
"aws-cdk-lib": "2.230.0",
|
|
2467
2467
|
"constructs": "10.4.3",
|
|
2468
2468
|
"react": "19.2.0",
|
|
2469
2469
|
"react-dom": "19.2.0",
|
|
@@ -2483,8 +2483,8 @@ exports[`react-website generator > Tanstack router integration > should generate
|
|
|
2483
2483
|
"@swc/core": "~1.5.7",
|
|
2484
2484
|
"@swc/helpers": "~0.5.11",
|
|
2485
2485
|
"@tailwindcss/vite": "4.1.17",
|
|
2486
|
-
"@tanstack/router-generator": "1.139.
|
|
2487
|
-
"@tanstack/router-plugin": "1.139.
|
|
2486
|
+
"@tanstack/router-generator": "1.139.7",
|
|
2487
|
+
"@tanstack/router-plugin": "1.139.7",
|
|
2488
2488
|
"@tanstack/router-utils": "1.139.0",
|
|
2489
2489
|
"@tanstack/virtual-file-routes": "1.139.0",
|
|
2490
2490
|
"@testing-library/dom": "10.4.0",
|
|
@@ -4562,10 +4562,10 @@ root &&
|
|
|
4562
4562
|
exports[`react-website generator > should handle npm scope prefix correctly > scoped-dependencies 1`] = `
|
|
4563
4563
|
{
|
|
4564
4564
|
"@cloudscape-design/board-components": "3.0.130",
|
|
4565
|
-
"@cloudscape-design/components": "3.0.
|
|
4565
|
+
"@cloudscape-design/components": "3.0.1144",
|
|
4566
4566
|
"@cloudscape-design/global-styles": "1.0.49",
|
|
4567
|
-
"@tanstack/react-router": "1.139.
|
|
4568
|
-
"aws-cdk-lib": "2.
|
|
4567
|
+
"@tanstack/react-router": "1.139.7",
|
|
4568
|
+
"aws-cdk-lib": "2.230.0",
|
|
4569
4569
|
"constructs": "10.4.3",
|
|
4570
4570
|
"react": "19.2.0",
|
|
4571
4571
|
"react-dom": "19.2.0",
|
package/src/utils/versions.d.ts
CHANGED
|
@@ -22,15 +22,15 @@ export declare const TS_VERSIONS: {
|
|
|
22
22
|
readonly '@nx/devkit': "22.1.3";
|
|
23
23
|
readonly '@nx/react': "22.1.3";
|
|
24
24
|
readonly 'create-nx-workspace': "22.1.3";
|
|
25
|
-
readonly '@modelcontextprotocol/sdk': "1.
|
|
25
|
+
readonly '@modelcontextprotocol/sdk': "1.24.0";
|
|
26
26
|
readonly '@modelcontextprotocol/inspector': "0.17.2";
|
|
27
|
-
readonly '@tanstack/react-router': "1.139.
|
|
28
|
-
readonly '@tanstack/router-plugin': "1.139.
|
|
29
|
-
readonly '@tanstack/router-generator': "1.139.
|
|
27
|
+
readonly '@tanstack/react-router': "1.139.7";
|
|
28
|
+
readonly '@tanstack/router-plugin': "1.139.7";
|
|
29
|
+
readonly '@tanstack/router-generator': "1.139.7";
|
|
30
30
|
readonly '@tanstack/virtual-file-routes': "1.139.0";
|
|
31
31
|
readonly '@tanstack/router-utils': "1.139.0";
|
|
32
32
|
readonly '@cloudscape-design/board-components': "3.0.130";
|
|
33
|
-
readonly '@cloudscape-design/components': "3.0.
|
|
33
|
+
readonly '@cloudscape-design/components': "3.0.1144";
|
|
34
34
|
readonly '@cloudscape-design/global-styles': "1.0.49";
|
|
35
35
|
readonly '@tanstack/react-query': "5.90.11";
|
|
36
36
|
readonly '@tanstack/react-query-devtools': "5.91.1";
|
|
@@ -44,7 +44,7 @@ export declare const TS_VERSIONS: {
|
|
|
44
44
|
readonly '@smithy/types': "4.9.0";
|
|
45
45
|
readonly aws4fetch: "1.0.20";
|
|
46
46
|
readonly 'aws-cdk': "2.1033.0";
|
|
47
|
-
readonly 'aws-cdk-lib': "2.
|
|
47
|
+
readonly 'aws-cdk-lib': "2.230.0";
|
|
48
48
|
readonly '@aws-cdk/aws-bedrock-agentcore-alpha': "2.229.1-alpha.0";
|
|
49
49
|
readonly 'aws-xray-sdk-core': "3.12.0";
|
|
50
50
|
readonly constructs: "10.4.3";
|
|
@@ -63,21 +63,20 @@ export declare const TS_VERSIONS: {
|
|
|
63
63
|
readonly react: "19.2.0";
|
|
64
64
|
readonly 'react-dom': "19.2.0";
|
|
65
65
|
readonly rimraf: "6.1.2";
|
|
66
|
-
readonly rolldown: "1.0.0-beta.
|
|
66
|
+
readonly rolldown: "1.0.0-beta.52";
|
|
67
67
|
readonly 'source-map-support': "0.5.21";
|
|
68
68
|
readonly tailwindcss: "4.1.17";
|
|
69
69
|
readonly '@tailwindcss/vite': "4.1.17";
|
|
70
70
|
readonly tsx: "4.20.6";
|
|
71
71
|
readonly 'vite-tsconfig-paths': "5.1.4";
|
|
72
72
|
readonly zod: "4.1.13";
|
|
73
|
-
readonly 'zod-v3': "npm:zod@^3";
|
|
74
73
|
};
|
|
75
74
|
export type ITsDepVersion = keyof typeof TS_VERSIONS;
|
|
76
75
|
/**
|
|
77
76
|
* Add versions to the given dependencies
|
|
78
77
|
*/
|
|
79
78
|
export declare const withVersions: (deps: ITsDepVersion[]) => {
|
|
80
|
-
[k: string]: "3.940.0" | "1.0.0-alpha.10" | "2.29.0" | "6.4.5" | "21.2.0" | "9.0.1" | "22.1.3" | "1.
|
|
79
|
+
[k: string]: "3.940.0" | "1.0.0-alpha.10" | "2.29.0" | "6.4.5" | "21.2.0" | "9.0.1" | "22.1.3" | "1.24.0" | "0.17.2" | "1.139.7" | "1.139.0" | "3.0.130" | "3.0.1144" | "1.0.49" | "5.90.11" | "5.91.1" | "11.7.2" | "22.19.1" | "8.10.159" | "2.8.19" | "5.0.5" | "4.9.0" | "1.0.20" | "2.1033.0" | "2.230.0" | "2.229.1-alpha.0" | "3.12.0" | "10.4.3" | "2.8.5" | "3.5.0" | "0.27.0" | "5.5.4" | "5.1.0" | "2.4.1" | "4.0.0" | "2.0.0" | "19.1.2" | "3.4.1" | "3.6.2" | "3.3.0" | "19.2.0" | "6.1.2" | "1.0.0-beta.52" | "0.5.21" | "4.1.17" | "4.20.6" | "5.1.4" | "4.1.13";
|
|
81
80
|
};
|
|
82
81
|
/**
|
|
83
82
|
* Versions for Python dependencies added by generators
|
|
@@ -88,7 +87,7 @@ export declare const PY_VERSIONS: {
|
|
|
88
87
|
readonly 'aws-lambda-powertools[parser]': "==3.23.0";
|
|
89
88
|
readonly 'aws-opentelemetry-distro': "==0.14.0";
|
|
90
89
|
readonly 'bedrock-agentcore': "==0.1.7";
|
|
91
|
-
readonly boto3: "==1.
|
|
90
|
+
readonly boto3: "==1.42.0";
|
|
92
91
|
readonly checkov: "==3.2.495";
|
|
93
92
|
readonly fastapi: "==0.123.0";
|
|
94
93
|
readonly 'fastapi[standard]': "==0.123.0";
|
package/src/utils/versions.js
CHANGED
|
@@ -25,15 +25,15 @@ exports.TS_VERSIONS = {
|
|
|
25
25
|
'@nx/devkit': '22.1.3',
|
|
26
26
|
'@nx/react': '22.1.3',
|
|
27
27
|
'create-nx-workspace': '22.1.3',
|
|
28
|
-
'@modelcontextprotocol/sdk': '1.
|
|
28
|
+
'@modelcontextprotocol/sdk': '1.24.0',
|
|
29
29
|
'@modelcontextprotocol/inspector': '0.17.2',
|
|
30
|
-
'@tanstack/react-router': '1.139.
|
|
31
|
-
'@tanstack/router-plugin': '1.139.
|
|
32
|
-
'@tanstack/router-generator': '1.139.
|
|
30
|
+
'@tanstack/react-router': '1.139.7',
|
|
31
|
+
'@tanstack/router-plugin': '1.139.7',
|
|
32
|
+
'@tanstack/router-generator': '1.139.7',
|
|
33
33
|
'@tanstack/virtual-file-routes': '1.139.0',
|
|
34
34
|
'@tanstack/router-utils': '1.139.0',
|
|
35
35
|
'@cloudscape-design/board-components': '3.0.130',
|
|
36
|
-
'@cloudscape-design/components': '3.0.
|
|
36
|
+
'@cloudscape-design/components': '3.0.1144',
|
|
37
37
|
'@cloudscape-design/global-styles': '1.0.49',
|
|
38
38
|
'@tanstack/react-query': '5.90.11',
|
|
39
39
|
'@tanstack/react-query-devtools': '5.91.1',
|
|
@@ -47,7 +47,7 @@ exports.TS_VERSIONS = {
|
|
|
47
47
|
'@smithy/types': '4.9.0',
|
|
48
48
|
aws4fetch: '1.0.20',
|
|
49
49
|
'aws-cdk': '2.1033.0',
|
|
50
|
-
'aws-cdk-lib': '2.
|
|
50
|
+
'aws-cdk-lib': '2.230.0',
|
|
51
51
|
'@aws-cdk/aws-bedrock-agentcore-alpha': '2.229.1-alpha.0',
|
|
52
52
|
'aws-xray-sdk-core': '3.12.0',
|
|
53
53
|
constructs: '10.4.3',
|
|
@@ -66,16 +66,13 @@ exports.TS_VERSIONS = {
|
|
|
66
66
|
react: '19.2.0',
|
|
67
67
|
'react-dom': '19.2.0',
|
|
68
68
|
rimraf: '6.1.2',
|
|
69
|
-
rolldown: '1.0.0-beta.
|
|
69
|
+
rolldown: '1.0.0-beta.52',
|
|
70
70
|
'source-map-support': '0.5.21',
|
|
71
71
|
tailwindcss: '4.1.17',
|
|
72
72
|
'@tailwindcss/vite': '4.1.17',
|
|
73
|
-
tsx: '4.20.6',
|
|
73
|
+
tsx: '4.20.6',
|
|
74
74
|
'vite-tsconfig-paths': '5.1.4',
|
|
75
75
|
zod: '4.1.13',
|
|
76
|
-
// TODO: remove zod-v3 when @modelcontextprotocol/sdk upgrades to Zod v4 or standard schema
|
|
77
|
-
// https://github.com/modelcontextprotocol/typescript-sdk/issues/164
|
|
78
|
-
'zod-v3': 'npm:zod@^3',
|
|
79
76
|
};
|
|
80
77
|
/**
|
|
81
78
|
* Add versions to the given dependencies
|
|
@@ -91,7 +88,7 @@ exports.PY_VERSIONS = {
|
|
|
91
88
|
'aws-lambda-powertools[parser]': '==3.23.0',
|
|
92
89
|
'aws-opentelemetry-distro': '==0.14.0',
|
|
93
90
|
'bedrock-agentcore': '==0.1.7',
|
|
94
|
-
boto3: '==1.
|
|
91
|
+
boto3: '==1.42.0',
|
|
95
92
|
checkov: '==3.2.495',
|
|
96
93
|
fastapi: '==0.123.0',
|
|
97
94
|
'fastapi[standard]': '==0.123.0',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"versions.js","sourceRoot":"","sources":["../../../../../packages/nx-plugin/src/utils/versions.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH;;GAEG;AACU,QAAA,WAAW,GAAG;IACzB,kCAAkC,EAAE,SAAS;IAC7C,0BAA0B,EAAE,SAAS;IACrC,+BAA+B,EAAE,SAAS;IAC1C,+CAA+C,EAAE,SAAS;IAC1D,+BAA+B,EAAE,gBAAgB;IACjD,yBAAyB,EAAE,gBAAgB;IAC3C,+BAA+B,EAAE,QAAQ;IACzC,gCAAgC,EAAE,QAAQ;IAC1C,+BAA+B,EAAE,QAAQ;IACzC,+BAA+B,EAAE,QAAQ;IACzC,aAAa,EAAE,OAAO;IACtB,cAAc,EAAE,QAAQ;IACxB,sBAAsB,EAAE,OAAO;IAC/B,YAA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