@aws/nx-plugin-mcp 1.0.0-rc.4 → 1.0.0-rc.40

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.
Files changed (161) hide show
  1. package/bin/aws-nx-mcp.js +2240 -1030
  2. package/docs/get_started/building-with-ai.mdx +116 -0
  3. package/docs/get_started/concepts.mdx +52 -0
  4. package/docs/get_started/existing-project.mdx +176 -0
  5. package/docs/get_started/quick-start.mdx +266 -0
  6. package/docs/get_started/tutorials/contribute-generator.mdx +405 -0
  7. package/docs/get_started/tutorials/dungeon-game/1.mdx +1205 -0
  8. package/docs/get_started/tutorials/dungeon-game/2.mdx +237 -0
  9. package/docs/get_started/tutorials/dungeon-game/3.mdx +76 -0
  10. package/docs/get_started/tutorials/dungeon-game/4.mdx +162 -0
  11. package/docs/get_started/tutorials/dungeon-game/overview.mdx +144 -0
  12. package/docs/get_started/tutorials/dungeon-game/wrap-up.mdx +41 -0
  13. package/docs/get_started/tutorials/existing-project.mdx +4 -0
  14. package/docs/guides/agentcore-gateway.mdx +376 -0
  15. package/docs/guides/connection/agentcore-gateway-gateway.mdx +154 -0
  16. package/docs/guides/connection/agentcore-gateway-mcp.mdx +134 -0
  17. package/docs/guides/connection/py-agent-a2a.mdx +47 -15
  18. package/docs/guides/connection/py-agent-dynamodb.mdx +116 -0
  19. package/docs/guides/connection/py-agent-gateway.mdx +176 -0
  20. package/docs/guides/connection/py-agent-mcp.mdx +42 -13
  21. package/docs/guides/connection/py-agent-rdb.mdx +178 -0
  22. package/docs/guides/connection/py-fast-api-dynamodb.mdx +56 -0
  23. package/docs/guides/connection/py-fast-api-rdb.mdx +184 -0
  24. package/docs/guides/connection/py-mcp-server-dynamodb.mdx +116 -0
  25. package/docs/guides/connection/py-mcp-server-rdb.mdx +187 -0
  26. package/docs/guides/connection/react-agui.mdx +4 -4
  27. package/docs/guides/connection/react-fastapi.mdx +38 -2
  28. package/docs/guides/connection/react-py-agent.mdx +7 -13
  29. package/docs/guides/connection/react-smithy.mdx +3 -3
  30. package/docs/guides/connection/react-trpc.mdx +1 -1
  31. package/docs/guides/connection/react-ts-agent.mdx +8 -8
  32. package/docs/guides/connection/smithy-dynamodb.mdx +4 -4
  33. package/docs/guides/connection/smithy-rdb.mdx +5 -5
  34. package/docs/guides/connection/trpc-dynamodb.mdx +4 -4
  35. package/docs/guides/connection/trpc-rdb.mdx +5 -5
  36. package/docs/guides/connection/ts-agent-a2a.mdx +12 -9
  37. package/docs/guides/connection/ts-agent-dynamodb.mdx +3 -3
  38. package/docs/guides/connection/ts-agent-gateway.mdx +141 -0
  39. package/docs/guides/connection/ts-agent-mcp.mdx +11 -8
  40. package/docs/guides/connection/ts-agent-rdb.mdx +66 -21
  41. package/docs/guides/connection/ts-mcp-server-dynamodb.mdx +3 -3
  42. package/docs/guides/connection/ts-mcp-server-rdb.mdx +66 -16
  43. package/docs/guides/connection.mdx +104 -5
  44. package/docs/guides/docker-bundling.mdx +68 -8
  45. package/docs/guides/fastapi.mdx +244 -4
  46. package/docs/guides/license.mdx +264 -109
  47. package/docs/guides/local-development.mdx +87 -0
  48. package/docs/guides/nx-generator.mdx +7 -2
  49. package/docs/guides/py-agent.mdx +213 -49
  50. package/docs/guides/py-dynamodb.mdx +476 -0
  51. package/docs/guides/py-mcp-server.mdx +61 -2
  52. package/docs/guides/py-rdb.mdx +254 -0
  53. package/docs/guides/react-website-auth.mdx +58 -1
  54. package/docs/guides/react-website.mdx +87 -19
  55. package/docs/guides/terraform-project.mdx +1 -1
  56. package/docs/guides/trpc.mdx +45 -9
  57. package/docs/guides/ts-agent.mdx +127 -9
  58. package/docs/guides/ts-dynamodb.mdx +62 -239
  59. package/docs/guides/ts-mcp-server.mdx +66 -3
  60. package/docs/guides/ts-nx-plugin.mdx +1 -1
  61. package/docs/guides/ts-rdb.mdx +117 -470
  62. package/docs/guides/ts-smithy-api.mdx +183 -4
  63. package/docs/guides/typescript-infrastructure.mdx +9 -1
  64. package/docs/guides/typescript-project.mdx +5 -10
  65. package/docs/guides/workspace.mdx +2 -2
  66. package/docs/snippets/agent/architecture.mdx +1 -1
  67. package/docs/snippets/agent/bedrock-deployment.mdx +4 -0
  68. package/docs/snippets/agent/runtime-arn.mdx +21 -0
  69. package/docs/snippets/api/access-logging.mdx +33 -0
  70. package/docs/snippets/api/type-safe-api-integrations.mdx +31 -0
  71. package/docs/snippets/api/waf-configuration.mdx +1 -1
  72. package/docs/snippets/connection/dynamodb-local-development.mdx +2 -2
  73. package/docs/snippets/connection/py-dynamodb-local-development.mdx +7 -0
  74. package/docs/snippets/connection/py-lambda-rdb-ssl-requirements.mdx +7 -0
  75. package/docs/snippets/connection/rdb-api-infrastructure.mdx +50 -18
  76. package/docs/snippets/dynamodb/deploying-table.mdx +166 -0
  77. package/docs/snippets/dynamodb/gsi-config.mdx +38 -0
  78. package/docs/snippets/dynamodb/infrastructure.mdx +33 -0
  79. package/docs/snippets/dynamodb/local-dev-start.mdx +13 -0
  80. package/docs/snippets/dynamodb/local-dev-windows.mdx +15 -0
  81. package/docs/snippets/mcp/architecture.mdx +1 -1
  82. package/docs/snippets/mcp/bedrock-deployment.mdx +4 -0
  83. package/docs/snippets/mcp/config.mdx +3 -2
  84. package/docs/snippets/rdb/architecture.mdx +38 -0
  85. package/docs/snippets/rdb/cluster-instances.mdx +31 -0
  86. package/docs/snippets/rdb/deletion-protection.mdx +34 -0
  87. package/docs/snippets/rdb/deploying.mdx +187 -0
  88. package/docs/snippets/rdb/encryption-key-rotation.mdx +30 -0
  89. package/docs/snippets/rdb/engine-version.mdx +63 -0
  90. package/docs/snippets/rdb/infrastructure.mdx +35 -0
  91. package/docs/snippets/rdb/logging.mdx +32 -0
  92. package/docs/snippets/rdb/rds-proxy.mdx +50 -0
  93. package/docs/snippets/rdb/removal-policy.mdx +57 -0
  94. package/docs/snippets/rdb/serverless-capacity.mdx +32 -0
  95. package/docs/snippets/required-prerequisites.mdx +1 -1
  96. package/docs/snippets/trivy-image-scan.mdx +27 -0
  97. package/generators.json +101 -2
  98. package/package.json +1 -1
  99. package/src/agentcore-gateway/gateway-connection/schema.json +31 -0
  100. package/src/agentcore-gateway/mcp-connection/schema.json +31 -0
  101. package/src/agentcore-gateway/schema.json +70 -0
  102. package/src/connection/schema.json +5 -0
  103. package/src/infra/app/schema.json +5 -0
  104. package/src/init/schema.json +35 -0
  105. package/src/license/schema.json +11 -0
  106. package/src/preset/schema.json +11 -5
  107. package/src/py/agent/a2a-connection/schema.json +5 -0
  108. package/src/py/agent/gateway-connection/schema.json +31 -0
  109. package/src/py/agent/mcp-connection/schema.json +5 -0
  110. package/src/py/agent/react-connection/schema.json +5 -0
  111. package/src/py/agent/schema.json +6 -1
  112. package/src/py/api/schema.json +5 -0
  113. package/src/py/dynamodb/agent-connection/schema.json +27 -0
  114. package/src/py/dynamodb/fast-api-connection/schema.json +23 -0
  115. package/src/py/dynamodb/mcp-server-connection/schema.json +27 -0
  116. package/src/py/dynamodb/schema.json +75 -0
  117. package/src/py/fast-api/react/schema.json +5 -0
  118. package/src/py/fast-api/schema.json +5 -0
  119. package/src/py/lambda-function/schema.json +5 -0
  120. package/src/py/mcp-server/schema.json +5 -0
  121. package/src/py/project/schema.json +5 -0
  122. package/src/py/rdb/agent-connection/schema.json +27 -0
  123. package/src/py/rdb/fast-api-connection/schema.json +23 -0
  124. package/src/py/rdb/mcp-server-connection/schema.json +27 -0
  125. package/src/py/rdb/schema.json +77 -0
  126. package/src/smithy/project/schema.json +5 -0
  127. package/src/smithy/react-connection/schema.json +5 -0
  128. package/src/smithy/ts/api/schema.json +5 -0
  129. package/src/terraform/project/schema.json +5 -0
  130. package/src/trpc/backend/schema.json +5 -0
  131. package/src/trpc/react/schema.json +5 -0
  132. package/src/ts/agent/a2a-connection/schema.json +5 -0
  133. package/src/ts/agent/gateway-connection/schema.json +31 -0
  134. package/src/ts/agent/mcp-connection/schema.json +5 -0
  135. package/src/ts/agent/react-connection/schema.json +5 -0
  136. package/src/ts/agent/schema.json +5 -0
  137. package/src/ts/api/schema.json +5 -0
  138. package/src/ts/astro-docs/schema.json +3 -3
  139. package/src/ts/docs/schema.json +3 -3
  140. package/src/ts/dynamodb/agent-connection/schema.json +5 -0
  141. package/src/ts/dynamodb/mcp-server-connection/schema.json +5 -0
  142. package/src/ts/dynamodb/schema.json +25 -2
  143. package/src/ts/dynamodb/smithy-connection/schema.json +5 -0
  144. package/src/ts/dynamodb/trpc-connection/schema.json +5 -0
  145. package/src/ts/lambda-function/schema.json +5 -0
  146. package/src/ts/lib/schema.json +5 -0
  147. package/src/ts/mcp-server/schema.json +5 -0
  148. package/src/ts/nx-generator/schema.json +5 -0
  149. package/src/ts/nx-plugin/schema.json +5 -0
  150. package/src/ts/rdb/agent-connection/schema.json +5 -0
  151. package/src/ts/rdb/mcp-server-connection/schema.json +5 -0
  152. package/src/ts/rdb/schema.json +6 -1
  153. package/src/ts/rdb/smithy-connection/schema.json +5 -0
  154. package/src/ts/rdb/trpc-connection/schema.json +5 -0
  155. package/src/ts/react-website/app/schema.json +11 -6
  156. package/src/ts/react-website/cognito-auth/schema.json +5 -0
  157. package/src/ts/react-website/runtime-config/schema.json +5 -0
  158. package/src/ts/website/app/schema.json +11 -6
  159. package/src/ts/website/auth/schema.json +5 -0
  160. /package/docs/snippets/connection/{lambda-rdb-ssl-requirements.mdx → ts-lambda-rdb-ssl-requirements.mdx} +0 -0
  161. /package/docs/snippets/connection/{mcp-server-rdb-ssl-requirements.mdx → ts-mcp-server-rdb-ssl-requirements.mdx} +0 -0
