@module-federation/enhanced 0.1.4 → 0.1.5
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/package.json +8 -8
- package/dist/package.json +0 -67
- package/dist/src/declarations/plugins/container/AsyncDependenciesBlock.d.ts +0 -57
- package/dist/src/declarations/plugins/container/Dependency.d.ts +0 -285
- package/dist/src/declarations/plugins/container/Module.d.ts +0 -138
- package/dist/src/declarations/plugins/container/ModuleFactory.d.ts +0 -33
- package/dist/src/declarations/plugins/container/ObjectDeserializerContext.d.ts +0 -4
- package/dist/src/declarations/plugins/container/StaticExportsDependency.d.ts +0 -28
- package/dist/src/declarations/plugins/container/Template.d.ts +0 -198
- package/dist/src/declarations/plugins/container/WebpackError.d.ts +0 -32
- package/dist/src/declarations/plugins/container/WebpackOptions.d.ts +0 -140
- package/dist/src/declarations/plugins/sharing/ConsumeSharedPlugin.d.ts +0 -74
- package/dist/src/declarations/plugins/sharing/ProvideSharedPlugin.d.ts +0 -67
- package/dist/src/declarations/plugins/sharing/SharePlugin.d.ts +0 -78
- package/dist/src/index.d.ts +0 -14
- package/dist/src/index.js +0 -37
- package/dist/src/index.js.map +0 -1
- package/dist/src/lib/Constants.d.ts +0 -117
- package/dist/src/lib/Constants.js +0 -125
- package/dist/src/lib/Constants.js.map +0 -1
- package/dist/src/lib/RuntimeGlobals.d.ts +0 -0
- package/dist/src/lib/RuntimeGlobals.js +0 -316
- package/dist/src/lib/RuntimeGlobals.js.map +0 -1
- package/dist/src/lib/container/AsyncBoundaryPlugin.d.ts +0 -20
- package/dist/src/lib/container/AsyncBoundaryPlugin.js +0 -183
- package/dist/src/lib/container/AsyncBoundaryPlugin.js.map +0 -1
- package/dist/src/lib/container/ContainerEntryDependency.d.ts +0 -24
- package/dist/src/lib/container/ContainerEntryDependency.js +0 -39
- package/dist/src/lib/container/ContainerEntryDependency.js.map +0 -1
- package/dist/src/lib/container/ContainerEntryModule.d.ts +0 -75
- package/dist/src/lib/container/ContainerEntryModule.js +0 -250
- package/dist/src/lib/container/ContainerEntryModule.js.map +0 -1
- package/dist/src/lib/container/ContainerEntryModuleFactory.d.ts +0 -15
- package/dist/src/lib/container/ContainerEntryModuleFactory.js +0 -30
- package/dist/src/lib/container/ContainerEntryModuleFactory.js.map +0 -1
- package/dist/src/lib/container/ContainerExposedDependency.d.ts +0 -19
- package/dist/src/lib/container/ContainerExposedDependency.js +0 -49
- package/dist/src/lib/container/ContainerExposedDependency.js.map +0 -1
- package/dist/src/lib/container/ContainerPlugin.d.ts +0 -13
- package/dist/src/lib/container/ContainerPlugin.js +0 -185
- package/dist/src/lib/container/ContainerPlugin.js.map +0 -1
- package/dist/src/lib/container/ContainerReferencePlugin.d.ts +0 -14
- package/dist/src/lib/container/ContainerReferencePlugin.js +0 -102
- package/dist/src/lib/container/ContainerReferencePlugin.js.map +0 -1
- package/dist/src/lib/container/FallbackDependency.d.ts +0 -15
- package/dist/src/lib/container/FallbackDependency.js +0 -47
- package/dist/src/lib/container/FallbackDependency.js.map +0 -1
- package/dist/src/lib/container/FallbackItemDependency.d.ts +0 -3
- package/dist/src/lib/container/FallbackItemDependency.js +0 -26
- package/dist/src/lib/container/FallbackItemDependency.js.map +0 -1
- package/dist/src/lib/container/FallbackModule.d.ts +0 -54
- package/dist/src/lib/container/FallbackModule.js +0 -152
- package/dist/src/lib/container/FallbackModule.js.map +0 -1
- package/dist/src/lib/container/FallbackModuleFactory.d.ts +0 -11
- package/dist/src/lib/container/FallbackModuleFactory.js +0 -28
- package/dist/src/lib/container/FallbackModuleFactory.js.map +0 -1
- package/dist/src/lib/container/HoistContainerReferencesPlugin.d.ts +0 -14
- package/dist/src/lib/container/HoistContainerReferencesPlugin.js +0 -61
- package/dist/src/lib/container/HoistContainerReferencesPlugin.js.map +0 -1
- package/dist/src/lib/container/ModuleFederationPlugin.d.ts +0 -16
- package/dist/src/lib/container/ModuleFederationPlugin.js +0 -122
- package/dist/src/lib/container/ModuleFederationPlugin.js.map +0 -1
- package/dist/src/lib/container/RemoteModule.d.ts +0 -90
- package/dist/src/lib/container/RemoteModule.js +0 -148
- package/dist/src/lib/container/RemoteModule.js.map +0 -1
- package/dist/src/lib/container/RemoteRuntimeModule.d.ts +0 -12
- package/dist/src/lib/container/RemoteRuntimeModule.js +0 -101
- package/dist/src/lib/container/RemoteRuntimeModule.js.map +0 -1
- package/dist/src/lib/container/RemoteToExternalDependency.d.ts +0 -4
- package/dist/src/lib/container/RemoteToExternalDependency.js +0 -26
- package/dist/src/lib/container/RemoteToExternalDependency.js.map +0 -1
- package/dist/src/lib/container/constant.d.ts +0 -3
- package/dist/src/lib/container/constant.js +0 -12
- package/dist/src/lib/container/constant.js.map +0 -1
- package/dist/src/lib/container/options.d.ts +0 -26
- package/dist/src/lib/container/options.js +0 -81
- package/dist/src/lib/container/options.js.map +0 -1
- package/dist/src/lib/container/runtime/FederationRuntimeModule.d.ts +0 -13
- package/dist/src/lib/container/runtime/FederationRuntimeModule.js +0 -27
- package/dist/src/lib/container/runtime/FederationRuntimeModule.js.map +0 -1
- package/dist/src/lib/container/runtime/FederationRuntimePlugin.d.ts +0 -17
- package/dist/src/lib/container/runtime/FederationRuntimePlugin.js +0 -200
- package/dist/src/lib/container/runtime/FederationRuntimePlugin.js.map +0 -1
- package/dist/src/lib/container/runtime/getFederationGlobal.d.ts +0 -5
- package/dist/src/lib/container/runtime/getFederationGlobal.js +0 -24
- package/dist/src/lib/container/runtime/getFederationGlobal.js.map +0 -1
- package/dist/src/lib/container/runtime/utils.d.ts +0 -16
- package/dist/src/lib/container/runtime/utils.js +0 -83
- package/dist/src/lib/container/runtime/utils.js.map +0 -1
- package/dist/src/lib/sharing/ConsumeSharedFallbackDependency.d.ts +0 -3
- package/dist/src/lib/sharing/ConsumeSharedFallbackDependency.js +0 -26
- package/dist/src/lib/sharing/ConsumeSharedFallbackDependency.js.map +0 -1
- package/dist/src/lib/sharing/ConsumeSharedModule.d.ts +0 -99
- package/dist/src/lib/sharing/ConsumeSharedModule.js +0 -206
- package/dist/src/lib/sharing/ConsumeSharedModule.js.map +0 -1
- package/dist/src/lib/sharing/ConsumeSharedPlugin.d.ts +0 -30
- package/dist/src/lib/sharing/ConsumeSharedPlugin.js +0 -245
- package/dist/src/lib/sharing/ConsumeSharedPlugin.js.map +0 -1
- package/dist/src/lib/sharing/ConsumeSharedRuntimeModule.d.ts +0 -31
- package/dist/src/lib/sharing/ConsumeSharedRuntimeModule.js +0 -108
- package/dist/src/lib/sharing/ConsumeSharedRuntimeModule.js.map +0 -1
- package/dist/src/lib/sharing/ProvideForSharedDependency.d.ts +0 -3
- package/dist/src/lib/sharing/ProvideForSharedDependency.js +0 -27
- package/dist/src/lib/sharing/ProvideForSharedDependency.js.map +0 -1
- package/dist/src/lib/sharing/ProvideSharedDependency.d.ts +0 -36
- package/dist/src/lib/sharing/ProvideSharedDependency.js +0 -70
- package/dist/src/lib/sharing/ProvideSharedDependency.js.map +0 -1
- package/dist/src/lib/sharing/ProvideSharedModule.d.ts +0 -67
- package/dist/src/lib/sharing/ProvideSharedModule.js +0 -186
- package/dist/src/lib/sharing/ProvideSharedModule.js.map +0 -1
- package/dist/src/lib/sharing/ProvideSharedModuleFactory.d.ts +0 -18
- package/dist/src/lib/sharing/ProvideSharedModuleFactory.js +0 -30
- package/dist/src/lib/sharing/ProvideSharedModuleFactory.js.map +0 -1
- package/dist/src/lib/sharing/ProvideSharedPlugin.d.ts +0 -47
- package/dist/src/lib/sharing/ProvideSharedPlugin.js +0 -195
- package/dist/src/lib/sharing/ProvideSharedPlugin.js.map +0 -1
- package/dist/src/lib/sharing/SharePlugin.d.ts +0 -41
- package/dist/src/lib/sharing/SharePlugin.js +0 -79
- package/dist/src/lib/sharing/SharePlugin.js.map +0 -1
- package/dist/src/lib/sharing/ShareRuntimeModule.d.ts +0 -14
- package/dist/src/lib/sharing/ShareRuntimeModule.js +0 -89
- package/dist/src/lib/sharing/ShareRuntimeModule.js.map +0 -1
- package/dist/src/lib/sharing/resolveMatchedConfigs.d.ts +0 -12
- package/dist/src/lib/sharing/resolveMatchedConfigs.js +0 -66
- package/dist/src/lib/sharing/resolveMatchedConfigs.js.map +0 -1
- package/dist/src/lib/sharing/utils.d.ts +0 -37
- package/dist/src/lib/sharing/utils.js +0 -359
- package/dist/src/lib/sharing/utils.js.map +0 -1
- package/dist/src/rspack.d.ts +0 -1
- package/dist/src/rspack.js +0 -6
- package/dist/src/rspack.js.map +0 -1
- package/dist/src/runtime/AddRuntimeRequirementToPromiseExternalPlugin.d.ts +0 -5
- package/dist/src/runtime/AddRuntimeRequirementToPromiseExternalPlugin.js +0 -19
- package/dist/src/runtime/AddRuntimeRequirementToPromiseExternalPlugin.js.map +0 -1
- package/dist/src/runtime.d.ts +0 -1
- package/dist/src/runtime.js +0 -18
- package/dist/src/runtime.js.map +0 -1
- package/dist/src/schemas/container/ContainerPlugin.check.d.ts +0 -7
- package/dist/src/schemas/container/ContainerPlugin.check.js +0 -2318
- package/dist/src/schemas/container/ContainerPlugin.check.js.map +0 -1
- package/dist/src/schemas/container/ContainerPlugin.d.ts +0 -289
- package/dist/src/schemas/container/ContainerPlugin.js +0 -326
- package/dist/src/schemas/container/ContainerPlugin.js.map +0 -1
- package/dist/src/schemas/container/ContainerReferencePlugin.check.d.ts +0 -7
- package/dist/src/schemas/container/ContainerReferencePlugin.check.js +0 -939
- package/dist/src/schemas/container/ContainerReferencePlugin.check.js.map +0 -1
- package/dist/src/schemas/container/ContainerReferencePlugin.d.ts +0 -87
- package/dist/src/schemas/container/ContainerReferencePlugin.js +0 -132
- package/dist/src/schemas/container/ContainerReferencePlugin.js.map +0 -1
- package/dist/src/schemas/container/ModuleFederationPlugin.check.d.ts +0 -9
- package/dist/src/schemas/container/ModuleFederationPlugin.check.js +0 -4001
- package/dist/src/schemas/container/ModuleFederationPlugin.check.js.map +0 -1
- package/dist/src/schemas/container/ModuleFederationPlugin.d.ts +0 -626
- package/dist/src/schemas/container/ModuleFederationPlugin.js +0 -720
- package/dist/src/schemas/container/ModuleFederationPlugin.js.map +0 -1
- package/dist/src/schemas/sharing/ProviderSharedPlugin.check.d.ts +0 -7
- package/dist/src/schemas/sharing/ProviderSharedPlugin.check.js +0 -434
- package/dist/src/schemas/sharing/ProviderSharedPlugin.check.js.map +0 -1
- package/dist/src/schemas/sharing/ProviderSharedPlugin.d.ts +0 -104
- package/dist/src/schemas/sharing/ProviderSharedPlugin.js +0 -119
- package/dist/src/schemas/sharing/ProviderSharedPlugin.js.map +0 -1
- package/dist/src/types/runtime.d.ts +0 -7
- package/dist/src/types/runtime.js +0 -3
- package/dist/src/types/runtime.js.map +0 -1
- package/dist/src/webpack.d.ts +0 -1
- package/dist/src/webpack.js +0 -9
- package/dist/src/webpack.js.map +0 -1
- package/dist/src/wrapper/AsyncBoundaryPlugin.d.ts +0 -8
- package/dist/src/wrapper/AsyncBoundaryPlugin.js +0 -19
- package/dist/src/wrapper/AsyncBoundaryPlugin.js.map +0 -1
- package/dist/src/wrapper/ConsumeSharedPlugin.d.ts +0 -8
- package/dist/src/wrapper/ConsumeSharedPlugin.js +0 -19
- package/dist/src/wrapper/ConsumeSharedPlugin.js.map +0 -1
- package/dist/src/wrapper/ContainerPlugin.d.ts +0 -8
- package/dist/src/wrapper/ContainerPlugin.js +0 -19
- package/dist/src/wrapper/ContainerPlugin.js.map +0 -1
- package/dist/src/wrapper/ContainerReferencePlugin.d.ts +0 -8
- package/dist/src/wrapper/ContainerReferencePlugin.js +0 -19
- package/dist/src/wrapper/ContainerReferencePlugin.js.map +0 -1
- package/dist/src/wrapper/FederationRuntimePlugin.d.ts +0 -9
- package/dist/src/wrapper/FederationRuntimePlugin.js +0 -22
- package/dist/src/wrapper/FederationRuntimePlugin.js.map +0 -1
- package/dist/src/wrapper/HoistContainerReferencesPlugin.d.ts +0 -6
- package/dist/src/wrapper/HoistContainerReferencesPlugin.js +0 -18
- package/dist/src/wrapper/HoistContainerReferencesPlugin.js.map +0 -1
- package/dist/src/wrapper/ModuleFederationPlugin.d.ts +0 -8
- package/dist/src/wrapper/ModuleFederationPlugin.js +0 -24
- package/dist/src/wrapper/ModuleFederationPlugin.js.map +0 -1
- package/dist/src/wrapper/ProvideSharedPlugin.d.ts +0 -8
- package/dist/src/wrapper/ProvideSharedPlugin.js +0 -19
- package/dist/src/wrapper/ProvideSharedPlugin.js.map +0 -1
- package/dist/src/wrapper/SharePlugin.d.ts +0 -8
- package/dist/src/wrapper/SharePlugin.js +0 -19
- package/dist/src/wrapper/SharePlugin.js.map +0 -1
|
@@ -1,326 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
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
|
-
exports.default = {
|
|
32
|
-
definitions: {
|
|
33
|
-
AmdContainer: {
|
|
34
|
-
description: 'Add a container for define/require functions in the AMD module.',
|
|
35
|
-
type: 'string',
|
|
36
|
-
minLength: 1,
|
|
37
|
-
},
|
|
38
|
-
AuxiliaryComment: {
|
|
39
|
-
description: 'Add a comment in the UMD wrapper.',
|
|
40
|
-
anyOf: [
|
|
41
|
-
{
|
|
42
|
-
description: 'Append the same comment above each import style.',
|
|
43
|
-
type: 'string',
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
$ref: '#/definitions/LibraryCustomUmdCommentObject',
|
|
47
|
-
},
|
|
48
|
-
],
|
|
49
|
-
},
|
|
50
|
-
EntryRuntime: {
|
|
51
|
-
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.',
|
|
52
|
-
anyOf: [
|
|
53
|
-
{
|
|
54
|
-
enum: [false],
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
type: 'string',
|
|
58
|
-
minLength: 1,
|
|
59
|
-
},
|
|
60
|
-
],
|
|
61
|
-
},
|
|
62
|
-
Exposes: {
|
|
63
|
-
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.',
|
|
64
|
-
anyOf: [
|
|
65
|
-
{
|
|
66
|
-
type: 'array',
|
|
67
|
-
items: {
|
|
68
|
-
description: 'Modules that should be exposed by this container.',
|
|
69
|
-
anyOf: [
|
|
70
|
-
{
|
|
71
|
-
$ref: '#/definitions/ExposesItem',
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
$ref: '#/definitions/ExposesObject',
|
|
75
|
-
},
|
|
76
|
-
],
|
|
77
|
-
},
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
$ref: '#/definitions/ExposesObject',
|
|
81
|
-
},
|
|
82
|
-
],
|
|
83
|
-
},
|
|
84
|
-
ExposesConfig: {
|
|
85
|
-
description: 'Advanced configuration for modules that should be exposed by this container.',
|
|
86
|
-
type: 'object',
|
|
87
|
-
additionalProperties: false,
|
|
88
|
-
properties: {
|
|
89
|
-
import: {
|
|
90
|
-
description: 'Request to a module that should be exposed by this container.',
|
|
91
|
-
anyOf: [
|
|
92
|
-
{
|
|
93
|
-
$ref: '#/definitions/ExposesItem',
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
$ref: '#/definitions/ExposesItems',
|
|
97
|
-
},
|
|
98
|
-
],
|
|
99
|
-
},
|
|
100
|
-
name: {
|
|
101
|
-
description: 'Custom chunk name for the exposed module.',
|
|
102
|
-
type: 'string',
|
|
103
|
-
},
|
|
104
|
-
},
|
|
105
|
-
required: ['import'],
|
|
106
|
-
},
|
|
107
|
-
ExposesItem: {
|
|
108
|
-
description: 'Module that should be exposed by this container.',
|
|
109
|
-
type: 'string',
|
|
110
|
-
minLength: 1,
|
|
111
|
-
},
|
|
112
|
-
ExposesItems: {
|
|
113
|
-
description: 'Modules that should be exposed by this container.',
|
|
114
|
-
type: 'array',
|
|
115
|
-
items: {
|
|
116
|
-
$ref: '#/definitions/ExposesItem',
|
|
117
|
-
},
|
|
118
|
-
},
|
|
119
|
-
ExposesObject: {
|
|
120
|
-
description: 'Modules that should be exposed by this container. Property names are used as public paths.',
|
|
121
|
-
type: 'object',
|
|
122
|
-
additionalProperties: {
|
|
123
|
-
description: 'Modules that should be exposed by this container.',
|
|
124
|
-
anyOf: [
|
|
125
|
-
{
|
|
126
|
-
$ref: '#/definitions/ExposesConfig',
|
|
127
|
-
},
|
|
128
|
-
{
|
|
129
|
-
$ref: '#/definitions/ExposesItem',
|
|
130
|
-
},
|
|
131
|
-
{
|
|
132
|
-
$ref: '#/definitions/ExposesItems',
|
|
133
|
-
},
|
|
134
|
-
],
|
|
135
|
-
},
|
|
136
|
-
},
|
|
137
|
-
LibraryCustomUmdCommentObject: {
|
|
138
|
-
description: 'Set explicit comments for `commonjs`, `commonjs2`, `amd`, and `root`.',
|
|
139
|
-
type: 'object',
|
|
140
|
-
additionalProperties: false,
|
|
141
|
-
properties: {
|
|
142
|
-
amd: {
|
|
143
|
-
description: 'Set comment for `amd` section in UMD.',
|
|
144
|
-
type: 'string',
|
|
145
|
-
},
|
|
146
|
-
commonjs: {
|
|
147
|
-
description: 'Set comment for `commonjs` (exports) section in UMD.',
|
|
148
|
-
type: 'string',
|
|
149
|
-
},
|
|
150
|
-
commonjs2: {
|
|
151
|
-
description: 'Set comment for `commonjs2` (module.exports) section in UMD.',
|
|
152
|
-
type: 'string',
|
|
153
|
-
},
|
|
154
|
-
root: {
|
|
155
|
-
description: 'Set comment for `root` (global variable) section in UMD.',
|
|
156
|
-
type: 'string',
|
|
157
|
-
},
|
|
158
|
-
},
|
|
159
|
-
},
|
|
160
|
-
LibraryCustomUmdObject: {
|
|
161
|
-
description: 'Description object for all UMD variants of the library name.',
|
|
162
|
-
type: 'object',
|
|
163
|
-
additionalProperties: false,
|
|
164
|
-
properties: {
|
|
165
|
-
amd: {
|
|
166
|
-
description: 'Name of the exposed AMD library in the UMD.',
|
|
167
|
-
type: 'string',
|
|
168
|
-
minLength: 1,
|
|
169
|
-
},
|
|
170
|
-
commonjs: {
|
|
171
|
-
description: 'Name of the exposed commonjs export in the UMD.',
|
|
172
|
-
type: 'string',
|
|
173
|
-
minLength: 1,
|
|
174
|
-
},
|
|
175
|
-
root: {
|
|
176
|
-
description: 'Name of the property exposed globally by a UMD library.',
|
|
177
|
-
anyOf: [
|
|
178
|
-
{
|
|
179
|
-
type: 'array',
|
|
180
|
-
items: {
|
|
181
|
-
description: 'Part of the name of the property exposed globally by a UMD library.',
|
|
182
|
-
type: 'string',
|
|
183
|
-
minLength: 1,
|
|
184
|
-
},
|
|
185
|
-
},
|
|
186
|
-
{
|
|
187
|
-
type: 'string',
|
|
188
|
-
minLength: 1,
|
|
189
|
-
},
|
|
190
|
-
],
|
|
191
|
-
},
|
|
192
|
-
},
|
|
193
|
-
},
|
|
194
|
-
LibraryExport: {
|
|
195
|
-
description: 'Specify which export should be exposed as library.',
|
|
196
|
-
anyOf: [
|
|
197
|
-
{
|
|
198
|
-
type: 'array',
|
|
199
|
-
items: {
|
|
200
|
-
description: 'Part of the export that should be exposed as library.',
|
|
201
|
-
type: 'string',
|
|
202
|
-
minLength: 1,
|
|
203
|
-
},
|
|
204
|
-
},
|
|
205
|
-
{
|
|
206
|
-
type: 'string',
|
|
207
|
-
minLength: 1,
|
|
208
|
-
},
|
|
209
|
-
],
|
|
210
|
-
},
|
|
211
|
-
LibraryName: {
|
|
212
|
-
description: 'The name of the library (some types allow unnamed libraries too).',
|
|
213
|
-
anyOf: [
|
|
214
|
-
{
|
|
215
|
-
type: 'array',
|
|
216
|
-
items: {
|
|
217
|
-
description: 'A part of the library name.',
|
|
218
|
-
type: 'string',
|
|
219
|
-
minLength: 1,
|
|
220
|
-
},
|
|
221
|
-
minItems: 1,
|
|
222
|
-
},
|
|
223
|
-
{
|
|
224
|
-
type: 'string',
|
|
225
|
-
minLength: 1,
|
|
226
|
-
},
|
|
227
|
-
{
|
|
228
|
-
$ref: '#/definitions/LibraryCustomUmdObject',
|
|
229
|
-
},
|
|
230
|
-
],
|
|
231
|
-
},
|
|
232
|
-
LibraryOptions: {
|
|
233
|
-
description: 'Options for library.',
|
|
234
|
-
type: 'object',
|
|
235
|
-
additionalProperties: false,
|
|
236
|
-
properties: {
|
|
237
|
-
amdContainer: {
|
|
238
|
-
$ref: '#/definitions/AmdContainer',
|
|
239
|
-
},
|
|
240
|
-
auxiliaryComment: {
|
|
241
|
-
$ref: '#/definitions/AuxiliaryComment',
|
|
242
|
-
},
|
|
243
|
-
export: {
|
|
244
|
-
$ref: '#/definitions/LibraryExport',
|
|
245
|
-
},
|
|
246
|
-
name: {
|
|
247
|
-
$ref: '#/definitions/LibraryName',
|
|
248
|
-
},
|
|
249
|
-
type: {
|
|
250
|
-
$ref: '#/definitions/LibraryType',
|
|
251
|
-
},
|
|
252
|
-
umdNamedDefine: {
|
|
253
|
-
$ref: '#/definitions/UmdNamedDefine',
|
|
254
|
-
},
|
|
255
|
-
},
|
|
256
|
-
required: ['type'],
|
|
257
|
-
},
|
|
258
|
-
LibraryType: {
|
|
259
|
-
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).",
|
|
260
|
-
anyOf: [
|
|
261
|
-
{
|
|
262
|
-
enum: [
|
|
263
|
-
'var',
|
|
264
|
-
'module',
|
|
265
|
-
'assign',
|
|
266
|
-
'assign-properties',
|
|
267
|
-
'this',
|
|
268
|
-
'window',
|
|
269
|
-
'self',
|
|
270
|
-
'global',
|
|
271
|
-
'commonjs',
|
|
272
|
-
'commonjs2',
|
|
273
|
-
'commonjs-module',
|
|
274
|
-
'commonjs-static',
|
|
275
|
-
'amd',
|
|
276
|
-
'amd-require',
|
|
277
|
-
'umd',
|
|
278
|
-
'umd2',
|
|
279
|
-
'jsonp',
|
|
280
|
-
'system',
|
|
281
|
-
],
|
|
282
|
-
},
|
|
283
|
-
{
|
|
284
|
-
type: 'string',
|
|
285
|
-
},
|
|
286
|
-
],
|
|
287
|
-
},
|
|
288
|
-
UmdNamedDefine: {
|
|
289
|
-
description: 'If `output.libraryTarget` is set to umd and `output.library` is set, setting this to true will name the AMD module.',
|
|
290
|
-
type: 'boolean',
|
|
291
|
-
},
|
|
292
|
-
},
|
|
293
|
-
title: 'ContainerPluginOptions',
|
|
294
|
-
type: 'object',
|
|
295
|
-
additionalProperties: false,
|
|
296
|
-
properties: {
|
|
297
|
-
exposes: {
|
|
298
|
-
$ref: '#/definitions/Exposes',
|
|
299
|
-
},
|
|
300
|
-
filename: {
|
|
301
|
-
description: 'The filename for this container relative path inside the `output.path` directory.',
|
|
302
|
-
type: 'string',
|
|
303
|
-
absolutePath: false,
|
|
304
|
-
minLength: 1,
|
|
305
|
-
},
|
|
306
|
-
library: {
|
|
307
|
-
$ref: '#/definitions/LibraryOptions',
|
|
308
|
-
},
|
|
309
|
-
name: {
|
|
310
|
-
description: 'The name for this container.',
|
|
311
|
-
type: 'string',
|
|
312
|
-
minLength: 1,
|
|
313
|
-
},
|
|
314
|
-
runtime: {
|
|
315
|
-
$ref: '#/definitions/EntryRuntime',
|
|
316
|
-
},
|
|
317
|
-
runtimePlugins: runtimePlugin,
|
|
318
|
-
shareScope: {
|
|
319
|
-
description: "The name of the share scope which is shared with the host (defaults to 'default').",
|
|
320
|
-
type: 'string',
|
|
321
|
-
minLength: 1,
|
|
322
|
-
},
|
|
323
|
-
},
|
|
324
|
-
required: ['name', 'exposes'],
|
|
325
|
-
};
|
|
326
|
-
//# sourceMappingURL=ContainerPlugin.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ContainerPlugin.js","sourceRoot":"","sources":["../../../../src/schemas/container/ContainerPlugin.ts"],"names":[],"mappings":";;AAAA,aAAa;AACb,MAAM,aAAa,GAAG;IACpB,IAAI,EAAE,OAAO;IACb,KAAK,EAAE;QACL,KAAK,EAAE;YACL;gBACE,IAAI,EAAE,QAAQ;gBACd,SAAS,EAAE,CAAC;gBACZ,WAAW,EAAE,2BAA2B;aACzC;YACD;gBACE,IAAI,EAAE,QAAQ;gBACd,QAAQ,EAAE,CAAC,QAAQ,EAAE,OAAO,CAAC;gBAC7B,UAAU,EAAE;oBACV,MAAM,EAAE;wBACN,IAAI,EAAE,QAAQ;wBACd,SAAS,EAAE,CAAC;wBACZ,WAAW,EAAE,2BAA2B;qBACzC;oBACD,KAAK,EAAE;wBACL,IAAI,EAAE,SAAS;qBAChB;iBACF;gBACD,oBAAoB,EAAE,KAAK;aAC5B;SACF;KACF;CACF,CAAC;AAEF,kBAAe;IACb,WAAW,EAAE;QACX,YAAY,EAAE;YACZ,WAAW,EACT,iEAAiE;YACnE,IAAI,EAAE,QAAQ;YACd,SAAS,EAAE,CAAC;SACb;QACD,gBAAgB,EAAE;YAChB,WAAW,EAAE,mCAAmC;YAChD,KAAK,EAAE;gBACL;oBACE,WAAW,EAAE,kDAAkD;oBAC/D,IAAI,EAAE,QAAQ;iBACf;gBACD;oBACE,IAAI,EAAE,6CAA6C;iBACpD;aACF;SACF;QACD,YAAY,EAAE;YACZ,WAAW,EACT,+HAA+H;YACjI,KAAK,EAAE;gBACL;oBACE,IAAI,EAAE,CAAC,KAAK,CAAC;iBACd;gBACD;oBACE,I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