@aws/nx-plugin-mcp 1.0.0-rc.24 → 1.0.0-rc.26

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 (62) hide show
  1. package/bin/aws-nx-mcp.js +649 -542
  2. package/docs/guides/connection.mdx +12 -0
  3. package/docs/guides/react-website-auth.mdx +7 -1
  4. package/docs/guides/typescript-infrastructure.mdx +8 -0
  5. package/docs/snippets/mcp/config.mdx +3 -2
  6. package/package.json +1 -1
  7. package/src/agentcore-gateway/gateway-connection/schema.json +5 -0
  8. package/src/agentcore-gateway/mcp-connection/schema.json +5 -0
  9. package/src/agentcore-gateway/schema.json +5 -0
  10. package/src/connection/schema.json +5 -0
  11. package/src/infra/app/schema.json +5 -0
  12. package/src/license/schema.json +5 -0
  13. package/src/preset/schema.json +5 -0
  14. package/src/py/agent/a2a-connection/schema.json +5 -0
  15. package/src/py/agent/gateway-connection/schema.json +5 -0
  16. package/src/py/agent/mcp-connection/schema.json +5 -0
  17. package/src/py/agent/react-connection/schema.json +5 -0
  18. package/src/py/agent/schema.json +5 -0
  19. package/src/py/api/schema.json +5 -0
  20. package/src/py/dynamodb/agent-connection/schema.json +5 -0
  21. package/src/py/dynamodb/fast-api-connection/schema.json +5 -0
  22. package/src/py/dynamodb/mcp-server-connection/schema.json +5 -0
  23. package/src/py/dynamodb/schema.json +5 -0
  24. package/src/py/fast-api/react/schema.json +5 -0
  25. package/src/py/fast-api/schema.json +5 -0
  26. package/src/py/lambda-function/schema.json +5 -0
  27. package/src/py/mcp-server/schema.json +5 -0
  28. package/src/py/project/schema.json +5 -0
  29. package/src/smithy/project/schema.json +5 -0
  30. package/src/smithy/react-connection/schema.json +5 -0
  31. package/src/smithy/ts/api/schema.json +5 -0
  32. package/src/terraform/project/schema.json +5 -0
  33. package/src/trpc/backend/schema.json +5 -0
  34. package/src/trpc/react/schema.json +5 -0
  35. package/src/ts/agent/a2a-connection/schema.json +5 -0
  36. package/src/ts/agent/gateway-connection/schema.json +5 -0
  37. package/src/ts/agent/mcp-connection/schema.json +5 -0
  38. package/src/ts/agent/react-connection/schema.json +5 -0
  39. package/src/ts/agent/schema.json +5 -0
  40. package/src/ts/api/schema.json +5 -0
  41. package/src/ts/astro-docs/schema.json +3 -3
  42. package/src/ts/docs/schema.json +3 -3
  43. package/src/ts/dynamodb/agent-connection/schema.json +5 -0
  44. package/src/ts/dynamodb/mcp-server-connection/schema.json +5 -0
  45. package/src/ts/dynamodb/schema.json +5 -0
  46. package/src/ts/dynamodb/smithy-connection/schema.json +5 -0
  47. package/src/ts/dynamodb/trpc-connection/schema.json +5 -0
  48. package/src/ts/lambda-function/schema.json +5 -0
  49. package/src/ts/lib/schema.json +5 -0
  50. package/src/ts/mcp-server/schema.json +5 -0
  51. package/src/ts/nx-generator/schema.json +5 -0
  52. package/src/ts/nx-plugin/schema.json +5 -0
  53. package/src/ts/rdb/agent-connection/schema.json +5 -0
  54. package/src/ts/rdb/mcp-server-connection/schema.json +5 -0
  55. package/src/ts/rdb/schema.json +5 -0
  56. package/src/ts/rdb/smithy-connection/schema.json +5 -0
  57. package/src/ts/rdb/trpc-connection/schema.json +5 -0
  58. package/src/ts/react-website/app/schema.json +5 -0
  59. package/src/ts/react-website/cognito-auth/schema.json +5 -0
  60. package/src/ts/react-website/runtime-config/schema.json +5 -0
  61. package/src/ts/website/app/schema.json +5 -0
  62. package/src/ts/website/auth/schema.json +5 -0
@@ -6,9 +6,21 @@ import Astro from '@astrojs/react';
6
6
  import { CardGrid, LinkButton } from '@astrojs/starlight/components';
7
7
  import Link from '@components/link.astro';
8
8
  import ConnectionCard from '@components/connection-card.astro';
9
+ import RunGenerator from '@components/run-generator.astro';
10
+ import GeneratorParameters from '@components/generator-parameters.astro';
9
11
 
10
12
  This generator is used to connect projects together, such as websites calling APIs. Simply select the source project (for example the project that will call your API) and target project (for example your API project), and this generator will handle integrating the two.
11
13
 
