@aws/nx-plugin 0.97.0 → 0.97.1
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/README.md +131 -61
- package/package.json +1 -1
- package/src/ts/react-website/app/__snapshots__/generator.spec.ts.snap +7 -13
- package/src/ts/react-website/app/generator.js +3 -7
- package/src/ts/react-website/app/generator.js.map +1 -1
- package/src/utils/versions.d.ts +1 -2
- package/src/utils/versions.js +0 -1
- package/src/utils/versions.js.map +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<div align="center">
|
|
2
|
-
<h1>Nx Plugin for AWS
|
|
3
|
-
<h3>
|
|
2
|
+
<h1>Nx Plugin for AWS</h1>
|
|
3
|
+
<h3>Build full-stack AWS apps in minutes</h3>
|
|
4
4
|
<a href="https://opensource.org/licenses/Apache-2.0">
|
|
5
5
|
<img
|
|
6
6
|
src="https://img.shields.io/badge/License-Apache%202.0-yellowgreen.svg"
|
|
@@ -10,12 +10,6 @@
|
|
|
10
10
|
<a href="https://codecov.io/gh/awslabs/nx-plugin-for-aws">
|
|
11
11
|
<img src="https://codecov.io/gh/awslabs/nx-plugin-for-aws/graph/badge.svg?token=X27pgFfxuQ" />
|
|
12
12
|
</a>
|
|
13
|
-
<a href="https://gitpod.io/new/?workspaceClass=g1-large#https://github.com/awslabs/nx-plugin-for-aws">
|
|
14
|
-
<img
|
|
15
|
-
src="https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod"
|
|
16
|
-
alt="Gitpod ready-to-code"
|
|
17
|
-
/>
|
|
18
|
-
</a>
|
|
19
13
|
<a href="https://github.com/awslabs/nx-plugin-for-aws/actions/workflows/ci.yml">
|
|
20
14
|
<img
|
|
21
15
|
src="https://github.com/awslabs/nx-plugin-for-aws/actions/workflows/ci.yml/badge.svg"
|
|
@@ -28,74 +22,96 @@
|
|
|
28
22
|
alt="Commit activity"
|
|
29
23
|
/>
|
|
30
24
|
</a>
|
|
31
|
-
<br />
|
|
32
|
-
<br />
|
|
33
|
-
<figure>
|
|
34
|
-
<img src="docs/src/content/docs/assets/website-generator.gif" alt="Demo" />
|
|
35
|
-
</figure>
|
|
36
|
-
<br />
|
|
37
|
-
👉 See full documentation on <a href="https://awslabs.github.io/nx-plugin-for-aws">https://awslabs.github.io/nx-plugin-for-aws</a> 👈
|
|
38
25
|
</div>
|
|
39
26
|
|
|
40
|
-
|
|
27
|
+
---
|
|
41
28
|
|
|
42
|
-
|
|
29
|
+
**@aws/nx-plugin** is a collection of code generators that scaffold full-stack, production-ready AWS applications inside an [Nx](https://nx.dev) monorepo. Every generator produces best-practice application code **and** the infrastructure to deploy it — type-safe, locally runnable, and ready to deploy.
|
|
43
30
|
|
|
44
|
-
##
|
|
31
|
+
## Quick Start
|
|
45
32
|
|
|
46
|
-
|
|
47
|
-
- **End-to-end**: Generate application code and CDK/Terraform infrastructure to deploy to AWS.
|
|
48
|
-
- **Component-Based**: Add components to your project as needed, from React websites to serverless APIs using either the CLI or UI.
|
|
49
|
-
- **Learn Once, Use Anywhere**: Consistent patterns across different AWS services and application types.
|
|
50
|
-
- **Open for modification**: All code generated is your code and can be edited as you see fit.
|
|
51
|
-
- **Type safety**: Type-safety is employed to support IDE completions and reduce the number of runtime errors encountered.
|
|
52
|
-
- **Local-first**: Iterate quickly by developing locally before deploying to AWS.
|
|
53
|
-
- **Minimal dependencies**: Getting up and running is simple and only requires langugage level global dependencies.
|
|
33
|
+
### Build with AI
|
|
54
34
|
|
|
55
|
-
|
|
35
|
+
Add the MCP server to your AI assistant and let it build for you.
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
claude mcp add nx-plugin-for-aws -- npx -y @aws/nx-plugin-mcp
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
<details>
|
|
42
|
+
<summary><strong>Kiro</strong></summary>
|
|
43
|
+
|
|
44
|
+
Install the [Kiro Power](https://kiro.dev/docs/powers/) for the best experience — no manual MCP configuration needed:
|
|
45
|
+
|
|
46
|
+
1. Open the Kiro Powers panel from the sidebar
|
|
47
|
+
2. Click `+` to add a custom power
|
|
48
|
+
3. Paste: `https://github.com/awslabs/nx-plugin-for-aws/tree/main/powers/nx-plugin-for-aws`
|
|
49
|
+
4. Click install
|
|
50
|
+
|
|
51
|
+
Or add the MCP server manually in `.kiro/mcp.json`:
|
|
52
|
+
|
|
53
|
+
```json
|
|
54
|
+
{
|
|
55
|
+
"mcpServers": {
|
|
56
|
+
"nx-plugin-for-aws": {
|
|
57
|
+
"command": "npx",
|
|
58
|
+
"args": ["-y", "@aws/nx-plugin-mcp"]
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
```
|
|
56
63
|
|
|
57
|
-
|
|
58
|
-
- `ts#infra` - Generate a Typescript AWS CDK infrastructure project for your application.
|
|
59
|
-
- `ts#react-website` - Generate a new React based web application using Vite.
|
|
60
|
-
- `ts#react-website#auth` - Add AWS Cognito authentication to your React website.
|
|
61
|
-
- `ts#trpc-api` - Generate a tRPC backend service with Amazon API Gateway/AWS Lambda integrations and [AWS Powertools](https://github.com/aws-powertools/powertools-lambda-typescript) pre-configured.
|
|
62
|
-
- `ts#nx-generator` - Add an [Nx Generator](https://nx.dev/features/generate-code) to a TypeScript project.
|
|
63
|
-
- `ts#mcp-server` - Add a [Model Context Protocol (MCP)](https://modelcontextprotocol.io/) server to a TypeScript project.
|
|
64
|
-
- `ts#strands-agent` - Add a [Strands Agent](https://strandsagents.com/) to a TypeScript project.
|
|
65
|
-
- `ts#lambda-function` - Generate a TypeScript lambda function with optional type-safe event sources.
|
|
66
|
-
- `terraform#project` - Generate a new Terraform project.
|
|
67
|
-
- `py#project` - Generate a uv based Python project.
|
|
68
|
-
- `py#fast-api` - Generate a FastAPI backend service with [AWS Powertools](https://github.com/aws-powertools/powertools-lambda-python) pre-configured.
|
|
69
|
-
- `py#lambda-function` - Add a lambda function to an existing python project with optional type-safe event sources.
|
|
70
|
-
- `py#mcp-server` - Add a [Model Context Protocol (MCP)](https://modelcontextprotocol.io/) server to a Python project.
|
|
71
|
-
- `py#strands-agent` Add a [Strands Agent](https://strandsagents.com/) to a Python project.
|
|
72
|
-
- `connection` - Connect projects together (e.g. frontend to backend APIs).
|
|
73
|
-
- `license` - Automatically manage LICENSE files and source code headers in your workspace.
|
|
64
|
+
</details>
|
|
74
65
|
|
|
75
|
-
|
|
66
|
+
<details>
|
|
67
|
+
<summary><strong>Claude Code</strong></summary>
|
|
76
68
|
|
|
77
|
-
|
|
69
|
+
```bash
|
|
70
|
+
claude mcp add nx-plugin-for-aws -- npx -y @aws/nx-plugin-mcp
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
</details>
|
|
74
|
+
|
|
75
|
+
<details>
|
|
76
|
+
<summary><strong>Cursor</strong></summary>
|
|
77
|
+
|
|
78
|
+
Add to `~/.cursor/mcp.json`:
|
|
79
|
+
|
|
80
|
+
```json
|
|
81
|
+
{
|
|
82
|
+
"mcpServers": {
|
|
83
|
+
"nx-plugin-for-aws": {
|
|
84
|
+
"command": "npx",
|
|
85
|
+
"args": ["-y", "@aws/nx-plugin-mcp"]
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
```
|
|
78
90
|
|
|
79
|
-
|
|
91
|
+
</details>
|
|
80
92
|
|
|
81
|
-
|
|
93
|
+
<details>
|
|
94
|
+
<summary><strong>Codex</strong></summary>
|
|
82
95
|
|
|
83
|
-
|
|
84
|
-
- [Add @aws/nx-plugin to your existing project](https://awslabs.github.io/nx-plugin-for-aws/en/get_started/tutorials/existing-project/)
|
|
96
|
+
Add to `~/.codex/config.toml`:
|
|
85
97
|
|
|
86
|
-
|
|
98
|
+
```toml
|
|
99
|
+
[mcp_servers.nx-plugin-for-aws]
|
|
100
|
+
command = "npx"
|
|
101
|
+
args = ["-y", "@aws/nx-plugin-mcp"]
|
|
102
|
+
```
|
|
87
103
|
|
|
88
|
-
|
|
104
|
+
</details>
|
|
89
105
|
|
|
90
|
-
|
|
91
|
-
|
|
106
|
+
<details>
|
|
107
|
+
<summary><strong>Other assistants</strong></summary>
|
|
92
108
|
|
|
93
|
-
|
|
109
|
+
Most MCP-compatible assistants use a JSON configuration file. Add the following entry:
|
|
94
110
|
|
|
95
111
|
```json
|
|
96
112
|
{
|
|
97
113
|
"mcpServers": {
|
|
98
|
-
"
|
|
114
|
+
"nx-plugin-for-aws": {
|
|
99
115
|
"command": "npx",
|
|
100
116
|
"args": ["-y", "@aws/nx-plugin-mcp"]
|
|
101
117
|
}
|
|
@@ -103,9 +119,65 @@ Example configuration for Amazon Q CLI MCP (`~/.aws/amazonq/mcp.json`):
|
|
|
103
119
|
}
|
|
104
120
|
```
|
|
105
121
|
|
|
106
|
-
|
|
122
|
+
</details>
|
|
123
|
+
|
|
124
|
+
Then just ask:
|
|
125
|
+
|
|
126
|
+
> _"Use the Nx Plugin for AWS to build a full-stack app with a React website, a tRPC API, Cognito auth, and CDK infrastructure."_
|
|
127
|
+
|
|
128
|
+
Your AI assistant will use the MCP tools to scaffold, connect, and configure everything. See the [Building with AI guide](https://awslabs.github.io/nx-plugin-for-aws/en/get_started/building-with-ai/) for more details.
|
|
129
|
+
|
|
130
|
+
### Build with the CLI
|
|
131
|
+
|
|
132
|
+
Create a workspace and start adding components — zero configuration required:
|
|
133
|
+
|
|
134
|
+
```bash
|
|
135
|
+
# Create a new workspace
|
|
136
|
+
pnpm create @aws/nx-workspace my-project
|
|
137
|
+
cd my-project
|
|
138
|
+
|
|
139
|
+
# Add a tRPC API
|
|
140
|
+
pnpm nx g @aws/nx-plugin:ts#trpc-api
|
|
141
|
+
|
|
142
|
+
# Add a Strands AI agent (Python)
|
|
143
|
+
pnpm nx g @aws/nx-plugin:py#strands-agent
|
|
144
|
+
|
|
145
|
+
# Add a React website
|
|
146
|
+
pnpm nx g @aws/nx-plugin:ts#react-website
|
|
147
|
+
|
|
148
|
+
# Add authentication to your website
|
|
149
|
+
pnpm nx g @aws/nx-plugin:ts#react-website#auth
|
|
150
|
+
|
|
151
|
+
# Connect your website to your API and agent
|
|
152
|
+
pnpm nx g @aws/nx-plugin:connection
|
|
153
|
+
|
|
154
|
+
# Add CDK infrastructure to deploy it all (or choose Terraform)
|
|
155
|
+
pnpm nx g @aws/nx-plugin:ts#infra
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
> See the full [Quick Start guide](https://awslabs.github.io/nx-plugin-for-aws/en/get_started/quick-start) and [Dungeon Adventure tutorial](https://awslabs.github.io/nx-plugin-for-aws/en/get_started/tutorials/dungeon-game/overview/) for a deeper walkthrough.
|
|
107
159
|
|
|
108
|
-
|
|
160
|
+
## Available Generators
|
|
161
|
+
|
|
162
|
+
| Generator | Description |
|
|
163
|
+
| ----------------------- | ----------------------------------------------------------------------------------------------------------------- |
|
|
164
|
+
| `ts#project` | TypeScript library |
|
|
165
|
+
| `ts#trpc-api` | tRPC API with API Gateway + Lambda + [Powertools](https://github.com/aws-powertools/powertools-lambda-typescript) |
|
|
166
|
+
| `ts#react-website` | React app (Vite) |
|
|
167
|
+
| `ts#react-website#auth` | Add Cognito auth to a React website |
|
|
168
|
+
| `ts#infra` | AWS CDK infrastructure project |
|
|
169
|
+
| `ts#lambda-function` | TypeScript Lambda with type-safe event sources |
|
|
170
|
+
| `ts#mcp-server` | MCP server (TypeScript) |
|
|
171
|
+
| `ts#strands-agent` | [Strands Agent](https://strandsagents.com/) (TypeScript) |
|
|
172
|
+
| `ts#nx-generator` | Nx generator scaffold |
|
|
173
|
+
| `py#project` | Python project (uv) |
|
|
174
|
+
| `py#fast-api` | FastAPI with API Gateway + Lambda + [Powertools](https://github.com/aws-powertools/powertools-lambda-python) |
|
|
175
|
+
| `py#lambda-function` | Python Lambda with type-safe event sources |
|
|
176
|
+
| `py#mcp-server` | MCP server (Python) |
|
|
177
|
+
| `py#strands-agent` | [Strands Agent](https://strandsagents.com/) (Python) |
|
|
178
|
+
| `connection` | Connect projects together (e.g. frontend to API) |
|
|
179
|
+
| `terraform#project` | Terraform project |
|
|
180
|
+
| `license` | Manage LICENSE files and source headers |
|
|
109
181
|
|
|
110
182
|
## Community
|
|
111
183
|
|
|
@@ -113,9 +185,7 @@ Join us on Slack in the [#nx-plugin-for-aws](https://cdk-dev.slack.com/archives/
|
|
|
113
185
|
|
|
114
186
|
## Contributing
|
|
115
187
|
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
Read our [Contributing Guide](/CONTRIBUTING.md) to learn about our development process, how to propose bugfixes and improvements, and how to build and test your changes to @aws/nx-plugin.
|
|
188
|
+
Read our [Contributing Guide](/CONTRIBUTING.md) to learn about our development process, how to propose bugfixes and improvements, and how to build and test your changes.
|
|
119
189
|
|
|
120
190
|
## Code of Conduct
|
|
121
191
|
|
package/package.json
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
exports[`react-website generator > TailwindCSS integration > should configure vite with TailwindCSS plugin by default > vite.config.mts-with-tailwind 1`] = `
|
|
4
4
|
"import tailwindcss from '@tailwindcss/vite';
|
|
5
|
-
import tsconfigPaths from 'vite-tsconfig-paths';
|
|
6
5
|
import { resolve } from 'path';
|
|
7
6
|
import { tanstackRouter } from '@tanstack/router-plugin/vite';
|
|
8
7
|
/// <reference types='vitest' />
|
|
@@ -27,7 +26,6 @@ export default defineConfig(() => ({
|
|
|
27
26
|
}),
|
|
28
27
|
react(),
|
|
29
28
|
tailwindcss(),
|
|
30
|
-
tsconfigPaths(),
|
|
31
29
|
],
|
|
32
30
|
// Uncomment this if you are using workers.
|
|
33
31
|
// worker: {
|
|
@@ -54,14 +52,14 @@ export default defineConfig(() => ({
|
|
|
54
52
|
},
|
|
55
53
|
passWithNoTests: true,
|
|
56
54
|
},
|
|
55
|
+
resolve: { tsconfigPaths: true },
|
|
57
56
|
define: { global: {} },
|
|
58
57
|
}));
|
|
59
58
|
"
|
|
60
59
|
`;
|
|
61
60
|
|
|
62
61
|
exports[`react-website generator > TailwindCSS integration > should configure vite without TailwindCSS plugin when disabled > vite.config.mts-without-tailwind 1`] = `
|
|
63
|
-
"import
|
|
64
|
-
import { resolve } from 'path';
|
|
62
|
+
"import { resolve } from 'path';
|
|
65
63
|
import { tanstackRouter } from '@tanstack/router-plugin/vite';
|
|
66
64
|
/// <reference types='vitest' />
|
|
67
65
|
import { defineConfig } from 'vite';
|
|
@@ -84,7 +82,6 @@ export default defineConfig(() => ({
|
|
|
84
82
|
generatedRouteTree: resolve(__dirname, 'src/routeTree.gen.ts'),
|
|
85
83
|
}),
|
|
86
84
|
react(),
|
|
87
|
-
tsconfigPaths(),
|
|
88
85
|
],
|
|
89
86
|
// Uncomment this if you are using workers.
|
|
90
87
|
// worker: {
|
|
@@ -111,6 +108,7 @@ export default defineConfig(() => ({
|
|
|
111
108
|
},
|
|
112
109
|
passWithNoTests: true,
|
|
113
110
|
},
|
|
111
|
+
resolve: { tsconfigPaths: true },
|
|
114
112
|
define: { global: {} },
|
|
115
113
|
}));
|
|
116
114
|
"
|
|
@@ -1102,7 +1100,6 @@ exports[`react-website generator > Tanstack router integration > should generate
|
|
|
1102
1100
|
"typescript": "~5.9.2",
|
|
1103
1101
|
"typescript-eslint": "^8.40.0",
|
|
1104
1102
|
"vite": "8.0.8",
|
|
1105
|
-
"vite-tsconfig-paths": "6.1.1",
|
|
1106
1103
|
"vitest": "4.1.4"
|
|
1107
1104
|
},
|
|
1108
1105
|
"type": "module"
|
|
@@ -2402,7 +2399,6 @@ exports[`react-website generator > Tanstack router integration > should generate
|
|
|
2402
2399
|
|
|
2403
2400
|
exports[`react-website generator > Tanstack router integration > should generate website with no router correctly > test-app/vite.config.mts 1`] = `
|
|
2404
2401
|
"import tailwindcss from '@tailwindcss/vite';
|
|
2405
|
-
import tsconfigPaths from 'vite-tsconfig-paths';
|
|
2406
2402
|
/// <reference types='vitest' />
|
|
2407
2403
|
import { defineConfig } from 'vite';
|
|
2408
2404
|
import react from '@vitejs/plugin-react';
|
|
@@ -2418,7 +2414,7 @@ export default defineConfig(() => ({
|
|
|
2418
2414
|
port: 4300,
|
|
2419
2415
|
host: 'localhost',
|
|
2420
2416
|
},
|
|
2421
|
-
plugins: [react(), tailwindcss()
|
|
2417
|
+
plugins: [react(), tailwindcss()],
|
|
2422
2418
|
// Uncomment this if you are using workers.
|
|
2423
2419
|
// worker: {
|
|
2424
2420
|
// plugins: [],
|
|
@@ -2444,6 +2440,7 @@ export default defineConfig(() => ({
|
|
|
2444
2440
|
},
|
|
2445
2441
|
passWithNoTests: true,
|
|
2446
2442
|
},
|
|
2443
|
+
resolve: { tsconfigPaths: true },
|
|
2447
2444
|
define: { global: {} },
|
|
2448
2445
|
}));
|
|
2449
2446
|
"
|
|
@@ -2699,7 +2696,6 @@ exports[`react-website generator > Tanstack router integration > should generate
|
|
|
2699
2696
|
"typescript": "~5.9.2",
|
|
2700
2697
|
"typescript-eslint": "^8.40.0",
|
|
2701
2698
|
"vite": "8.0.8",
|
|
2702
|
-
"vite-tsconfig-paths": "6.1.1",
|
|
2703
2699
|
"vitest": "4.1.4"
|
|
2704
2700
|
},
|
|
2705
2701
|
"type": "module"
|
|
@@ -4183,7 +4179,6 @@ exports[`react-website generator > Tanstack router integration > should generate
|
|
|
4183
4179
|
|
|
4184
4180
|
exports[`react-website generator > Tanstack router integration > should generate website with router correctly > test-app/vite.config.mts 1`] = `
|
|
4185
4181
|
"import tailwindcss from '@tailwindcss/vite';
|
|
4186
|
-
import tsconfigPaths from 'vite-tsconfig-paths';
|
|
4187
4182
|
import { resolve } from 'path';
|
|
4188
4183
|
import { tanstackRouter } from '@tanstack/router-plugin/vite';
|
|
4189
4184
|
/// <reference types='vitest' />
|
|
@@ -4208,7 +4203,6 @@ export default defineConfig(() => ({
|
|
|
4208
4203
|
}),
|
|
4209
4204
|
react(),
|
|
4210
4205
|
tailwindcss(),
|
|
4211
|
-
tsconfigPaths(),
|
|
4212
4206
|
],
|
|
4213
4207
|
// Uncomment this if you are using workers.
|
|
4214
4208
|
// worker: {
|
|
@@ -4235,6 +4229,7 @@ export default defineConfig(() => ({
|
|
|
4235
4229
|
},
|
|
4236
4230
|
passWithNoTests: true,
|
|
4237
4231
|
},
|
|
4232
|
+
resolve: { tsconfigPaths: true },
|
|
4238
4233
|
define: { global: {} },
|
|
4239
4234
|
}));
|
|
4240
4235
|
"
|
|
@@ -4297,7 +4292,6 @@ exports[`react-website generator > should configure TypeScript correctly > tscon
|
|
|
4297
4292
|
|
|
4298
4293
|
exports[`react-website generator > should configure vite correctly > vite.config.mts 1`] = `
|
|
4299
4294
|
"import tailwindcss from '@tailwindcss/vite';
|
|
4300
|
-
import tsconfigPaths from 'vite-tsconfig-paths';
|
|
4301
4295
|
import { resolve } from 'path';
|
|
4302
4296
|
import { tanstackRouter } from '@tanstack/router-plugin/vite';
|
|
4303
4297
|
/// <reference types='vitest' />
|
|
@@ -4322,7 +4316,6 @@ export default defineConfig(() => ({
|
|
|
4322
4316
|
}),
|
|
4323
4317
|
react(),
|
|
4324
4318
|
tailwindcss(),
|
|
4325
|
-
tsconfigPaths(),
|
|
4326
4319
|
],
|
|
4327
4320
|
// Uncomment this if you are using workers.
|
|
4328
4321
|
// worker: {
|
|
@@ -4349,6 +4342,7 @@ export default defineConfig(() => ({
|
|
|
4349
4342
|
},
|
|
4350
4343
|
passWithNoTests: true,
|
|
4351
4344
|
},
|
|
4345
|
+
resolve: { tsconfigPaths: true },
|
|
4352
4346
|
define: { global: {} },
|
|
4353
4347
|
}));
|
|
4354
4348
|
"
|
|
@@ -227,7 +227,6 @@ async function tsReactWebsiteGenerator(tree, schema) {
|
|
|
227
227
|
await (0, ast_1.addDestructuredImport)(tree, viteConfigPath, ['tanstackRouter'], '@tanstack/router-plugin/vite');
|
|
228
228
|
await (0, ast_1.addDestructuredImport)(tree, viteConfigPath, ['resolve'], 'path');
|
|
229
229
|
}
|
|
230
|
-
await (0, ast_1.addSingleImport)(tree, viteConfigPath, 'tsconfigPaths', 'vite-tsconfig-paths');
|
|
231
230
|
// Add TailwindCSS import if enabled
|
|
232
231
|
if (enableTailwind) {
|
|
233
232
|
await (0, ast_1.addSingleImport)(tree, viteConfigPath, 'tailwindcss', '@tailwindcss/vite');
|
|
@@ -243,7 +242,8 @@ async function tsReactWebsiteGenerator(tree, schema) {
|
|
|
243
242
|
if (enableTailwind) {
|
|
244
243
|
await (0, ast_1.applyGritQL)(tree, viteConfigPath, '`plugins: [$items]` => `plugins: [$items, tailwindcss()]` where { $items <: within `defineConfig($_)`, $items <: not some `tailwindcss()` }');
|
|
245
244
|
}
|
|
246
|
-
|
|
245
|
+
// Use Vite's native tsconfig paths resolution (replaces vite-tsconfig-paths)
|
|
246
|
+
await (0, ast_1.applyGritQL)(tree, viteConfigPath, 'or { `defineConfig(() => ({ $props }))` where { $props <: not some `resolve: $_`, $props += `resolve: { tsconfigPaths: true }` }, `defineConfig({ $props })` where { $props <: not some `resolve: $_`, $props += `resolve: { tsconfigPaths: true }` } }');
|
|
247
247
|
// Add define: { global: {} } to the config (handles both callback and direct forms)
|
|
248
248
|
await (0, ast_1.applyGritQL)(tree, viteConfigPath, 'or { `defineConfig(() => ({ $props }))` where { $props <: not contains `define`, $props += `define: { global: {} }` }, `defineConfig({ $props })` where { $props <: not contains `define`, $props += `define: { global: {} }` } }');
|
|
249
249
|
}
|
|
@@ -274,11 +274,7 @@ async function tsReactWebsiteGenerator(tree, schema) {
|
|
|
274
274
|
]
|
|
275
275
|
: tsconfig.references,
|
|
276
276
|
}));
|
|
277
|
-
const devDependencies = [
|
|
278
|
-
'vite-tsconfig-paths',
|
|
279
|
-
'@nx/react',
|
|
280
|
-
'@vitest/ui',
|
|
281
|
-
];
|
|
277
|
+
const devDependencies = ['@nx/react', '@vitest/ui'];
|
|
282
278
|
const dependencies = ['react', 'react-dom'];
|
|
283
279
|
if (uxProvider === 'Cloudscape') {
|
|
284
280
|
dependencies.push('@cloudscape-design/components', '@cloudscape-design/board-components', '@cloudscape-design/global-styles');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generator.js","sourceRoot":"","sources":["../../../../../../../packages/nx-plugin/src/ts/react-website/app/generator.ts"],"names":[],"mappings":";;;AAyDA,
|
|
1
|
+
{"version":3,"file":"generator.js","sourceRoot":"","sources":["../../../../../../../packages/nx-plugin/src/ts/react-website/app/generator.ts"],"names":[],"mappings":";;;AAyDA,0DAsbC;AA/eD;;;GAGG;AACH,uCAWoB;AAGpB,qCAAiD;AACjD,wEAA6E;AAC7E,wDAA2E;AAC3E,iEAAgE;AAChE,sDAAsE;AACtE,gDAA6D;AAC7D,4FAGoD;AACpD,gDAA2E;AAC3E,4CAI4B;AAC5B,kDAA6D;AAC7D,4DAA8E;AAC9E,+BAAqC;AACrC,kDAAuD;AACvD,0CAI2B;AAC3B,gEAAqE;AACrE,oDAAyE;AACzE,6FAAuF;AACvF,4CAAwD;AAE3C,QAAA,sBAAsB,GAAG,CAAC,MAAM,EAAE,YAAY,EAAE,QAAQ,CAAU,CAAC;AAMnE,QAAA,gCAAgC,GAC3C,IAAA,qBAAgB,EAAC,UAAU,CAAC,CAAC;AAExB,KAAK,UAAU,uBAAuB,CAC3C,IAAU,EACV,MAAqC;IAErC,MAAM,cAAc,GAAG,MAAM,CAAC,cAAc,IAAI,IAAI,CAAC;IACrD,MAAM,oBAAoB,GAAG,MAAM,CAAC,oBAAoB,IAAI,IAAI,CAAC;IACjE,MAAM,UAAU,GAAe,MAAM,CAAC,UAAU,IAAI,YAAY,CAAC;IACjE,IAAI,UAAU,KAAK,QAAQ,IAAI,CAAC,cAAc,EAAE,CAAC;QAC/C,MAAM,IAAI,KAAK,CAAC,4CAA4C,CAAC,CAAC;IAChE,CAAC;IACD,MAAM,cAAc,GAAG,IAAA,6BAAiB,EAAC,IAAI,CAAC,CAAC;IAC/C,MAAM,UAAU,GAAG,IAAA,wBAAY,EAAC,cAAc,CAAC,CAAC;IAChD,MAAM,oBAAoB,GAAG,IAAA,mBAAW,EAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IACtD,MAAM,oBAAoB,GAAG,IAA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AErE,MAAM,YAAY,GAAoB,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;IAE7D,IAAI,UAAU,KAAK,YAAY,EAAE,CAAC;QAChC,YAAY,CAAC,IAAI,CACf,+BAA+B,EAC/B,qCAAqC,EACrC,kCAAkC,CACnC,CAAC;IACJ,CAAC;SAAM,IAAI,UAAU,KAAK,QAAQ,EAAE,CAAC;QACnC,oGAAoG;IACtG,CAAC;IAED,0CAA0C;IAC1C,IAAI,cAAc,EAAE,CAAC;QACnB,YAAY,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;QACjC,eAAe,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC;IAC5C,CAAC;IACD,IAAI,oBAAoB,EAAE,CAAC;QACzB,YAAY,CAAC,IAAI,CAAC,wBAAwB,CAAC,CAAC;QAC5C,eAAe,CAAC,IAAI,CAClB,yBAAyB,EACzB,4BAA4B,EAC5B,+BAA+B,EAC/B,wBAAwB,CACzB,CAAC;IACJ,CAAC;IAED,IAAA,qCAA4B,EAC1B,IAAI,EACJ,IAAA,uBAAY,EAAC,YAAY,CAAC,EAC1B,IAAA,uBAAY,EAAC,eAAe,CAAC,CAC9B,CAAC;IAEF,MAAM,IAAA,yCAA+B,EAAC,IAAI,EAAE;QAC1C,wCAAgC;KACjC,CAAC,CAAC;IAEH,MAAM,IAAA,6BAAoB,EAAC,IAAI,CAAC,CAAC;IACjC,OAAO,GAAG,EAAE;QACV,IAAI,CAAC,MAAM,CAAC,WAAW,EAAE,CAAC;YACxB,IAAA,4BAAmB,EAAC,IAAI,CAAC,CAAC;QAC5B,CAAC;IACH,CAAC,CAAC;AACJ,CAAC;AACD,kBAAe,uBAAuB,CAAC"}
|
package/src/utils/versions.d.ts
CHANGED
|
@@ -89,7 +89,6 @@ export declare const TS_VERSIONS: {
|
|
|
89
89
|
readonly vite: "8.0.8";
|
|
90
90
|
readonly typescript: "6.0.2";
|
|
91
91
|
readonly vitest: "4.1.4";
|
|
92
|
-
readonly 'vite-tsconfig-paths': "6.1.1";
|
|
93
92
|
readonly zod: "4.3.6";
|
|
94
93
|
readonly ws: "8.20.0";
|
|
95
94
|
};
|
|
@@ -98,7 +97,7 @@ export type ITsDepVersion = keyof typeof TS_VERSIONS;
|
|
|
98
97
|
* Add versions to the given dependencies
|
|
99
98
|
*/
|
|
100
99
|
export declare const withVersions: (deps: ITsDepVersion[]) => {
|
|
101
|
-
[k: string]: "22.6.5" | "3.8.2" | "1.29.0" | "22.1.1" | "6.0.2" | "8.0.8" | "4.1.4" | "4.3.6" | "0.10.0" | "3.1029.0" | "1.0.0-alpha.10" | "2.32.0" | "7.2.1" | "10.2.1" | "0.19.0" | "0.7.0" | "1.168.17" | "1.167.16" | "1.166.28" | "1.161.7" | "1.161.6" | "3.0.166" | "3.0.1272" | "1.0.57" | "5.99.0" | "11.16.0" | "25.6.0" | "8.10.161" | "2.8.19" | "8.18.1" | "5.0.6" | "4.14.0" | "1.0.20" | "2.1118.0" | "2.248.0" | "2.248.0-alpha.0" | "3.12.0" | "10.6.0" | "2.8.6" | "0.7.1" | "2.1.1" | "3.7.5" | "0.28.0" | "1.0.31" | "1.0.5" | "8.58.1" | "5.5.5" | "5.2.1" | "3.1.0" | "4.0.0" | "2.0.0" | "19.6.6" | "3.5.0" | "3.3.1" | "19.2.5" | "6.1.3" | "1.0.0-rc.15" | "0.5.21" | "4.2.2" | "4.21.0" | "1.8.0" | "1.4.3" | "4.2.0" | "1.4.0" | "
|
|
100
|
+
[k: string]: "22.6.5" | "3.8.2" | "1.29.0" | "22.1.1" | "6.0.2" | "8.0.8" | "4.1.4" | "4.3.6" | "0.10.0" | "3.1029.0" | "1.0.0-alpha.10" | "2.32.0" | "7.2.1" | "10.2.1" | "0.19.0" | "0.7.0" | "1.168.17" | "1.167.16" | "1.166.28" | "1.161.7" | "1.161.6" | "3.0.166" | "3.0.1272" | "1.0.57" | "5.99.0" | "11.16.0" | "25.6.0" | "8.10.161" | "2.8.19" | "8.18.1" | "5.0.6" | "4.14.0" | "1.0.20" | "2.1118.0" | "2.248.0" | "2.248.0-alpha.0" | "3.12.0" | "10.6.0" | "2.8.6" | "0.7.1" | "2.1.1" | "3.7.5" | "0.28.0" | "1.0.31" | "1.0.5" | "8.58.1" | "5.5.5" | "5.2.1" | "3.1.0" | "4.0.0" | "2.0.0" | "19.6.6" | "3.5.0" | "3.3.1" | "19.2.5" | "6.1.3" | "1.0.0-rc.15" | "0.5.21" | "4.2.2" | "4.21.0" | "1.8.0" | "1.4.3" | "4.2.0" | "1.4.0" | "8.20.0";
|
|
102
101
|
};
|
|
103
102
|
/**
|
|
104
103
|
* Versions for Python dependencies added by generators
|
package/src/utils/versions.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"versions.js","sourceRoot":"","sources":["../../../../../packages/nx-plugin/src/utils/versions.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH;;GAEG;AACU,QAAA,WAAW,GAAG;IACzB,wDAAwD,EAAE,QAAQ;IAClE,0BAA0B,EAAE,UAAU;IACtC,qBAAqB,EAAE,UAAU;IACjC,+BAA+B,EAAE,UAAU;IAC3C,+BAA+B,EAAE,gBAAgB;IACjD,yBAAyB,EAAE,gBAAgB;IAC3C,+BAA+B,EAAE,QAAQ;IACzC,gCAAgC,EAAE,QAAQ;IAC1C,mCAAmC,EAAE,QAAQ;IAC7C,+BAA+B,EAAE,QAAQ;IACzC,+BAA+B,EAAE,QAAQ;IACzC,+BAA+B,EAAE,UAAU;IAC3C,aAAa,EAAE,OAAO;IACtB,cAAc,EAAE,QAAQ;IACxB,sBAAsB,EAAE,QAAQ;IAChC,YAAY,EAAE,QAAQ;IACtB,WAAW,EAAE,QAAQ;IACrB,qBAAqB,EAAE,QAAQ;IAC/B,2BAA2B,EAAE,QAAQ;IACrC,iCAAiC,EAAE,QAAQ;IAC3C,qBAAqB,EAAE,OAAO;IAC9B,wBAAwB,EAAE,UAAU;IACpC,yBAAyB,EAAE,UAAU;IACrC,4BAA4B,E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