@aws/nx-plugin-mcp 1.0.0-rc.23 → 1.0.0-rc.24
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 +17 -17
- package/docs/guides/agentcore-gateway.mdx +4 -4
- package/docs/guides/connection/agentcore-gateway-gateway.mdx +4 -4
- package/docs/guides/connection/agentcore-gateway-mcp.mdx +5 -5
- package/docs/guides/connection/py-agent-a2a.mdx +5 -5
- package/docs/guides/connection/py-agent-dynamodb.mdx +1 -1
- package/docs/guides/connection/py-agent-gateway.mdx +7 -7
- package/docs/guides/connection/py-agent-mcp.mdx +4 -4
- package/docs/guides/connection/py-fast-api-dynamodb.mdx +1 -1
- package/docs/guides/connection/py-mcp-server-dynamodb.mdx +1 -1
- package/docs/guides/connection/react-agui.mdx +4 -4
- package/docs/guides/connection/react-fastapi.mdx +2 -2
- package/docs/guides/connection/react-py-agent.mdx +3 -3
- package/docs/guides/connection/react-smithy.mdx +2 -2
- package/docs/guides/connection/react-ts-agent.mdx +5 -5
- package/docs/guides/connection/smithy-dynamodb.mdx +1 -1
- package/docs/guides/connection/smithy-rdb.mdx +3 -3
- package/docs/guides/connection/trpc-dynamodb.mdx +1 -1
- package/docs/guides/connection/trpc-rdb.mdx +3 -3
- package/docs/guides/connection/ts-agent-a2a.mdx +5 -5
- package/docs/guides/connection/ts-agent-dynamodb.mdx +1 -1
- package/docs/guides/connection/ts-agent-gateway.mdx +6 -6
- package/docs/guides/connection/ts-agent-mcp.mdx +4 -4
- package/docs/guides/connection/ts-agent-rdb.mdx +3 -3
- package/docs/guides/connection/ts-mcp-server-dynamodb.mdx +1 -1
- package/docs/guides/connection/ts-mcp-server-rdb.mdx +3 -3
- package/docs/guides/connection.mdx +1 -1
- package/docs/guides/fastapi.mdx +6 -0
- package/docs/guides/local-development.mdx +20 -9
- package/docs/guides/nx-generator.mdx +2 -2
- package/docs/guides/py-agent.mdx +9 -5
- package/docs/guides/py-dynamodb.mdx +4 -4
- package/docs/guides/py-mcp-server.mdx +11 -1
- package/docs/guides/react-website-auth.mdx +36 -0
- package/docs/guides/react-website.mdx +22 -14
- package/docs/guides/trpc.mdx +6 -0
- package/docs/guides/ts-agent.mdx +9 -5
- package/docs/guides/ts-dynamodb.mdx +4 -4
- package/docs/guides/ts-mcp-server.mdx +11 -1
- package/docs/guides/ts-rdb.mdx +5 -4
- package/docs/guides/ts-smithy-api.mdx +4 -0
- package/docs/guides/typescript-infrastructure.mdx +1 -1
- package/docs/snippets/api/access-logging.mdx +33 -0
- package/docs/snippets/connection/dynamodb-local-development.mdx +2 -2
- package/docs/snippets/connection/py-dynamodb-local-development.mdx +2 -2
- package/docs/snippets/dynamodb/gsi-config.mdx +1 -1
- package/docs/snippets/dynamodb/local-dev-start.mdx +13 -0
- package/docs/snippets/dynamodb/local-dev-windows.mdx +15 -0
- package/package.json +1 -1
- package/src/preset/schema.json +0 -5
- package/src/ts/react-website/app/schema.json +6 -6
- package/src/ts/website/app/schema.json +6 -6
- package/docs/snippets/dynamodb/serve-local-start.mdx +0 -13
- package/docs/snippets/dynamodb/serve-local-windows.mdx +0 -15
package/package.json
CHANGED
package/src/preset/schema.json
CHANGED
|
@@ -5,11 +5,6 @@
|
|
|
5
5
|
"description": "The @aws/nx-plugin preset.",
|
|
6
6
|
"type": "object",
|
|
7
7
|
"properties": {
|
|
8
|
-
"addTsPlugin": {
|
|
9
|
-
"type": "boolean",
|
|
10
|
-
"description": "Whether to add the ts plugin.",
|
|
11
|
-
"default": true
|
|
12
|
-
},
|
|
13
8
|
"iac": {
|
|
14
9
|
"type": "string",
|
|
15
10
|
"description": "The preferred IaC provider.",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"description": "The preferred UX provider.",
|
|
41
41
|
"enum": ["none", "cloudscape", "shadcn"],
|
|
42
42
|
"x-priority": "important",
|
|
43
|
-
"default": "
|
|
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": "
|
|
61
|
+
"default": "shadcn"
|
|
62
62
|
}
|
|
63
63
|
},
|
|
64
64
|
"tailwind": {
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"description": "The preferred UX provider.",
|
|
49
49
|
"enum": ["none", "cloudscape", "shadcn"],
|
|
50
50
|
"x-priority": "important",
|
|
51
|
-
"default": "
|
|
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": "
|
|
69
|
+
"default": "shadcn"
|
|
70
70
|
}
|
|
71
71
|
},
|
|
72
72
|
"tailwind": {
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: Starting Local DynamoDB
|
|
3
|
-
---
|
|
4
|
-
import NxCommands from '@components/nx-commands.astro';
|
|
5
|
-
|
|
6
|
-
The generator configures a `serve-local` target that starts a [DynamoDB Local](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DynamoDBLocal.html) instance and creates the table:
|
|
7
|
-
|
|
8
|
-
<NxCommands commands={['run <project-name>:serve-local']} />
|
|
9
|
-
|
|
10
|
-
This automatically:
|
|
11
|
-
1. Pulls the DynamoDB Local image (`pull-image` target)
|
|
12
|
-
2. Starts a container
|
|
13
|
-
3. Creates a local table with the indexes defined in `config.json`
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: Serve Local Windows Caution
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
Stopping `serve-local` (e.g. with `Ctrl+C`) automatically removes the DynamoDB Local container, but preserves the named volume so your data persists across restarts.
|
|
6
|
-
|
|
7
|
-
:::caution[Windows]
|
|
8
|
-
Due to limitations with signal handling on Windows, the container is not automatically removed when `serve-local` is stopped. You will need to remove it manually:
|
|
9
|
-
|
|
10
|
-
```bash
|
|
11
|
-
<engine> rm -f <scope>-dynamodb
|
|
12
|
-
```
|
|
13
|
-
|
|
14
|
-
Replace `<engine>` with your container engine (`docker` or `finch`) and `<scope>` with your Nx workspace scope (e.g. `proj`).
|
|
15
|
-
:::
|