@rxap/plugin-nestjs 20.2.0-dev.10 → 20.2.0-dev.11
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/CHANGELOG.md +6 -0
- package/README.md +105 -105
- package/package.json +5 -5
- package/src/generators/dynamic-configuration-module/schema.json +9 -4
- package/src/generators/feature-microservice/schema.json +25 -18
- package/src/generators/frontend-microservice/schema.json +28 -20
- package/src/generators/health-indicator/schema.json +8 -4
- package/src/generators/health-indicator-init/schema.json +5 -2
- package/src/generators/init/schema.json +10 -5
- package/src/generators/init-application/schema.json +41 -26
- package/src/generators/init-library/schema.json +13 -7
- package/src/generators/jwt/schema.json +12 -2
- package/src/generators/microservice/schema.json +102 -28
- package/src/generators/open-api/schema.json +12 -2
- package/src/generators/sentry/schema.json +19 -4
- package/src/generators/swagger/schema.json +16 -3
- package/src/generators/validator/schema.json +11 -2
|
@@ -6,12 +6,13 @@
|
|
|
6
6
|
"properties": {
|
|
7
7
|
"name": {
|
|
8
8
|
"type": "string",
|
|
9
|
-
"description": "The name of the health indicator class",
|
|
9
|
+
"description": "The name of the health indicator class.",
|
|
10
10
|
"$default": {
|
|
11
11
|
"$source": "argv",
|
|
12
12
|
"index": 0
|
|
13
13
|
},
|
|
14
|
-
"x-prompt": "What name would you like to use for the health indicator?"
|
|
14
|
+
"x-prompt": "What name would you like to use for the health indicator?",
|
|
15
|
+
"examples": ["MyService"]
|
|
15
16
|
},
|
|
16
17
|
"project": {
|
|
17
18
|
"type": "string",
|
|
@@ -19,10 +20,13 @@
|
|
|
19
20
|
"$default": {
|
|
20
21
|
"$source": "projectName"
|
|
21
22
|
},
|
|
22
|
-
"x-prompt": "For which project should the health indicator be added?"
|
|
23
|
+
"x-prompt": "For which project should the health indicator be added?",
|
|
24
|
+
"examples": ["my-api"]
|
|
23
25
|
},
|
|
24
26
|
"overwrite": {
|
|
25
|
-
"type": "boolean"
|
|
27
|
+
"type": "boolean",
|
|
28
|
+
"description": "Whether to overwrite existing files.",
|
|
29
|
+
"default": false
|
|
26
30
|
}
|
|
27
31
|
},
|
|
28
32
|
"required": [
|
|
@@ -10,10 +10,13 @@
|
|
|
10
10
|
"$default": {
|
|
11
11
|
"$source": "projectName"
|
|
12
12
|
},
|
|
13
|
-
"x-prompt": "For which project should the health indicator module be initialized?"
|
|
13
|
+
"x-prompt": "For which project should the health indicator module be initialized?",
|
|
14
|
+
"examples": ["my-api"]
|
|
14
15
|
},
|
|
15
16
|
"overwrite": {
|
|
16
|
-
"type": "boolean"
|
|
17
|
+
"type": "boolean",
|
|
18
|
+
"description": "Whether to overwrite existing files.",
|
|
19
|
+
"default": false
|
|
17
20
|
}
|
|
18
21
|
},
|
|
19
22
|
"required": [
|
|
@@ -5,27 +5,32 @@
|
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
7
|
"project": {
|
|
8
|
-
"type": "string"
|
|
8
|
+
"type": "string",
|
|
9
|
+
"description": "The name of the project to initialize with NestJS.",
|
|
10
|
+
"examples": ["my-api"]
|
|
9
11
|
},
|
|
10
12
|
"projects": {
|
|
11
13
|
"type": "array",
|
|
12
14
|
"items": {
|
|
13
15
|
"type": "string"
|
|
14
|
-
}
|
|
16
|
+
},
|
|
17
|
+
"description": "The list of projects to initialize with NestJS.",
|
|
18
|
+
"examples": [["my-api", "another-api"]]
|
|
15
19
|
},
|
|
16
20
|
"skipFormat": {
|
|
17
21
|
"type": "boolean",
|
|
18
|
-
"default": false
|
|
22
|
+
"default": false,
|
|
23
|
+
"description": "Whether to skip formatting files with Prettier after initialization."
|
|
19
24
|
},
|
|
20
25
|
"overwrite": {
|
|
21
26
|
"type": "boolean",
|
|
22
27
|
"default": false,
|
|
23
|
-
"description": "Whether to overwrite existing files"
|
|
28
|
+
"description": "Whether to overwrite existing files during initialization."
|
|
24
29
|
},
|
|
25
30
|
"skipProjects": {
|
|
26
31
|
"type": "boolean",
|
|
27
32
|
"default": false,
|
|
28
|
-
"description": "Whether to skip executing project
|
|
33
|
+
"description": "Whether to skip executing project-specific initialization logic."
|
|
29
34
|
}
|
|
30
35
|
},
|
|
31
36
|
"required": []
|
|
@@ -5,44 +5,49 @@
|
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
7
|
"project": {
|
|
8
|
-
"type": "string"
|
|
8
|
+
"type": "string",
|
|
9
|
+
"description": "The name of the application project to initialize with NestJS.",
|
|
10
|
+
"examples": ["my-app"]
|
|
9
11
|
},
|
|
10
12
|
"projects": {
|
|
11
13
|
"type": "array",
|
|
12
14
|
"items": {
|
|
13
15
|
"type": "string"
|
|
14
|
-
}
|
|
16
|
+
},
|
|
17
|
+
"description": "The list of application projects to initialize with NestJS.",
|
|
18
|
+
"examples": [["my-app", "another-app"]]
|
|
15
19
|
},
|
|
16
20
|
"sentry": {
|
|
17
21
|
"type": "boolean",
|
|
18
22
|
"default": true,
|
|
19
|
-
"description": "Whether this
|
|
23
|
+
"description": "Whether this application should use Sentry for error tracking.",
|
|
20
24
|
"x-prompt": "Should this service use sentry?"
|
|
21
25
|
},
|
|
22
26
|
"skipFormat": {
|
|
23
27
|
"type": "boolean",
|
|
24
|
-
"default": false
|
|
28
|
+
"default": false,
|
|
29
|
+
"description": "Whether to skip formatting files with Prettier after initialization."
|
|
25
30
|
},
|
|
26
31
|
"swagger": {
|
|
27
32
|
"type": "boolean",
|
|
28
33
|
"default": true,
|
|
29
|
-
"description": "Whether this
|
|
34
|
+
"description": "Whether this application should support Swagger/OpenAPI documentation generation.",
|
|
30
35
|
"x-prompt": "Should this service support open-api config generation?"
|
|
31
36
|
},
|
|
32
37
|
"swaggerLive": {
|
|
33
38
|
"type": "boolean",
|
|
34
39
|
"default": false,
|
|
35
|
-
"description": "Whether this
|
|
40
|
+
"description": "Whether this application should start a live Swagger server in development mode."
|
|
36
41
|
},
|
|
37
42
|
"generateMain": {
|
|
38
43
|
"type": "boolean",
|
|
39
44
|
"default": false,
|
|
40
|
-
"description": "Whether the main
|
|
45
|
+
"description": "Whether to generate the 'main.ts' entry point file."
|
|
41
46
|
},
|
|
42
47
|
"healthIndicator": {
|
|
43
48
|
"type": "boolean",
|
|
44
49
|
"default": true,
|
|
45
|
-
"description": "Whether this
|
|
50
|
+
"description": "Whether this application should include a health indicator endpoint.",
|
|
46
51
|
"x-prompt": "Should this service have a health indicator endpoint?"
|
|
47
52
|
},
|
|
48
53
|
"healthIndicatorList": {
|
|
@@ -50,12 +55,13 @@
|
|
|
50
55
|
"items": {
|
|
51
56
|
"type": "string"
|
|
52
57
|
},
|
|
53
|
-
"description": "A list of health indicators"
|
|
58
|
+
"description": "A list of specific health indicators to include.",
|
|
59
|
+
"examples": [["memory_heap", "memory_rss"]]
|
|
54
60
|
},
|
|
55
61
|
"validator": {
|
|
56
62
|
"type": "boolean",
|
|
57
63
|
"default": true,
|
|
58
|
-
"description": "Whether this
|
|
64
|
+
"description": "Whether this application should use the NestJS 'ValidationPipe'.",
|
|
59
65
|
"x-prompt": "Should this service use the ValidationPipe?"
|
|
60
66
|
},
|
|
61
67
|
"platform": {
|
|
@@ -65,67 +71,74 @@
|
|
|
65
71
|
"fastify"
|
|
66
72
|
],
|
|
67
73
|
"default": "express",
|
|
74
|
+
"description": "The underlying HTTP server platform to use.",
|
|
68
75
|
"x-prompt": "Whichever platform should be used?"
|
|
69
76
|
},
|
|
70
77
|
"port": {
|
|
71
78
|
"type": "number",
|
|
72
|
-
"description": "The default port
|
|
79
|
+
"description": "The default port number for the application server.",
|
|
80
|
+
"examples": [3000]
|
|
73
81
|
},
|
|
74
82
|
"apiPrefix": {
|
|
75
83
|
"oneOf": [
|
|
76
84
|
{
|
|
77
85
|
"type": "string",
|
|
78
|
-
"description": "The default global
|
|
86
|
+
"description": "The default global API prefix."
|
|
79
87
|
},
|
|
80
88
|
{
|
|
81
|
-
"description": "Disable the global
|
|
89
|
+
"description": "Disable the global API prefix.",
|
|
82
90
|
"type": "boolean",
|
|
83
91
|
"const": false
|
|
84
92
|
}
|
|
85
|
-
]
|
|
93
|
+
],
|
|
94
|
+
"examples": ["api", false]
|
|
86
95
|
},
|
|
87
96
|
"pluginBuildInfoOptions": {
|
|
88
97
|
"type": "object",
|
|
89
|
-
"additionalProperties": true
|
|
98
|
+
"additionalProperties": true,
|
|
99
|
+
"description": "Options for the build-info plugin."
|
|
90
100
|
},
|
|
91
101
|
"pluginDockerOptions": {
|
|
92
102
|
"type": "object",
|
|
93
|
-
"additionalProperties": true
|
|
103
|
+
"additionalProperties": true,
|
|
104
|
+
"description": "Options for the Docker plugin."
|
|
94
105
|
},
|
|
95
106
|
"sentryDsn": {
|
|
96
107
|
"type": "string",
|
|
97
|
-
"description": "
|
|
108
|
+
"description": "The default Sentry DSN for error reporting.",
|
|
109
|
+
"examples": ["https://examplePublicKey@o0.ingest.sentry.io/0"]
|
|
98
110
|
},
|
|
99
111
|
"overwrite": {
|
|
100
112
|
"type": "boolean",
|
|
101
113
|
"default": false,
|
|
102
|
-
"description": "Whether to overwrite existing files"
|
|
114
|
+
"description": "Whether to overwrite existing files during initialization."
|
|
103
115
|
},
|
|
104
116
|
"jwt": {
|
|
105
117
|
"type": "boolean",
|
|
106
118
|
"default": false,
|
|
107
|
-
"description": "Whether the application should use
|
|
119
|
+
"description": "Whether the application should use JWT authentication.",
|
|
108
120
|
"x-prompt": "Should this service use jwt?"
|
|
109
121
|
},
|
|
110
122
|
"openApi": {
|
|
111
123
|
"type": "boolean",
|
|
112
124
|
"default": false,
|
|
113
|
-
"description": "Whether the application should use
|
|
125
|
+
"description": "Whether the application should use an OpenAPI client.",
|
|
114
126
|
"x-prompt": "Should this service use an open api client?"
|
|
115
127
|
},
|
|
116
128
|
"skipProjects": {
|
|
117
129
|
"type": "boolean",
|
|
118
130
|
"default": false,
|
|
119
|
-
"description": "Whether to skip executing project
|
|
131
|
+
"description": "Whether to skip executing project-specific initialization logic."
|
|
120
132
|
},
|
|
121
133
|
"apiConfigurationFile": {
|
|
122
134
|
"type": "string",
|
|
123
|
-
"description": "The
|
|
135
|
+
"description": "The path to the API configuration file.",
|
|
136
|
+
"examples": ["apps/my-app/src/api-config.json"]
|
|
124
137
|
},
|
|
125
138
|
"standalone": {
|
|
126
139
|
"type": "boolean",
|
|
127
140
|
"default": false,
|
|
128
|
-
"description": "Whether the
|
|
141
|
+
"description": "Whether the NestJS application should be a standalone application.",
|
|
129
142
|
"x-prompt": "Should this service be standalone?"
|
|
130
143
|
},
|
|
131
144
|
"typeorm": {
|
|
@@ -135,6 +148,7 @@
|
|
|
135
148
|
"postgres"
|
|
136
149
|
],
|
|
137
150
|
"default": "none",
|
|
151
|
+
"description": "The TypeORM database driver to use.",
|
|
138
152
|
"x-prompt": "Which typeorm database should be used?"
|
|
139
153
|
},
|
|
140
154
|
"bootstrap": {
|
|
@@ -145,6 +159,7 @@
|
|
|
145
159
|
"microservice"
|
|
146
160
|
],
|
|
147
161
|
"default": "monolithic",
|
|
162
|
+
"description": "The type of application bootstrap to use.",
|
|
148
163
|
"x-prompt": "Which bootstrap type should be used?"
|
|
149
164
|
},
|
|
150
165
|
"transport": {
|
|
@@ -154,18 +169,18 @@
|
|
|
154
169
|
"rabbitmq"
|
|
155
170
|
],
|
|
156
171
|
"default": "none",
|
|
157
|
-
"description": "The transport to use for microservices communication",
|
|
172
|
+
"description": "The transport mechanism to use for microservices communication.",
|
|
158
173
|
"x-prompt": "Which transport should be used for microservices communication?"
|
|
159
174
|
},
|
|
160
175
|
"minio": {
|
|
161
176
|
"type": "boolean",
|
|
162
177
|
"default": false,
|
|
163
|
-
"description": "Whether the application should use
|
|
178
|
+
"description": "Whether the application should use Minio for object storage."
|
|
164
179
|
},
|
|
165
180
|
"openai": {
|
|
166
181
|
"type": "boolean",
|
|
167
182
|
"default": false,
|
|
168
|
-
"description": "Whether the application should use
|
|
183
|
+
"description": "Whether the application should use OpenAI integration."
|
|
169
184
|
}
|
|
170
185
|
},
|
|
171
186
|
"required": []
|
|
@@ -5,38 +5,44 @@
|
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
7
|
"project": {
|
|
8
|
-
"type": "string"
|
|
8
|
+
"type": "string",
|
|
9
|
+
"description": "The name of the library project to initialize with NestJS.",
|
|
10
|
+
"examples": ["my-api-lib"]
|
|
9
11
|
},
|
|
10
12
|
"projects": {
|
|
11
13
|
"type": "array",
|
|
12
14
|
"items": {
|
|
13
15
|
"type": "string"
|
|
14
|
-
}
|
|
16
|
+
},
|
|
17
|
+
"description": "The list of library projects to initialize with NestJS.",
|
|
18
|
+
"examples": [["my-api-lib", "another-api-lib"]]
|
|
15
19
|
},
|
|
16
20
|
"overwrite": {
|
|
17
21
|
"type": "boolean",
|
|
18
22
|
"default": false,
|
|
19
|
-
"description": "Whether to overwrite existing files"
|
|
23
|
+
"description": "Whether to overwrite existing files during initialization."
|
|
20
24
|
},
|
|
21
25
|
"skipFormat": {
|
|
22
26
|
"type": "boolean",
|
|
23
|
-
"default": false
|
|
27
|
+
"default": false,
|
|
28
|
+
"description": "Whether to skip formatting files with Prettier after initialization."
|
|
24
29
|
},
|
|
25
30
|
"skipProjects": {
|
|
26
31
|
"type": "boolean",
|
|
27
32
|
"default": false,
|
|
28
|
-
"description": "Whether to skip executing project
|
|
33
|
+
"description": "Whether to skip executing project-specific initialization logic."
|
|
29
34
|
},
|
|
30
35
|
"targets": {
|
|
31
36
|
"type": "object",
|
|
37
|
+
"description": "Configuration for specific project targets.",
|
|
32
38
|
"properties": {
|
|
33
39
|
"fixDependencies": {
|
|
34
40
|
"type": "boolean",
|
|
35
|
-
"description": "
|
|
41
|
+
"description": "Whether to add the 'fix-dependencies' target to the library project."
|
|
36
42
|
},
|
|
37
43
|
"indexExport": {
|
|
38
44
|
"type": "boolean",
|
|
39
|
-
"description": "
|
|
45
|
+
"description": "Whether to add the 'index-export' target to the library project."
|
|
40
46
|
}
|
|
41
47
|
}
|
|
42
48
|
}
|
|
@@ -6,10 +6,20 @@
|
|
|
6
6
|
"properties": {
|
|
7
7
|
"project": {
|
|
8
8
|
"type": "string",
|
|
9
|
-
"description": ""
|
|
9
|
+
"description": "The name of the project to add JWT support to.",
|
|
10
|
+
"x-prompt": "Which project should be extended with JWT support?",
|
|
11
|
+
"examples": [
|
|
12
|
+
"my-api"
|
|
13
|
+
]
|
|
10
14
|
},
|
|
11
15
|
"overwrite": {
|
|
12
|
-
"type": "boolean"
|
|
16
|
+
"type": "boolean",
|
|
17
|
+
"description": "Whether to overwrite existing files.",
|
|
18
|
+
"default": false,
|
|
19
|
+
"examples": [
|
|
20
|
+
true,
|
|
21
|
+
false
|
|
22
|
+
]
|
|
13
23
|
}
|
|
14
24
|
},
|
|
15
25
|
"required": [
|
|
@@ -6,29 +6,48 @@
|
|
|
6
6
|
"properties": {
|
|
7
7
|
"name": {
|
|
8
8
|
"type": "string",
|
|
9
|
-
"description": "The name of microservice",
|
|
10
|
-
"x-prompt": "
|
|
9
|
+
"description": "The name of the microservice.",
|
|
10
|
+
"x-prompt": "What is the name of the microservice?",
|
|
11
|
+
"examples": [
|
|
12
|
+
"order-service"
|
|
13
|
+
]
|
|
11
14
|
},
|
|
12
15
|
"directory": {
|
|
13
16
|
"type": "string",
|
|
14
|
-
"description": "The directory
|
|
17
|
+
"description": "The directory where the microservice will be created.",
|
|
18
|
+
"examples": [
|
|
19
|
+
"services"
|
|
20
|
+
]
|
|
15
21
|
},
|
|
16
22
|
|
|
17
23
|
"sentry": {
|
|
18
24
|
"type": "boolean",
|
|
19
25
|
"default": true,
|
|
20
|
-
"description": "Whether this
|
|
21
|
-
"x-prompt": "Should this
|
|
26
|
+
"description": "Whether this microservice should use Sentry for error tracking.",
|
|
27
|
+
"x-prompt": "Should this microservice use Sentry?",
|
|
28
|
+
"examples": [
|
|
29
|
+
true,
|
|
30
|
+
false
|
|
31
|
+
]
|
|
22
32
|
},
|
|
23
33
|
"skipFormat": {
|
|
24
34
|
"type": "boolean",
|
|
25
|
-
"default": false
|
|
35
|
+
"default": false,
|
|
36
|
+
"description": "Whether to skip formatting the generated files.",
|
|
37
|
+
"examples": [
|
|
38
|
+
true,
|
|
39
|
+
false
|
|
40
|
+
]
|
|
26
41
|
},
|
|
27
42
|
"swagger": {
|
|
28
43
|
"type": "boolean",
|
|
29
44
|
"default": true,
|
|
30
|
-
"description": "Whether this
|
|
31
|
-
"x-prompt": "Should this
|
|
45
|
+
"description": "Whether this microservice should use Swagger/OpenAPI for documentation.",
|
|
46
|
+
"x-prompt": "Should this microservice support OpenAPI configuration generation?",
|
|
47
|
+
"examples": [
|
|
48
|
+
true,
|
|
49
|
+
false
|
|
50
|
+
]
|
|
32
51
|
},
|
|
33
52
|
"swaggerLive": {
|
|
34
53
|
"type": "boolean",
|
|
@@ -37,26 +56,45 @@
|
|
|
37
56
|
},
|
|
38
57
|
"generateMain": {
|
|
39
58
|
"type": "boolean",
|
|
40
|
-
"description": "Whether the main file should be generated"
|
|
59
|
+
"description": "Whether the main entry point file (`main.ts`) should be generated.",
|
|
60
|
+
"default": true,
|
|
61
|
+
"examples": [
|
|
62
|
+
true,
|
|
63
|
+
false
|
|
64
|
+
]
|
|
41
65
|
},
|
|
42
66
|
"healthIndicator": {
|
|
43
67
|
"type": "boolean",
|
|
44
68
|
"default": true,
|
|
45
|
-
"description": "Whether this
|
|
46
|
-
"x-prompt": "Should this
|
|
69
|
+
"description": "Whether this microservice should include a health indicator endpoint.",
|
|
70
|
+
"x-prompt": "Should this microservice have a health indicator endpoint?",
|
|
71
|
+
"examples": [
|
|
72
|
+
true,
|
|
73
|
+
false
|
|
74
|
+
]
|
|
47
75
|
},
|
|
48
76
|
"healthIndicatorList": {
|
|
49
77
|
"type": "array",
|
|
50
78
|
"items": {
|
|
51
79
|
"type": "string"
|
|
52
80
|
},
|
|
53
|
-
"description": "A list of health indicators"
|
|
81
|
+
"description": "A list of additional health indicators to include.",
|
|
82
|
+
"examples": [
|
|
83
|
+
[
|
|
84
|
+
"database",
|
|
85
|
+
"redis"
|
|
86
|
+
]
|
|
87
|
+
]
|
|
54
88
|
},
|
|
55
89
|
"validator": {
|
|
56
90
|
"type": "boolean",
|
|
57
91
|
"default": true,
|
|
58
|
-
"description": "Whether this
|
|
59
|
-
"x-prompt": "Should this
|
|
92
|
+
"description": "Whether this microservice should use the NestJS `ValidationPipe`.",
|
|
93
|
+
"x-prompt": "Should this microservice use the `ValidationPipe`?",
|
|
94
|
+
"examples": [
|
|
95
|
+
true,
|
|
96
|
+
false
|
|
97
|
+
]
|
|
60
98
|
},
|
|
61
99
|
"platform": {
|
|
62
100
|
"type": "string",
|
|
@@ -65,55 +103,91 @@
|
|
|
65
103
|
"fastify"
|
|
66
104
|
],
|
|
67
105
|
"default": "express",
|
|
68
|
-
"x-prompt": "
|
|
106
|
+
"x-prompt": "Which platform should be used (Express or Fastify)?",
|
|
107
|
+
"examples": [
|
|
108
|
+
"express",
|
|
109
|
+
"fastify"
|
|
110
|
+
]
|
|
69
111
|
},
|
|
70
112
|
"port": {
|
|
71
113
|
"type": "number",
|
|
72
|
-
"description": "The default port where the server
|
|
114
|
+
"description": "The default port number where the server will listen.",
|
|
115
|
+
"examples": [
|
|
116
|
+
3000,
|
|
117
|
+
8080
|
|
118
|
+
]
|
|
73
119
|
},
|
|
74
120
|
"apiPrefix": {
|
|
75
121
|
"oneOf": [
|
|
76
122
|
{
|
|
77
123
|
"type": "string",
|
|
78
|
-
"description": "The default global
|
|
124
|
+
"description": "The default global API prefix.",
|
|
125
|
+
"examples": [
|
|
126
|
+
"api"
|
|
127
|
+
]
|
|
79
128
|
},
|
|
80
129
|
{
|
|
81
|
-
"description": "Disable the global
|
|
130
|
+
"description": "Disable the global API prefix.",
|
|
82
131
|
"type": "boolean",
|
|
83
|
-
"const": false
|
|
132
|
+
"const": false,
|
|
133
|
+
"examples": [
|
|
134
|
+
false
|
|
135
|
+
]
|
|
84
136
|
}
|
|
85
137
|
]
|
|
86
138
|
},
|
|
87
139
|
"sentryDsn": {
|
|
88
140
|
"type": "string",
|
|
89
|
-
"description": "
|
|
141
|
+
"description": "The default Sentry DSN for error tracking.",
|
|
142
|
+
"examples": [
|
|
143
|
+
"https://examplePublicKey@o0.ingest.sentry.io/0"
|
|
144
|
+
]
|
|
90
145
|
},
|
|
91
146
|
"overwrite": {
|
|
92
147
|
"type": "boolean",
|
|
93
148
|
"default": false,
|
|
94
|
-
"description": "Whether to overwrite existing files"
|
|
149
|
+
"description": "Whether to overwrite existing files, if any.",
|
|
150
|
+
"examples": [
|
|
151
|
+
true,
|
|
152
|
+
false
|
|
153
|
+
]
|
|
95
154
|
},
|
|
96
155
|
"jwt": {
|
|
97
156
|
"type": "boolean",
|
|
98
157
|
"default": false,
|
|
99
|
-
"description": "Whether the
|
|
100
|
-
"x-prompt": "Should this
|
|
158
|
+
"description": "Whether the microservice should use JWT for authentication.",
|
|
159
|
+
"x-prompt": "Should this microservice use JWT?",
|
|
160
|
+
"examples": [
|
|
161
|
+
true,
|
|
162
|
+
false
|
|
163
|
+
]
|
|
101
164
|
},
|
|
102
165
|
"openApi": {
|
|
103
166
|
"type": "boolean",
|
|
104
167
|
"default": false,
|
|
105
|
-
"description": "Whether the
|
|
106
|
-
"x-prompt": "Should this
|
|
168
|
+
"description": "Whether the microservice should use an OpenAPI client.",
|
|
169
|
+
"x-prompt": "Should this microservice use an OpenAPI client?",
|
|
170
|
+
"examples": [
|
|
171
|
+
true,
|
|
172
|
+
false
|
|
173
|
+
]
|
|
107
174
|
},
|
|
108
175
|
"apiConfigurationFile": {
|
|
109
176
|
"type": "string",
|
|
110
|
-
"description": "The
|
|
177
|
+
"description": "The path to the API configuration file.",
|
|
178
|
+
"examples": [
|
|
179
|
+
"apps/my-api/src/assets/api-config.json"
|
|
180
|
+
]
|
|
111
181
|
},
|
|
112
182
|
"standalone": {
|
|
113
183
|
"type": "boolean",
|
|
114
184
|
"default": false,
|
|
115
|
-
"description": "Whether the
|
|
116
|
-
"x-prompt": "Should this
|
|
185
|
+
"description": "Whether the NestJS service should be standalone (without a module).",
|
|
186
|
+
"x-prompt": "Should this microservice be standalone?",
|
|
187
|
+
"examples": [
|
|
188
|
+
true,
|
|
189
|
+
false
|
|
190
|
+
]
|
|
117
191
|
}
|
|
118
192
|
},
|
|
119
193
|
"required": [
|
|
@@ -6,10 +6,20 @@
|
|
|
6
6
|
"properties": {
|
|
7
7
|
"project": {
|
|
8
8
|
"type": "string",
|
|
9
|
-
"description": ""
|
|
9
|
+
"description": "The name of the project to add OpenApi support to.",
|
|
10
|
+
"x-prompt": "Which project should be extended with OpenApi support?",
|
|
11
|
+
"examples": [
|
|
12
|
+
"my-api"
|
|
13
|
+
]
|
|
10
14
|
},
|
|
11
15
|
"overwrite": {
|
|
12
|
-
"type": "boolean"
|
|
16
|
+
"type": "boolean",
|
|
17
|
+
"description": "Whether to overwrite existing files.",
|
|
18
|
+
"default": false,
|
|
19
|
+
"examples": [
|
|
20
|
+
true,
|
|
21
|
+
false
|
|
22
|
+
]
|
|
13
23
|
}
|
|
14
24
|
},
|
|
15
25
|
"required": [
|
|
@@ -10,20 +10,35 @@
|
|
|
10
10
|
"$default": {
|
|
11
11
|
"$source": "projectName"
|
|
12
12
|
},
|
|
13
|
-
"x-prompt": "Which project should be
|
|
13
|
+
"x-prompt": "Which project should be extended with sentry support?",
|
|
14
|
+
"examples": [
|
|
15
|
+
"my-app"
|
|
16
|
+
]
|
|
14
17
|
},
|
|
15
18
|
"dsn": {
|
|
16
19
|
"type": "string",
|
|
17
|
-
"description": "
|
|
20
|
+
"description": "The default Sentry DSN.",
|
|
21
|
+
"examples": [
|
|
22
|
+
"https://examplePublicKey@o0.ingest.sentry.io/0"
|
|
23
|
+
]
|
|
18
24
|
},
|
|
19
25
|
"required": {
|
|
20
26
|
"type": "boolean",
|
|
21
|
-
"description": "Whether or not the
|
|
27
|
+
"description": "Whether or not the Sentry DSN should be required to start the application.",
|
|
28
|
+
"default": false,
|
|
29
|
+
"examples": [
|
|
30
|
+
true,
|
|
31
|
+
false
|
|
32
|
+
]
|
|
22
33
|
},
|
|
23
34
|
"overwrite": {
|
|
24
35
|
"type": "boolean",
|
|
25
36
|
"default": false,
|
|
26
|
-
"description": "Whether to overwrite existing files"
|
|
37
|
+
"description": "Whether to overwrite existing files.",
|
|
38
|
+
"examples": [
|
|
39
|
+
true,
|
|
40
|
+
false
|
|
41
|
+
]
|
|
27
42
|
}
|
|
28
43
|
},
|
|
29
44
|
"required": [
|