@aws/nx-plugin 0.48.0 → 0.48.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/LICENSE-THIRD-PARTY +43140 -0
- package/generators.json +119 -119
- package/package.json +1 -1
- package/src/preset/__snapshots__/generator.spec.ts.snap +15 -15
package/generators.json
CHANGED
|
@@ -3,82 +3,6 @@
|
|
|
3
3
|
"name": "@aws/nx-plugin",
|
|
4
4
|
"version": "0.0.1",
|
|
5
5
|
"generators": {
|
|
6
|
-
"ts#project": {
|
|
7
|
-
"factory": "./src/ts/lib/generator",
|
|
8
|
-
"schema": "./src/ts/lib/schema.json",
|
|
9
|
-
"description": "Generates a TypeScript project",
|
|
10
|
-
"metric": "g1",
|
|
11
|
-
"guidePages": ["typescript-project"]
|
|
12
|
-
},
|
|
13
|
-
"py#project": {
|
|
14
|
-
"factory": "./src/py/project/generator",
|
|
15
|
-
"schema": "./src/py/project/schema.json",
|
|
16
|
-
"description": "Generates a Python project",
|
|
17
|
-
"metric": "g2",
|
|
18
|
-
"guidePages": ["python-project"]
|
|
19
|
-
},
|
|
20
|
-
"py#fast-api": {
|
|
21
|
-
"factory": "./src/py/fast-api/generator",
|
|
22
|
-
"schema": "./src/py/fast-api/schema.json",
|
|
23
|
-
"description": "Generates a FastAPI Python project",
|
|
24
|
-
"metric": "g3",
|
|
25
|
-
"guidePages": ["fastapi"]
|
|
26
|
-
},
|
|
27
|
-
"py#fast-api#react-connection": {
|
|
28
|
-
"factory": "./src/py/fast-api/react/generator",
|
|
29
|
-
"schema": "./src/py/fast-api/react/schema.json",
|
|
30
|
-
"description": "Integrates a FastAPI with a React website",
|
|
31
|
-
"metric": "g4",
|
|
32
|
-
"hidden": true
|
|
33
|
-
},
|
|
34
|
-
"ts#react-website": {
|
|
35
|
-
"factory": "./src/ts/react-website/app/generator",
|
|
36
|
-
"schema": "./src/ts/react-website/app/schema.json",
|
|
37
|
-
"description": "Generates a React static website",
|
|
38
|
-
"metric": "g5",
|
|
39
|
-
"guidePages": ["react-website"]
|
|
40
|
-
},
|
|
41
|
-
"ts#react-website#auth": {
|
|
42
|
-
"factory": "./src/ts/react-website/cognito-auth/generator",
|
|
43
|
-
"schema": "./src/ts/react-website/cognito-auth/schema.json",
|
|
44
|
-
"description": "Adds auth to an existing React website",
|
|
45
|
-
"metric": "g6",
|
|
46
|
-
"guidePages": ["react-website-auth"]
|
|
47
|
-
},
|
|
48
|
-
"ts#react-website#runtime-config": {
|
|
49
|
-
"factory": "./src/ts/react-website/runtime-config/generator",
|
|
50
|
-
"schema": "./src/ts/react-website/runtime-config/schema.json",
|
|
51
|
-
"description": "Adds runtime config to an existing React website",
|
|
52
|
-
"metric": "g7",
|
|
53
|
-
"hidden": true
|
|
54
|
-
},
|
|
55
|
-
"ts#infra": {
|
|
56
|
-
"factory": "./src/infra/app/generator",
|
|
57
|
-
"schema": "./src/infra/app/schema.json",
|
|
58
|
-
"description": "Generates a cdk application",
|
|
59
|
-
"metric": "g8",
|
|
60
|
-
"guidePages": ["typescript-infrastructure"]
|
|
61
|
-
},
|
|
62
|
-
"ts#lambda-function": {
|
|
63
|
-
"factory": "./src/ts/lambda-function/generator",
|
|
64
|
-
"schema": "./src/ts/lambda-function/schema.json",
|
|
65
|
-
"description": "Generate a TypeScript lambda function",
|
|
66
|
-
"metric": "g21"
|
|
67
|
-
},
|
|
68
|
-
"ts#trpc-api": {
|
|
69
|
-
"factory": "./src/trpc/backend/generator",
|
|
70
|
-
"schema": "./src/trpc/backend/schema.json",
|
|
71
|
-
"description": "creates a trpc backend",
|
|
72
|
-
"metric": "g9",
|
|
73
|
-
"guidePages": ["trpc"]
|
|
74
|
-
},
|
|
75
|
-
"ts#trpc-api#react-connection": {
|
|
76
|
-
"factory": "./src/trpc/react/generator",
|
|
77
|
-
"schema": "./src/trpc/react/schema.json",
|
|
78
|
-
"description": "provides React integration to a React website",
|
|
79
|
-
"metric": "g10",
|
|
80
|
-
"hidden": true
|
|
81
|
-
},
|
|
82
6
|
"api-connection": {
|
|
83
7
|
"factory": "./src/api-connection/generator",
|
|
84
8
|
"schema": "./src/api-connection/schema.json",
|
|
@@ -90,20 +14,6 @@
|
|
|
90
14
|
"api-connection/react-trpc"
|
|
91
15
|
]
|
|
92
16
|
},
|
|
93
|
-
"open-api#ts-client": {
|
|
94
|
-
"factory": "./src/open-api/ts-client/generator",
|
|
95
|
-
"schema": "./src/open-api/ts-client/schema.json",
|
|
96
|
-
"description": "Generate a typescript client from an OpenAPI specification",
|
|
97
|
-
"metric": "g12",
|
|
98
|
-
"hidden": true
|
|
99
|
-
},
|
|
100
|
-
"open-api#ts-hooks": {
|
|
101
|
-
"factory": "./src/open-api/ts-hooks/generator",
|
|
102
|
-
"schema": "./src/open-api/ts-hooks/schema.json",
|
|
103
|
-
"description": "Generate typescript hooks from an OpenAPI specification",
|
|
104
|
-
"metric": "g13",
|
|
105
|
-
"hidden": true
|
|
106
|
-
},
|
|
107
17
|
"license": {
|
|
108
18
|
"factory": "./src/license/generator",
|
|
109
19
|
"schema": "./src/license/schema.json",
|
|
@@ -117,25 +27,19 @@
|
|
|
117
27
|
"metric": "g15",
|
|
118
28
|
"hidden": true
|
|
119
29
|
},
|
|
120
|
-
"
|
|
121
|
-
"factory": "./src/
|
|
122
|
-
"schema": "./src/
|
|
123
|
-
"description": "
|
|
124
|
-
"metric": "
|
|
125
|
-
"
|
|
126
|
-
},
|
|
127
|
-
"ts#nx-generator": {
|
|
128
|
-
"factory": "./src/ts/nx-generator/generator",
|
|
129
|
-
"schema": "./src/ts/nx-generator/schema.json",
|
|
130
|
-
"description": "Generator for adding an Nx Generator to an existing TypeScript project",
|
|
131
|
-
"metric": "g17",
|
|
132
|
-
"guidePages": ["nx-generator"]
|
|
30
|
+
"open-api#ts-client": {
|
|
31
|
+
"factory": "./src/open-api/ts-client/generator",
|
|
32
|
+
"schema": "./src/open-api/ts-client/schema.json",
|
|
33
|
+
"description": "Generate a typescript client from an OpenAPI specification",
|
|
34
|
+
"metric": "g12",
|
|
35
|
+
"hidden": true
|
|
133
36
|
},
|
|
134
|
-
"ts
|
|
135
|
-
"factory": "./src/ts
|
|
136
|
-
"schema": "./src/ts
|
|
137
|
-
"description": "Generate
|
|
138
|
-
"metric": "
|
|
37
|
+
"open-api#ts-hooks": {
|
|
38
|
+
"factory": "./src/open-api/ts-hooks/generator",
|
|
39
|
+
"schema": "./src/open-api/ts-hooks/schema.json",
|
|
40
|
+
"description": "Generate typescript hooks from an OpenAPI specification",
|
|
41
|
+
"metric": "g13",
|
|
42
|
+
"hidden": true
|
|
139
43
|
},
|
|
140
44
|
"open-api#ts-metadata": {
|
|
141
45
|
"factory": "./src/open-api/ts-metadata/generator",
|
|
@@ -151,18 +55,26 @@
|
|
|
151
55
|
"metric": "g20",
|
|
152
56
|
"hidden": true
|
|
153
57
|
},
|
|
154
|
-
"
|
|
155
|
-
"factory": "./src/
|
|
156
|
-
"schema": "./src/
|
|
157
|
-
"description": "
|
|
158
|
-
"metric": "
|
|
58
|
+
"py#fast-api": {
|
|
59
|
+
"factory": "./src/py/fast-api/generator",
|
|
60
|
+
"schema": "./src/py/fast-api/schema.json",
|
|
61
|
+
"description": "Generates a FastAPI Python project",
|
|
62
|
+
"metric": "g3",
|
|
63
|
+
"guidePages": ["fastapi"]
|
|
159
64
|
},
|
|
160
|
-
"
|
|
161
|
-
"factory": "./src/
|
|
162
|
-
"schema": "./src/
|
|
163
|
-
"description": "
|
|
164
|
-
"metric": "
|
|
165
|
-
"
|
|
65
|
+
"py#fast-api#react-connection": {
|
|
66
|
+
"factory": "./src/py/fast-api/react/generator",
|
|
67
|
+
"schema": "./src/py/fast-api/react/schema.json",
|
|
68
|
+
"description": "Integrates a FastAPI with a React website",
|
|
69
|
+
"metric": "g4",
|
|
70
|
+
"hidden": true
|
|
71
|
+
},
|
|
72
|
+
"py#lambda-function": {
|
|
73
|
+
"factory": "./src/py/lambda-function/generator",
|
|
74
|
+
"schema": "./src/py/lambda-function/schema.json",
|
|
75
|
+
"description": "Adds a lambda function to a python project",
|
|
76
|
+
"metric": "g16",
|
|
77
|
+
"guidePages": ["python-lambda-function"]
|
|
166
78
|
},
|
|
167
79
|
"py#mcp-server": {
|
|
168
80
|
"factory": "./src/py/mcp-server/generator",
|
|
@@ -170,11 +82,99 @@
|
|
|
170
82
|
"description": "Generate a Python Model Context Protocol (MCP) server for providing context to Large Language Models",
|
|
171
83
|
"metric": "g24"
|
|
172
84
|
},
|
|
85
|
+
"py#project": {
|
|
86
|
+
"factory": "./src/py/project/generator",
|
|
87
|
+
"schema": "./src/py/project/schema.json",
|
|
88
|
+
"description": "Generates a Python project",
|
|
89
|
+
"metric": "g2",
|
|
90
|
+
"guidePages": ["python-project"]
|
|
91
|
+
},
|
|
173
92
|
"py#strands-agent": {
|
|
174
93
|
"factory": "./src/py/strands-agent/generator",
|
|
175
94
|
"schema": "./src/py/strands-agent/schema.json",
|
|
176
95
|
"description": "Add a Strands Agent to a Python project",
|
|
177
96
|
"metric": "g25"
|
|
97
|
+
},
|
|
98
|
+
"terraform#project": {
|
|
99
|
+
"factory": "./src/terraform/project/generator",
|
|
100
|
+
"schema": "./src/terraform/project/schema.json",
|
|
101
|
+
"description": "Generates a Terraform project",
|
|
102
|
+
"metric": "g23",
|
|
103
|
+
"guidePages": ["terraform-project"]
|
|
104
|
+
},
|
|
105
|
+
"ts#infra": {
|
|
106
|
+
"factory": "./src/infra/app/generator",
|
|
107
|
+
"schema": "./src/infra/app/schema.json",
|
|
108
|
+
"description": "Generates a cdk application",
|
|
109
|
+
"metric": "g8",
|
|
110
|
+
"guidePages": ["typescript-infrastructure"]
|
|
111
|
+
},
|
|
112
|
+
"ts#lambda-function": {
|
|
113
|
+
"factory": "./src/ts/lambda-function/generator",
|
|
114
|
+
"schema": "./src/ts/lambda-function/schema.json",
|
|
115
|
+
"description": "Generate a TypeScript lambda function",
|
|
116
|
+
"metric": "g21"
|
|
117
|
+
},
|
|
118
|
+
"ts#mcp-server": {
|
|
119
|
+
"factory": "./src/ts/mcp-server/generator",
|
|
120
|
+
"schema": "./src/ts/mcp-server/schema.json",
|
|
121
|
+
"description": "Generate a TypeScript Model Context Protocol (MCP) server for providing context to Large Language Models",
|
|
122
|
+
"metric": "g18"
|
|
123
|
+
},
|
|
124
|
+
"ts#nx-generator": {
|
|
125
|
+
"factory": "./src/ts/nx-generator/generator",
|
|
126
|
+
"schema": "./src/ts/nx-generator/schema.json",
|
|
127
|
+
"description": "Generator for adding an Nx Generator to an existing TypeScript project",
|
|
128
|
+
"metric": "g17",
|
|
129
|
+
"guidePages": ["nx-generator"]
|
|
130
|
+
},
|
|
131
|
+
"ts#nx-plugin": {
|
|
132
|
+
"factory": "./src/ts/nx-plugin/generator",
|
|
133
|
+
"schema": "./src/ts/nx-plugin/schema.json",
|
|
134
|
+
"description": "Generate an Nx Plugin of your own! Build custom generators automatically made available for AI vibe-coding via MCP",
|
|
135
|
+
"metric": "g22"
|
|
136
|
+
},
|
|
137
|
+
"ts#project": {
|
|
138
|
+
"factory": "./src/ts/lib/generator",
|
|
139
|
+
"schema": "./src/ts/lib/schema.json",
|
|
140
|
+
"description": "Generates a TypeScript project",
|
|
141
|
+
"metric": "g1",
|
|
142
|
+
"guidePages": ["typescript-project"]
|
|
143
|
+
},
|
|
144
|
+
"ts#react-website": {
|
|
145
|
+
"factory": "./src/ts/react-website/app/generator",
|
|
146
|
+
"schema": "./src/ts/react-website/app/schema.json",
|
|
147
|
+
"description": "Generates a React static website",
|
|
148
|
+
"metric": "g5",
|
|
149
|
+
"guidePages": ["react-website"]
|
|
150
|
+
},
|
|
151
|
+
"ts#react-website#auth": {
|
|
152
|
+
"factory": "./src/ts/react-website/cognito-auth/generator",
|
|
153
|
+
"schema": "./src/ts/react-website/cognito-auth/schema.json",
|
|
154
|
+
"description": "Adds auth to an existing React website",
|
|
155
|
+
"metric": "g6",
|
|
156
|
+
"guidePages": ["react-website-auth"]
|
|
157
|
+
},
|
|
158
|
+
"ts#react-website#runtime-config": {
|
|
159
|
+
"factory": "./src/ts/react-website/runtime-config/generator",
|
|
160
|
+
"schema": "./src/ts/react-website/runtime-config/schema.json",
|
|
161
|
+
"description": "Adds runtime config to an existing React website",
|
|
162
|
+
"metric": "g7",
|
|
163
|
+
"hidden": true
|
|
164
|
+
},
|
|
165
|
+
"ts#trpc-api": {
|
|
166
|
+
"factory": "./src/trpc/backend/generator",
|
|
167
|
+
"schema": "./src/trpc/backend/schema.json",
|
|
168
|
+
"description": "creates a trpc backend",
|
|
169
|
+
"metric": "g9",
|
|
170
|
+
"guidePages": ["trpc"]
|
|
171
|
+
},
|
|
172
|
+
"ts#trpc-api#react-connection": {
|
|
173
|
+
"factory": "./src/trpc/react/generator",
|
|
174
|
+
"schema": "./src/trpc/react/schema.json",
|
|
175
|
+
"description": "provides React integration to a React website",
|
|
176
|
+
"metric": "g10",
|
|
177
|
+
"hidden": true
|
|
178
178
|
}
|
|
179
179
|
}
|
|
180
180
|
}
|
package/package.json
CHANGED
|
@@ -30,39 +30,39 @@ Nx Console is an editor extension that enriches your developer experience. It le
|
|
|
30
30
|
|
|
31
31
|
The following list of generators are what is currently available in the \`@aws/nx-plugin\`:
|
|
32
32
|
|
|
33
|
-
- **
|
|
33
|
+
- **api-connection**: Integrates a source project with a target API project
|
|
34
34
|
|
|
35
|
-
- **
|
|
35
|
+
- **license**: Add LICENSE files and configure source code licence headers
|
|
36
36
|
|
|
37
37
|
- **py#fast-api**: Generates a FastAPI Python project
|
|
38
38
|
|
|
39
|
-
- **
|
|
39
|
+
- **py#lambda-function**: Adds a lambda function to a python project
|
|
40
40
|
|
|
41
|
-
- **
|
|
41
|
+
- **py#mcp-server**: Generate a Python Model Context Protocol (MCP) server for providing context to Large Language Models
|
|
42
42
|
|
|
43
|
-
- **
|
|
43
|
+
- **py#project**: Generates a Python project
|
|
44
44
|
|
|
45
|
-
- **
|
|
45
|
+
- **py#strands-agent**: Add a Strands Agent to a Python project
|
|
46
46
|
|
|
47
|
-
- **
|
|
47
|
+
- **terraform#project**: Generates a Terraform project
|
|
48
48
|
|
|
49
|
-
- **
|
|
49
|
+
- **ts#infra**: Generates a cdk application
|
|
50
50
|
|
|
51
|
-
- **
|
|
51
|
+
- **ts#lambda-function**: Generate a TypeScript lambda function
|
|
52
52
|
|
|
53
|
-
- **
|
|
53
|
+
- **ts#mcp-server**: Generate a TypeScript Model Context Protocol (MCP) server for providing context to Large Language Models
|
|
54
54
|
|
|
55
55
|
- **ts#nx-generator**: Generator for adding an Nx Generator to an existing TypeScript project
|
|
56
56
|
|
|
57
|
-
- **ts#mcp-server**: Generate a TypeScript Model Context Protocol (MCP) server for providing context to Large Language Models
|
|
58
|
-
|
|
59
57
|
- **ts#nx-plugin**: Generate an Nx Plugin of your own! Build custom generators automatically made available for AI vibe-coding via MCP
|
|
60
58
|
|
|
61
|
-
- **
|
|
59
|
+
- **ts#project**: Generates a TypeScript project
|
|
62
60
|
|
|
63
|
-
- **
|
|
61
|
+
- **ts#react-website**: Generates a React static website
|
|
64
62
|
|
|
65
|
-
- **
|
|
63
|
+
- **ts#react-website#auth**: Adds auth to an existing React website
|
|
64
|
+
|
|
65
|
+
- **ts#trpc-api**: creates a trpc backend
|
|
66
66
|
|
|
67
67
|
You also have the option of using additional [commmunity plugins](https://nx.dev/plugin-registry) as needed.
|
|
68
68
|
|