@aws/nx-plugin 0.48.0 → 0.49.0
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 +43765 -0
- package/generators.json +119 -119
- package/package.json +12 -12
- package/src/open-api/ts-hooks/__snapshots__/generator.spec.tsx.snap +0 -12
- package/src/open-api/ts-hooks/files/options-proxy.gen.ts.template +1 -1
- package/src/preset/__snapshots__/generator.spec.ts.snap +15 -15
- package/src/utils/versions.d.ts +3 -3
- package/src/utils/versions.js +2 -2
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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws/nx-plugin",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.49.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/awslabs/nx-plugin-for-aws.git",
|
|
@@ -19,14 +19,14 @@
|
|
|
19
19
|
},
|
|
20
20
|
"generators": "./generators.json",
|
|
21
21
|
"peerDependencies": {
|
|
22
|
-
"
|
|
23
|
-
"
|
|
22
|
+
"nx": "~21.4.1",
|
|
23
|
+
"prettier": "^3.4.2"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@apidevtools/swagger-parser": "^10.1.1",
|
|
27
27
|
"@hey-api/openapi-ts": "0.64.13",
|
|
28
28
|
"@iarna/toml": "^2.2.5",
|
|
29
|
-
"@modelcontextprotocol/sdk": "^1.
|
|
29
|
+
"@modelcontextprotocol/sdk": "^1.18.0",
|
|
30
30
|
"@nx/devkit": "~21.4.1",
|
|
31
31
|
"@nx/eslint": "~21.4.1",
|
|
32
32
|
"@nx/js": "~21.4.1",
|
|
@@ -37,19 +37,19 @@
|
|
|
37
37
|
"enquirer": "^2.4.1",
|
|
38
38
|
"fast-glob": "^3.3.3",
|
|
39
39
|
"lodash.camelcase": "^4.3.0",
|
|
40
|
+
"lodash.clonedeepwith": "^4.5.0",
|
|
40
41
|
"lodash.deburr": "^4.1.0",
|
|
41
|
-
"lodash.trim": "^4.5.1",
|
|
42
42
|
"lodash.orderby": "^4.6.0",
|
|
43
|
-
"lodash.
|
|
43
|
+
"lodash.trim": "^4.5.1",
|
|
44
44
|
"lodash.uniqby": "^4.7.0",
|
|
45
|
-
"minimatch": "^10.0.
|
|
45
|
+
"minimatch": "^10.0.3",
|
|
46
46
|
"openapi-types": "^12.1.3",
|
|
47
47
|
"pip-requirements-js": "^0.2.1",
|
|
48
|
-
"typescript": "~5.8.
|
|
49
|
-
"vite": "^6.
|
|
50
|
-
"vitest": "^3.
|
|
51
|
-
"zod": "^4.
|
|
52
|
-
"zod-v3": "npm:zod@^3"
|
|
48
|
+
"typescript": "~5.8.3",
|
|
49
|
+
"vite": "^6.3.6",
|
|
50
|
+
"vitest": "^3.2.4",
|
|
51
|
+
"zod": "^4.1.8",
|
|
52
|
+
"zod-v3": "npm:zod@^3.25.76"
|
|
53
53
|
},
|
|
54
54
|
"types": "./src/index.d.ts"
|
|
55
55
|
}
|
|
@@ -185,7 +185,6 @@ export class TestApiOptionsProxy {
|
|
|
185
185
|
GetItems200Response,
|
|
186
186
|
GetItemsError,
|
|
187
187
|
InfiniteData<GetItems200Response>,
|
|
188
|
-
GetItems200Response,
|
|
189
188
|
unknown[],
|
|
190
189
|
string | undefined | null
|
|
191
190
|
>,
|
|
@@ -197,7 +196,6 @@ export class TestApiOptionsProxy {
|
|
|
197
196
|
GetItems200Response,
|
|
198
197
|
GetItemsError,
|
|
199
198
|
InfiniteData<GetItems200Response>,
|
|
200
|
-
GetItems200Response,
|
|
201
199
|
unknown[],
|
|
202
200
|
string | undefined | null
|
|
203
201
|
>,
|
|
@@ -208,7 +206,6 @@ export class TestApiOptionsProxy {
|
|
|
208
206
|
GetItems200Response,
|
|
209
207
|
GetItemsError,
|
|
210
208
|
InfiniteData<GetItems200Response>,
|
|
211
|
-
GetItems200Response,
|
|
212
209
|
unknown[],
|
|
213
210
|
string | undefined | null
|
|
214
211
|
> {
|
|
@@ -424,7 +421,6 @@ export class TestApiOptionsProxy {
|
|
|
424
421
|
GetItems200Response,
|
|
425
422
|
GetItemsError,
|
|
426
423
|
InfiniteData<GetItems200Response>,
|
|
427
|
-
GetItems200Response,
|
|
428
424
|
unknown[],
|
|
429
425
|
string | undefined | null
|
|
430
426
|
>,
|
|
@@ -436,7 +432,6 @@ export class TestApiOptionsProxy {
|
|
|
436
432
|
GetItems200Response,
|
|
437
433
|
GetItemsError,
|
|
438
434
|
InfiniteData<GetItems200Response>,
|
|
439
|
-
GetItems200Response,
|
|
440
435
|
unknown[],
|
|
441
436
|
string | undefined | null
|
|
442
437
|
>,
|
|
@@ -447,7 +442,6 @@ export class TestApiOptionsProxy {
|
|
|
447
442
|
GetItems200Response,
|
|
448
443
|
GetItemsError,
|
|
449
444
|
InfiniteData<GetItems200Response>,
|
|
450
|
-
GetItems200Response,
|
|
451
445
|
unknown[],
|
|
452
446
|
string | undefined | null
|
|
453
447
|
> {
|
|
@@ -541,7 +535,6 @@ export class TestApiOptionsProxy {
|
|
|
541
535
|
ListRecords200Response,
|
|
542
536
|
ListRecordsError,
|
|
543
537
|
InfiniteData<ListRecords200Response>,
|
|
544
|
-
ListRecords200Response,
|
|
545
538
|
unknown[],
|
|
546
539
|
string | undefined | null
|
|
547
540
|
>,
|
|
@@ -553,7 +546,6 @@ export class TestApiOptionsProxy {
|
|
|
553
546
|
ListRecords200Response,
|
|
554
547
|
ListRecordsError,
|
|
555
548
|
InfiniteData<ListRecords200Response>,
|
|
556
|
-
ListRecords200Response,
|
|
557
549
|
unknown[],
|
|
558
550
|
string | undefined | null
|
|
559
551
|
>,
|
|
@@ -564,7 +556,6 @@ export class TestApiOptionsProxy {
|
|
|
564
556
|
ListRecords200Response,
|
|
565
557
|
ListRecordsError,
|
|
566
558
|
InfiniteData<ListRecords200Response>,
|
|
567
|
-
ListRecords200Response,
|
|
568
559
|
unknown[],
|
|
569
560
|
string | undefined | null
|
|
570
561
|
> {
|
|
@@ -819,7 +810,6 @@ export class TestApiOptionsProxy {
|
|
|
819
810
|
StreamLogs200Response[],
|
|
820
811
|
StreamLogsError,
|
|
821
812
|
InfiniteData<StreamLogs200Response[]>,
|
|
822
|
-
StreamLogs200Response[],
|
|
823
813
|
unknown[],
|
|
824
814
|
string | undefined | null
|
|
825
815
|
>,
|
|
@@ -831,7 +821,6 @@ export class TestApiOptionsProxy {
|
|
|
831
821
|
StreamLogs200Response[],
|
|
832
822
|
StreamLogsError,
|
|
833
823
|
InfiniteData<StreamLogs200Response[]>,
|
|
834
|
-
StreamLogs200Response[],
|
|
835
824
|
unknown[],
|
|
836
825
|
string | undefined | null
|
|
837
826
|
>,
|
|
@@ -842,7 +831,6 @@ export class TestApiOptionsProxy {
|
|
|
842
831
|
StreamLogs200Response[],
|
|
843
832
|
StreamLogsError,
|
|
844
833
|
InfiniteData<StreamLogs200Response[]>,
|
|
845
|
-
StreamLogs200Response[],
|
|
846
834
|
unknown[],
|
|
847
835
|
string | undefined | null
|
|
848
836
|
> {
|
|
@@ -142,7 +142,7 @@ export class <%- className %>OptionsProxy {
|
|
|
142
142
|
<%_ } _%>
|
|
143
143
|
<%_ if (op.isInfiniteQuery) { _%>
|
|
144
144
|
<%_ const cursorType = `${op.infiniteQueryCursorProperty.typescriptType}${op.infiniteQueryCursorProperty.isRequired ? '' : ' | undefined'}${op.infiniteQueryCursorProperty.isNullable && op.infiniteQueryCursorProperty.type !== 'null' ? '' : ' | null'}`; _%>
|
|
145
|
-
<%_ const infiniteQueryOptionsType = `UseInfiniteQueryOptions<${queryResultType}, ${errorType}, InfiniteData<${queryResultType}>,
|
|
145
|
+
<%_ const infiniteQueryOptionsType = `UseInfiniteQueryOptions<${queryResultType}, ${errorType}, InfiniteData<${queryResultType}>, unknown[], ${cursorType}>`; _%>
|
|
146
146
|
<%_ emptyInitialPageParam = !op.infiniteQueryCursorProperty.isRequired ? 'undefined' : (op.infiniteQueryCursorProperty.isNullable ? 'null' : undefined); _%>
|
|
147
147
|
private _<%- op.uniqueName %>InfiniteQueryOptions(<%- input %><% if (op.parameters.length > 0) { %>, <% } %>options: Omit<<%- infiniteQueryOptionsType %>, 'queryFn' | 'queryKey'<%- emptyInitialPageParam ? ` | 'initialPageParam'` : '' %>> & Partial<Pick<<%- infiniteQueryOptionsType %>, 'queryFn' | 'queryKey'<%- emptyInitialPageParam ? ` | 'initialPageParam'` : '' %>>>): <%- infiniteQueryOptionsType %> {
|
|
148
148
|
return {
|
|
@@ -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
|
|
package/src/utils/versions.d.ts
CHANGED
|
@@ -29,8 +29,8 @@ export declare const TS_VERSIONS: {
|
|
|
29
29
|
readonly '@cloudscape-design/board-components': "3.0.117";
|
|
30
30
|
readonly '@cloudscape-design/components': "3.0.1075";
|
|
31
31
|
readonly '@cloudscape-design/global-styles': "1.0.45";
|
|
32
|
-
readonly '@tanstack/react-query': "5.
|
|
33
|
-
readonly '@tanstack/react-query-devtools': "5.
|
|
32
|
+
readonly '@tanstack/react-query': "5.87.4";
|
|
33
|
+
readonly '@tanstack/react-query-devtools': "5.87.4";
|
|
34
34
|
readonly '@trpc/tanstack-react-query': "11.0.0";
|
|
35
35
|
readonly '@trpc/client': "11.0.0";
|
|
36
36
|
readonly '@trpc/server': "11.0.0";
|
|
@@ -66,7 +66,7 @@ export type ITsDepVersion = keyof typeof TS_VERSIONS;
|
|
|
66
66
|
* Add versions to the given dependencies
|
|
67
67
|
*/
|
|
68
68
|
export declare const withVersions: (deps: ITsDepVersion[]) => {
|
|
69
|
-
[k: string]: "0.0.60" | "3.876.0" | "2.25.2" | "6.4.4" | "21.2.0" | "9.0.0" | "21.4.1" | "1.17.4" | "0.16.5" | "1.131.28" | "1.131.2" | "3.0.117" | "3.0.1075" | "1.0.45" | "5.
|
|
69
|
+
[k: string]: "0.0.60" | "3.876.0" | "2.25.2" | "6.4.4" | "21.2.0" | "9.0.0" | "21.4.1" | "1.17.4" | "0.16.5" | "1.131.28" | "1.131.2" | "3.0.117" | "3.0.1075" | "1.0.45" | "5.87.4" | "11.0.0" | "22.18.0" | "8.10.152" | "2.8.19" | "5.0.3" | "4.3.2" | "1.0.20" | "2.1027.0" | "2.213.0" | "3.10.3" | "10.4.2" | "2.8.5" | "0.25.9" | "5.5.4" | "5.1.0" | "2.4.0" | "4.0.0" | "3.3.0" | "3.6.2" | "0.5.21" | "4.1.12" | "4.20.1" | "5.1.4" | "4.1.5" | "npm:zod@^3";
|
|
70
70
|
};
|
|
71
71
|
/**
|
|
72
72
|
* Versions for Python dependencies added by generators
|
package/src/utils/versions.js
CHANGED
|
@@ -32,8 +32,8 @@ exports.TS_VERSIONS = {
|
|
|
32
32
|
'@cloudscape-design/board-components': '3.0.117',
|
|
33
33
|
'@cloudscape-design/components': '3.0.1075',
|
|
34
34
|
'@cloudscape-design/global-styles': '1.0.45',
|
|
35
|
-
'@tanstack/react-query': '5.
|
|
36
|
-
'@tanstack/react-query-devtools': '5.
|
|
35
|
+
'@tanstack/react-query': '5.87.4',
|
|
36
|
+
'@tanstack/react-query-devtools': '5.87.4',
|
|
37
37
|
'@trpc/tanstack-react-query': '11.0.0',
|
|
38
38
|
'@trpc/client': '11.0.0',
|
|
39
39
|
'@trpc/server': '11.0.0',
|