@@ -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"]
@@ -59,6 +59,11 @@
59
59
  "enum": ["agentcore", "none"],
60
60
  "default": "agentcore",
61
61
  "x-priority": "important"
62
+ },
63
+ "preferInstallDependencies": {
64
+ "type": "boolean",
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
62
67
  }
63
68
  },
64
69
  "required": ["project"]
@@ -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
- "skipInstall": {
56
- "description": "Skip installing dependencies after the generator runs.",
55
+ "preferInstallDependencies": {
57
56
  "type": "boolean",
58
- "default": false
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"]
@@ -60,10 +60,10 @@
60
60
  "default": false,
61
61
  "x-prompt": "Would you like to opt out of the blog?"
62
62
  },
63
- "skipInstall": {
64
- "description": "Skip installing dependencies after the generator runs.",
63
+ "preferInstallDependencies": {
65
64
  "type": "boolean",
66
- "default": false
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,7 @@
2
2
  "$schema": "https://json-schema.org/schema",
3
3
  "$id": "ts#dynamodb",
4
4
  "title": "ts#dynamodb",
5
- "description": "Create a DynamoDB project",
5
+ "description": "Create a TypeScript DynamoDB project",
6
6
  "type": "object",
7
7
  "properties": {
8
8
  "name": {
@@ -27,9 +27,27 @@
27
27
  "description": "The sub directory the project is placed in. By default this is the project name.",
28
28
  "x-prompt": "Which sub directory do you want to create the project in? (By default this is the project name)"
29
29
  },
30
+ "framework": {
31
+ "type": "string",
32
+ "enum": ["electrodb"],
33
+ "default": "electrodb",
34
+ "description": "The framework to use for DynamoDB entities.",
35
+ "x-priority": "important",
36
+ "x-prompt": {
37
+ "message": "Which framework would you like to use for DynamoDB entities?",
38
+ "type": "list",
39
+ "items": [
40
+ {
41
+ "value": "electrodb",
42
+ "label": "ElectroDB"
43
+ }
44
+ ],
45
+ "default": "electrodb"
46
+ }
47
+ },
30
48
  "tableName": {
31
49
  "type": "string",
32
- "description": "The DynamoDB table name. Defaults to the project name."
50
+ "description": "The DynamoDB table name. Auto-generated if not specified."
33
51
  },
34
52
  "infra": {
35
53
  "type": "string",
@@ -46,6 +64,11 @@
46
64
  "x-priority": "important",
47
65
  "default": "inherit",
48
66
  "x-prompt": "Which provider would you like to manage your infrastructure? (default: Inherit)"
67
+ },
68
+ "preferInstallDependencies": {
69
+ "type": "boolean",
70
+ "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.",
71
+ "default": true
49
72
  }
50
73
  },
51
74
  "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"]
@@ -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"]
@@ -43,6 +43,11 @@
43
43
  "enum": ["agentcore", "none"],
44
44
  "default": "agentcore",
45
45
  "x-priority": "important"
46
+ },
47
+ "preferInstallDependencies": {
48
+ "type": "boolean",
49
+ "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.",
50
+ "default": true
46
51
  }
47
52
  },