14
+ ## Usage
15
+
16
+ ### Run the Generator
17
+
18
+ <RunGenerator generator="connection" />
19
+
20
+ ### Options
21
+
22
+ <GeneratorParameters generator="connection" />
23
+
12
24
  ### Supported Connections
13
25
 
14
26
  The Connection generator supports the following connections:
@@ -79,6 +79,11 @@ browser: Web Browser {
79
79
  icon: /nx-plugin-for-aws/icons/aws/client.svg
80
80
  }
81
81
 
82
+ waf: WAF {
83
+ shape: image
84
+ icon: /nx-plugin-for-aws/icons/aws/waf.svg
85
+ }
86
+
82
87
  cognito: Cognito\n(User + Identity Pool) {
83
88
  shape: image
84
89
  icon: /nx-plugin-for-aws/icons/aws/cognito.svg
@@ -93,7 +98,8 @@ backend: Authenticated\nAWS Resources {
93
98
  shape: rectangle
94
99
  }
95
100
 
96
- browser -> cognito: Sign in
101
+ browser -> waf: Sign in
102
+ waf -> cognito
97
103
  cognito -> iam
98
104
  browser -> backend: IAM/Cognito
99
105
  ```
@@ -381,6 +381,14 @@ Then run the deploy target:
381
381
 
382
382
  <NxCommands commands={['deploy <my-infra> <my-infra>-sandbox/*']} />
383
383
 
384
+ :::tip[Express Mode for Faster Deployments]
385
+ The `deploy` target uses [CloudFormation express mode](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cloudformation-express-mode.html) by default (via CDK's `--express` flag) to speed up deployments during development. Express mode finishes once resource configuration is confirmed applied rather than waiting for full stabilization, with propagation continuing in the background, for significantly faster iteration cycles.
386
+
387
+ Express mode is intended for development and iteration. To deploy without it and wait for full resource stabilization, remove the `--express` flag from the `deploy` target's command in your infrastructure project's `project.json`.
388
+
389
+ For real deployments to production stages, use the `deploy-ci` target (see [below](#deploying-to-aws-in-a-cicd-pipeline)) as part of a CI/CD pipeline. This target does not use express mode, so it always waits for full stabilization.
390
+ :::
391
+
384
392
  :::tip[Selective Stack Deployment]
385
393
  The above command deploys _all_ stacks for the `<my-infra>-sandbox` stage. You can specify other stages so long as they are defined in `main.ts`.
386
394
 
@@ -1,13 +1,14 @@
1
1
  ---
2
2
  title: MCP Server Configuration
3
3
  ---
4
+
4
5
  ```json {3-6}
5
6
  {
6
7
  "mcpServers": {
7
8
  "nx-plugin-for-aws": {
8
9
  "command": "npx",
9
- "args": ["-y", "@aws/nx-plugin-mcp@next"]
10
+ "args": ["-y", "@aws/nx-plugin-mcp"]
10
11
  }
11
12
  }
12
13
  }
13
- ```
14
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws/nx-plugin-mcp",
3
- "version": "1.0.0-rc.24",
3
+ "version": "1.0.0-rc.26",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/awslabs/nx-plugin-for-aws.git",
@@ -20,6 +20,11 @@
20
20
  "targetComponent": {
21
21
  "type": "string",
22
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
23
28
  }
24
29
  },
25
30
  "required": ["sourceProject", "targetProject"]
@@ -20,6 +20,11 @@
20
20
  "targetComponent": {
21
21
  "type": "string",
22
22
  "description": "The MCP server 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
23
28
  }
24
29
  },
25
30
  "required": ["sourceProject", "targetProject"]
@@ -59,6 +59,11 @@
59
59
  "x-priority": "important",
60
60
  "default": "inherit",
61
61
  "x-prompt": "Which provider would you like to manage your infrastructure? (default: inherit)"
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": ["name"]
@@ -27,6 +27,11 @@
27
27
  "targetComponent": {
28
28
  "type": "string",
29
29
  "description": "The target component to connect to (component name, path relative to target project root, or generator id). Use '.' to explicitly select the project as the target."
30
+ },
31
+ "preferInstallDependencies": {
32
+ "type": "boolean",
33
+ "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.",
34
+ "default": true
30
35
  }
31
36
  },
32
37
  "required": ["sourceProject", "targetProject"]
@@ -32,6 +32,11 @@
32
32
  "type": "boolean",
33
33
  "default": false,
34
34
  "x-prompt": "Would you like to enable centralized stage credential configuration?"
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": ["name"]
@@ -23,6 +23,11 @@
23
23
  "description": "Configure a license-check target that fails when dependencies declare licenses outside the configured allowlist.",
24
24
  "default": true,
25
25
  "x-priority": "important"
26
+ },
27
+ "preferInstallDependencies": {
28
+ "type": "boolean",
29
+ "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.",
30
+ "default": true
26
31
  }
27
32
  },
28
33
  "required": []
@@ -30,6 +30,11 @@
30
30
  "default": "infer",
31
31
  "x-priority": "important",
32
32
  "x-prompt": "Which container engine would you like to use? (default: infer)"
33
+ },
34
+ "preferInstallDependencies": {
35
+ "type": "boolean",
36
+ "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.",
37
+ "default": true
33
38
  }
34
39
  }
35
40
  }
@@ -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"]
@@ -20,6 +20,11 @@
20
20
  "targetComponent": {
21
21
  "type": "string",
22
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
23
28
  }
24
29
  },
25
30
  "required": ["sourceProject", "targetProject"]
@@ -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"]
@@ -94,6 +94,11 @@
94
94
  "enum": ["rest-lambda", "http-lambda", "none"],
95
95
  "x-prompt": "What infrastructure would you like to deploy your API with?",
96
96
  "x-priority": "important"
97
+ },
98
+ "preferInstallDependencies": {
99
+ "type": "boolean",
100
+ "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.",
101
+ "default": true
97
102
  }
98
103
  },
99
104
  "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"]
@@ -12,6 +12,11 @@
12
12
  "targetProject": {
13
13
  "type": "string",
14
14
  "description": "The py#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"]
@@ -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"]
@@ -64,6 +64,11 @@
64
64
  "x-priority": "important",
65
65
  "default": "inherit",
66
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
67
72
  }
68
73
  },
69
74
  "required": ["name"]
@@ -20,6 +20,11 @@
20
20
  "description": "",
21
21
  "x-prompt": "Package containing your FastAPI backend",
22
22
  "x-dropdown": "projects"
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": ["frontendProjectName", "fastApiProjectName"]
@@ -76,6 +76,11 @@
76
76
  "enum": ["rest-lambda", "http-lambda", "none"],
77
77
  "x-prompt": "What infrastructure would you like to deploy your API with?",
78
78
  "x-priority": "important"
79
+ },
80
+ "preferInstallDependencies": {
81
+ "type": "boolean",
82
+ "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.",
83
+ "default": true
79
84
  }
80
85
  },
81
86
  "required": ["name"]
@@ -90,6 +90,11 @@
90
90
  "x-priority": "important",
91
91
  "default": "inherit",
92
92
  "x-prompt": "Which provider would you like to manage your infrastructure? (default: inherit)"
93
+ },
94
+ "preferInstallDependencies": {
95
+ "type": "boolean",
96
+ "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.",
97
+ "default": true
93
98
  }
94
99
  },
95
100
  "required": ["project", "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"]
@@ -36,6 +36,11 @@
36
36
  "moduleName": {
37
37
  "type": "string",
38
38
  "description": "Python module name"
39
+ },
40
+ "preferInstallDependencies": {
41
+ "type": "boolean",
42
+ "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.",
43
+ "default": true
39
44
  }
40
45
  },
41
46
  "required": ["name", "type"]
@@ -36,6 +36,11 @@
36
36
  "type": "string",
37
37
  "description": "The sub directory the Smithy project is placed in. By default this is the project name.",
38
38
  "x-prompt": "Which sub directory do you want to create the Smithy project in? (By default this is the project name)"
39
+ },
40
+ "preferInstallDependencies": {
41
+ "type": "boolean",
42
+ "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.",
43
+ "default": true
39
44
  }
40
45
  },
41
46
  "required": ["name"]
@@ -20,6 +20,11 @@
20
20
  "description": "",
21
21
  "x-prompt": "Project containing your Smithy API (either model or backend)",
22
22
  "x-dropdown": "projects"
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": ["frontendProjectName", "smithyModelOrBackendProjectName"]
@@ -77,6 +77,11 @@
77
77
  "enum": ["rest-lambda", "none"],
78
78
  "x-prompt": "What infrastructure would you like to deploy your API with?",
79
79
  "x-priority": "internal"
80
+ },
81
+ "preferInstallDependencies": {
82
+ "type": "boolean",
83
+ "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.",
84
+ "default": true
80
85
  }
81
86
  },
82
87
  "required": ["name"]
@@ -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"]
@@ -71,6 +71,11 @@
71
71
  "enum": ["rest-lambda", "http-lambda", "none"],
72
72
  "x-prompt": "What infrastructure would you like to deploy your API with?",
73
73
  "x-priority": "important"
74
+ },
75
+ "preferInstallDependencies": {
76
+ "type": "boolean",
77
+ "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.",
78
+ "default": true
74
79
  }
75
80
  },
76
81
  "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"]
@@ -20,6 +20,11 @@
20
20
  "targetComponent": {
21
21
  "type": "string",
22
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
23
28
  }
24
29
  },
25
30
  "required": ["sourceProject", "targetProject"]
@@ -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"]
@@ -64,6 +64,11 @@
64
64
  "x-priority": "important",
65
65
  "default": "inherit",
66
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
67
72
  }
68
73
  },
69
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"]