@nx/angular 22.7.0-pr.33655.2b96277 → 22.7.0-pr.33655.57246dd

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.
Files changed (61) hide show
  1. package/executors.json +62 -62
  2. package/generators.json +185 -185
  3. package/migrations.json +2412 -2412
  4. package/package.json +9 -9
  5. package/src/builders/dev-server/schema.json +163 -163
  6. package/src/builders/webpack-browser/schema.json +567 -567
  7. package/src/builders/webpack-server/schema.json +303 -303
  8. package/src/executors/application/schema.json +732 -732
  9. package/src/executors/browser-esbuild/schema.json +548 -548
  10. package/src/executors/delegate-build/schema.json +31 -31
  11. package/src/executors/extract-i18n/schema.json +47 -47
  12. package/src/executors/module-federation-dev-server/schema.json +164 -164
  13. package/src/executors/module-federation-ssr-dev-server/schema.json +119 -119
  14. package/src/executors/ng-packagr-lite/schema.json +35 -35
  15. package/src/executors/package/schema.json +35 -35
  16. package/src/executors/unit-test/schema.json +305 -305
  17. package/src/generators/add-linting/schema.json +48 -48
  18. package/src/generators/application/schema.json +188 -188
  19. package/src/generators/component/schema.json +123 -123
  20. package/src/generators/component-story/schema.json +50 -50
  21. package/src/generators/component-test/schema.json +52 -52
  22. package/src/generators/convert-to-application-executor/schema.json +23 -23
  23. package/src/generators/convert-to-rspack/schema.json +27 -27
  24. package/src/generators/convert-to-with-mf/schema.json +30 -30
  25. package/src/generators/cypress-component-configuration/schema.json +43 -43
  26. package/src/generators/directive/schema.json +89 -89
  27. package/src/generators/federate-module/schema.json +80 -80
  28. package/src/generators/host/schema.json +189 -189
  29. package/src/generators/init/schema.json +31 -31
  30. package/src/generators/library/schema.json +189 -189
  31. package/src/generators/library-secondary-entry-point/lib/add-path-mapping.js +1 -1
  32. package/src/generators/library-secondary-entry-point/lib/update-tsconfig-included-files.d.ts.map +1 -1
  33. package/src/generators/library-secondary-entry-point/lib/update-tsconfig-included-files.js +15 -2
  34. package/src/generators/library-secondary-entry-point/schema.json +40 -40
  35. package/src/generators/move/schema.json +53 -53
  36. package/src/generators/ng-add/migrators/builders/angular-eslint-lint.migrator.d.ts.map +1 -1
  37. package/src/generators/ng-add/migrators/builders/angular-eslint-lint.migrator.js +0 -7
  38. package/src/generators/ng-add/schema.json +63 -62
  39. package/src/generators/ng-add/utilities/workspace.d.ts.map +1 -1
  40. package/src/generators/ng-add/utilities/workspace.js +0 -1
  41. package/src/generators/ngrx/schema.json +99 -99
  42. package/src/generators/ngrx-feature-store/schema.json +69 -69
  43. package/src/generators/ngrx-root-store/schema.json +68 -68
  44. package/src/generators/pipe/schema.json +75 -75
  45. package/src/generators/remote/schema.json +182 -182
  46. package/src/generators/scam/schema.json +120 -120
  47. package/src/generators/scam-directive/schema.json +82 -82
  48. package/src/generators/scam-pipe/schema.json +64 -64
  49. package/src/generators/scam-to-standalone/schema.json +29 -29
  50. package/src/generators/setup-mf/schema.json +90 -90
  51. package/src/generators/setup-ssr/schema.json +70 -70
  52. package/src/generators/setup-tailwind/schema.json +39 -39
  53. package/src/generators/stories/schema.json +53 -53
  54. package/src/generators/storybook-configuration/schema.json +80 -80
  55. package/src/generators/web-worker/schema.json +45 -45
  56. package/src/plugins/plugin.d.ts.map +1 -1
  57. package/src/plugins/plugin.js +5 -5
  58. package/assets.json +0 -23
  59. package/mf/ng-package.json +0 -6
  60. package/ng-package.json +0 -21
  61. package/project.json +0 -24