48
53
  "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"]
@@ -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"]
@@ -67,7 +67,12 @@
67
67
  "x-priority": "important",
68
68
  "default": "inherit",
69
69
  "x-prompt": "Which provider would you like to manage your infrastructure? (default: inherit)"
70
+ },
71
+ "preferInstallDependencies": {
72
+ "type": "boolean",
73
+ "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.",
74
+ "default": true
70
75
  }
71
76
  },
72
- "required": ["name", "infra", "engine", "framework"]
77
+ "required": ["name"]
73
78
  }
@@ -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"]
@@ -40,7 +40,7 @@
40
40
  "description": "The preferred UX provider.",
41
41
  "enum": ["none", "cloudscape", "shadcn"],
42
42
  "x-priority": "important",
43
- "default": "cloudscape",
43
+ "default": "shadcn",
44
44
  "x-prompt": {
45
45
  "message": "Which UX provider should we scaffold for this app?",
46
46
  "type": "list",
@@ -49,16 +49,16 @@
49
49
  "value": "none",
50
50
  "label": "None (plain React/Vite without a UI kit)"
51
51
  },
52
- {
53
- "value": "cloudscape",
54
- "label": "Cloudscape (AWS-first components with ready-made layouts)"
55
- },
56
52
  {
57
53
  "value": "shadcn",
58
54
  "label": "Shadcn (shared UI library under packages/common/shadcn)"
55
+ },
56
+ {
57
+ "value": "cloudscape",
58
+ "label": "Cloudscape (AWS-first components with ready-made layouts)"
59
59
  }
