@aws/nx-plugin-mcp 1.0.0-rc.7 → 1.0.0-rc.71
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 +12317 -10933
- 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 +1301 -0
- package/docs/get_started/tutorials/dungeon-game/2.mdx +237 -0
- package/docs/get_started/tutorials/dungeon-game/3.mdx +76 -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/tutorials/existing-project.mdx +4 -0
- package/docs/get_started/upgrading.mdx +147 -0
- package/docs/guides/agentcore-gateway.mdx +490 -0
- package/docs/guides/agentcore-harness.mdx +275 -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 +116 -0
- package/docs/guides/connection/py-agent-gateway.mdx +178 -0
- package/docs/guides/connection/py-agent-mcp.mdx +43 -14
- package/docs/guides/connection/py-agent-rdb.mdx +178 -0
- package/docs/guides/connection/py-fast-api-dynamodb.mdx +56 -0
- package/docs/guides/connection/py-fast-api-rdb.mdx +184 -0
- package/docs/guides/connection/py-mcp-server-dynamodb.mdx +116 -0
- package/docs/guides/connection/py-mcp-server-rdb.mdx +187 -0
- package/docs/guides/connection/react-agentcore-gateway.mdx +112 -0
- package/docs/guides/connection/react-agui.mdx +13 -13
- package/docs/guides/connection/react-fastapi.mdx +38 -2
- package/docs/guides/connection/react-py-agent.mdx +9 -15
- package/docs/guides/connection/react-smithy.mdx +3 -3
- package/docs/guides/connection/react-trpc.mdx +1 -1
- package/docs/guides/connection/react-ts-agent.mdx +8 -8
- 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 +5 -5
- package/docs/guides/connection/trpc-rdb.mdx +6 -6
- package/docs/guides/connection/ts-agent-a2a.mdx +14 -11
- package/docs/guides/connection/ts-agent-dynamodb.mdx +5 -5
- package/docs/guides/connection/ts-agent-gateway.mdx +143 -0
- package/docs/guides/connection/ts-agent-mcp.mdx +12 -9
- package/docs/guides/connection/ts-agent-rdb.mdx +70 -25
- package/docs/guides/connection/ts-mcp-server-dynamodb.mdx +5 -5
- package/docs/guides/connection/ts-mcp-server-rdb.mdx +68 -18
- package/docs/guides/connection.mdx +122 -5
- package/docs/guides/docker-bundling.mdx +69 -12
- package/docs/guides/fastapi.mdx +249 -9
- 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 +264 -49
- package/docs/guides/py-dynamodb.mdx +476 -0
- package/docs/guides/py-mcp-server.mdx +61 -2
- package/docs/guides/py-rdb.mdx +265 -0
- package/docs/guides/python-lambda-function.mdx +1 -1
- package/docs/guides/react-website-auth.mdx +65 -4
- package/docs/guides/react-website.mdx +149 -30
- package/docs/guides/runtime-config.mdx +1 -1
- package/docs/guides/security.mdx +75 -0
- package/docs/guides/smithy-project.mdx +167 -0
- package/docs/guides/terraform-project.mdx +2 -2
- package/docs/guides/trpc.mdx +53 -16
- package/docs/guides/ts-agent.mdx +183 -10
- 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 +109 -29
- package/docs/guides/ts-nx-plugin.mdx +3 -3
- package/docs/guides/ts-rdb.mdx +113 -467
- package/docs/guides/ts-smithy-api.mdx +258 -18
- package/docs/guides/typescript-infrastructure.mdx +46 -24
- package/docs/guides/typescript-project.mdx +134 -27
- package/docs/guides/workspace.mdx +10 -3
- 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 +33 -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 +33 -2
- 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 +1 -1
- 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 +51 -19
- package/docs/snippets/dynamodb/deploying-table.mdx +166 -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/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/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/architecture.mdx +38 -0
- package/docs/snippets/rdb/cluster-instances.mdx +31 -0
- package/docs/snippets/rdb/deletion-protection.mdx +34 -0
- package/docs/snippets/rdb/deploying.mdx +187 -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 +34 -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 +152 -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/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 +5 -0
- package/src/py/mcp-server/schema.json +6 -0
- package/src/py/project/schema.json +5 -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
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Agentic AI Dungeon Game
|
|
3
|
+
description: A walkthrough of how to build an agentic AI-powered dungeon adventure game using the @aws/nx-plugin.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
import { Aside, Code, FileTree, Steps, Tabs, TabItem } from '@astrojs/starlight/components';
|
|
7
|
+
import { Image } from 'astro:assets';
|
|
8
|
+
import Drawer from '@components/drawer.astro';
|
|
9
|
+
import Link from '@components/link.astro';
|
|
10
|
+
import RunGenerator from '@components/run-generator.astro';
|
|
11
|
+
import NxCommands from '@components/nx-commands.astro';
|
|
12
|
+
import InstallCommand from '@components/install-command.astro';
|
|
13
|
+
import dungeonAdventureArchitecturePng from '@assets/dungeon-game-architecture.png'
|
|
14
|
+
import baselineWebsitePng from '@assets/baseline-website.png'
|
|
15
|
+
import baselineGamePng from '@assets/baseline-game.png'
|
|
16
|
+
import nxGraphPng from '@assets/nx-graph.png'
|
|
17
|
+
import gameSelectPng from '@assets/game-select.png'
|
|
18
|
+
import gameConversationPng from '@assets/game-conversation.png'
|
|
19
|
+
|
|
20
|
+
## Wrap up
|
|
21
|
+
|
|
22
|
+
Congratulations! You’ve created an Agentic AI Dungeon adventure game that uses many of the available generators found within the `@aws/nx-plugin`. 🎉🎉🎉
|
|
23
|
+
|
|
24
|
+
## What next?
|
|
25
|
+
|
|
26
|
+
We recommend you try your hand at extending the codebase with the following capabilities on your own:
|
|
27
|
+
|
|
28
|
+
1. Add the <Link path="guides/license">license generator</Link> to your project which will automatically manage LICENSE files and source code headers in your workspace.
|
|
29
|
+
2. <Link path="get_started/tutorials/contribute-generator">Contribute your own generator</Link> to simplify the addition on new tRPC APIs.
|
|
30
|
+
3. Add a new `resetToAction` api (using your above generator) in GameAPI which allows you to go back in time and delete all actions from a given point. Update the UI to add a button on a conversation bubble to reset to this point (and call the newly created API).
|
|
31
|
+
4. Explore the various component guides using the left navigation.
|
|
32
|
+
|
|
33
|
+
## Destroying resources
|
|
34
|
+
|
|
35
|
+
1. To destroy the AWS resources that were created, run the following command:
|
|
36
|
+
|
|
37
|
+
<NxCommands commands={['destroy infra "dungeon-adventure-infra-sandbox/*"']} />
|
|
38
|
+
|
|
39
|
+
This will prompt you for a list of stacks to delete which should comprise of the `dungeon-adventure-infra-sandbox/Application/GameUI/waf` and `dungeon-adventure-infra-sandbox/Application`.
|
|
40
|
+
|
|
41
|
+
2. Enter `Y` to continue. CloudFormation will destroy your stacks.
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Upgrading Your Workspace
|
|
3
|
+
description: How to upgrade Nx and @aws/nx-plugin with nx migrate.
|
|
4
|
+
---
|
|
5
|
+
import { Aside } from '@astrojs/starlight/components';
|
|
6
|
+
import Link from '@components/link.astro';
|
|
7
|
+
import InstallCommand from '@components/install-command.astro';
|
|
8
|
+
import NxCommands from '@components/nx-commands.astro';
|
|
9
|
+
import PackageManagerShortCommand from '@components/package-manager-short-command.astro';
|
|
10
|
+
|
|
11
|
+
`@aws/nx-plugin` ships migrations that update your workspace automatically when you upgrade it, using [`nx migrate`](https://nx.dev/docs/features/automate-updating-dependencies).
|
|
12
|
+
|
|
13
|
+
<Aside type="tip">
|
|
14
|
+
You can use your agentic coding tool of choice to upgrade your workspace for you, using the <Link path="get_started/building-with-ai">MCP server</Link>. Try the prompt:
|
|
15
|
+
|
|
16
|
+
> Upgrade Nx and the Nx Plugin for AWS in this workspace.
|
|
17
|
+
</Aside>
|
|
18
|
+
|
|
19
|
+
## Upgrading @aws/nx-plugin
|
|
20
|
+
|
|
21
|
+
First, run the following command to update the plugin version and prepare migrations:
|
|
22
|
+
|
|
23
|
+
<NxCommands commands={['migrate @aws/nx-plugin@latest']} />
|
|
24
|
+
|
|
25
|
+
```
|
|
26
|
+
NX The migrate command has run successfully.
|
|
27
|
+
|
|
28
|
+
- package.json has been updated.
|
|
29
|
+
- migrations.json has been generated.
|
|
30
|
+
- 1 AI migration prompt(s) have been written to tools/ai-migrations/.
|
|
31
|
+
|
|
32
|
+
NX Next steps:
|
|
33
|
+
|
|
34
|
+
- Make sure package.json changes make sense and then run 'pnpm install --no-frozen-lockfile',
|
|
35
|
+
- Review and tweak the AI migration prompts in tools/ai-migrations/ as needed.
|
|
36
|
+
- Run 'pnpm exec nx migrate --run-migrations'
|
|
37
|
+
- To learn more go to https://nx.dev/features/automate-updating-dependencies
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
Review the `package.json` changes then install:
|
|
41
|
+
|
|
42
|
+
<InstallCommand />
|
|
43
|
+
|
|
44
|
+
Then run the migrations:
|
|
45
|
+
|
|
46
|
+
<NxCommands commands={['migrate --run-migrations']} />
|
|
47
|
+
|
|
48
|
+
### Deterministic migrations
|
|
49
|
+
|
|
50
|
+
Most migrations are deterministic codemods — they run unattended and report anything they deliberately skipped:
|
|
51
|
+
|
|
52
|
+
```
|
|
53
|
+
NX Running migrations from 'migrations.json'
|
|
54
|
+
|
|
55
|
+
Running the following migrations:
|
|
56
|
+
- @aws/nx-plugin: update-vitest-workspace-config — Add a coverage reporter to vitest configs
|
|
57
|
+
- @aws/nx-plugin: update-custom-api-handlers — Update custom API handlers for the new middleware signature
|
|
58
|
+
|
|
59
|
+
── Migration 1 of 2 · @aws/nx-plugin:update-vitest-workspace-config ─────
|
|
60
|
+
→ Running generator…
|
|
61
|
+
Changes:
|
|
62
|
+
UPDATE packages/api/vite.config.mts
|
|
63
|
+
|
|
64
|
+
...
|
|
65
|
+
|
|
66
|
+
NX Successfully finished running migrations from 'migrations.json'.
|
|
67
|
+
|
|
68
|
+
2 migrations applied, 0 commits created.
|
|
69
|
+
|
|
70
|
+
NX Some migrations have additional information, see below.
|
|
71
|
+
|
|
72
|
+
- packages/website/vite.config.mts has a customised shape; add a coverage reporter manually.
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
Pay attention to the **additional information** at the end: when a migration finds a file you have customised beyond what it can safely update, it leaves your changes alone and reports the manual follow-up there instead.
|
|
76
|
+
|
|
77
|
+
### Agentic migrations
|
|
78
|
+
|
|
79
|
+
Some migrations target code you own, where the right edit depends on what you've built — these ship as prompts applied by your local AI coding agent (Claude Code, Codex or OpenCode). When any are pending, Nx asks for consent before involving an agent:
|
|
80
|
+
|
|
81
|
+
```
|
|
82
|
+
? Enable the agentic flow? …
|
|
83
|
+
❯ Yes, just this time Apply 1 prompt migration and validate generator output with an AI agent
|
|
84
|
+
Yes, always Saved to nx.json so Nx won't ask again
|
|
85
|
+
No, just this time Skip prompts and run generators without AI validation
|
|
86
|
+
No, never Saved to nx.json so Nx won't ask again
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
If you accept, the agent applies each prompt migration in place and summarises what it changed:
|
|
90
|
+
|
|
91
|
+
```
|
|
92
|
+
── Migration 2 of 2 · @aws/nx-plugin:update-custom-api-handlers ─────────
|
|
93
|
+
→ Running prompt with Claude Code…
|
|
94
|
+
✓ update-custom-api-handlers: Updated 3 API handlers to the new middleware signature.
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
If you decline — or no agent is installed, or the run is non-interactive (e.g. CI) — the prompt migrations are skipped and saved for you to apply by hand:
|
|
98
|
+
|
|
99
|
+
```
|
|
100
|
+
── Migration 2 of 2 · @aws/nx-plugin:update-custom-api-handlers ─────────
|
|
101
|
+
↷ Skipped — agentic flow disabled. Listed in next steps.
|
|
102
|
+
|
|
103
|
+
NX Successfully finished running migrations from 'migrations.json'.
|
|
104
|
+
|
|
105
|
+
1 migration applied, 0 commits created, 1 prompt migration skipped.
|
|
106
|
+
|
|
107
|
+
NX Some migrations have additional information, see below.
|
|
108
|
+
|
|
109
|
+
- Some prompt migrations were skipped. Review and apply each of the following
|
|
110
|
+
prompt files to the workspace, in the listed order:
|
|
111
|
+
- tools/ai-migrations/@aws/nx-plugin/2.0.0/prompt.md
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
Each skipped prompt is a self-contained markdown instruction file in `tools/ai-migrations/` — paste it into your coding agent, or follow its steps manually.
|
|
115
|
+
|
|
116
|
+
Finally, verify everything still builds, then delete `migrations.json` and commit:
|
|
117
|
+
|
|
118
|
+
<PackageManagerShortCommand commands={['build']} />
|
|
119
|
+
|
|
120
|
+
## Upgrading with an AI agent
|
|
121
|
+
|
|
122
|
+
The whole flow can be driven by an AI coding agent end to end — nothing blocks on an interactive terminal. When `nx migrate --run-migrations` runs from inside an agent, Nx detects this, skips the agentic consent prompt, and instead of spawning a nested agent it **defers** each prompt migration back to the agent driving the run:
|
|
123
|
+
|
|
124
|
+
```
|
|
125
|
+
── Migration 2 of 2 · @aws/nx-plugin:update-custom-api-handlers ─────────
|
|
126
|
+
↷ Skipped — deferred to the AI agent driving this run. Listed in next steps.
|
|
127
|
+
|
|
128
|
+
NX Successfully finished running migrations from 'migrations.json'.
|
|
129
|
+
|
|
130
|
+
1 migration applied, 0 commits created, 1 prompt migration deferred.
|
|
131
|
+
|
|
132
|
+
NX Next steps for the AI agent driving this run
|
|
133
|
+
|
|
134
|
+
Apply the deferred prompts below, in order:
|
|
135
|
+
1. tools/ai-migrations/@aws/nx-plugin/2.0.0/prompt.md
|
|
136
|
+
(update-custom-api-handlers — prompt-only migration)
|
|
137
|
+
Then relay these migration-emitted notes to the user:
|
|
138
|
+
- packages/website/vite.config.mts has a customised shape; add a coverage reporter manually.
|
|
139
|
+
Finally, summarize what was done across the run and commit the changes per workspace conventions.
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
An agent conducting an upgrade should:
|
|
143
|
+
|
|
144
|
+
1. Run the cycle above for one package at a time (`nx migrate <package>@latest`, install, `nx migrate --run-migrations`), passing `--no-interactive` to suppress any remaining prompts.
|
|
145
|
+
2. After the run, read each deferred prompt file listed under **Next steps**, in the listed order, and apply its steps directly to the workspace.
|
|
146
|
+
3. Relay any migration-emitted notes (skipped customised files, manual follow-ups) to the user.
|
|
147
|
+
4. Verify the workspace builds, then delete `migrations.json` and commit before starting the next package's upgrade.
|