@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.
Files changed (54) hide show
  1. package/bin/aws-nx-mcp.js +17 -17
  2. package/docs/guides/agentcore-gateway.mdx +4 -4
  3. package/docs/guides/connection/agentcore-gateway-gateway.mdx +4 -4
  4. package/docs/guides/connection/agentcore-gateway-mcp.mdx +5 -5
  5. package/docs/guides/connection/py-agent-a2a.mdx +5 -5
  6. package/docs/guides/connection/py-agent-dynamodb.mdx +1 -1
  7. package/docs/guides/connection/py-agent-gateway.mdx +7 -7
  8. package/docs/guides/connection/py-agent-mcp.mdx +4 -4
  9. package/docs/guides/connection/py-fast-api-dynamodb.mdx +1 -1
  10. package/docs/guides/connection/py-mcp-server-dynamodb.mdx +1 -1
  11. package/docs/guides/connection/react-agui.mdx +4 -4
  12. package/docs/guides/connection/react-fastapi.mdx +2 -2
  13. package/docs/guides/connection/react-py-agent.mdx +3 -3
  14. package/docs/guides/connection/react-smithy.mdx +2 -2
  15. package/docs/guides/connection/react-ts-agent.mdx +5 -5
  16. package/docs/guides/connection/smithy-dynamodb.mdx +1 -1
  17. package/docs/guides/connection/smithy-rdb.mdx +3 -3
  18. package/docs/guides/connection/trpc-dynamodb.mdx +1 -1
  19. package/docs/guides/connection/trpc-rdb.mdx +3 -3
  20. package/docs/guides/connection/ts-agent-a2a.mdx +5 -5
  21. package/docs/guides/connection/ts-agent-dynamodb.mdx +1 -1
  22. package/docs/guides/connection/ts-agent-gateway.mdx +6 -6
  23. package/docs/guides/connection/ts-agent-mcp.mdx +4 -4
  24. package/docs/guides/connection/ts-agent-rdb.mdx +3 -3
  25. package/docs/guides/connection/ts-mcp-server-dynamodb.mdx +1 -1
  26. package/docs/guides/connection/ts-mcp-server-rdb.mdx +3 -3
  27. package/docs/guides/connection.mdx +1 -1
  28. package/docs/guides/fastapi.mdx +6 -0
  29. package/docs/guides/local-development.mdx +20 -9
  30. package/docs/guides/nx-generator.mdx +2 -2
  31. package/docs/guides/py-agent.mdx +9 -5
  32. package/docs/guides/py-dynamodb.mdx +4 -4
  33. package/docs/guides/py-mcp-server.mdx +11 -1
  34. package/docs/guides/react-website-auth.mdx +36 -0
  35. package/docs/guides/react-website.mdx +22 -14
  36. package/docs/guides/trpc.mdx +6 -0
  37. package/docs/guides/ts-agent.mdx +9 -5
  38. package/docs/guides/ts-dynamodb.mdx +4 -4
  39. package/docs/guides/ts-mcp-server.mdx +11 -1
  40. package/docs/guides/ts-rdb.mdx +5 -4
  41. package/docs/guides/ts-smithy-api.mdx +4 -0
  42. package/docs/guides/typescript-infrastructure.mdx +1 -1
  43. package/docs/snippets/api/access-logging.mdx +33 -0
  44. package/docs/snippets/connection/dynamodb-local-development.mdx +2 -2
  45. package/docs/snippets/connection/py-dynamodb-local-development.mdx +2 -2
  46. package/docs/snippets/dynamodb/gsi-config.mdx +1 -1
  47. package/docs/snippets/dynamodb/local-dev-start.mdx +13 -0
  48. package/docs/snippets/dynamodb/local-dev-windows.mdx +15 -0
  49. package/package.json +1 -1
  50. package/src/preset/schema.json +0 -5
  51. package/src/ts/react-website/app/schema.json +6 -6
  52. package/src/ts/website/app/schema.json +6 -6
  53. package/docs/snippets/dynamodb/serve-local-start.mdx +0 -13
  54. package/docs/snippets/dynamodb/serve-local-windows.mdx +0 -15
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws/nx-plugin-mcp",
3
- "version": "1.0.0-rc.23",
3
+ "version": "1.0.0-rc.24",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/awslabs/nx-plugin-for-aws.git",
@@ -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": "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": {
@@ -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": {
@@ -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
- :::