60
60
  ],
61
- "default": "cloudscape"
61
+ "default": "shadcn"
62
62
  }
63
63
  },
64
64
  "tailwind": {
@@ -82,6 +82,11 @@
82
82
  "x-priority": "important",
83
83
  "default": "inherit",
84
84
  "x-prompt": "Which provider would you like to manage your infrastructure? (default: inherit)"
85
+ },
86
+ "preferInstallDependencies": {
87
+ "type": "boolean",
88
+ "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.",
89
+ "default": true
85
90
  }
86
91
  },
87
92
  "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"]
@@ -48,7 +48,7 @@
48
48
  "description": "The preferred UX provider.",
49
49
  "enum": ["none", "cloudscape", "shadcn"],
50
50
  "x-priority": "important",
51
- "default": "cloudscape",
51
+ "default": "shadcn",
52
52
  "x-prompt": {
53
53
  "message": "Which UX provider should we scaffold for this app?",
54
54
  "type": "list",
@@ -57,16 +57,16 @@
57
57
  "value": "none",
58
58
  "label": "None (plain React/Vite without a UI kit)"
59
59
  },
60
- {
61
- "value": "cloudscape",
62
- "label": "Cloudscape (AWS-first components with ready-made layouts)"
63
- },
64
60
  {
65
61
  "value": "shadcn",
66
62
  "label": "Shadcn (shared UI library under packages/common/shadcn)"
63
+ },
64
+ {
65
+ "value": "cloudscape",
66
+ "label": "Cloudscape (AWS-first components with ready-made layouts)"
67
67
  }
68
68
  ],
69
- "default": "cloudscape"
69
+ "default": "shadcn"
70
70
  }
71
71
  },
72
72
  "tailwind": {
@@ -98,6 +98,11 @@
98
98
  "x-priority": "important",
99
99
  "default": "inherit",
100
100
  "x-prompt": "Which provider would you like to manage your infrastructure? (default: inherit)"
101
+ },
102
+ "preferInstallDependencies": {
103
+ "type": "boolean",
104
+ "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.",
105
+ "default": true
101
106
  }
102
107
  },
103
108
  "required": ["name"],
@@ -40,6 +40,11 @@
40
40
  "x-priority": "important",
41
41
  "default": "inherit",
42
42
  "x-prompt": "Which provider would you like to manage your infrastructure? (default: inherit)"
43
+ },
44
+ "preferInstallDependencies": {
45
+ "type": "boolean",
46
+ "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.",
47
+ "default": true
43
48
  }
44
49
  },
45
50
  "required": ["project"]