@aws/nx-plugin-mcp 1.0.0-rc.9 → 1.0.0-rc.91
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/bin/aws-nx-mcp.js +13439 -11631
- package/docs/get_started/building-with-ai.mdx +116 -0
- package/docs/get_started/concepts.mdx +67 -0
- package/docs/get_started/existing-project.mdx +180 -0
- package/docs/get_started/graph-builder.mdx +39 -0
- package/docs/get_started/quick-start.mdx +277 -0
- package/docs/get_started/tutorials/contribute-generator.mdx +408 -0
- package/docs/get_started/tutorials/dungeon-game/1.mdx +1578 -0
- package/docs/get_started/tutorials/dungeon-game/2.mdx +245 -0
- package/docs/get_started/tutorials/dungeon-game/3.mdx +66 -0
- package/docs/get_started/tutorials/dungeon-game/4.mdx +164 -0
- package/docs/get_started/tutorials/dungeon-game/overview.mdx +145 -0
- package/docs/get_started/tutorials/dungeon-game/wrap-up.mdx +41 -0
- package/docs/get_started/upgrading.mdx +157 -0
- package/docs/guides/agentcore-gateway.mdx +490 -0
- package/docs/guides/agentcore-harness.mdx +312 -0
- package/docs/guides/astro-docs.mdx +8 -0
- package/docs/guides/connection/agentcore-gateway-agent.mdx +222 -0
- package/docs/guides/connection/agentcore-gateway-gateway.mdx +154 -0
- package/docs/guides/connection/agentcore-gateway-mcp.mdx +134 -0
- package/docs/guides/connection/py-agent-a2a.mdx +48 -16
- package/docs/guides/connection/py-agent-dynamodb.mdx +115 -0
- package/docs/guides/connection/py-agent-gateway.mdx +182 -0
- package/docs/guides/connection/py-agent-mcp.mdx +43 -14
- package/docs/guides/connection/py-agent-rdb.mdx +169 -0
- package/docs/guides/connection/py-fast-api-dynamodb.mdx +56 -0
- package/docs/guides/connection/py-fast-api-rdb.mdx +175 -0
- package/docs/guides/connection/py-mcp-server-dynamodb.mdx +115 -0
- package/docs/guides/connection/py-mcp-server-rdb.mdx +178 -0
- package/docs/guides/connection/react-agentcore-gateway.mdx +112 -0
- package/docs/guides/connection/react-agui.mdx +33 -14
- package/docs/guides/connection/react-fastapi.mdx +39 -3
- package/docs/guides/connection/react-py-agent.mdx +10 -16
- package/docs/guides/connection/react-smithy.mdx +4 -4
- package/docs/guides/connection/react-trpc.mdx +1 -1
- package/docs/guides/connection/react-ts-agent.mdx +9 -9
- package/docs/guides/connection/smithy-dynamodb.mdx +5 -5
- package/docs/guides/connection/smithy-rdb.mdx +9 -9
- package/docs/guides/connection/trpc-dynamodb.mdx +4 -4
- package/docs/guides/connection/trpc-rdb.mdx +5 -5
- package/docs/guides/connection/ts-agent-a2a.mdx +14 -11
- package/docs/guides/connection/ts-agent-dynamodb.mdx +35 -36
- package/docs/guides/connection/ts-agent-gateway.mdx +147 -0
- package/docs/guides/connection/ts-agent-mcp.mdx +12 -9
- package/docs/guides/connection/ts-agent-rdb.mdx +61 -25
- package/docs/guides/connection/ts-mcp-server-dynamodb.mdx +35 -36
- package/docs/guides/connection/ts-mcp-server-rdb.mdx +59 -18
- package/docs/guides/connection.mdx +122 -5
- package/docs/guides/docker-bundling.mdx +82 -14
- package/docs/guides/fastapi.mdx +253 -12
- package/docs/guides/local-development.mdx +87 -0
- package/docs/guides/nx-generator.mdx +4 -3
- package/docs/guides/nx-migration.mdx +165 -0
- package/docs/guides/py-agent.mdx +332 -55
- package/docs/guides/py-dynamodb.mdx +476 -0
- package/docs/guides/py-mcp-server.mdx +57 -2
- package/docs/guides/py-rdb.mdx +269 -0
- package/docs/guides/python-lambda-function.mdx +1 -1
- package/docs/guides/python-project.mdx +31 -0
- package/docs/guides/react-website-auth.mdx +104 -5
- package/docs/guides/react-website.mdx +409 -95
- package/docs/guides/runtime-config.mdx +17 -4
- package/docs/guides/security.mdx +75 -0
- package/docs/guides/smithy-project.mdx +167 -0
- package/docs/guides/terraform-project.mdx +119 -8
- package/docs/guides/trpc.mdx +55 -14
- package/docs/guides/ts-agent.mdx +207 -23
- package/docs/guides/ts-dcr-proxy.mdx +569 -0
- package/docs/guides/ts-dynamodb.mdx +66 -242
- package/docs/guides/ts-lambda-function.mdx +1 -1
- package/docs/guides/ts-mcp-server.mdx +111 -29
- package/docs/guides/ts-nx-plugin.mdx +4 -4
- package/docs/guides/ts-rdb.mdx +116 -466
- package/docs/guides/ts-smithy-api.mdx +260 -16
- package/docs/guides/typescript-infrastructure.mdx +79 -25
- package/docs/guides/typescript-project.mdx +157 -24
- package/docs/guides/workspace.mdx +31 -2
- package/docs/snippets/agent/architecture.mdx +1 -1
- package/docs/snippets/agent/bedrock-deployment.mdx +9 -5
- package/docs/snippets/agent/runtime-arn.mdx +23 -2
- package/docs/snippets/agent/securing-your-agent.mdx +39 -0
- package/docs/snippets/api/access-logging.mdx +38 -0
- package/docs/snippets/api/cors-configuration-cdk-note.mdx +1 -1
- package/docs/snippets/api/cors-configuration-terraform-note.mdx +1 -1
- package/docs/snippets/api/type-safe-api-integrations.mdx +218 -373
- package/docs/snippets/api/waf-configuration.mdx +3 -3
- package/docs/snippets/connection/a2a-infrastructure.mdx +1 -1
- package/docs/snippets/connection/dynamodb-local-development.mdx +2 -2
- package/docs/snippets/connection/lambda-dynamodb-access.mdx +2 -2
- package/docs/snippets/connection/py-dynamodb-local-development.mdx +7 -0
- package/docs/snippets/connection/py-lambda-rdb-ssl-requirements.mdx +7 -0
- package/docs/snippets/connection/rdb-api-infrastructure.mdx +42 -19
- package/docs/snippets/dynamodb/deploying-table.mdx +176 -0
- package/docs/snippets/dynamodb/encryption-options.mdx +168 -0
- package/docs/snippets/dynamodb/gsi-config.mdx +38 -0
- package/docs/snippets/dynamodb/infrastructure.mdx +33 -0
- package/docs/snippets/dynamodb/local-dev-start.mdx +13 -0
- package/docs/snippets/dynamodb/local-dev-windows.mdx +15 -0
- package/docs/snippets/experimental-generator.mdx +8 -0
- package/docs/snippets/lambda-function/deploying-your-function.mdx +3 -3
- package/docs/snippets/mcp/architecture.mdx +1 -1
- package/docs/snippets/mcp/bedrock-deployment.mdx +9 -5
- package/docs/snippets/mcp/config.mdx +3 -2
- package/docs/snippets/mcp/shared-constructs.mdx +4 -5
- package/docs/snippets/pdk-migration/example/01-migrate-api.mdx +7 -5
- package/docs/snippets/pdk-migration/example/02-migrate-website.mdx +29 -10
- package/docs/snippets/pdk-migration/example/03-migrate-infra.mdx +4 -4
- package/docs/snippets/pdk-migration/faq/type-safe-api.mdx +5 -111
- package/docs/snippets/prerequisites.mdx +1 -4
- package/docs/snippets/rdb/admin-credentials.mdx +42 -0
- package/docs/snippets/rdb/architecture.mdx +39 -0
- package/docs/snippets/rdb/cluster-instances.mdx +31 -0
- package/docs/snippets/rdb/deletion-protection.mdx +64 -0
- package/docs/snippets/rdb/deploying.mdx +178 -0
- package/docs/snippets/rdb/encryption-key-rotation.mdx +30 -0
- package/docs/snippets/rdb/engine-version.mdx +63 -0
- package/docs/snippets/rdb/infrastructure.mdx +35 -0
- package/docs/snippets/rdb/logging-mysql.mdx +5 -0
- package/docs/snippets/rdb/logging-postgres.mdx +5 -0
- package/docs/snippets/rdb/performance-insights.mdx +36 -0
- package/docs/snippets/rdb/rds-proxy.mdx +50 -0
- package/docs/snippets/rdb/removal-policy.mdx +57 -0
- package/docs/snippets/rdb/serverless-capacity.mdx +32 -0
- package/docs/snippets/recommended-prerequisites.mdx +10 -0
- package/docs/snippets/required-prerequisites.mdx +1 -4
- package/docs/snippets/runtime-config-app-id-note.mdx +8 -0
- package/docs/snippets/shared-constructs.mdx +1 -1
- package/docs/snippets/trivy-image-scan.mdx +37 -0
- package/generators.json +170 -10
- package/package.json +1 -1
- package/src/agentcore-gateway/agent-connection/schema.json +31 -0
- package/src/agentcore-gateway/gateway-connection/schema.json +31 -0
- package/src/agentcore-gateway/mcp-connection/schema.json +31 -0
- package/src/agentcore-gateway/react-connection/schema.json +31 -0
- package/src/agentcore-gateway/schema.json +72 -0
- package/src/agentcore-harness/schema.json +53 -0
- package/src/connection/schema.json +5 -0
- package/src/infra/app/schema.json +5 -0
- package/src/init/schema.json +35 -0
- package/src/internal/test-matrix/schema.json +21 -0
- package/src/license/schema.json +5 -0
- package/src/open-api/json-metadata/schema.json +20 -0
- package/src/preset/schema.json +16 -5
- package/src/py/agent/a2a-connection/schema.json +5 -0
- package/src/py/agent/gateway-connection/schema.json +31 -0
- package/src/py/agent/mcp-connection/schema.json +5 -0
- package/src/py/agent/react-connection/schema.json +5 -0
- package/src/py/agent/schema.json +15 -1
- package/src/py/api/schema.json +5 -0
- package/src/py/dynamodb/agent-connection/schema.json +27 -0
- package/src/py/dynamodb/fast-api-connection/schema.json +23 -0
- package/src/py/dynamodb/mcp-server-connection/schema.json +27 -0
- package/src/py/dynamodb/schema.json +76 -0
- package/src/py/fast-api/react/schema.json +5 -0
- package/src/py/fast-api/schema.json +6 -0
- package/src/py/lambda-function/schema.json +6 -1
- package/src/py/mcp-server/schema.json +6 -0
- package/src/py/project/schema.json +6 -0
- package/src/py/rdb/agent-connection/schema.json +27 -0
- package/src/py/rdb/fast-api-connection/schema.json +23 -0
- package/src/py/rdb/mcp-server-connection/schema.json +27 -0
- package/src/py/rdb/schema.json +78 -0
- package/src/smithy/project/schema.json +28 -1
- package/src/smithy/react-connection/schema.json +5 -0
- package/src/smithy/ts/api/schema.json +6 -0
- package/src/terraform/project/schema.json +5 -0
- package/src/trpc/backend/schema.json +6 -0
- package/src/trpc/react/schema.json +5 -0
- package/src/ts/agent/a2a-connection/schema.json +5 -0
- package/src/ts/agent/gateway-connection/schema.json +31 -0
- package/src/ts/agent/mcp-connection/schema.json +5 -0
- package/src/ts/agent/react-connection/schema.json +5 -0
- package/src/ts/agent/schema.json +14 -0
- package/src/ts/api/schema.json +5 -0
- package/src/ts/astro-docs/schema.json +3 -3
- package/src/ts/dcr-proxy/schema.json +44 -0
- package/src/ts/docs/schema.json +3 -3
- package/src/ts/dynamodb/agent-connection/schema.json +5 -0
- package/src/ts/dynamodb/mcp-server-connection/schema.json +5 -0
- package/src/ts/dynamodb/schema.json +26 -2
- package/src/ts/dynamodb/smithy-connection/schema.json +5 -0
- package/src/ts/dynamodb/trpc-connection/schema.json +5 -0
- package/src/ts/lambda-function/schema.json +5 -0
- package/src/ts/lib/schema.json +5 -0
- package/src/ts/mcp-server/schema.json +6 -0
- package/src/ts/nx-generator/schema.json +5 -0
- package/src/ts/nx-migration/schema.json +63 -0
- package/src/ts/nx-plugin/schema.json +5 -0
- package/src/ts/rdb/agent-connection/schema.json +5 -0
- package/src/ts/rdb/mcp-server-connection/schema.json +5 -0
- package/src/ts/rdb/schema.json +7 -1
- package/src/ts/rdb/smithy-connection/schema.json +5 -0
- package/src/ts/rdb/trpc-connection/schema.json +5 -0
- package/src/ts/react-website/app/schema.json +12 -6
- package/src/ts/react-website/cognito-auth/schema.json +5 -0
- package/src/ts/react-website/runtime-config/schema.json +5 -0
- package/src/ts/website/app/schema.json +11 -6
- package/src/ts/website/auth/schema.json +5 -0
- /package/docs/snippets/connection/{lambda-rdb-ssl-requirements.mdx → ts-lambda-rdb-ssl-requirements.mdx} +0 -0
- /package/docs/snippets/connection/{mcp-server-rdb-ssl-requirements.mdx → ts-mcp-server-rdb-ssl-requirements.mdx} +0 -0
|
@@ -34,6 +34,11 @@
|
|
|
34
34
|
"type": "string",
|
|
35
35
|
"description": "The sub directory the project is placed in. By default this is the project name.",
|
|
36
36
|
"x-prompt": "Which sub directory do you want to create the project in? (By default this is the project name)"
|
|
37
|
+
},
|
|
38
|
+
"preferInstallDependencies": {
|
|
39
|
+
"type": "boolean",
|
|
40
|
+
"description": "Whether to prefer installing dependencies after the generator runs. Set to false to defer installing when batching multiple generators (an install still runs if needed so subsequent generators can compute the Nx project graph); install once at the end.",
|
|
41
|
+
"default": true
|
|
37
42
|
}
|
|
38
43
|
},
|
|
39
44
|
"required": ["name"]
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/schema",
|
|
3
3
|
"$id": "TrpcBackend",
|
|
4
4
|
"title": "",
|
|
5
|
+
"x-label": "tRPC API",
|
|
5
6
|
"type": "object",
|
|
6
7
|
"properties": {
|
|
7
8
|
"name": {
|
|
@@ -71,6 +72,11 @@
|
|
|
71
72
|
"enum": ["rest-lambda", "http-lambda", "none"],
|
|
72
73
|
"x-prompt": "What infrastructure would you like to deploy your API with?",
|
|
73
74
|
"x-priority": "important"
|
|
75
|
+
},
|
|
76
|
+
"preferInstallDependencies": {
|
|
77
|
+
"type": "boolean",
|
|
78
|
+
"description": "Whether to prefer installing dependencies after the generator runs. Set to false to defer installing when batching multiple generators (an install still runs if needed so subsequent generators can compute the Nx project graph); install once at the end.",
|
|
79
|
+
"default": true
|
|
74
80
|
}
|
|
75
81
|
},
|
|
76
82
|
"required": ["name"]
|
|
@@ -19,6 +19,11 @@
|
|
|
19
19
|
"description": "",
|
|
20
20
|
"x-prompt": "Package containing your Api Backend.",
|
|
21
21
|
"x-dropdown": "projects"
|
|
22
|
+
},
|
|
23
|
+
"preferInstallDependencies": {
|
|
24
|
+
"type": "boolean",
|
|
25
|
+
"description": "Whether to prefer installing dependencies after the generator runs. Set to false to defer installing when batching multiple generators (an install still runs if needed so subsequent generators can compute the Nx project graph); install once at the end.",
|
|
26
|
+
"default": true
|
|
22
27
|
}
|
|
23
28
|
},
|
|
24
29
|
"required": ["frontendProjectName", "backendProjectName"]
|
|
@@ -20,6 +20,11 @@
|
|
|
20
20
|
"targetComponent": {
|
|
21
21
|
"type": "string",
|
|
22
22
|
"description": "The target A2A agent component name"
|
|
23
|
+
},
|
|
24
|
+
"preferInstallDependencies": {
|
|
25
|
+
"type": "boolean",
|
|
26
|
+
"description": "Whether to prefer installing dependencies after the generator runs. Set to false to defer installing when batching multiple generators (an install still runs if needed so subsequent generators can compute the Nx project graph); install once at the end.",
|
|
27
|
+
"default": true
|
|
23
28
|
}
|
|
24
29
|
},
|
|
25
30
|
"required": ["sourceProject", "targetProject"]
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/schema",
|
|
3
|
+
"$id": "ts#agent#gateway-connection",
|
|
4
|
+
"title": "ts#agent#gateway-connection",
|
|
5
|
+
"description": "Connect a TypeScript Agent to an AgentCore Gateway",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"sourceProject": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"description": "The TypeScript Agent project"
|
|
11
|
+
},
|
|
12
|
+
"targetProject": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"description": "The AgentCore Gateway project"
|
|
15
|
+
},
|
|
16
|
+
"sourceComponent": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"description": "The agent component in the source project"
|
|
19
|
+
},
|
|
20
|
+
"targetComponent": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"description": "The gateway component in the target project"
|
|
23
|
+
},
|
|
24
|
+
"preferInstallDependencies": {
|
|
25
|
+
"type": "boolean",
|
|
26
|
+
"description": "Whether to prefer installing dependencies after the generator runs. Set to false to defer installing when batching multiple generators (an install still runs if needed so subsequent generators can compute the Nx project graph); install once at the end.",
|
|
27
|
+
"default": true
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"required": ["sourceProject", "targetProject"]
|
|
31
|
+
}
|
|
@@ -20,6 +20,11 @@
|
|
|
20
20
|
"targetComponent": {
|
|
21
21
|
"type": "string",
|
|
22
22
|
"description": "The MCP server component name"
|
|
23
|
+
},
|
|
24
|
+
"preferInstallDependencies": {
|
|
25
|
+
"type": "boolean",
|
|
26
|
+
"description": "Whether to prefer installing dependencies after the generator runs. Set to false to defer installing when batching multiple generators (an install still runs if needed so subsequent generators can compute the Nx project graph); install once at the end.",
|
|
27
|
+
"default": true
|
|
23
28
|
}
|
|
24
29
|
},
|
|
25
30
|
"required": ["sourceProject", "targetProject"]
|
|
@@ -20,6 +20,11 @@
|
|
|
20
20
|
"targetComponent": {
|
|
21
21
|
"type": "string",
|
|
22
22
|
"description": "The Agent component name"
|
|
23
|
+
},
|
|
24
|
+
"preferInstallDependencies": {
|
|
25
|
+
"type": "boolean",
|
|
26
|
+
"description": "Whether to prefer installing dependencies after the generator runs. Set to false to defer installing when batching multiple generators (an install still runs if needed so subsequent generators can compute the Nx project graph); install once at the end.",
|
|
27
|
+
"default": true
|
|
23
28
|
}
|
|
24
29
|
},
|
|
25
30
|
"required": ["sourceProject", "targetProject"]
|
package/src/ts/agent/schema.json
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/schema",
|
|
3
3
|
"$id": "ts#agent",
|
|
4
4
|
"title": "ts#agent",
|
|
5
|
+
"x-label": "Agent",
|
|
5
6
|
"description": "Add an AI Agent to a TypeScript project",
|
|
6
7
|
"type": "object",
|
|
7
8
|
"properties": {
|
|
@@ -59,6 +60,19 @@
|
|
|
59
60
|
"enum": ["agentcore", "none"],
|
|
60
61
|
"default": "agentcore",
|
|
61
62
|
"x-priority": "important"
|
|
63
|
+
},
|
|
64
|
+
"session": {
|
|
65
|
+
"type": "string",
|
|
66
|
+
"description": "The storage used to persist session for your Agent.",
|
|
67
|
+
"x-prompt": "How would you like to persist session for your Agent?",
|
|
68
|
+
"enum": ["s3", "in-memory"],
|
|
69
|
+
"default": "s3",
|
|
70
|
+
"x-priority": "important"
|
|
71
|
+
},
|
|
72
|
+
"preferInstallDependencies": {
|
|
73
|
+
"type": "boolean",
|
|
74
|
+
"description": "Whether to prefer installing dependencies after the generator runs. Set to false to defer installing when batching multiple generators (an install still runs if needed so subsequent generators can compute the Nx project graph); install once at the end.",
|
|
75
|
+
"default": true
|
|
62
76
|
}
|
|
63
77
|
},
|
|
64
78
|
"required": ["project"]
|
package/src/ts/api/schema.json
CHANGED
|
@@ -99,6 +99,11 @@
|
|
|
99
99
|
"enum": ["rest-lambda", "http-lambda", "none"],
|
|
100
100
|
"x-prompt": "What infrastructure would you like to deploy your API with?",
|
|
101
101
|
"x-priority": "important"
|
|
102
|
+
},
|
|
103
|
+
"preferInstallDependencies": {
|
|
104
|
+
"type": "boolean",
|
|
105
|
+
"description": "Whether to prefer installing dependencies after the generator runs. Set to false to defer installing when batching multiple generators (an install still runs if needed so subsequent generators can compute the Nx project graph); install once at the end.",
|
|
106
|
+
"default": true
|
|
102
107
|
}
|
|
103
108
|
},
|
|
104
109
|
"required": ["name"]
|
|
@@ -52,10 +52,10 @@
|
|
|
52
52
|
"default": false,
|
|
53
53
|
"x-prompt": "Would you like to opt out of the blog?"
|
|
54
54
|
},
|
|
55
|
-
"
|
|
56
|
-
"description": "Skip installing dependencies after the generator runs.",
|
|
55
|
+
"preferInstallDependencies": {
|
|
57
56
|
"type": "boolean",
|
|
58
|
-
"
|
|
57
|
+
"description": "Whether to prefer installing dependencies after the generator runs. Set to false to defer installing when batching multiple generators (an install still runs if needed so subsequent generators can compute the Nx project graph); install once at the end.",
|
|
58
|
+
"default": true
|
|
59
59
|
}
|
|
60
60
|
},
|
|
61
61
|
"required": ["name"]
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/schema",
|
|
3
|
+
"$id": "ts#dcr-proxy",
|
|
4
|
+
"title": "ts#dcr-proxy",
|
|
5
|
+
"description": "Generate an OAuth Dynamic Client Registration (DCR) proxy construct for Cognito-authenticated MCP servers",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"name": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"description": "The name of your DCR proxy, used for its TypeScript handler project, the construct/module class name, and its directory under common/constructs or common/terraform",
|
|
11
|
+
"default": "dcr-proxy",
|
|
12
|
+
"$default": {
|
|
13
|
+
"$source": "argv",
|
|
14
|
+
"index": 0
|
|
15
|
+
},
|
|
16
|
+
"x-prompt": "What would you like to call your DCR proxy?",
|
|
17
|
+
"x-priority": "important"
|
|
18
|
+
},
|
|
19
|
+
"directory": {
|
|
20
|
+
"description": "The directory to store the DCR proxy handler project in.",
|
|
21
|
+
"type": "string",
|
|
22
|
+
"alias": "dir",
|
|
23
|
+
"x-priority": "important",
|
|
24
|
+
"default": "packages"
|
|
25
|
+
},
|
|
26
|
+
"subDirectory": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"description": "The sub directory the handler project is placed in. By default this is the project name."
|
|
29
|
+
},
|
|
30
|
+
"iac": {
|
|
31
|
+
"type": "string",
|
|
32
|
+
"description": "The preferred IaC provider (cdk or terraform). By default this is inherited from your initial selection.",
|
|
33
|
+
"enum": ["inherit", "cdk", "terraform"],
|
|
34
|
+
"x-priority": "important",
|
|
35
|
+
"default": "inherit",
|
|
36
|
+
"x-prompt": "Which provider would you like to manage your infrastructure? (default: inherit)"
|
|
37
|
+
},
|
|
38
|
+
"preferInstallDependencies": {
|
|
39
|
+
"type": "boolean",
|
|
40
|
+
"description": "Whether to prefer installing dependencies after the generator runs. Set to false to defer installing when batching multiple generators (an install still runs if needed so subsequent generators can compute the Nx project graph); install once at the end.",
|
|
41
|
+
"default": true
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
package/src/ts/docs/schema.json
CHANGED
|
@@ -60,10 +60,10 @@
|
|
|
60
60
|
"default": false,
|
|
61
61
|
"x-prompt": "Would you like to opt out of the blog?"
|
|
62
62
|
},
|
|
63
|
-
"
|
|
64
|
-
"description": "Skip installing dependencies after the generator runs.",
|
|
63
|
+
"preferInstallDependencies": {
|
|
65
64
|
"type": "boolean",
|
|
66
|
-
"
|
|
65
|
+
"description": "Whether to prefer installing dependencies after the generator runs. Set to false to defer installing when batching multiple generators (an install still runs if needed so subsequent generators can compute the Nx project graph); install once at the end.",
|
|
66
|
+
"default": true
|
|
67
67
|
}
|
|
68
68
|
},
|
|
69
69
|
"required": ["name"]
|
|
@@ -16,6 +16,11 @@
|
|
|
16
16
|
"sourceComponent": {
|
|
17
17
|
"type": "string",
|
|
18
18
|
"description": "The agent component name"
|
|
19
|
+
},
|
|
20
|
+
"preferInstallDependencies": {
|
|
21
|
+
"type": "boolean",
|
|
22
|
+
"description": "Whether to prefer installing dependencies after the generator runs. Set to false to defer installing when batching multiple generators (an install still runs if needed so subsequent generators can compute the Nx project graph); install once at the end.",
|
|
23
|
+
"default": true
|
|
19
24
|
}
|
|
20
25
|
},
|
|
21
26
|
"required": ["sourceProject", "targetProject"]
|
|
@@ -16,6 +16,11 @@
|
|
|
16
16
|
"sourceComponent": {
|
|
17
17
|
"type": "string",
|
|
18
18
|
"description": "The MCP server component name"
|
|
19
|
+
},
|
|
20
|
+
"preferInstallDependencies": {
|
|
21
|
+
"type": "boolean",
|
|
22
|
+
"description": "Whether to prefer installing dependencies after the generator runs. Set to false to defer installing when batching multiple generators (an install still runs if needed so subsequent generators can compute the Nx project graph); install once at the end.",
|
|
23
|
+
"default": true
|
|
19
24
|
}
|
|
20
25
|
},
|
|
21
26
|
"required": ["sourceProject", "targetProject"]
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/schema",
|
|
3
3
|
"$id": "ts#dynamodb",
|
|
4
4
|
"title": "ts#dynamodb",
|
|
5
|
-
"
|
|
5
|
+
"x-label": "DynamoDB",
|
|
6
|
+
"description": "Create a TypeScript DynamoDB project",
|
|
6
7
|
"type": "object",
|
|
7
8
|
"properties": {
|
|
8
9
|
"name": {
|
|
@@ -27,9 +28,27 @@
|
|
|
27
28
|
"description": "The sub directory the project is placed in. By default this is the project name.",
|
|
28
29
|
"x-prompt": "Which sub directory do you want to create the project in? (By default this is the project name)"
|
|
29
30
|
},
|
|
31
|
+
"framework": {
|
|
32
|
+
"type": "string",
|
|
33
|
+
"enum": ["electrodb"],
|
|
34
|
+
"default": "electrodb",
|
|
35
|
+
"description": "The framework to use for DynamoDB entities.",
|
|
36
|
+
"x-priority": "important",
|
|
37
|
+
"x-prompt": {
|
|
38
|
+
"message": "Which framework would you like to use for DynamoDB entities?",
|
|
39
|
+
"type": "list",
|
|
40
|
+
"items": [
|
|
41
|
+
{
|
|
42
|
+
"value": "electrodb",
|
|
43
|
+
"label": "ElectroDB"
|
|
44
|
+
}
|
|
45
|
+
],
|
|
46
|
+
"default": "electrodb"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
30
49
|
"tableName": {
|
|
31
50
|
"type": "string",
|
|
32
|
-
"description": "The DynamoDB table name.
|
|
51
|
+
"description": "The DynamoDB table name. Auto-generated if not specified."
|
|
33
52
|
},
|
|
34
53
|
"infra": {
|
|
35
54
|
"type": "string",
|
|
@@ -46,6 +65,11 @@
|
|
|
46
65
|
"x-priority": "important",
|
|
47
66
|
"default": "inherit",
|
|
48
67
|
"x-prompt": "Which provider would you like to manage your infrastructure? (default: Inherit)"
|
|
68
|
+
},
|
|
69
|
+
"preferInstallDependencies": {
|
|
70
|
+
"type": "boolean",
|
|
71
|
+
"description": "Whether to prefer installing dependencies after the generator runs. Set to false to defer installing when batching multiple generators (an install still runs if needed so subsequent generators can compute the Nx project graph); install once at the end.",
|
|
72
|
+
"default": true
|
|
49
73
|
}
|
|
50
74
|
},
|
|
51
75
|
"required": ["name"]
|
|
@@ -12,6 +12,11 @@
|
|
|
12
12
|
"targetProject": {
|
|
13
13
|
"type": "string",
|
|
14
14
|
"description": "The ts#dynamodb project to connect to"
|
|
15
|
+
},
|
|
16
|
+
"preferInstallDependencies": {
|
|
17
|
+
"type": "boolean",
|
|
18
|
+
"description": "Whether to prefer installing dependencies after the generator runs. Set to false to defer installing when batching multiple generators (an install still runs if needed so subsequent generators can compute the Nx project graph); install once at the end.",
|
|
19
|
+
"default": true
|
|
15
20
|
}
|
|
16
21
|
},
|
|
17
22
|
"required": ["sourceProject", "targetProject"]
|
|
@@ -12,6 +12,11 @@
|
|
|
12
12
|
"targetProject": {
|
|
13
13
|
"type": "string",
|
|
14
14
|
"description": "The ts#dynamodb project to connect to"
|
|
15
|
+
},
|
|
16
|
+
"preferInstallDependencies": {
|
|
17
|
+
"type": "boolean",
|
|
18
|
+
"description": "Whether to prefer installing dependencies after the generator runs. Set to false to defer installing when batching multiple generators (an install still runs if needed so subsequent generators can compute the Nx project graph); install once at the end.",
|
|
19
|
+
"default": true
|
|
15
20
|
}
|
|
16
21
|
},
|
|
17
22
|
"required": ["sourceProject", "targetProject"]
|
|
@@ -92,6 +92,11 @@
|
|
|
92
92
|
"x-priority": "important",
|
|
93
93
|
"default": "inherit",
|
|
94
94
|
"x-prompt": "Which provider would you like to manage your infrastructure? (default: inherit)"
|
|
95
|
+
},
|
|
96
|
+
"preferInstallDependencies": {
|
|
97
|
+
"type": "boolean",
|
|
98
|
+
"description": "Whether to prefer installing dependencies after the generator runs. Set to false to defer installing when batching multiple generators (an install still runs if needed so subsequent generators can compute the Nx project graph); install once at the end.",
|
|
99
|
+
"default": true
|
|
95
100
|
}
|
|
96
101
|
},
|
|
97
102
|
"required": ["project", "name"]
|
package/src/ts/lib/schema.json
CHANGED
|
@@ -26,6 +26,11 @@
|
|
|
26
26
|
"type": "string",
|
|
27
27
|
"description": "The sub directory the lib is placed in. By default this is the library name.",
|
|
28
28
|
"x-prompt": "Which sub directory do you want to create the library in? (By default this is the library name)"
|
|
29
|
+
},
|
|
30
|
+
"preferInstallDependencies": {
|
|
31
|
+
"type": "boolean",
|
|
32
|
+
"description": "Whether to prefer installing dependencies after the generator runs. Set to false to defer installing when batching multiple generators (an install still runs if needed so subsequent generators can compute the Nx project graph); install once at the end.",
|
|
33
|
+
"default": true
|
|
29
34
|
}
|
|
30
35
|
},
|
|
31
36
|
"required": ["name"]
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/schema",
|
|
3
3
|
"$id": "ts#mcp-server",
|
|
4
4
|
"title": "ts#mcp-server",
|
|
5
|
+
"x-label": "MCP Server",
|
|
5
6
|
"description": "Add a Model Context Protocol (MCP) server to an existing TypeScript project",
|
|
6
7
|
"type": "object",
|
|
7
8
|
"properties": {
|
|
@@ -43,6 +44,11 @@
|
|
|
43
44
|
"enum": ["agentcore", "none"],
|
|
44
45
|
"default": "agentcore",
|
|
45
46
|
"x-priority": "important"
|
|
47
|
+
},
|
|
48
|
+
"preferInstallDependencies": {
|
|
49
|
+
"type": "boolean",
|
|
50
|
+
"description": "Whether to prefer installing dependencies after the generator runs. Set to false to defer installing when batching multiple generators (an install still runs if needed so subsequent generators can compute the Nx project graph); install once at the end.",
|
|
51
|
+
"default": true
|
|
46
52
|
}
|
|
47
53
|
},
|
|
48
54
|
"required": ["project"]
|
|
@@ -32,6 +32,11 @@
|
|
|
32
32
|
"type": "string",
|
|
33
33
|
"description": "The directory within the plugin project's source folder to add the generator to (default: <name>)",
|
|
34
34
|
"x-prompt": "Choose the directory you would like to generate the generator in relative to the project's source folder (default: <name>)"
|
|
35
|
+
},
|
|
36
|
+
"preferInstallDependencies": {
|
|
37
|
+
"type": "boolean",
|
|
38
|
+
"description": "Whether to prefer installing dependencies after the generator runs. Set to false to defer installing when batching multiple generators (an install still runs if needed so subsequent generators can compute the Nx project graph); install once at the end.",
|
|
39
|
+
"default": true
|
|
35
40
|
}
|
|
36
41
|
},
|
|
37
42
|
"required": ["project", "name"]
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/schema",
|
|
3
|
+
"$id": "TsNxMigration",
|
|
4
|
+
"title": "Create an Nx Migration",
|
|
5
|
+
"description": "Scaffold a migration for an Nx Plugin, applied by nx migrate when users upgrade",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"project": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"description": "The Nx Plugin project to add the migration to. We recommend using the ts#nx-plugin generator to create this.",
|
|
11
|
+
"x-priority": "important",
|
|
12
|
+
"x-prompt": "Choose the Nx Plugin project to add the migration to",
|
|
13
|
+
"x-dropdown": "projects",
|
|
14
|
+
"$default": {
|
|
15
|
+
"$source": "argv",
|
|
16
|
+
"index": 0
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"name": {
|
|
20
|
+
"type": "string",
|
|
21
|
+
"description": "Migration name, in kebab-case (e.g. rename-foo-target)",
|
|
22
|
+
"x-priority": "important",
|
|
23
|
+
"x-prompt": "What is the name of the migration? (kebab-case, e.g. rename-foo-target)"
|
|
24
|
+
},
|
|
25
|
+
"description": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"description": "A description of what the migration does, shown by nx migrate",
|
|
28
|
+
"x-priority": "important",
|
|
29
|
+
"x-prompt": "Describe what the migration does"
|
|
30
|
+
},
|
|
31
|
+
"kind": {
|
|
32
|
+
"type": "string",
|
|
33
|
+
"description": "The kind of migration: deterministic (a codemod), agentic (an AI-applied prompt for user-owned code), or hybrid (a codemod that does the mechanical part then hands off to an agent)",
|
|
34
|
+
"enum": ["deterministic", "agentic", "hybrid"],
|
|
35
|
+
"default": "deterministic",
|
|
36
|
+
"x-priority": "important",
|
|
37
|
+
"x-prompt": {
|
|
38
|
+
"message": "What kind of migration is this?",
|
|
39
|
+
"type": "list",
|
|
40
|
+
"items": [
|
|
41
|
+
{
|
|
42
|
+
"value": "deterministic",
|
|
43
|
+
"label": "Deterministic — a codemod with an exact before/after (runs unattended, incl. CI)"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"value": "agentic",
|
|
47
|
+
"label": "Agentic — an AI-applied prompt for changes to user-owned code"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"value": "hybrid",
|
|
51
|
+
"label": "Hybrid — a codemod for the mechanical part that hands off to an agent for the rest"
|
|
52
|
+
}
|
|
53
|
+
]
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"preferInstallDependencies": {
|
|
57
|
+
"type": "boolean",
|
|
58
|
+
"description": "Whether to prefer installing dependencies after the generator runs. Set to false to defer installing when batching multiple generators (an install still runs if needed so subsequent generators can compute the Nx project graph); install once at the end.",
|
|
59
|
+
"default": true
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
"required": ["project", "name"]
|
|
63
|
+
}
|
|
@@ -26,6 +26,11 @@
|
|
|
26
26
|
"type": "string",
|
|
27
27
|
"description": "The sub directory the lib is placed in. By default this is the library name.",
|
|
28
28
|
"x-prompt": "Which sub directory do you want to create the library in? (By default this is the library name)"
|
|
29
|
+
},
|
|
30
|
+
"preferInstallDependencies": {
|
|
31
|
+
"type": "boolean",
|
|
32
|
+
"description": "Whether to prefer installing dependencies after the generator runs. Set to false to defer installing when batching multiple generators (an install still runs if needed so subsequent generators can compute the Nx project graph); install once at the end.",
|
|
33
|
+
"default": true
|
|
29
34
|
}
|
|
30
35
|
},
|
|
31
36
|
"required": ["name"]
|
|
@@ -16,6 +16,11 @@
|
|
|
16
16
|
"sourceComponent": {
|
|
17
17
|
"type": "string",
|
|
18
18
|
"description": "The agent component name"
|
|
19
|
+
},
|
|
20
|
+
"preferInstallDependencies": {
|
|
21
|
+
"type": "boolean",
|
|
22
|
+
"description": "Whether to prefer installing dependencies after the generator runs. Set to false to defer installing when batching multiple generators (an install still runs if needed so subsequent generators can compute the Nx project graph); install once at the end.",
|
|
23
|
+
"default": true
|
|
19
24
|
}
|
|
20
25
|
},
|
|
21
26
|
"required": ["sourceProject", "targetProject"]
|
|
@@ -16,6 +16,11 @@
|
|
|
16
16
|
"sourceComponent": {
|
|
17
17
|
"type": "string",
|
|
18
18
|
"description": "The MCP server component name"
|
|
19
|
+
},
|
|
20
|
+
"preferInstallDependencies": {
|
|
21
|
+
"type": "boolean",
|
|
22
|
+
"description": "Whether to prefer installing dependencies after the generator runs. Set to false to defer installing when batching multiple generators (an install still runs if needed so subsequent generators can compute the Nx project graph); install once at the end.",
|
|
23
|
+
"default": true
|
|
19
24
|
}
|
|
20
25
|
},
|
|
21
26
|
"required": ["sourceProject", "targetProject"]
|
package/src/ts/rdb/schema.json
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/schema",
|
|
3
3
|
"$id": "ts#rdb",
|
|
4
4
|
"title": "ts#rdb",
|
|
5
|
+
"x-label": "Relational Database",
|
|
5
6
|
"description": "Create a relational database project",
|
|
6
7
|
"type": "object",
|
|
7
8
|
"properties": {
|
|
@@ -67,7 +68,12 @@
|
|
|
67
68
|
"x-priority": "important",
|
|
68
69
|
"default": "inherit",
|
|
69
70
|
"x-prompt": "Which provider would you like to manage your infrastructure? (default: inherit)"
|
|
71
|
+
},
|
|
72
|
+
"preferInstallDependencies": {
|
|
73
|
+
"type": "boolean",
|
|
74
|
+
"description": "Whether to prefer installing dependencies after the generator runs. Set to false to defer installing when batching multiple generators (an install still runs if needed so subsequent generators can compute the Nx project graph); install once at the end.",
|
|
75
|
+
"default": true
|
|
70
76
|
}
|
|
71
77
|
},
|
|
72
|
-
"required": ["name"
|
|
78
|
+
"required": ["name"]
|
|
73
79
|
}
|
|
@@ -12,6 +12,11 @@
|
|
|
12
12
|
"targetProject": {
|
|
13
13
|
"type": "string",
|
|
14
14
|
"description": "The ts#rdb project to connect to"
|
|
15
|
+
},
|
|
16
|
+
"preferInstallDependencies": {
|
|
17
|
+
"type": "boolean",
|
|
18
|
+
"description": "Whether to prefer installing dependencies after the generator runs. Set to false to defer installing when batching multiple generators (an install still runs if needed so subsequent generators can compute the Nx project graph); install once at the end.",
|
|
19
|
+
"default": true
|
|
15
20
|
}
|
|
16
21
|
},
|
|
17
22
|
"required": ["sourceProject", "targetProject"]
|
|
@@ -12,6 +12,11 @@
|
|
|
12
12
|
"targetProject": {
|
|
13
13
|
"type": "string",
|
|
14
14
|
"description": "The ts#rdb project to connect to"
|
|
15
|
+
},
|
|
16
|
+
"preferInstallDependencies": {
|
|
17
|
+
"type": "boolean",
|
|
18
|
+
"description": "Whether to prefer installing dependencies after the generator runs. Set to false to defer installing when batching multiple generators (an install still runs if needed so subsequent generators can compute the Nx project graph); install once at the end.",
|
|
19
|
+
"default": true
|
|
15
20
|
}
|
|
16
21
|
},
|
|
17
22
|
"required": ["sourceProject", "targetProject"]
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
"cli": "nx",
|
|
4
4
|
"$id": "React website",
|
|
5
5
|
"title": "Create a React website",
|
|
6
|
+
"x-label": "React Website",
|
|
6
7
|
"description": "Create a React website application for Nx.",
|
|
7
8
|
"examples": [
|
|
8
9
|
{
|
|
@@ -40,7 +41,7 @@
|
|
|
40
41
|
"description": "The preferred UX provider.",
|
|
41
42
|
"enum": ["none", "cloudscape", "shadcn"],
|
|
42
43
|
"x-priority": "important",
|
|
43
|
-
"default": "
|
|
44
|
+
"default": "shadcn",
|
|
44
45
|
"x-prompt": {
|
|
45
46
|
"message": "Which UX provider should we scaffold for this app?",
|
|
46
47
|
"type": "list",
|
|
@@ -49,16 +50,16 @@
|
|
|
49
50
|
"value": "none",
|
|
50
51
|
"label": "None (plain React/Vite without a UI kit)"
|
|
51
52
|
},
|
|
52
|
-
{
|
|
53
|
-
"value": "cloudscape",
|
|
54
|
-
"label": "Cloudscape (AWS-first components with ready-made layouts)"
|
|
55
|
-
},
|
|
56
53
|
{
|
|
57
54
|
"value": "shadcn",
|
|
58
55
|
"label": "Shadcn (shared UI library under packages/common/shadcn)"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"value": "cloudscape",
|
|
59
|
+
"label": "Cloudscape (AWS-first components with ready-made layouts)"
|
|
59
60
|
}
|
|
60
61
|
],
|
|
61
|
-
"default": "
|
|
62
|
+
"default": "shadcn"
|
|
62
63
|
}
|
|
63
64
|
},
|
|
64
65
|
"tailwind": {
|
|
@@ -82,6 +83,11 @@
|
|
|
82
83
|
"x-priority": "important",
|
|
83
84
|
"default": "inherit",
|
|
84
85
|
"x-prompt": "Which provider would you like to manage your infrastructure? (default: inherit)"
|
|
86
|
+
},
|
|
87
|
+
"preferInstallDependencies": {
|
|
88
|
+
"type": "boolean",
|
|
89
|
+
"description": "Whether to prefer installing dependencies after the generator runs. Set to false to defer installing when batching multiple generators (an install still runs if needed so subsequent generators can compute the Nx project graph); install once at the end.",
|
|
90
|
+
"default": true
|
|
85
91
|
}
|
|
86
92
|
},
|
|
87
93
|
"required": ["name"],
|
|
@@ -44,6 +44,11 @@
|
|
|
44
44
|
"x-priority": "important",
|
|
45
45
|
"default": "inherit",
|
|
46
46
|
"x-prompt": "Which provider would you like to manage your infrastructure? (default: inherit)"
|
|
47
|
+
},
|
|
48
|
+
"preferInstallDependencies": {
|
|
49
|
+
"type": "boolean",
|
|
50
|
+
"description": "Whether to prefer installing dependencies after the generator runs. Set to false to defer installing when batching multiple generators (an install still runs if needed so subsequent generators can compute the Nx project graph); install once at the end.",
|
|
51
|
+
"default": true
|
|
47
52
|
}
|
|
48
53
|
},
|
|
49
54
|
"required": ["project"]
|
|
@@ -13,6 +13,11 @@
|
|
|
13
13
|
"x-priority": "important",
|
|
14
14
|
"x-prompt": "the project to target",
|
|
15
15
|
"x-dropdown": "projects"
|
|
16
|
+
},
|
|
17
|
+
"preferInstallDependencies": {
|
|
18
|
+
"type": "boolean",
|
|
19
|
+
"description": "Whether to prefer installing dependencies after the generator runs. Set to false to defer installing when batching multiple generators (an install still runs if needed so subsequent generators can compute the Nx project graph); install once at the end.",
|
|
20
|
+
"default": true
|
|
16
21
|
}
|
|
17
22
|
},
|
|
18
23
|
"required": ["project"]
|