@module-federation/enhanced 0.8.8 → 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/dist/src/wrapper/ModuleFederationPlugin.js +0 -3
- package/dist/src/wrapper/ModuleFederationPlugin.js.map +1 -1
- package/package.json +17 -15
|
@@ -1,313 +1,274 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
-
definitions: {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
readonly definitions: {
|
|
3
|
+
readonly RuntimePlugin: {
|
|
4
|
+
readonly type: "array";
|
|
5
|
+
readonly items: {
|
|
6
|
+
readonly type: "string";
|
|
7
|
+
};
|
|
8
|
+
readonly description: "Runtime plugin file paths or package name.";
|
|
9
|
+
};
|
|
10
|
+
readonly AmdContainer: {
|
|
11
|
+
readonly description: "Add a container for define/require functions in the AMD module.";
|
|
12
|
+
readonly type: "string";
|
|
13
|
+
readonly minLength: 1;
|
|
7
14
|
};
|
|
8
|
-
AuxiliaryComment: {
|
|
9
|
-
description:
|
|
10
|
-
anyOf:
|
|
11
|
-
description:
|
|
12
|
-
type: string;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
description?: undefined;
|
|
17
|
-
type?: undefined;
|
|
18
|
-
})[];
|
|
15
|
+
readonly AuxiliaryComment: {
|
|
16
|
+
readonly description: "Add a comment in the UMD wrapper.";
|
|
17
|
+
readonly anyOf: readonly [{
|
|
18
|
+
readonly description: "Append the same comment above each import style.";
|
|
19
|
+
readonly type: "string";
|
|
20
|
+
}, {
|
|
21
|
+
readonly $ref: "#/definitions/LibraryCustomUmdCommentObject";
|
|
22
|
+
}];
|
|
19
23
|
};
|
|
20
|
-
EntryRuntime: {
|
|
21
|
-
description:
|
|
22
|
-
anyOf:
|
|
23
|
-
enum:
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
minLength: number;
|
|
29
|
-
enum?: undefined;
|
|
30
|
-
})[];
|
|
24
|
+
readonly EntryRuntime: {
|
|
25
|
+
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.";
|
|
26
|
+
readonly anyOf: readonly [{
|
|
27
|
+
readonly enum: readonly [false];
|
|
28
|
+
}, {
|
|
29
|
+
readonly type: "string";
|
|
30
|
+
readonly minLength: 1;
|
|
31
|
+
}];
|
|
31
32
|
};
|
|
32
|
-
Exposes: {
|
|
33
|
-
description:
|
|
34
|
-
anyOf:
|
|
35
|
-
type:
|
|
36
|
-
items: {
|
|
37
|
-
description:
|
|
38
|
-
anyOf: {
|
|
39
|
-
$ref:
|
|
40
|
-
}
|
|
33
|
+
readonly Exposes: {
|
|
34
|
+
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.";
|
|
35
|
+
readonly anyOf: readonly [{
|
|
36
|
+
readonly type: "array";
|
|
37
|
+
readonly items: {
|
|
38
|
+
readonly description: "Modules that should be exposed by this container.";
|
|
39
|
+
readonly anyOf: readonly [{
|
|
40
|
+
readonly $ref: "#/definitions/ExposesItem";
|
|
41
|
+
}, {
|
|
42
|
+
readonly $ref: "#/definitions/ExposesObject";
|
|
43
|
+
}];
|
|
41
44
|
};
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
type?: undefined;
|
|
46
|
-
items?: undefined;
|
|
47
|
-
})[];
|
|
45
|
+
}, {
|
|
46
|
+
readonly $ref: "#/definitions/ExposesObject";
|
|
47
|
+
}];
|
|
48
48
|
};
|
|
49
|
-
ExposesConfig: {
|
|
50
|
-
description:
|
|
51
|
-
type:
|
|
52
|
-
additionalProperties:
|
|
53
|
-
properties: {
|
|
54
|
-
import: {
|
|
55
|
-
description:
|
|
56
|
-
anyOf: {
|
|
57
|
-
$ref:
|
|
58
|
-
}
|
|
49
|
+
readonly ExposesConfig: {
|
|
50
|
+
readonly description: "Advanced configuration for modules that should be exposed by this container.";
|
|
51
|
+
readonly type: "object";
|
|
52
|
+
readonly additionalProperties: false;
|
|
53
|
+
readonly properties: {
|
|
54
|
+
readonly import: {
|
|
55
|
+
readonly description: "Request to a module that should be exposed by this container.";
|
|
56
|
+
readonly anyOf: readonly [{
|
|
57
|
+
readonly $ref: "#/definitions/ExposesItem";
|
|
58
|
+
}, {
|
|
59
|
+
readonly $ref: "#/definitions/ExposesItems";
|
|
60
|
+
}];
|
|
59
61
|
};
|
|
60
|
-
name: {
|
|
61
|
-
description:
|
|
62
|
-
type: string;
|
|
62
|
+
readonly name: {
|
|
63
|
+
readonly description: "Custom chunk name for the exposed module.";
|
|
64
|
+
readonly type: "string";
|
|
63
65
|
};
|
|
64
66
|
};
|
|
65
|
-
required:
|
|
67
|
+
readonly required: readonly ["import"];
|
|
66
68
|
};
|
|
67
|
-
ExposesItem: {
|
|
68
|
-
description:
|
|
69
|
-
type: string;
|
|
70
|
-
minLength:
|
|
69
|
+
readonly ExposesItem: {
|
|
70
|
+
readonly description: "Module that should be exposed by this container.";
|
|
71
|
+
readonly type: "string";
|
|
72
|
+
readonly minLength: 1;
|
|
71
73
|
};
|
|
72
|
-
ExposesItems: {
|
|
73
|
-
description:
|
|
74
|
-
type:
|
|
75
|
-
items: {
|
|
76
|
-
$ref:
|
|
74
|
+
readonly ExposesItems: {
|
|
75
|
+
readonly description: "Modules that should be exposed by this container.";
|
|
76
|
+
readonly type: "array";
|
|
77
|
+
readonly items: {
|
|
78
|
+
readonly $ref: "#/definitions/ExposesItem";
|
|
77
79
|
};
|
|
78
80
|
};
|
|
79
|
-
ExposesObject: {
|
|
80
|
-
description:
|
|
81
|
-
type:
|
|
82
|
-
additionalProperties: {
|
|
83
|
-
description:
|
|
84
|
-
anyOf: {
|
|
85
|
-
$ref:
|
|
86
|
-
}
|
|
81
|
+
readonly ExposesObject: {
|
|
82
|
+
readonly description: "Modules that should be exposed by this container. Property names are used as public paths.";
|
|
83
|
+
readonly type: "object";
|
|
84
|
+
readonly additionalProperties: {
|
|
85
|
+
readonly description: "Modules that should be exposed by this container.";
|
|
86
|
+
readonly anyOf: readonly [{
|
|
87
|
+
readonly $ref: "#/definitions/ExposesConfig";
|
|
88
|
+
}, {
|
|
89
|
+
readonly $ref: "#/definitions/ExposesItem";
|
|
90
|
+
}, {
|
|
91
|
+
readonly $ref: "#/definitions/ExposesItems";
|
|
92
|
+
}];
|
|
87
93
|
};
|
|
88
94
|
};
|
|
89
|
-
LibraryCustomUmdCommentObject: {
|
|
90
|
-
description:
|
|
91
|
-
type:
|
|
92
|
-
additionalProperties:
|
|
93
|
-
properties: {
|
|
94
|
-
amd: {
|
|
95
|
-
description:
|
|
96
|
-
type: string;
|
|
95
|
+
readonly LibraryCustomUmdCommentObject: {
|
|
96
|
+
readonly description: "Set explicit comments for `commonjs`, `commonjs2`, `amd`, and `root`.";
|
|
97
|
+
readonly type: "object";
|
|
98
|
+
readonly additionalProperties: false;
|
|
99
|
+
readonly properties: {
|
|
100
|
+
readonly amd: {
|
|
101
|
+
readonly description: "Set comment for `amd` section in UMD.";
|
|
102
|
+
readonly type: "string";
|
|
97
103
|
};
|
|
98
|
-
commonjs: {
|
|
99
|
-
description:
|
|
100
|
-
type: string;
|
|
104
|
+
readonly commonjs: {
|
|
105
|
+
readonly description: "Set comment for `commonjs` (exports) section in UMD.";
|
|
106
|
+
readonly type: "string";
|
|
101
107
|
};
|
|
102
|
-
commonjs2: {
|
|
103
|
-
description:
|
|
104
|
-
type: string;
|
|
108
|
+
readonly commonjs2: {
|
|
109
|
+
readonly description: "Set comment for `commonjs2` (module.exports) section in UMD.";
|
|
110
|
+
readonly type: "string";
|
|
105
111
|
};
|
|
106
|
-
root: {
|
|
107
|
-
description:
|
|
108
|
-
type: string;
|
|
112
|
+
readonly root: {
|
|
113
|
+
readonly description: "Set comment for `root` (global variable) section in UMD.";
|
|
114
|
+
readonly type: "string";
|
|
109
115
|
};
|
|
110
116
|
};
|
|
111
117
|
};
|
|
112
|
-
LibraryCustomUmdObject: {
|
|
113
|
-
description:
|
|
114
|
-
type:
|
|
115
|
-
additionalProperties:
|
|
116
|
-
properties: {
|
|
117
|
-
amd: {
|
|
118
|
-
description:
|
|
119
|
-
type: string;
|
|
120
|
-
minLength:
|
|
118
|
+
readonly LibraryCustomUmdObject: {
|
|
119
|
+
readonly description: "Description object for all UMD variants of the library name.";
|
|
120
|
+
readonly type: "object";
|
|
121
|
+
readonly additionalProperties: false;
|
|
122
|
+
readonly properties: {
|
|
123
|
+
readonly amd: {
|
|
124
|
+
readonly description: "Name of the exposed AMD library in the UMD.";
|
|
125
|
+
readonly type: "string";
|
|
126
|
+
readonly minLength: 1;
|
|
121
127
|
};
|
|
122
|
-
commonjs: {
|
|
123
|
-
description:
|
|
124
|
-
type: string;
|
|
125
|
-
minLength:
|
|
128
|
+
readonly commonjs: {
|
|
129
|
+
readonly description: "Name of the exposed commonjs export in the UMD.";
|
|
130
|
+
readonly type: "string";
|
|
131
|
+
readonly minLength: 1;
|
|
126
132
|
};
|
|
127
|
-
root: {
|
|
128
|
-
description:
|
|
129
|
-
anyOf:
|
|
130
|
-
type:
|
|
131
|
-
items: {
|
|
132
|
-
description:
|
|
133
|
-
type: string;
|
|
134
|
-
minLength:
|
|
133
|
+
readonly root: {
|
|
134
|
+
readonly description: "Name of the property exposed globally by a UMD library.";
|
|
135
|
+
readonly anyOf: readonly [{
|
|
136
|
+
readonly type: "array";
|
|
137
|
+
readonly items: {
|
|
138
|
+
readonly description: "Part of the name of the property exposed globally by a UMD library.";
|
|
139
|
+
readonly type: "string";
|
|
140
|
+
readonly minLength: 1;
|
|
135
141
|
};
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
items?: undefined;
|
|
141
|
-
})[];
|
|
142
|
+
}, {
|
|
143
|
+
readonly type: "string";
|
|
144
|
+
readonly minLength: 1;
|
|
145
|
+
}];
|
|
142
146
|
};
|
|
143
147
|
};
|
|
144
148
|
};
|
|
145
|
-
LibraryExport: {
|
|
146
|
-
description:
|
|
147
|
-
anyOf:
|
|
148
|
-
type:
|
|
149
|
-
items: {
|
|
150
|
-
description:
|
|
151
|
-
type: string;
|
|
152
|
-
minLength:
|
|
149
|
+
readonly LibraryExport: {
|
|
150
|
+
readonly description: "Specify which export should be exposed as library.";
|
|
151
|
+
readonly anyOf: readonly [{
|
|
152
|
+
readonly type: "array";
|
|
153
|
+
readonly items: {
|
|
154
|
+
readonly description: "Part of the export that should be exposed as library.";
|
|
155
|
+
readonly type: "string";
|
|
156
|
+
readonly minLength: 1;
|
|
153
157
|
};
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
items?: undefined;
|
|
159
|
-
})[];
|
|
158
|
+
}, {
|
|
159
|
+
readonly type: "string";
|
|
160
|
+
readonly minLength: 1;
|
|
161
|
+
}];
|
|
160
162
|
};
|
|
161
|
-
LibraryName: {
|
|
162
|
-
description:
|
|
163
|
-
anyOf:
|
|
164
|
-
type:
|
|
165
|
-
items: {
|
|
166
|
-
description:
|
|
167
|
-
type: string;
|
|
168
|
-
minLength:
|
|
163
|
+
readonly LibraryName: {
|
|
164
|
+
readonly description: "The name of the library (some types allow unnamed libraries too).";
|
|
165
|
+
readonly anyOf: readonly [{
|
|
166
|
+
readonly type: "array";
|
|
167
|
+
readonly items: {
|
|
168
|
+
readonly description: "A part of the library name.";
|
|
169
|
+
readonly type: "string";
|
|
170
|
+
readonly minLength: 1;
|
|
169
171
|
};
|
|
170
|
-
minItems:
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
minItems?: undefined;
|
|
178
|
-
$ref?: undefined;
|
|
179
|
-
} | {
|
|
180
|
-
$ref: string;
|
|
181
|
-
type?: undefined;
|
|
182
|
-
items?: undefined;
|
|
183
|
-
minItems?: undefined;
|
|
184
|
-
minLength?: undefined;
|
|
185
|
-
})[];
|
|
172
|
+
readonly minItems: 1;
|
|
173
|
+
}, {
|
|
174
|
+
readonly type: "string";
|
|
175
|
+
readonly minLength: 1;
|
|
176
|
+
}, {
|
|
177
|
+
readonly $ref: "#/definitions/LibraryCustomUmdObject";
|
|
178
|
+
}];
|
|
186
179
|
};
|
|
187
|
-
LibraryOptions: {
|
|
188
|
-
description:
|
|
189
|
-
type:
|
|
190
|
-
additionalProperties:
|
|
191
|
-
properties: {
|
|
192
|
-
amdContainer: {
|
|
193
|
-
$ref:
|
|
180
|
+
readonly LibraryOptions: {
|
|
181
|
+
readonly description: "Options for library.";
|
|
182
|
+
readonly type: "object";
|
|
183
|
+
readonly additionalProperties: false;
|
|
184
|
+
readonly properties: {
|
|
185
|
+
readonly amdContainer: {
|
|
186
|
+
readonly $ref: "#/definitions/AmdContainer";
|
|
194
187
|
};
|
|
195
|
-
auxiliaryComment: {
|
|
196
|
-
$ref:
|
|
188
|
+
readonly auxiliaryComment: {
|
|
189
|
+
readonly $ref: "#/definitions/AuxiliaryComment";
|
|
197
190
|
};
|
|
198
|
-
export: {
|
|
199
|
-
$ref:
|
|
191
|
+
readonly export: {
|
|
192
|
+
readonly $ref: "#/definitions/LibraryExport";
|
|
200
193
|
};
|
|
201
|
-
name: {
|
|
202
|
-
$ref:
|
|
194
|
+
readonly name: {
|
|
195
|
+
readonly $ref: "#/definitions/LibraryName";
|
|
203
196
|
};
|
|
204
|
-
type: {
|
|
205
|
-
$ref:
|
|
197
|
+
readonly type: {
|
|
198
|
+
readonly $ref: "#/definitions/LibraryType";
|
|
206
199
|
};
|
|
207
|
-
umdNamedDefine: {
|
|
208
|
-
$ref:
|
|
200
|
+
readonly umdNamedDefine: {
|
|
201
|
+
readonly $ref: "#/definitions/UmdNamedDefine";
|
|
209
202
|
};
|
|
210
203
|
};
|
|
211
|
-
required:
|
|
204
|
+
readonly required: readonly ["type"];
|
|
212
205
|
};
|
|
213
|
-
LibraryType: {
|
|
214
|
-
description:
|
|
215
|
-
anyOf:
|
|
216
|
-
enum:
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
enum?: undefined;
|
|
221
|
-
})[];
|
|
206
|
+
readonly LibraryType: {
|
|
207
|
+
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).";
|
|
208
|
+
readonly anyOf: readonly [{
|
|
209
|
+
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"];
|
|
210
|
+
}, {
|
|
211
|
+
readonly type: "string";
|
|
212
|
+
}];
|
|
222
213
|
};
|
|
223
|
-
UmdNamedDefine: {
|
|
224
|
-
description:
|
|
225
|
-
type:
|
|
214
|
+
readonly UmdNamedDefine: {
|
|
215
|
+
readonly description: "If `output.libraryTarget` is set to umd and `output.library` is set, setting this to true will name the AMD module.";
|
|
216
|
+
readonly type: "boolean";
|
|
226
217
|
};
|
|
227
218
|
};
|
|
228
|
-
title:
|
|
229
|
-
type:
|
|
230
|
-
additionalProperties:
|
|
231
|
-
properties: {
|
|
232
|
-
exposes: {
|
|
233
|
-
$ref:
|
|
219
|
+
readonly title: "ContainerPluginOptions";
|
|
220
|
+
readonly type: "object";
|
|
221
|
+
readonly additionalProperties: false;
|
|
222
|
+
readonly properties: {
|
|
223
|
+
readonly exposes: {
|
|
224
|
+
readonly $ref: "#/definitions/Exposes";
|
|
234
225
|
};
|
|
235
|
-
filename: {
|
|
236
|
-
description:
|
|
237
|
-
type: string;
|
|
238
|
-
absolutePath:
|
|
239
|
-
minLength:
|
|
226
|
+
readonly filename: {
|
|
227
|
+
readonly description: "The filename for this container relative path inside the `output.path` directory.";
|
|
228
|
+
readonly type: "string";
|
|
229
|
+
readonly absolutePath: false;
|
|
230
|
+
readonly minLength: 1;
|
|
240
231
|
};
|
|
241
|
-
library: {
|
|
242
|
-
$ref:
|
|
232
|
+
readonly library: {
|
|
233
|
+
readonly $ref: "#/definitions/LibraryOptions";
|
|
243
234
|
};
|
|
244
|
-
name: {
|
|
245
|
-
description:
|
|
246
|
-
type: string;
|
|
247
|
-
minLength:
|
|
235
|
+
readonly name: {
|
|
236
|
+
readonly description: "The name for this container.";
|
|
237
|
+
readonly type: "string";
|
|
238
|
+
readonly minLength: 1;
|
|
248
239
|
};
|
|
249
|
-
runtime: {
|
|
250
|
-
$ref:
|
|
240
|
+
readonly runtime: {
|
|
241
|
+
readonly $ref: "#/definitions/EntryRuntime";
|
|
251
242
|
};
|
|
252
|
-
runtimePlugins: {
|
|
253
|
-
|
|
254
|
-
items: {
|
|
255
|
-
anyOf: ({
|
|
256
|
-
type: string;
|
|
257
|
-
minLength: number;
|
|
258
|
-
description: string;
|
|
259
|
-
required?: undefined;
|
|
260
|
-
properties?: undefined;
|
|
261
|
-
additionalProperties?: undefined;
|
|
262
|
-
} | {
|
|
263
|
-
type: string;
|
|
264
|
-
required: string[];
|
|
265
|
-
properties: {
|
|
266
|
-
import: {
|
|
267
|
-
type: string;
|
|
268
|
-
minLength: number;
|
|
269
|
-
description: string;
|
|
270
|
-
};
|
|
271
|
-
async: {
|
|
272
|
-
type: string;
|
|
273
|
-
};
|
|
274
|
-
};
|
|
275
|
-
additionalProperties: boolean;
|
|
276
|
-
minLength?: undefined;
|
|
277
|
-
description?: undefined;
|
|
278
|
-
})[];
|
|
279
|
-
};
|
|
243
|
+
readonly runtimePlugins: {
|
|
244
|
+
readonly $ref: "#/definitions/RuntimePlugin";
|
|
280
245
|
};
|
|
281
|
-
shareScope: {
|
|
282
|
-
description:
|
|
283
|
-
type: string;
|
|
284
|
-
minLength:
|
|
246
|
+
readonly shareScope: {
|
|
247
|
+
readonly description: "The name of the share scope which is shared with the host (defaults to 'default').";
|
|
248
|
+
readonly type: "string";
|
|
249
|
+
readonly minLength: 1;
|
|
285
250
|
};
|
|
286
|
-
experiments: {
|
|
287
|
-
type:
|
|
288
|
-
properties: {
|
|
289
|
-
federationRuntime: {
|
|
290
|
-
anyOf:
|
|
291
|
-
type:
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
type?: undefined;
|
|
296
|
-
})[];
|
|
251
|
+
readonly experiments: {
|
|
252
|
+
readonly type: "object";
|
|
253
|
+
readonly properties: {
|
|
254
|
+
readonly federationRuntime: {
|
|
255
|
+
readonly anyOf: readonly [{
|
|
256
|
+
readonly type: "boolean";
|
|
257
|
+
}, {
|
|
258
|
+
readonly enum: readonly ["hoisted"];
|
|
259
|
+
}];
|
|
297
260
|
};
|
|
298
|
-
externalRuntime: {
|
|
299
|
-
anyOf:
|
|
300
|
-
type:
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
type?: undefined;
|
|
305
|
-
})[];
|
|
261
|
+
readonly externalRuntime: {
|
|
262
|
+
readonly anyOf: readonly [{
|
|
263
|
+
readonly type: "boolean";
|
|
264
|
+
}, {
|
|
265
|
+
readonly enum: readonly ["provide"];
|
|
266
|
+
}];
|
|
306
267
|
};
|
|
307
268
|
};
|
|
308
|
-
additionalProperties:
|
|
269
|
+
readonly additionalProperties: false;
|
|
309
270
|
};
|
|
310
271
|
};
|
|
311
|
-
required:
|
|
272
|
+
readonly required: readonly ["name", "exposes"];
|
|
312
273
|
};
|
|
313
274
|
export default _default;
|
|
@@ -1,35 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
// @ts-nocheck
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/*
|
|
5
|
+
* This file was automatically generated.
|
|
6
|
+
* DO NOT MODIFY BY HAND.
|
|
7
|
+
*/
|
|
2
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
//@ts-nocheck
|
|
4
|
-
const runtimePlugin = {
|
|
5
|
-
type: 'array',
|
|
6
|
-
items: {
|
|
7
|
-
anyOf: [
|
|
8
|
-
{
|
|
9
|
-
type: 'string',
|
|
10
|
-
minLength: 1,
|
|
11
|
-
description: 'Runtime Plugin File Path.',
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
type: 'object',
|
|
15
|
-
required: ['import', 'async'],
|
|
16
|
-
properties: {
|
|
17
|
-
import: {
|
|
18
|
-
type: 'string',
|
|
19
|
-
minLength: 1,
|
|
20
|
-
description: 'Runtime Plugin File Path.',
|
|
21
|
-
},
|
|
22
|
-
async: {
|
|
23
|
-
type: 'boolean',
|
|
24
|
-
},
|
|
25
|
-
},
|
|
26
|
-
additionalProperties: false,
|
|
27
|
-
},
|
|
28
|
-
],
|
|
29
|
-
},
|
|
30
|
-
};
|
|
31
9
|
exports.default = {
|
|
32
10
|
definitions: {
|
|
11
|
+
RuntimePlugin: {
|
|
12
|
+
type: 'array',
|
|
13
|
+
items: {
|
|
14
|
+
type: 'string',
|
|
15
|
+
},
|
|
16
|
+
description: 'Runtime plugin file paths or package name.',
|
|
17
|
+
},
|
|
33
18
|
AmdContainer: {
|
|
34
19
|
description: 'Add a container for define/require functions in the AMD module.',
|
|
35
20
|
type: 'string',
|
|
@@ -314,7 +299,9 @@ exports.default = {
|
|
|
314
299
|
runtime: {
|
|
315
300
|
$ref: '#/definitions/EntryRuntime',
|
|
316
301
|
},
|
|
317
|
-
runtimePlugins:
|
|
302
|
+
runtimePlugins: {
|
|
303
|
+
$ref: '#/definitions/RuntimePlugin',
|
|
304
|
+
},
|
|
318
305
|
shareScope: {
|
|
319
306
|
description: "The name of the share scope which is shared with the host (defaults to 'default').",
|
|
320
307
|
type: 'string',
|
|
@@ -324,10 +311,24 @@ exports.default = {
|
|
|
324
311
|
type: 'object',
|
|
325
312
|
properties: {
|
|
326
313
|
federationRuntime: {
|
|
327
|
-
anyOf: [
|
|
314
|
+
anyOf: [
|
|
315
|
+
{
|
|
316
|
+
type: 'boolean',
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
enum: ['hoisted'],
|
|
320
|
+
},
|
|
321
|
+
],
|
|
328
322
|
},
|
|
329
323
|
externalRuntime: {
|
|
330
|
-
anyOf: [
|
|
324
|
+
anyOf: [
|
|
325
|
+
{
|
|
326
|
+
type: 'boolean',
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
enum: ['provide'],
|
|
330
|
+
},
|
|
331
|
+
],
|
|
331
332
|
},
|
|
332
333
|
},
|
|
333
334
|
additionalProperties: false,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContainerPlugin.js","sourceRoot":"","sources":["../../../../src/schemas/container/ContainerPlugin.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ContainerPlugin.js","sourceRoot":"","sources":["../../../../src/schemas/container/ContainerPlugin.ts"],"names":[],"mappings":";AAAA,cAAc;AACd,oBAAoB;AACpB;;;GAGG;;AAEH,kBAAe;IACb,WAAW,EAAE;QACX,aAAa,EAAE;YACb,IAAI,EAAE,OAAO;YACb,KAAK,EAAE;gBACL,IAAI,EAAE,QAAQ;aACf;YACD,WAAW,EAAE,4CAA4C;SAC1D;QACD,YAAY,EAAE;YACZ,WAAW,EACT,iEAAiE;YACnE,IAAI,EAAE,QAAQ;YACd,SA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