@aws/nx-plugin-mcp 0.110.0 → 0.112.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/bin/aws-nx-mcp.js +6 -0
- package/generators.json +6 -0
- package/package.json +1 -1
- package/src/ts/rdb/schema.json +73 -0
package/bin/aws-nx-mcp.js
CHANGED
|
@@ -19246,6 +19246,12 @@ var generators$1 = {
|
|
|
19246
19246
|
"description": "provides React integration to a React website",
|
|
19247
19247
|
"metric": "g10",
|
|
19248
19248
|
"hidden": true
|
|
19249
|
+
},
|
|
19250
|
+
"ts#rdb": {
|
|
19251
|
+
"factory": "./src/ts/rdb/generator",
|
|
19252
|
+
"schema": "./src/ts/rdb/schema.json",
|
|
19253
|
+
"description": "Create a relational database project",
|
|
19254
|
+
"metric": "g38"
|
|
19249
19255
|
}
|
|
19250
19256
|
};
|
|
19251
19257
|
//#endregion
|
package/generators.json
CHANGED
|
@@ -265,6 +265,12 @@
|
|
|
265
265
|
"description": "provides React integration to a React website",
|
|
266
266
|
"metric": "g10",
|
|
267
267
|
"hidden": true
|
|
268
|
+
},
|
|
269
|
+
"ts#rdb": {
|
|
270
|
+
"factory": "./src/ts/rdb/generator",
|
|
271
|
+
"schema": "./src/ts/rdb/schema.json",
|
|
272
|
+
"description": "Create a relational database project",
|
|
273
|
+
"metric": "g38"
|
|
268
274
|
}
|
|
269
275
|
}
|
|
270
276
|
}
|
package/package.json
CHANGED
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/schema",
|
|
3
|
+
"$id": "ts#rdb",
|
|
4
|
+
"title": "ts#rdb",
|
|
5
|
+
"description": "Create a relational database project",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"name": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"description": "Name of the database project to generate",
|
|
11
|
+
"$default": {
|
|
12
|
+
"$source": "argv",
|
|
13
|
+
"index": 0
|
|
14
|
+
},
|
|
15
|
+
"x-priority": "important",
|
|
16
|
+
"x-prompt": "What name would you like your database project to have? i.e: MyDb"
|
|
17
|
+
},
|
|
18
|
+
"directory": {
|
|
19
|
+
"type": "string",
|
|
20
|
+
"description": "The directory to store the application in.",
|
|
21
|
+
"default": "packages",
|
|
22
|
+
"x-priority": "important",
|
|
23
|
+
"x-prompt": "Which directory do you want to create the project in?"
|
|
24
|
+
},
|
|
25
|
+
"subDirectory": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"description": "The sub directory the project is placed in. By default this is the project name.",
|
|
28
|
+
"x-prompt": "Which sub directory do you want to create the project in? (By default this is the project name)"
|
|
29
|
+
},
|
|
30
|
+
"service": {
|
|
31
|
+
"type": "string",
|
|
32
|
+
"enum": ["Aurora"],
|
|
33
|
+
"default": "Aurora",
|
|
34
|
+
"description": "Relational database service to provision.",
|
|
35
|
+
"x-priority": "important",
|
|
36
|
+
"x-prompt": "Which database service would you like to use?"
|
|
37
|
+
},
|
|
38
|
+
"engine": {
|
|
39
|
+
"type": "string",
|
|
40
|
+
"enum": ["PostgreSQL", "MySQL"],
|
|
41
|
+
"default": "PostgreSQL",
|
|
42
|
+
"description": "Database engine to use with the selected service.",
|
|
43
|
+
"x-priority": "important",
|
|
44
|
+
"x-prompt": "Which database engine would you like to use?"
|
|
45
|
+
},
|
|
46
|
+
"databaseUser": {
|
|
47
|
+
"type": "string",
|
|
48
|
+
"description": "Database admin username. Defaults to 'dbadmin'.",
|
|
49
|
+
"default": "dbadmin"
|
|
50
|
+
},
|
|
51
|
+
"databaseName": {
|
|
52
|
+
"type": "string",
|
|
53
|
+
"description": "Initial database name. Defaults to the project name."
|
|
54
|
+
},
|
|
55
|
+
"ormFramework": {
|
|
56
|
+
"type": "string",
|
|
57
|
+
"enum": ["Prisma"],
|
|
58
|
+
"default": "Prisma",
|
|
59
|
+
"description": "ORM framework to use for the generated project.",
|
|
60
|
+
"x-priority": "important",
|
|
61
|
+
"x-prompt": "Which ORM framework would you like to use?"
|
|
62
|
+
},
|
|
63
|
+
"iacProvider": {
|
|
64
|
+
"type": "string",
|
|
65
|
+
"description": "The preferred IaC provider. By default this is inherited from your initial selection.",
|
|
66
|
+
"enum": ["Inherit", "CDK", "Terraform"],
|
|
67
|
+
"x-priority": "important",
|
|
68
|
+
"default": "Inherit",
|
|
69
|
+
"x-prompt": "Which provider would you like to manage your infrastructure? (default: Inherit)"
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
"required": ["name", "service", "engine", "ormFramework"]
|
|
73
|
+
}
|