@@ -1,320 +1,320 @@
1
1
  {
2
- "version": 2,
3
- "outputCapture": "direct-nodejs",
4
- "$schema": "http://json-schema.org/draft-07/schema",
5
- "title": "Schema for Webpack Server",
6
- "description": "Builds a server Angular application using [webpack](https://webpack.js.org/). This executor is a drop-in replacement for the `@angular-devkit/build-angular:server` builder provided by the Angular CLI. It is usually used in tandem with the `@nx/angular:webpack-browser` executor when your Angular application uses a custom webpack configuration.",
7
- "type": "object",
8
- "properties": {
9
- "assets": {
10
- "type": "array",
11
- "description": "List of static application assets.",
12
- "default": [],
13
- "items": {
14
- "$ref": "#/definitions/assetPattern"
2
+ "version": 2,
3
+ "outputCapture": "direct-nodejs",
4
+ "$schema": "http://json-schema.org/draft-07/schema",
5
+ "title": "Schema for Webpack Server",
6
+ "description": "Builds a server Angular application using [webpack](https://webpack.js.org/). This executor is a drop-in replacement for the `@angular-devkit/build-angular:server` builder provided by the Angular CLI. It is usually used in tandem with the `@nx/angular:webpack-browser` executor when your Angular application uses a custom webpack configuration.",
7
+ "type": "object",
8
+ "properties": {
9
+ "assets": {
10
+ "type": "array",
11
+ "description": "List of static application assets.",
12
+ "default": [],
13
+ "items": {
14
+ "$ref": "#/definitions/assetPattern"
15
+ }
16
+ },
17
+ "main": {
18
+ "type": "string",
19
+ "description": "The full path for the main entry point to the server app, relative to the current workspace."
20
+ },
21
+ "tsConfig": {
22
+ "type": "string",
23
+ "default": "tsconfig.app.json",
24
+ "description": "The full path for the TypeScript configuration file, relative to the current workspace."
25
+ },
26
+ "inlineStyleLanguage": {
27
+ "description": "The stylesheet language to use for the application's inline component styles.",
28
+ "type": "string",
29
+ "default": "css",
30
+ "enum": ["css", "less", "sass", "scss"]
31
+ },
32
+ "stylePreprocessorOptions": {
33
+ "description": "Options to pass to style preprocessors",
34
+ "type": "object",
35
+ "properties": {
36
+ "includePaths": {
37
+ "description": "Paths to include. Paths will be resolved to project root.",
38
+ "type": "array",
39
+ "items": {
40
+ "type": "string"
41
+ },
42
+ "default": []
43
+ }
44
+ },
45
+ "additionalProperties": false
46
+ },
47
+ "optimization": {
48
+ "description": "Enables optimization of the build output. Including minification of scripts and styles, tree-shaking and dead-code elimination. For more information, see https://angular.dev/reference/configs/workspace-config#optimization-configuration.",
49
+ "default": true,
50
+ "oneOf": [
51
+ {
52
+ "type": "object",
53
+ "properties": {
54
+ "scripts": {
55
+ "type": "boolean",
56
+ "description": "Enables optimization of the scripts output.",
57
+ "default": true
58
+ },
59
+ "styles": {
60
+ "type": "boolean",
61
+ "description": "Enables optimization of the styles output.",
62
+ "default": true
15
63
  }
64
+ },
65
+ "additionalProperties": false
16
66
  },
17
- "main": {
18
- "type": "string",
19
- "description": "The full path for the main entry point to the server app, relative to the current workspace."
20
- },
21
- "tsConfig": {
22
- "type": "string",
23
- "default": "tsconfig.app.json",
24
- "description": "The full path for the TypeScript configuration file, relative to the current workspace."
25
- },
26
- "inlineStyleLanguage": {
27
- "description": "The stylesheet language to use for the application's inline component styles.",
28
- "type": "string",
29
- "default": "css",
30
- "enum": ["css", "less", "sass", "scss"]
31
- },
32
- "stylePreprocessorOptions": {
33
- "description": "Options to pass to style preprocessors",
34
- "type": "object",
35
- "properties": {
36
- "includePaths": {
37
- "description": "Paths to include. Paths will be resolved to project root.",
38
- "type": "array",
39
- "items": {
40
- "type": "string"
41
- },
42
- "default": []
43
- }
67
+ {
68
+ "type": "boolean"
69
+ }
70
+ ]
71
+ },
72
+ "fileReplacements": {
73
+ "description": "Replace compilation source files with other compilation source files in the build.",
74
+ "type": "array",
75
+ "items": {
76
+ "$ref": "#/definitions/fileReplacement"
77
+ },
78
+ "default": []
79
+ },
80
+ "outputPath": {
81
+ "type": "string",
82
+ "description": "The full path for the new output directory, relative to the current workspace.\n\nBy default, writes output to a folder named dist/ in the current project."
83
+ },
84
+ "resourcesOutputPath": {
85
+ "type": "string",
86
+ "description": "The path where style resources will be placed, relative to outputPath."
87
+ },
88
+ "sourceMap": {
89
+ "description": "Output source maps for scripts and styles. For more information, see https://angular.dev/reference/configs/workspace-config#source-map-configuration.",
90
+ "default": false,
91
+ "oneOf": [
92
+ {
93
+ "type": "object",
94
+ "properties": {
95
+ "scripts": {
96
+ "type": "boolean",
97
+ "description": "Output source maps for all scripts.",
98
+ "default": true
44
99
  },
45
- "additionalProperties": false
46
- },
47
- "optimization": {
48
- "description": "Enables optimization of the build output. Including minification of scripts and styles, tree-shaking and dead-code elimination. For more information, see https://angular.dev/reference/configs/workspace-config#optimization-configuration.",
49
- "default": true,
50
- "oneOf": [
51
- {
52
- "type": "object",
53
- "properties": {
54
- "scripts": {
55
- "type": "boolean",
56
- "description": "Enables optimization of the scripts output.",
57
- "default": true
58
- },
59
- "styles": {
60
- "type": "boolean",
61
- "description": "Enables optimization of the styles output.",
62
- "default": true
63
- }
64
- },
65
- "additionalProperties": false
66
- },
67
- {
68
- "type": "boolean"
69
- }
70
- ]
71
- },
72
- "fileReplacements": {
73
- "description": "Replace compilation source files with other compilation source files in the build.",
74
- "type": "array",
75
- "items": {
76
- "$ref": "#/definitions/fileReplacement"
100
+ "styles": {
101
+ "type": "boolean",
102
+ "description": "Output source maps for all styles.",
103
+ "default": true
77
104
  },
78
- "default": []
79
- },
80
- "outputPath": {
81
- "type": "string",
82
- "description": "The full path for the new output directory, relative to the current workspace.\n\nBy default, writes output to a folder named dist/ in the current project."
83
- },
84
- "resourcesOutputPath": {
85
- "type": "string",
86
- "description": "The path where style resources will be placed, relative to outputPath."
87
- },
88
- "sourceMap": {
89
- "description": "Output source maps for scripts and styles. For more information, see https://angular.dev/reference/configs/workspace-config#source-map-configuration.",
90
- "default": false,
91
- "oneOf": [
92
- {
93
- "type": "object",
94
- "properties": {
95
- "scripts": {
96
- "type": "boolean",
97
- "description": "Output source maps for all scripts.",
98
- "default": true
99
- },
100
- "styles": {
101
- "type": "boolean",
102
- "description": "Output source maps for all styles.",
103
- "default": true
104
- },
105
- "hidden": {
106
- "type": "boolean",
107
- "description": "Output source maps used for error reporting tools.",
108
- "default": false
109
- },
110
- "vendor": {
111
- "type": "boolean",
112
- "description": "Resolve vendor packages source maps.",
113
- "default": false
114
- }
115
- },
116
- "additionalProperties": false
117
- },
118
- {
119
- "type": "boolean"
120
- }
121
- ]
122
- },
123
- "deployUrl": {
124
- "type": "string",
125
- "description": "Customize the base path for the URLs of resources in 'index.html' and component stylesheets. This option is only necessary for specific deployment scenarios, such as with Angular Elements or when utilizing different CDN locations."
126
- },
127
- "vendorChunk": {
128
- "type": "boolean",
129
- "description": "Generate a separate bundle containing only vendor libraries. This option should only be used for development to reduce the incremental compilation time.",
130
- "default": false
131
- },
132
- "verbose": {
133
- "type": "boolean",
134
- "description": "Adds more details to output logging.",
135
- "default": false
136
- },
137
- "progress": {
138
- "type": "boolean",
139
- "description": "Log progress to the console while building.",
140
- "default": true
141
- },
142
- "i18nMissingTranslation": {
143
- "type": "string",
144
- "description": "How to handle missing translations for i18n.",
145
- "enum": ["warning", "error", "ignore"],
146
- "default": "warning"
147
- },
148
- "i18nDuplicateTranslation": {
149
- "type": "string",
150
- "description": "How to handle duplicate translations for i18n.",
151
- "enum": ["warning", "error", "ignore"],
152
- "default": "warning"
105
+ "hidden": {
106
+ "type": "boolean",
107
+ "description": "Output source maps used for error reporting tools.",
108
+ "default": false
109
+ },
110
+ "vendor": {
111
+ "type": "boolean",
112
+ "description": "Resolve vendor packages source maps.",
113
+ "default": false
114
+ }
115
+ },
116
+ "additionalProperties": false
153
117
  },
154
- "localize": {
155
- "description": "Translate the bundles in one or more locales.",
156
- "oneOf": [
157
- {
158
- "type": "boolean",
159
- "description": "Translate all locales."
160
- },
161
- {
162
- "type": "array",
163
- "description": "List of locales ID's to translate.",
164
- "minItems": 1,
165
- "items": {
166
- "type": "string",
167
- "pattern": "^[a-zA-Z]{2,3}(-[a-zA-Z]{4})?(-([a-zA-Z]{2}|[0-9]{3}))?(-[a-zA-Z]{5,8})?(-x(-[a-zA-Z0-9]{1,8})+)?$"
168
- }
169
- }
170
- ]
118
+ {
119
+ "type": "boolean"
120
+ }
121
+ ]
122
+ },
123
+ "deployUrl": {
124
+ "type": "string",
125
+ "description": "Customize the base path for the URLs of resources in 'index.html' and component stylesheets. This option is only necessary for specific deployment scenarios, such as with Angular Elements or when utilizing different CDN locations."
126
+ },
127
+ "vendorChunk": {
128
+ "type": "boolean",
129
+ "description": "Generate a separate bundle containing only vendor libraries. This option should only be used for development to reduce the incremental compilation time.",
130
+ "default": false
131
+ },
132
+ "verbose": {
133
+ "type": "boolean",
134
+ "description": "Adds more details to output logging.",
135
+ "default": false
136
+ },
137
+ "progress": {
138
+ "type": "boolean",
139
+ "description": "Log progress to the console while building.",
140
+ "default": true
141
+ },
142
+ "i18nMissingTranslation": {
143
+ "type": "string",
144
+ "description": "How to handle missing translations for i18n.",
145
+ "enum": ["warning", "error", "ignore"],
146
+ "default": "warning"
147
+ },
148
+ "i18nDuplicateTranslation": {
149
+ "type": "string",
150
+ "description": "How to handle duplicate translations for i18n.",
151
+ "enum": ["warning", "error", "ignore"],
152
+ "default": "warning"
153
+ },
154
+ "localize": {
155
+ "description": "Translate the bundles in one or more locales.",
156
+ "oneOf": [
157
+ {
158
+ "type": "boolean",
159
+ "description": "Translate all locales."
171
160
  },
172
- "outputHashing": {
161
+ {
162
+ "type": "array",
163
+ "description": "List of locales ID's to translate.",
164
+ "minItems": 1,
165
+ "items": {
173
166
  "type": "string",
174
- "description": "Define the output filename cache-busting hashing mode.",
175
- "default": "none",
176
- "enum": ["none", "all", "media", "bundles"]
177
- },
178
- "deleteOutputPath": {
179
- "type": "boolean",
180
- "description": "Delete the output path before building.",
181
- "default": true
182
- },
183
- "preserveSymlinks": {
184
- "type": "boolean",
185
- "description": "Do not use the real path when resolving modules. If unset then will default to `true` if NodeJS option --preserve-symlinks is set."
186
- },
187
- "extractLicenses": {
188
- "type": "boolean",
189
- "description": "Extract all licenses in a separate file, in the case of production builds only.",
190
- "default": true
191
- },
192
- "buildOptimizer": {
193
- "type": "boolean",
194
- "description": "Enables advanced build optimizations.",
195
- "default": true
196
- },
197
- "namedChunks": {
198
- "type": "boolean",
199
- "description": "Use file name for lazy loaded chunks.",
200
- "default": false
201
- },
202
- "externalDependencies": {
203
- "description": "Exclude the listed external dependencies from being bundled into the bundle. Instead, the created bundle relies on these dependencies to be available during runtime.",
204
- "type": "array",
205
- "items": {
206
- "type": "string"
167
+ "pattern": "^[a-zA-Z]{2,3}(-[a-zA-Z]{4})?(-([a-zA-Z]{2}|[0-9]{3}))?(-[a-zA-Z]{5,8})?(-x(-[a-zA-Z0-9]{1,8})+)?$"
168
+ }
169
+ }
170
+ ]
171
+ },
172
+ "outputHashing": {
173
+ "type": "string",
174
+ "description": "Define the output filename cache-busting hashing mode.",
175
+ "default": "none",
176
+ "enum": ["none", "all", "media", "bundles"]
177
+ },
178
+ "deleteOutputPath": {
179
+ "type": "boolean",
180
+ "description": "Delete the output path before building.",
181
+ "default": true
182
+ },
183
+ "preserveSymlinks": {
184
+ "type": "boolean",
185
+ "description": "Do not use the real path when resolving modules. If unset then will default to `true` if NodeJS option --preserve-symlinks is set."
186
+ },
187
+ "extractLicenses": {
188
+ "type": "boolean",
189
+ "description": "Extract all licenses in a separate file, in the case of production builds only.",
190
+ "default": true
191
+ },
192
+ "buildOptimizer": {
193
+ "type": "boolean",
194
+ "description": "Enables advanced build optimizations.",
195
+ "default": true
196
+ },
197
+ "namedChunks": {
198
+ "type": "boolean",
199
+ "description": "Use file name for lazy loaded chunks.",
200
+ "default": false
201
+ },
202
+ "externalDependencies": {
203
+ "description": "Exclude the listed external dependencies from being bundled into the bundle. Instead, the created bundle relies on these dependencies to be available during runtime.",
204
+ "type": "array",
205
+ "items": {
206
+ "type": "string"
207
+ },
208
+ "default": []
209
+ },
210
+ "statsJson": {
211
+ "type": "boolean",
212
+ "description": "Generates a 'stats.json' file which can be analyzed using tools such as 'webpack-bundle-analyzer'.",
213
+ "default": false
214
+ },
215
+ "watch": {
216
+ "type": "boolean",
217
+ "description": "Run build when files change.",
218
+ "default": false
219
+ },
220
+ "poll": {
221
+ "type": "number",
222
+ "description": "Enable and define the file watching poll time period in milliseconds."
223
+ },
224
+ "customWebpackConfig": {
225
+ "description": "Options for additional webpack configurations.",
226
+ "type": "object",
227
+ "properties": {
228
+ "path": {
229
+ "description": "Path to additional webpack configuration, relative to the workspace root.",
230
+ "type": "string"
231
+ }
232
+ },
233
+ "x-priority": "important",
234
+ "additionalProperties": false
235
+ },
236
+ "buildLibsFromSource": {
237
+ "type": "boolean",
238
+ "description": "Read buildable libraries from source instead of building them separately.",
239
+ "default": true,
240
+ "x-priority": "important"
241
+ }
242
+ },
243
+ "additionalProperties": false,
244
+ "required": ["outputPath", "main", "tsConfig"],
245
+ "definitions": {
246
+ "assetPattern": {
247
+ "oneOf": [
248
+ {
249
+ "type": "object",
250
+ "properties": {
251
+ "followSymlinks": {
252
+ "type": "boolean",
253
+ "default": false,
254
+ "description": "Allow glob patterns to follow symlink directories. This allows subdirectories of the symlink to be searched."
207
255
  },
208
- "default": []
209
- },
210
- "statsJson": {
211
- "type": "boolean",
212
- "description": "Generates a 'stats.json' file which can be analyzed using tools such as 'webpack-bundle-analyzer'.",
213
- "default": false
214
- },
215
- "watch": {
216
- "type": "boolean",
217
- "description": "Run build when files change.",
218
- "default": false
219
- },
220
- "poll": {
221
- "type": "number",
222
- "description": "Enable and define the file watching poll time period in milliseconds."
223
- },
224
- "customWebpackConfig": {
225
- "description": "Options for additional webpack configurations.",
226
- "type": "object",
227
- "properties": {
228
- "path": {
229
- "description": "Path to additional webpack configuration, relative to the workspace root.",
230
- "type": "string"
231
- }
256
+ "glob": {
257
+ "type": "string",
258
+ "description": "The pattern to match."
259
+ },
260
+ "input": {
261
+ "type": "string",
262
+ "description": "The input directory path in which to apply 'glob'. Defaults to the project root."
232
263
  },
233
- "x-priority": "important",
234
- "additionalProperties": false
264
+ "ignore": {
265
+ "description": "An array of globs to ignore.",
266
+ "type": "array",
267
+ "items": {
268
+ "type": "string"
269
+ }
270
+ },
271
+ "output": {
272
+ "type": "string",
273
+ "default": "",
274
+ "description": "Absolute path within the output."
275
+ }
276
+ },
277
+ "additionalProperties": false,
278
+ "required": ["glob", "input"]
235
279
  },
236
- "buildLibsFromSource": {
237
- "type": "boolean",
238
- "description": "Read buildable libraries from source instead of building them separately.",
239
- "default": true,
240
- "x-priority": "important"
280
+ {
281
+ "type": "string"
241
282
  }
283
+ ]
242
284
  },
243
- "additionalProperties": false,
244
- "required": ["outputPath", "main", "tsConfig"],
245
- "definitions": {
246
- "assetPattern": {
247
- "oneOf": [
248
- {
249
- "type": "object",
250
- "properties": {
251
- "followSymlinks": {
252
- "type": "boolean",
253
- "default": false,
254
- "description": "Allow glob patterns to follow symlink directories. This allows subdirectories of the symlink to be searched."
255
- },
256
- "glob": {
257
- "type": "string",
258
- "description": "The pattern to match."
259
- },
260
- "input": {
261
- "type": "string",
262
- "description": "The input directory path in which to apply 'glob'. Defaults to the project root."
263
- },
264
- "ignore": {
265
- "description": "An array of globs to ignore.",
266
- "type": "array",
267
- "items": {
268
- "type": "string"
269
- }
270
- },
271
- "output": {
272
- "type": "string",
273
- "default": "",
274
- "description": "Absolute path within the output."
275
- }
276
- },
277
- "additionalProperties": false,
278
- "required": ["glob", "input"]
279
- },
280
- {
281
- "type": "string"
282
- }
283
- ]
285
+ "fileReplacement": {
286
+ "oneOf": [
287
+ {
288
+ "type": "object",
289
+ "properties": {
290
+ "src": {
291
+ "type": "string",
292
+ "pattern": "\\.(([cm]?[jt])sx?|json)$"
293
+ },
294
+ "replaceWith": {
295
+ "type": "string",
296
+ "pattern": "\\.(([cm]?[jt])sx?|json)$"
297
+ }
298
+ },
299
+ "additionalProperties": false,
300
+ "required": ["src", "replaceWith"]
284
301
  },
285
- "fileReplacement": {
286
- "oneOf": [
287
- {
288
- "type": "object",
289
- "properties": {
290
- "src": {
291
- "type": "string",
292
- "pattern": "\\.(([cm]?[jt])sx?|json)$"
293
- },
294
- "replaceWith": {
295
- "type": "string",
296
- "pattern": "\\.(([cm]?[jt])sx?|json)$"
297
- }
298
- },
299
- "additionalProperties": false,
300
- "required": ["src", "replaceWith"]
301
- },
302
- {
303
- "type": "object",
304
- "properties": {
305
- "replace": {
306
- "type": "string",
307
- "pattern": "\\.(([cm]?[jt])sx?|json)$"
308
- },
309
- "with": {
310
- "type": "string",
311
- "pattern": "\\.(([cm]?[jt])sx?|json)$"
312
- }
313
- },
314
- "additionalProperties": false,
315
- "required": ["replace", "with"]
316
- }
317
- ]
302
+ {
303
+ "type": "object",
304
+ "properties": {
305
+ "replace": {
306
+ "type": "string",
307
+ "pattern": "\\.(([cm]?[jt])sx?|json)$"
308
+ },
309
+ "with": {
310
+ "type": "string",
311
+ "pattern": "\\.(([cm]?[jt])sx?|json)$"
312
+ }
313
+ },
314
+ "additionalProperties": false,
315
+ "required": ["replace", "with"]
318
316
  }
317
+ ]
319
318
  }
319
+ }
320
320
  }