@module-federation/enhanced 0.8.9 → 0.8.10
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/dist/package.json +15 -13
- package/dist/src/schemas/container/ContainerPlugin.check.d.ts +3 -2
- package/dist/src/schemas/container/ContainerPlugin.check.js +812 -1064
- package/dist/src/schemas/container/ContainerPlugin.check.js.map +1 -1
- package/dist/src/schemas/container/ContainerPlugin.d.ts +218 -257
- package/dist/src/schemas/container/ContainerPlugin.js +32 -31
- package/dist/src/schemas/container/ContainerPlugin.js.map +1 -1
- package/dist/src/schemas/container/ContainerReferencePlugin.check.d.ts +4 -3
- package/dist/src/schemas/container/ContainerReferencePlugin.check.js +258 -853
- package/dist/src/schemas/container/ContainerReferencePlugin.check.js.map +1 -1
- package/dist/src/schemas/container/ContainerReferencePlugin.d.ts +72 -67
- package/dist/src/schemas/container/ContainerReferencePlugin.js +6 -1
- package/dist/src/schemas/container/ContainerReferencePlugin.js.map +1 -1
- package/dist/src/schemas/container/ExternalsType.check.d.ts +8 -0
- package/dist/src/schemas/container/ExternalsType.check.js +64 -0
- package/dist/src/schemas/container/ExternalsType.check.js.map +1 -0
- package/dist/src/schemas/container/ExternalsType.d.ts +4 -0
- package/dist/src/schemas/container/ExternalsType.js +12 -0
- package/dist/src/schemas/container/ExternalsType.js.map +1 -0
- package/dist/src/schemas/container/ModuleFederationPlugin.check.js +3100 -0
- package/dist/src/schemas/container/ModuleFederationPlugin.check.js.map +1 -0
- package/dist/src/schemas/container/ModuleFederationPlugin.d.ts +622 -0
- package/dist/src/schemas/container/ModuleFederationPlugin.js +753 -0
- package/dist/src/schemas/container/ModuleFederationPlugin.js.map +1 -1
- package/dist/src/schemas/sharing/ConsumeSharedPlugin.check.d.ts +8 -0
- package/dist/src/schemas/sharing/ConsumeSharedPlugin.check.js +357 -0
- package/dist/src/schemas/sharing/ConsumeSharedPlugin.check.js.map +1 -0
- package/dist/src/schemas/sharing/ConsumeSharedPlugin.d.ts +106 -0
- package/dist/src/schemas/sharing/ConsumeSharedPlugin.js +129 -0
- package/dist/src/schemas/sharing/ConsumeSharedPlugin.js.map +1 -0
- package/dist/src/schemas/sharing/ProvideSharedPlugin.check.d.ts +8 -0
- package/dist/src/schemas/sharing/ProvideSharedPlugin.check.js +281 -0
- package/dist/src/schemas/sharing/ProvideSharedPlugin.check.js.map +1 -0
- package/dist/src/schemas/sharing/ProvideSharedPlugin.d.ts +83 -0
- package/dist/src/schemas/sharing/ProvideSharedPlugin.js +103 -0
- package/dist/src/schemas/sharing/ProvideSharedPlugin.js.map +1 -0
- package/dist/src/schemas/sharing/SharePlugin.check.d.ts +8 -0
- package/dist/src/schemas/sharing/SharePlugin.check.js +388 -0
- package/dist/src/schemas/sharing/SharePlugin.check.js.map +1 -0
- package/dist/src/schemas/sharing/SharePlugin.d.ts +116 -0
- package/dist/src/schemas/sharing/SharePlugin.js +142 -0
- package/dist/src/schemas/sharing/SharePlugin.js.map +1 -0
- package/package.json +17 -15
|
@@ -0,0 +1,622 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
readonly definitions: {
|
|
3
|
+
readonly AmdContainer: {
|
|
4
|
+
readonly description: "Add a container for define/require functions in the AMD module.";
|
|
5
|
+
readonly type: "string";
|
|
6
|
+
readonly minLength: 1;
|
|
7
|
+
};
|
|
8
|
+
readonly AuxiliaryComment: {
|
|
9
|
+
readonly description: "Add a comment in the UMD wrapper.";
|
|
10
|
+
readonly anyOf: readonly [{
|
|
11
|
+
readonly description: "Append the same comment above each import style.";
|
|
12
|
+
readonly type: "string";
|
|
13
|
+
}, {
|
|
14
|
+
readonly $ref: "#/definitions/LibraryCustomUmdCommentObject";
|
|
15
|
+
}];
|
|
16
|
+
};
|
|
17
|
+
readonly EntryRuntime: {
|
|
18
|
+
readonly description: "The name of the runtime chunk. If set a runtime chunk with this name is created or an existing entrypoint is used as runtime.";
|
|
19
|
+
readonly anyOf: readonly [{
|
|
20
|
+
readonly enum: readonly [false];
|
|
21
|
+
}, {
|
|
22
|
+
readonly type: "string";
|
|
23
|
+
readonly minLength: 1;
|
|
24
|
+
}];
|
|
25
|
+
};
|
|
26
|
+
readonly Exposes: {
|
|
27
|
+
readonly description: "Modules that should be exposed by this container. When provided, property name is used as public name, otherwise public name is automatically inferred from request.";
|
|
28
|
+
readonly anyOf: readonly [{
|
|
29
|
+
readonly type: "array";
|
|
30
|
+
readonly items: {
|
|
31
|
+
readonly description: "Modules that should be exposed by this container.";
|
|
32
|
+
readonly anyOf: readonly [{
|
|
33
|
+
readonly $ref: "#/definitions/ExposesItem";
|
|
34
|
+
}, {
|
|
35
|
+
readonly $ref: "#/definitions/ExposesObject";
|
|
36
|
+
}];
|
|
37
|
+
};
|
|
38
|
+
}, {
|
|
39
|
+
readonly $ref: "#/definitions/ExposesObject";
|
|
40
|
+
}];
|
|
41
|
+
};
|
|
42
|
+
readonly ExposesConfig: {
|
|
43
|
+
readonly description: "Advanced configuration for modules that should be exposed by this container.";
|
|
44
|
+
readonly type: "object";
|
|
45
|
+
readonly additionalProperties: false;
|
|
46
|
+
readonly properties: {
|
|
47
|
+
readonly import: {
|
|
48
|
+
readonly description: "Request to a module that should be exposed by this container.";
|
|
49
|
+
readonly anyOf: readonly [{
|
|
50
|
+
readonly $ref: "#/definitions/ExposesItem";
|
|
51
|
+
}, {
|
|
52
|
+
readonly $ref: "#/definitions/ExposesItems";
|
|
53
|
+
}];
|
|
54
|
+
};
|
|
55
|
+
readonly name: {
|
|
56
|
+
readonly description: "Custom chunk name for the exposed module.";
|
|
57
|
+
readonly type: "string";
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
readonly required: readonly ["import"];
|
|
61
|
+
};
|
|
62
|
+
readonly ExposesItem: {
|
|
63
|
+
readonly description: "Module that should be exposed by this container.";
|
|
64
|
+
readonly type: "string";
|
|
65
|
+
readonly minLength: 1;
|
|
66
|
+
};
|
|
67
|
+
readonly ExposesItems: {
|
|
68
|
+
readonly description: "Modules that should be exposed by this container.";
|
|
69
|
+
readonly type: "array";
|
|
70
|
+
readonly items: {
|
|
71
|
+
readonly $ref: "#/definitions/ExposesItem";
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
readonly ExposesObject: {
|
|
75
|
+
readonly description: "Modules that should be exposed by this container. Property names are used as public paths.";
|
|
76
|
+
readonly type: "object";
|
|
77
|
+
readonly additionalProperties: {
|
|
78
|
+
readonly description: "Modules that should be exposed by this container.";
|
|
79
|
+
readonly anyOf: readonly [{
|
|
80
|
+
readonly $ref: "#/definitions/ExposesConfig";
|
|
81
|
+
}, {
|
|
82
|
+
readonly $ref: "#/definitions/ExposesItem";
|
|
83
|
+
}, {
|
|
84
|
+
readonly $ref: "#/definitions/ExposesItems";
|
|
85
|
+
}];
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
readonly ExternalsType: {
|
|
89
|
+
readonly description: "Specifies the default type of externals ('amd*', 'umd*', 'system' and 'jsonp' depend on output.libraryTarget set to the same value).";
|
|
90
|
+
readonly enum: readonly ["var", "module", "assign", "this", "window", "self", "global", "commonjs", "commonjs2", "commonjs-module", "commonjs-static", "amd", "amd-require", "umd", "umd2", "jsonp", "system", "promise", "import", "script", "module-import", "node-commonjs"];
|
|
91
|
+
};
|
|
92
|
+
readonly LibraryCustomUmdCommentObject: {
|
|
93
|
+
readonly description: "Set explicit comments for `commonjs`, `commonjs2`, `amd`, and `root`.";
|
|
94
|
+
readonly type: "object";
|
|
95
|
+
readonly additionalProperties: false;
|
|
96
|
+
readonly properties: {
|
|
97
|
+
readonly amd: {
|
|
98
|
+
readonly description: "Set comment for `amd` section in UMD.";
|
|
99
|
+
readonly type: "string";
|
|
100
|
+
};
|
|
101
|
+
readonly commonjs: {
|
|
102
|
+
readonly description: "Set comment for `commonjs` (exports) section in UMD.";
|
|
103
|
+
readonly type: "string";
|
|
104
|
+
};
|
|
105
|
+
readonly commonjs2: {
|
|
106
|
+
readonly description: "Set comment for `commonjs2` (module.exports) section in UMD.";
|
|
107
|
+
readonly type: "string";
|
|
108
|
+
};
|
|
109
|
+
readonly root: {
|
|
110
|
+
readonly description: "Set comment for `root` (global variable) section in UMD.";
|
|
111
|
+
readonly type: "string";
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
readonly LibraryCustomUmdObject: {
|
|
116
|
+
readonly description: "Description object for all UMD variants of the library name.";
|
|
117
|
+
readonly type: "object";
|
|
118
|
+
readonly additionalProperties: false;
|
|
119
|
+
readonly properties: {
|
|
120
|
+
readonly amd: {
|
|
121
|
+
readonly description: "Name of the exposed AMD library in the UMD.";
|
|
122
|
+
readonly type: "string";
|
|
123
|
+
readonly minLength: 1;
|
|
124
|
+
};
|
|
125
|
+
readonly commonjs: {
|
|
126
|
+
readonly description: "Name of the exposed commonjs export in the UMD.";
|
|
127
|
+
readonly type: "string";
|
|
128
|
+
readonly minLength: 1;
|
|
129
|
+
};
|
|
130
|
+
readonly root: {
|
|
131
|
+
readonly description: "Name of the property exposed globally by a UMD library.";
|
|
132
|
+
readonly anyOf: readonly [{
|
|
133
|
+
readonly type: "array";
|
|
134
|
+
readonly items: {
|
|
135
|
+
readonly description: "Part of the name of the property exposed globally by a UMD library.";
|
|
136
|
+
readonly type: "string";
|
|
137
|
+
readonly minLength: 1;
|
|
138
|
+
};
|
|
139
|
+
}, {
|
|
140
|
+
readonly type: "string";
|
|
141
|
+
readonly minLength: 1;
|
|
142
|
+
}];
|
|
143
|
+
};
|
|
144
|
+
};
|
|
145
|
+
};
|
|
146
|
+
readonly LibraryExport: {
|
|
147
|
+
readonly description: "Specify which export should be exposed as library.";
|
|
148
|
+
readonly anyOf: readonly [{
|
|
149
|
+
readonly type: "array";
|
|
150
|
+
readonly items: {
|
|
151
|
+
readonly description: "Part of the export that should be exposed as library.";
|
|
152
|
+
readonly type: "string";
|
|
153
|
+
readonly minLength: 1;
|
|
154
|
+
};
|
|
155
|
+
}, {
|
|
156
|
+
readonly type: "string";
|
|
157
|
+
readonly minLength: 1;
|
|
158
|
+
}];
|
|
159
|
+
};
|
|
160
|
+
readonly LibraryName: {
|
|
161
|
+
readonly description: "The name of the library (some types allow unnamed libraries too).";
|
|
162
|
+
readonly anyOf: readonly [{
|
|
163
|
+
readonly type: "array";
|
|
164
|
+
readonly items: {
|
|
165
|
+
readonly description: "A part of the library name.";
|
|
166
|
+
readonly type: "string";
|
|
167
|
+
readonly minLength: 1;
|
|
168
|
+
};
|
|
169
|
+
readonly minItems: 1;
|
|
170
|
+
}, {
|
|
171
|
+
readonly type: "string";
|
|
172
|
+
readonly minLength: 1;
|
|
173
|
+
}, {
|
|
174
|
+
readonly $ref: "#/definitions/LibraryCustomUmdObject";
|
|
175
|
+
}];
|
|
176
|
+
};
|
|
177
|
+
readonly LibraryOptions: {
|
|
178
|
+
readonly description: "Options for library.";
|
|
179
|
+
readonly type: "object";
|
|
180
|
+
readonly additionalProperties: false;
|
|
181
|
+
readonly properties: {
|
|
182
|
+
readonly amdContainer: {
|
|
183
|
+
readonly $ref: "#/definitions/AmdContainer";
|
|
184
|
+
};
|
|
185
|
+
readonly auxiliaryComment: {
|
|
186
|
+
readonly $ref: "#/definitions/AuxiliaryComment";
|
|
187
|
+
};
|
|
188
|
+
readonly export: {
|
|
189
|
+
readonly $ref: "#/definitions/LibraryExport";
|
|
190
|
+
};
|
|
191
|
+
readonly name: {
|
|
192
|
+
readonly $ref: "#/definitions/LibraryName";
|
|
193
|
+
};
|
|
194
|
+
readonly type: {
|
|
195
|
+
readonly $ref: "#/definitions/LibraryType";
|
|
196
|
+
};
|
|
197
|
+
readonly umdNamedDefine: {
|
|
198
|
+
readonly $ref: "#/definitions/UmdNamedDefine";
|
|
199
|
+
};
|
|
200
|
+
};
|
|
201
|
+
readonly required: readonly ["type"];
|
|
202
|
+
};
|
|
203
|
+
readonly LibraryType: {
|
|
204
|
+
readonly description: "Type of library (types included by default are 'var', 'module', 'assign', 'assign-properties', 'this', 'window', 'self', 'global', 'commonjs', 'commonjs2', 'commonjs-module', 'commonjs-static', 'amd', 'amd-require', 'umd', 'umd2', 'jsonp', 'system', but others might be added by plugins).";
|
|
205
|
+
readonly anyOf: readonly [{
|
|
206
|
+
readonly enum: readonly ["var", "module", "assign", "assign-properties", "this", "window", "self", "global", "commonjs", "commonjs2", "commonjs-module", "commonjs-static", "amd", "amd-require", "umd", "umd2", "jsonp", "system"];
|
|
207
|
+
}, {
|
|
208
|
+
readonly type: "string";
|
|
209
|
+
}];
|
|
210
|
+
};
|
|
211
|
+
readonly Remotes: {
|
|
212
|
+
readonly description: "Container locations and request scopes from which modules should be resolved and loaded at runtime. When provided, property name is used as request scope, otherwise request scope is automatically inferred from container location.";
|
|
213
|
+
readonly anyOf: readonly [{
|
|
214
|
+
readonly type: "array";
|
|
215
|
+
readonly items: {
|
|
216
|
+
readonly description: "Container locations and request scopes from which modules should be resolved and loaded at runtime.";
|
|
217
|
+
readonly anyOf: readonly [{
|
|
218
|
+
readonly $ref: "#/definitions/RemotesItem";
|
|
219
|
+
}, {
|
|
220
|
+
readonly $ref: "#/definitions/RemotesObject";
|
|
221
|
+
}];
|
|
222
|
+
};
|
|
223
|
+
}, {
|
|
224
|
+
readonly $ref: "#/definitions/RemotesObject";
|
|
225
|
+
}];
|
|
226
|
+
};
|
|
227
|
+
readonly RemotesConfig: {
|
|
228
|
+
readonly description: "Advanced configuration for container locations from which modules should be resolved and loaded at runtime.";
|
|
229
|
+
readonly type: "object";
|
|
230
|
+
readonly additionalProperties: false;
|
|
231
|
+
readonly properties: {
|
|
232
|
+
readonly external: {
|
|
233
|
+
readonly description: "Container locations from which modules should be resolved and loaded at runtime.";
|
|
234
|
+
readonly anyOf: readonly [{
|
|
235
|
+
readonly $ref: "#/definitions/RemotesItem";
|
|
236
|
+
}, {
|
|
237
|
+
readonly $ref: "#/definitions/RemotesItems";
|
|
238
|
+
}];
|
|
239
|
+
};
|
|
240
|
+
readonly shareScope: {
|
|
241
|
+
readonly description: "The name of the share scope shared with this remote.";
|
|
242
|
+
readonly type: "string";
|
|
243
|
+
readonly minLength: 1;
|
|
244
|
+
};
|
|
245
|
+
};
|
|
246
|
+
readonly required: readonly ["external"];
|
|
247
|
+
};
|
|
248
|
+
readonly RemotesItem: {
|
|
249
|
+
readonly description: "Container location from which modules should be resolved and loaded at runtime.";
|
|
250
|
+
readonly type: "string";
|
|
251
|
+
readonly minLength: 1;
|
|
252
|
+
};
|
|
253
|
+
readonly RemotesItems: {
|
|
254
|
+
readonly description: "Container locations from which modules should be resolved and loaded at runtime.";
|
|
255
|
+
readonly type: "array";
|
|
256
|
+
readonly items: {
|
|
257
|
+
readonly $ref: "#/definitions/RemotesItem";
|
|
258
|
+
};
|
|
259
|
+
};
|
|
260
|
+
readonly RemotesObject: {
|
|
261
|
+
readonly description: "Container locations from which modules should be resolved and loaded at runtime. Property names are used as request scopes.";
|
|
262
|
+
readonly type: "object";
|
|
263
|
+
readonly additionalProperties: {
|
|
264
|
+
readonly description: "Container locations from which modules should be resolved and loaded at runtime.";
|
|
265
|
+
readonly anyOf: readonly [{
|
|
266
|
+
readonly $ref: "#/definitions/RemotesConfig";
|
|
267
|
+
}, {
|
|
268
|
+
readonly $ref: "#/definitions/RemotesItem";
|
|
269
|
+
}, {
|
|
270
|
+
readonly $ref: "#/definitions/RemotesItems";
|
|
271
|
+
}];
|
|
272
|
+
};
|
|
273
|
+
};
|
|
274
|
+
readonly Shared: {
|
|
275
|
+
readonly description: "Modules that should be shared in the share scope. When provided, property names are used to match requested modules in this compilation.";
|
|
276
|
+
readonly anyOf: readonly [{
|
|
277
|
+
readonly type: "array";
|
|
278
|
+
readonly items: {
|
|
279
|
+
readonly description: "Modules that should be shared in the share scope.";
|
|
280
|
+
readonly anyOf: readonly [{
|
|
281
|
+
readonly $ref: "#/definitions/SharedItem";
|
|
282
|
+
}, {
|
|
283
|
+
readonly $ref: "#/definitions/SharedObject";
|
|
284
|
+
}];
|
|
285
|
+
};
|
|
286
|
+
}, {
|
|
287
|
+
readonly $ref: "#/definitions/SharedObject";
|
|
288
|
+
}];
|
|
289
|
+
};
|
|
290
|
+
readonly SharedConfig: {
|
|
291
|
+
readonly description: "Advanced configuration for modules that should be shared in the share scope.";
|
|
292
|
+
readonly type: "object";
|
|
293
|
+
readonly additionalProperties: false;
|
|
294
|
+
readonly properties: {
|
|
295
|
+
readonly eager: {
|
|
296
|
+
readonly description: "Include the provided and fallback module directly instead behind an async request. This allows to use this shared module in initial load too. All possible shared modules need to be eager too.";
|
|
297
|
+
readonly type: "boolean";
|
|
298
|
+
};
|
|
299
|
+
readonly import: {
|
|
300
|
+
readonly description: "Provided module that should be provided to share scope. Also acts as fallback module if no shared module is found in share scope or version isn't valid. Defaults to the property name.";
|
|
301
|
+
readonly anyOf: readonly [{
|
|
302
|
+
readonly description: "No provided or fallback module.";
|
|
303
|
+
readonly enum: readonly [false];
|
|
304
|
+
}, {
|
|
305
|
+
readonly $ref: "#/definitions/SharedItem";
|
|
306
|
+
}];
|
|
307
|
+
};
|
|
308
|
+
readonly packageName: {
|
|
309
|
+
readonly description: "Package name to determine required version from description file. This is only needed when package name can't be automatically determined from request.";
|
|
310
|
+
readonly type: "string";
|
|
311
|
+
readonly minLength: 1;
|
|
312
|
+
};
|
|
313
|
+
readonly requiredVersion: {
|
|
314
|
+
readonly description: "Version requirement from module in share scope.";
|
|
315
|
+
readonly anyOf: readonly [{
|
|
316
|
+
readonly description: "No version requirement check.";
|
|
317
|
+
readonly enum: readonly [false];
|
|
318
|
+
}, {
|
|
319
|
+
readonly description: "Version as string. Can be prefixed with '^' or '~' for minimum matches. Each part of the version should be separated by a dot '.'.";
|
|
320
|
+
readonly type: "string";
|
|
321
|
+
}];
|
|
322
|
+
};
|
|
323
|
+
readonly shareKey: {
|
|
324
|
+
readonly description: "Module is looked up under this key from the share scope.";
|
|
325
|
+
readonly type: "string";
|
|
326
|
+
readonly minLength: 1;
|
|
327
|
+
};
|
|
328
|
+
readonly shareScope: {
|
|
329
|
+
readonly description: "Share scope name.";
|
|
330
|
+
readonly type: "string";
|
|
331
|
+
readonly minLength: 1;
|
|
332
|
+
};
|
|
333
|
+
readonly shareStrategy: {
|
|
334
|
+
readonly description: "load shared strategy(defaults to 'version-first').";
|
|
335
|
+
readonly enum: readonly ["version-first", "loaded-first"];
|
|
336
|
+
};
|
|
337
|
+
readonly singleton: {
|
|
338
|
+
readonly description: "Allow only a single version of the shared module in share scope (disabled by default).";
|
|
339
|
+
readonly type: "boolean";
|
|
340
|
+
};
|
|
341
|
+
readonly strictVersion: {
|
|
342
|
+
readonly description: "Do not accept shared module if version is not valid (defaults to yes, if local fallback module is available and shared module is not a singleton, otherwise no, has no effect if there is no required version specified).";
|
|
343
|
+
readonly type: "boolean";
|
|
344
|
+
};
|
|
345
|
+
readonly version: {
|
|
346
|
+
readonly description: "Version of the provided module. Will replace lower matching versions, but not higher.";
|
|
347
|
+
readonly anyOf: readonly [{
|
|
348
|
+
readonly description: "Don't provide a version.";
|
|
349
|
+
readonly enum: readonly [false];
|
|
350
|
+
}, {
|
|
351
|
+
readonly description: "Version as string. Each part of the version should be separated by a dot '.'.";
|
|
352
|
+
readonly type: "string";
|
|
353
|
+
}];
|
|
354
|
+
};
|
|
355
|
+
};
|
|
356
|
+
};
|
|
357
|
+
readonly SharedItem: {
|
|
358
|
+
readonly description: "A module that should be shared in the share scope.";
|
|
359
|
+
readonly type: "string";
|
|
360
|
+
readonly minLength: 1;
|
|
361
|
+
};
|
|
362
|
+
readonly SharedObject: {
|
|
363
|
+
readonly description: "Modules that should be shared in the share scope. Property names are used to match requested modules in this compilation. Relative requests are resolved, module requests are matched unresolved, absolute paths will match resolved requests. A trailing slash will match all requests with this prefix. In this case shareKey must also have a trailing slash.";
|
|
364
|
+
readonly type: "object";
|
|
365
|
+
readonly additionalProperties: {
|
|
366
|
+
readonly description: "Modules that should be shared in the share scope.";
|
|
367
|
+
readonly anyOf: readonly [{
|
|
368
|
+
readonly $ref: "#/definitions/SharedConfig";
|
|
369
|
+
}, {
|
|
370
|
+
readonly $ref: "#/definitions/SharedItem";
|
|
371
|
+
}];
|
|
372
|
+
};
|
|
373
|
+
};
|
|
374
|
+
readonly UmdNamedDefine: {
|
|
375
|
+
readonly description: "If `output.libraryTarget` is set to umd and `output.library` is set, setting this to true will name the AMD module.";
|
|
376
|
+
readonly type: "boolean";
|
|
377
|
+
};
|
|
378
|
+
};
|
|
379
|
+
readonly title: "ModuleFederationPluginOptions";
|
|
380
|
+
readonly type: "object";
|
|
381
|
+
readonly additionalProperties: false;
|
|
382
|
+
readonly properties: {
|
|
383
|
+
readonly dataPrefetch: {
|
|
384
|
+
readonly description: "Enable Data Prefetch";
|
|
385
|
+
readonly type: "boolean";
|
|
386
|
+
};
|
|
387
|
+
readonly exposes: {
|
|
388
|
+
readonly $ref: "#/definitions/Exposes";
|
|
389
|
+
};
|
|
390
|
+
readonly filename: {
|
|
391
|
+
readonly description: "The filename of the container as relative path inside the `output.path` directory.";
|
|
392
|
+
readonly type: "string";
|
|
393
|
+
readonly absolutePath: false;
|
|
394
|
+
};
|
|
395
|
+
readonly getPublicPath: {
|
|
396
|
+
readonly description: "Custom public path function";
|
|
397
|
+
readonly type: "string";
|
|
398
|
+
};
|
|
399
|
+
readonly implementation: {
|
|
400
|
+
readonly description: "Bundler runtime path";
|
|
401
|
+
readonly type: "string";
|
|
402
|
+
};
|
|
403
|
+
readonly library: {
|
|
404
|
+
readonly $ref: "#/definitions/LibraryOptions";
|
|
405
|
+
};
|
|
406
|
+
readonly manifest: {
|
|
407
|
+
readonly description: "Manifest generation options";
|
|
408
|
+
readonly anyOf: readonly [{
|
|
409
|
+
readonly type: "boolean";
|
|
410
|
+
}, {
|
|
411
|
+
readonly type: "object";
|
|
412
|
+
readonly properties: {
|
|
413
|
+
readonly filePath: {
|
|
414
|
+
readonly type: "string";
|
|
415
|
+
};
|
|
416
|
+
readonly disableAssetsAnalyze: {
|
|
417
|
+
readonly type: "boolean";
|
|
418
|
+
};
|
|
419
|
+
readonly fileName: {
|
|
420
|
+
readonly type: "string";
|
|
421
|
+
};
|
|
422
|
+
readonly additionalData: {
|
|
423
|
+
readonly type: "string";
|
|
424
|
+
readonly description: "Function string to provide additional data to the manifest";
|
|
425
|
+
};
|
|
426
|
+
};
|
|
427
|
+
}];
|
|
428
|
+
};
|
|
429
|
+
readonly name: {
|
|
430
|
+
readonly description: "The name of the container.";
|
|
431
|
+
readonly type: "string";
|
|
432
|
+
};
|
|
433
|
+
readonly remoteType: {
|
|
434
|
+
readonly description: "The external type of the remote containers.";
|
|
435
|
+
readonly oneOf: readonly [{
|
|
436
|
+
readonly $ref: "#/definitions/ExternalsType";
|
|
437
|
+
}];
|
|
438
|
+
};
|
|
439
|
+
readonly remotes: {
|
|
440
|
+
readonly $ref: "#/definitions/Remotes";
|
|
441
|
+
};
|
|
442
|
+
readonly runtime: {
|
|
443
|
+
readonly $ref: "#/definitions/EntryRuntime";
|
|
444
|
+
};
|
|
445
|
+
readonly runtimePlugins: {
|
|
446
|
+
readonly description: "Runtime plugin file paths or package name";
|
|
447
|
+
readonly type: "array";
|
|
448
|
+
readonly items: {
|
|
449
|
+
readonly type: "string";
|
|
450
|
+
};
|
|
451
|
+
};
|
|
452
|
+
readonly shareScope: {
|
|
453
|
+
readonly description: "Share scope name used for all shared modules (defaults to 'default').";
|
|
454
|
+
readonly type: "string";
|
|
455
|
+
readonly minLength: 1;
|
|
456
|
+
};
|
|
457
|
+
readonly shareStrategy: {
|
|
458
|
+
readonly description: "load shared strategy(defaults to 'version-first').";
|
|
459
|
+
readonly enum: readonly ["version-first", "loaded-first"];
|
|
460
|
+
};
|
|
461
|
+
readonly shared: {
|
|
462
|
+
readonly $ref: "#/definitions/Shared";
|
|
463
|
+
};
|
|
464
|
+
readonly virtualRuntimeEntry: {
|
|
465
|
+
readonly description: "Enable virtual runtime entry";
|
|
466
|
+
readonly type: "boolean";
|
|
467
|
+
};
|
|
468
|
+
readonly dev: {
|
|
469
|
+
readonly description: "Development options";
|
|
470
|
+
readonly anyOf: readonly [{
|
|
471
|
+
readonly type: "boolean";
|
|
472
|
+
}, {
|
|
473
|
+
readonly type: "object";
|
|
474
|
+
readonly properties: {
|
|
475
|
+
readonly disableLiveReload: {
|
|
476
|
+
readonly type: "boolean";
|
|
477
|
+
};
|
|
478
|
+
readonly disableHotTypesReload: {
|
|
479
|
+
readonly type: "boolean";
|
|
480
|
+
};
|
|
481
|
+
readonly disableDynamicRemoteTypeHints: {
|
|
482
|
+
readonly type: "boolean";
|
|
483
|
+
};
|
|
484
|
+
};
|
|
485
|
+
}];
|
|
486
|
+
};
|
|
487
|
+
readonly dts: {
|
|
488
|
+
readonly description: "TypeScript declaration file generation options";
|
|
489
|
+
readonly anyOf: readonly [{
|
|
490
|
+
readonly type: "boolean";
|
|
491
|
+
}, {
|
|
492
|
+
readonly type: "object";
|
|
493
|
+
readonly properties: {
|
|
494
|
+
readonly generateTypes: {
|
|
495
|
+
readonly anyOf: readonly [{
|
|
496
|
+
readonly type: "boolean";
|
|
497
|
+
}, {
|
|
498
|
+
readonly type: "object";
|
|
499
|
+
readonly properties: {
|
|
500
|
+
readonly tsConfigPath: {
|
|
501
|
+
readonly type: "string";
|
|
502
|
+
};
|
|
503
|
+
readonly typesFolder: {
|
|
504
|
+
readonly type: "string";
|
|
505
|
+
};
|
|
506
|
+
readonly compiledTypesFolder: {
|
|
507
|
+
readonly type: "string";
|
|
508
|
+
};
|
|
509
|
+
readonly deleteTypesFolder: {
|
|
510
|
+
readonly type: "boolean";
|
|
511
|
+
};
|
|
512
|
+
readonly additionalFilesToCompile: {
|
|
513
|
+
readonly type: "array";
|
|
514
|
+
readonly items: {
|
|
515
|
+
readonly type: "string";
|
|
516
|
+
};
|
|
517
|
+
};
|
|
518
|
+
readonly compileInChildProcess: {
|
|
519
|
+
readonly type: "boolean";
|
|
520
|
+
};
|
|
521
|
+
readonly compilerInstance: {
|
|
522
|
+
readonly enum: readonly ["tsc", "vue-tsc"];
|
|
523
|
+
};
|
|
524
|
+
readonly generateAPITypes: {
|
|
525
|
+
readonly type: "boolean";
|
|
526
|
+
};
|
|
527
|
+
readonly extractThirdParty: {
|
|
528
|
+
readonly type: "boolean";
|
|
529
|
+
};
|
|
530
|
+
readonly extractRemoteTypes: {
|
|
531
|
+
readonly type: "boolean";
|
|
532
|
+
};
|
|
533
|
+
readonly abortOnError: {
|
|
534
|
+
readonly type: "boolean";
|
|
535
|
+
};
|
|
536
|
+
};
|
|
537
|
+
}];
|
|
538
|
+
};
|
|
539
|
+
readonly consumeTypes: {
|
|
540
|
+
readonly anyOf: readonly [{
|
|
541
|
+
readonly type: "boolean";
|
|
542
|
+
}, {
|
|
543
|
+
readonly type: "object";
|
|
544
|
+
readonly properties: {
|
|
545
|
+
readonly typesFolder: {
|
|
546
|
+
readonly type: "string";
|
|
547
|
+
};
|
|
548
|
+
readonly abortOnError: {
|
|
549
|
+
readonly type: "boolean";
|
|
550
|
+
};
|
|
551
|
+
readonly remoteTypesFolder: {
|
|
552
|
+
readonly type: "string";
|
|
553
|
+
};
|
|
554
|
+
readonly deleteTypesFolder: {
|
|
555
|
+
readonly type: "boolean";
|
|
556
|
+
};
|
|
557
|
+
readonly maxRetries: {
|
|
558
|
+
readonly type: "number";
|
|
559
|
+
};
|
|
560
|
+
readonly consumeAPITypes: {
|
|
561
|
+
readonly type: "boolean";
|
|
562
|
+
};
|
|
563
|
+
readonly runtimePkgs: {
|
|
564
|
+
readonly type: "array";
|
|
565
|
+
readonly items: {
|
|
566
|
+
readonly type: "string";
|
|
567
|
+
};
|
|
568
|
+
};
|
|
569
|
+
};
|
|
570
|
+
}];
|
|
571
|
+
};
|
|
572
|
+
readonly tsConfigPath: {
|
|
573
|
+
readonly type: "string";
|
|
574
|
+
};
|
|
575
|
+
readonly extraOptions: {
|
|
576
|
+
readonly type: "object";
|
|
577
|
+
};
|
|
578
|
+
readonly implementation: {
|
|
579
|
+
readonly type: "string";
|
|
580
|
+
};
|
|
581
|
+
readonly cwd: {
|
|
582
|
+
readonly type: "string";
|
|
583
|
+
};
|
|
584
|
+
readonly displayErrorInTerminal: {
|
|
585
|
+
readonly type: "boolean";
|
|
586
|
+
};
|
|
587
|
+
};
|
|
588
|
+
}];
|
|
589
|
+
};
|
|
590
|
+
readonly experiments: {
|
|
591
|
+
readonly type: "object";
|
|
592
|
+
readonly properties: {
|
|
593
|
+
readonly federationRuntime: {
|
|
594
|
+
readonly anyOf: readonly [{
|
|
595
|
+
readonly type: "boolean";
|
|
596
|
+
readonly enum: readonly [false];
|
|
597
|
+
}, {
|
|
598
|
+
readonly type: "string";
|
|
599
|
+
readonly enum: readonly ["hoisted"];
|
|
600
|
+
}];
|
|
601
|
+
};
|
|
602
|
+
readonly externalRuntime: {
|
|
603
|
+
readonly type: "boolean";
|
|
604
|
+
};
|
|
605
|
+
readonly provideExternalRuntime: {
|
|
606
|
+
readonly type: "boolean";
|
|
607
|
+
};
|
|
608
|
+
};
|
|
609
|
+
};
|
|
610
|
+
readonly bridge: {
|
|
611
|
+
readonly type: "object";
|
|
612
|
+
readonly properties: {
|
|
613
|
+
readonly disableAlias: {
|
|
614
|
+
readonly description: "Disables the default alias setting in the bridge. When true, users must manually handle basename through root component props.";
|
|
615
|
+
readonly type: "boolean";
|
|
616
|
+
readonly default: false;
|
|
617
|
+
};
|
|
618
|
+
};
|
|
619
|
+
};
|
|
620
|
+
};
|
|
621
|
+
};
|
|
622
|
+
export default _default;
|