@module-federation/enhanced 0.1.0 → 0.1.1
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/LICENSE +21 -0
- package/README.md +164 -6
- package/dist/package.json +41 -0
- package/dist/src/declarations/plugins/container/AsyncDependenciesBlock.d.ts +57 -0
- package/dist/src/declarations/plugins/container/Dependency.d.ts +285 -0
- package/dist/src/declarations/plugins/container/Module.d.ts +138 -0
- package/dist/src/declarations/plugins/container/ModuleFactory.d.ts +33 -0
- package/dist/src/declarations/plugins/container/ObjectDeserializerContext.d.ts +4 -0
- package/dist/src/declarations/plugins/container/StaticExportsDependency.d.ts +28 -0
- package/dist/src/declarations/plugins/container/Template.d.ts +198 -0
- package/dist/src/declarations/plugins/container/WebpackError.d.ts +32 -0
- package/dist/src/declarations/plugins/container/WebpackOptions.d.ts +140 -0
- package/dist/src/declarations/plugins/sharing/ConsumeSharedPlugin.d.ts +74 -0
- package/dist/src/declarations/plugins/sharing/ProvideSharedPlugin.d.ts +67 -0
- package/dist/src/declarations/plugins/sharing/SharePlugin.d.ts +78 -0
- package/dist/src/index.d.ts +14 -0
- package/dist/src/index.js +37 -0
- package/dist/src/index.js.map +1 -0
- package/dist/src/lib/Constants.js +125 -0
- package/dist/src/lib/Constants.js.map +1 -0
- package/dist/src/lib/RuntimeGlobals.d.ts +0 -0
- package/{src → dist/src}/lib/RuntimeGlobals.js +144 -74
- package/dist/src/lib/RuntimeGlobals.js.map +1 -0
- package/dist/src/lib/container/AsyncBoundaryPlugin.d.ts +20 -0
- package/dist/src/lib/container/AsyncBoundaryPlugin.js +183 -0
- package/dist/src/lib/container/AsyncBoundaryPlugin.js.map +1 -0
- package/dist/src/lib/container/ContainerEntryDependency.d.ts +24 -0
- package/dist/src/lib/container/ContainerEntryDependency.js +39 -0
- package/dist/src/lib/container/ContainerEntryDependency.js.map +1 -0
- package/dist/src/lib/container/ContainerEntryModule.d.ts +75 -0
- package/dist/src/lib/container/ContainerEntryModule.js +250 -0
- package/dist/src/lib/container/ContainerEntryModule.js.map +1 -0
- package/dist/src/lib/container/ContainerEntryModuleFactory.d.ts +15 -0
- package/dist/src/lib/container/ContainerEntryModuleFactory.js +30 -0
- package/dist/src/lib/container/ContainerEntryModuleFactory.js.map +1 -0
- package/dist/src/lib/container/ContainerExposedDependency.d.ts +19 -0
- package/dist/src/lib/container/ContainerExposedDependency.js +49 -0
- package/dist/src/lib/container/ContainerExposedDependency.js.map +1 -0
- package/dist/src/lib/container/ContainerPlugin.d.ts +13 -0
- package/dist/src/lib/container/ContainerPlugin.js +213 -0
- package/dist/src/lib/container/ContainerPlugin.js.map +1 -0
- package/{src → dist/src}/lib/container/ContainerReferencePlugin.d.ts +3 -3
- package/dist/src/lib/container/ContainerReferencePlugin.js +102 -0
- package/dist/src/lib/container/ContainerReferencePlugin.js.map +1 -0
- package/dist/src/lib/container/FallbackDependency.d.ts +15 -0
- package/dist/src/lib/container/FallbackDependency.js +47 -0
- package/dist/src/lib/container/FallbackDependency.js.map +1 -0
- package/dist/src/lib/container/FallbackItemDependency.d.ts +3 -0
- package/dist/src/lib/container/FallbackItemDependency.js +26 -0
- package/dist/src/lib/container/FallbackItemDependency.js.map +1 -0
- package/dist/src/lib/container/FallbackModule.d.ts +54 -0
- package/dist/src/lib/container/FallbackModule.js +152 -0
- package/dist/src/lib/container/FallbackModule.js.map +1 -0
- package/dist/src/lib/container/FallbackModuleFactory.d.ts +11 -0
- package/dist/src/lib/container/FallbackModuleFactory.js +28 -0
- package/dist/src/lib/container/FallbackModuleFactory.js.map +1 -0
- package/dist/src/lib/container/HoistContainerReferencesPlugin.d.ts +16 -0
- package/dist/src/lib/container/HoistContainerReferencesPlugin.js +183 -0
- package/dist/src/lib/container/HoistContainerReferencesPlugin.js.map +1 -0
- package/dist/src/lib/container/ModuleFederationPlugin.d.ts +16 -0
- package/dist/src/lib/container/ModuleFederationPlugin.js +118 -0
- package/dist/src/lib/container/ModuleFederationPlugin.js.map +1 -0
- package/dist/src/lib/container/RemoteModule.d.ts +90 -0
- package/dist/src/lib/container/RemoteModule.js +148 -0
- package/dist/src/lib/container/RemoteModule.js.map +1 -0
- package/dist/src/lib/container/RemoteRuntimeModule.d.ts +12 -0
- package/dist/src/lib/container/RemoteRuntimeModule.js +101 -0
- package/dist/src/lib/container/RemoteRuntimeModule.js.map +1 -0
- package/{src → dist/src}/lib/container/RemoteToExternalDependency.d.ts +3 -9
- package/dist/src/lib/container/RemoteToExternalDependency.js +26 -0
- package/dist/src/lib/container/RemoteToExternalDependency.js.map +1 -0
- package/dist/src/lib/container/constant.d.ts +3 -0
- package/dist/src/lib/container/constant.js +12 -0
- package/dist/src/lib/container/constant.js.map +1 -0
- package/{src → dist/src}/lib/container/options.d.ts +12 -4
- package/{src → dist/src}/lib/container/options.js +32 -42
- package/dist/src/lib/container/options.js.map +1 -0
- package/dist/src/lib/container/runtime/FederationInitModule.d.ts +16 -0
- package/dist/src/lib/container/runtime/FederationInitModule.js +89 -0
- package/dist/src/lib/container/runtime/FederationInitModule.js.map +1 -0
- package/dist/src/lib/container/runtime/FederationRuntimeModule.d.ts +13 -0
- package/dist/src/lib/container/runtime/FederationRuntimeModule.js +27 -0
- package/dist/src/lib/container/runtime/FederationRuntimeModule.js.map +1 -0
- package/dist/src/lib/container/runtime/FederationRuntimePlugin.d.ts +18 -0
- package/dist/src/lib/container/runtime/FederationRuntimePlugin.js +222 -0
- package/dist/src/lib/container/runtime/FederationRuntimePlugin.js.map +1 -0
- package/dist/src/lib/container/runtime/getFederationGlobal.d.ts +5 -0
- package/dist/src/lib/container/runtime/getFederationGlobal.js +24 -0
- package/dist/src/lib/container/runtime/getFederationGlobal.js.map +1 -0
- package/dist/src/lib/container/runtime/utils.d.ts +16 -0
- package/dist/src/lib/container/runtime/utils.js +83 -0
- package/dist/src/lib/container/runtime/utils.js.map +1 -0
- package/dist/src/lib/sharing/ConsumeSharedFallbackDependency.d.ts +3 -0
- package/dist/src/lib/sharing/ConsumeSharedFallbackDependency.js +26 -0
- package/dist/src/lib/sharing/ConsumeSharedFallbackDependency.js.map +1 -0
- package/dist/src/lib/sharing/ConsumeSharedModule.d.ts +99 -0
- package/dist/src/lib/sharing/ConsumeSharedModule.js +206 -0
- package/dist/src/lib/sharing/ConsumeSharedModule.js.map +1 -0
- package/dist/src/lib/sharing/ConsumeSharedPlugin.d.ts +30 -0
- package/dist/src/lib/sharing/ConsumeSharedPlugin.js +245 -0
- package/dist/src/lib/sharing/ConsumeSharedPlugin.js.map +1 -0
- package/dist/src/lib/sharing/ConsumeSharedRuntimeModule.d.ts +31 -0
- package/dist/src/lib/sharing/ConsumeSharedRuntimeModule.js +107 -0
- package/dist/src/lib/sharing/ConsumeSharedRuntimeModule.js.map +1 -0
- package/dist/src/lib/sharing/ProvideForSharedDependency.d.ts +3 -0
- package/dist/src/lib/sharing/ProvideForSharedDependency.js +27 -0
- package/dist/src/lib/sharing/ProvideForSharedDependency.js.map +1 -0
- package/dist/src/lib/sharing/ProvideSharedDependency.d.ts +36 -0
- package/dist/src/lib/sharing/ProvideSharedDependency.js +70 -0
- package/dist/src/lib/sharing/ProvideSharedDependency.js.map +1 -0
- package/dist/src/lib/sharing/ProvideSharedModule.d.ts +67 -0
- package/dist/src/lib/sharing/ProvideSharedModule.js +186 -0
- package/dist/src/lib/sharing/ProvideSharedModule.js.map +1 -0
- package/dist/src/lib/sharing/ProvideSharedModuleFactory.d.ts +18 -0
- package/dist/src/lib/sharing/ProvideSharedModuleFactory.js +30 -0
- package/dist/src/lib/sharing/ProvideSharedModuleFactory.js.map +1 -0
- package/dist/src/lib/sharing/ProvideSharedPlugin.d.ts +47 -0
- package/dist/src/lib/sharing/ProvideSharedPlugin.js +195 -0
- package/dist/src/lib/sharing/ProvideSharedPlugin.js.map +1 -0
- package/dist/src/lib/sharing/SharePlugin.d.ts +41 -0
- package/dist/src/lib/sharing/SharePlugin.js +79 -0
- package/dist/src/lib/sharing/SharePlugin.js.map +1 -0
- package/dist/src/lib/sharing/ShareRuntimeModule.d.ts +14 -0
- package/dist/src/lib/sharing/ShareRuntimeModule.js +89 -0
- package/dist/src/lib/sharing/ShareRuntimeModule.js.map +1 -0
- package/dist/src/lib/sharing/resolveMatchedConfigs.d.ts +12 -0
- package/dist/src/lib/sharing/resolveMatchedConfigs.js +66 -0
- package/dist/src/lib/sharing/resolveMatchedConfigs.js.map +1 -0
- package/dist/src/lib/sharing/utils.d.ts +37 -0
- package/{src → dist/src}/lib/sharing/utils.js +109 -81
- package/dist/src/lib/sharing/utils.js.map +1 -0
- package/{src → dist/src}/runtime/AddRuntimeRequirementToPromiseExternalPlugin.d.ts +1 -1
- package/dist/src/runtime/AddRuntimeRequirementToPromiseExternalPlugin.js +19 -0
- package/dist/src/runtime/AddRuntimeRequirementToPromiseExternalPlugin.js.map +1 -0
- package/dist/src/schemas/container/ContainerPlugin.check.d.ts +7 -0
- package/dist/src/schemas/container/ContainerPlugin.check.js +2297 -0
- package/dist/src/schemas/container/ContainerPlugin.check.js.map +1 -0
- package/dist/src/schemas/container/ContainerPlugin.d.ts +268 -0
- package/dist/src/schemas/container/ContainerPlugin.js +306 -0
- package/dist/src/schemas/container/ContainerPlugin.js.map +1 -0
- package/dist/src/schemas/container/ContainerReferencePlugin.check.d.ts +7 -0
- package/dist/src/schemas/container/ContainerReferencePlugin.check.js +939 -0
- package/dist/src/schemas/container/ContainerReferencePlugin.check.js.map +1 -0
- package/dist/src/schemas/container/ContainerReferencePlugin.d.ts +87 -0
- package/dist/src/schemas/container/ContainerReferencePlugin.js +132 -0
- package/dist/src/schemas/container/ContainerReferencePlugin.js.map +1 -0
- package/dist/src/schemas/container/ModuleFederationPlugin.check.d.ts +9 -0
- package/dist/src/schemas/container/ModuleFederationPlugin.check.js +3980 -0
- package/dist/src/schemas/container/ModuleFederationPlugin.check.js.map +1 -0
- package/dist/src/schemas/container/ModuleFederationPlugin.d.ts +470 -0
- package/dist/src/schemas/container/ModuleFederationPlugin.js +563 -0
- package/dist/src/schemas/container/ModuleFederationPlugin.js.map +1 -0
- package/dist/src/schemas/sharing/ProviderSharedPlugin.check.d.ts +7 -0
- package/dist/src/schemas/sharing/ProviderSharedPlugin.check.js +434 -0
- package/dist/src/schemas/sharing/ProviderSharedPlugin.check.js.map +1 -0
- package/dist/src/schemas/sharing/ProviderSharedPlugin.d.ts +104 -0
- package/dist/src/schemas/sharing/ProviderSharedPlugin.js +119 -0
- package/dist/src/schemas/sharing/ProviderSharedPlugin.js.map +1 -0
- package/dist/src/types/runtime.d.ts +7 -0
- package/dist/src/types/runtime.js +3 -0
- package/dist/src/types/runtime.js.map +1 -0
- package/dist/src/wrapper/AsyncBoundaryPlugin.d.ts +8 -0
- package/dist/src/wrapper/AsyncBoundaryPlugin.js +19 -0
- package/dist/src/wrapper/AsyncBoundaryPlugin.js.map +1 -0
- package/dist/src/wrapper/ConsumeSharedPlugin.d.ts +8 -0
- package/dist/src/wrapper/ConsumeSharedPlugin.js +19 -0
- package/dist/src/wrapper/ConsumeSharedPlugin.js.map +1 -0
- package/dist/src/wrapper/ContainerPlugin.d.ts +8 -0
- package/dist/src/wrapper/ContainerPlugin.js +19 -0
- package/dist/src/wrapper/ContainerPlugin.js.map +1 -0
- package/dist/src/wrapper/ContainerReferencePlugin.d.ts +8 -0
- package/dist/src/wrapper/ContainerReferencePlugin.js +19 -0
- package/dist/src/wrapper/ContainerReferencePlugin.js.map +1 -0
- package/dist/src/wrapper/FederationRuntimePlugin.d.ts +9 -0
- package/dist/src/wrapper/FederationRuntimePlugin.js +22 -0
- package/dist/src/wrapper/FederationRuntimePlugin.js.map +1 -0
- package/dist/src/wrapper/HoistContainerReferencesPlugin.d.ts +6 -0
- package/dist/src/wrapper/HoistContainerReferencesPlugin.js +18 -0
- package/dist/src/wrapper/HoistContainerReferencesPlugin.js.map +1 -0
- package/dist/src/wrapper/ModuleFederationPlugin.d.ts +8 -0
- package/dist/src/wrapper/ModuleFederationPlugin.js +24 -0
- package/dist/src/wrapper/ModuleFederationPlugin.js.map +1 -0
- package/dist/src/wrapper/ProvideSharedPlugin.d.ts +8 -0
- package/dist/src/wrapper/ProvideSharedPlugin.js +19 -0
- package/dist/src/wrapper/ProvideSharedPlugin.js.map +1 -0
- package/dist/src/wrapper/SharePlugin.d.ts +8 -0
- package/dist/src/wrapper/SharePlugin.js +19 -0
- package/dist/src/wrapper/SharePlugin.js.map +1 -0
- package/package.json +31 -9
- package/CHANGELOG.md +0 -134
- package/global.d.js +0 -14
- package/global.d.js.map +0 -1
- package/pullts.d.ts +0 -1
- package/src/declarations/plugins/container/AsyncDependenciesBlock.d.js +0 -14
- package/src/declarations/plugins/container/AsyncDependenciesBlock.d.js.map +0 -1
- package/src/declarations/plugins/container/ContainerPlugin.d.js +0 -12
- package/src/declarations/plugins/container/ContainerPlugin.d.js.map +0 -1
- package/src/declarations/plugins/container/ContainerReferencePlugin.d.js +0 -12
- package/src/declarations/plugins/container/ContainerReferencePlugin.d.js.map +0 -1
- package/src/declarations/plugins/container/Dependency.d.js +0 -14
- package/src/declarations/plugins/container/Dependency.d.js.map +0 -1
- package/src/declarations/plugins/container/Module.d.js +0 -3
- package/src/declarations/plugins/container/Module.d.js.map +0 -1
- package/src/declarations/plugins/container/ModuleFactory.d.js +0 -3
- package/src/declarations/plugins/container/ModuleFactory.d.js.map +0 -1
- package/src/declarations/plugins/container/ModuleFederationPlugin.d.js +0 -12
- package/src/declarations/plugins/container/ModuleFederationPlugin.d.js.map +0 -1
- package/src/declarations/plugins/container/ObjectDeserializerContext.d.js +0 -6
- package/src/declarations/plugins/container/ObjectDeserializerContext.d.js.map +0 -1
- package/src/declarations/plugins/container/StaticExportsDependency.d.js +0 -14
- package/src/declarations/plugins/container/StaticExportsDependency.d.js.map +0 -1
- package/src/declarations/plugins/container/Template.d.js +0 -4
- package/src/declarations/plugins/container/Template.d.js.map +0 -1
- package/src/declarations/plugins/container/WebpackError.d.js +0 -3
- package/src/declarations/plugins/container/WebpackError.d.js.map +0 -1
- package/src/declarations/plugins/container/WebpackOptions.d.js +0 -6
- package/src/declarations/plugins/container/WebpackOptions.d.js.map +0 -1
- package/src/declarations/plugins/sharing/ConsumeSharedPlugin.d.js +0 -12
- package/src/declarations/plugins/sharing/ConsumeSharedPlugin.d.js.map +0 -1
- package/src/declarations/plugins/sharing/ProvideSharedPlugin.d.js +0 -12
- package/src/declarations/plugins/sharing/ProvideSharedPlugin.d.js.map +0 -1
- package/src/declarations/plugins/sharing/SharePlugin.d.js +0 -12
- package/src/declarations/plugins/sharing/SharePlugin.d.js.map +0 -1
- package/src/index.d.ts +0 -7
- package/src/index.js +0 -47
- package/src/index.js.map +0 -1
- package/src/lib/Constants.js +0 -103
- package/src/lib/Constants.js.map +0 -1
- package/src/lib/RuntimeGlobals.d.ts +0 -1
- package/src/lib/RuntimeGlobals.js.map +0 -1
- package/src/lib/container/AsyncBoundaryPlugin.d.ts +0 -45
- package/src/lib/container/AsyncBoundaryPlugin.js +0 -110
- package/src/lib/container/AsyncBoundaryPlugin.js.map +0 -1
- package/src/lib/container/ContainerEntryDependency.d.js +0 -4
- package/src/lib/container/ContainerEntryDependency.d.js.map +0 -1
- package/src/lib/container/ContainerEntryDependency.d.ts +0 -20
- package/src/lib/container/ContainerEntryDependency.js +0 -47
- package/src/lib/container/ContainerEntryDependency.js.map +0 -1
- package/src/lib/container/ContainerEntryModule.d.js +0 -14
- package/src/lib/container/ContainerEntryModule.d.js.map +0 -1
- package/src/lib/container/ContainerEntryModule.d.ts +0 -85
- package/src/lib/container/ContainerEntryModule.js +0 -279
- package/src/lib/container/ContainerEntryModule.js.map +0 -1
- package/src/lib/container/ContainerEntryModuleFactory.d.js +0 -4
- package/src/lib/container/ContainerEntryModuleFactory.d.js.map +0 -1
- package/src/lib/container/ContainerEntryModuleFactory.d.ts +0 -10
- package/src/lib/container/ContainerEntryModuleFactory.js +0 -36
- package/src/lib/container/ContainerEntryModuleFactory.js.map +0 -1
- package/src/lib/container/ContainerExposedDependency.d.js +0 -4
- package/src/lib/container/ContainerExposedDependency.d.js.map +0 -1
- package/src/lib/container/ContainerExposedDependency.d.ts +0 -26
- package/src/lib/container/ContainerExposedDependency.js +0 -57
- package/src/lib/container/ContainerExposedDependency.js.map +0 -1
- package/src/lib/container/ContainerPlugin.d.js +0 -4
- package/src/lib/container/ContainerPlugin.d.js.map +0 -1
- package/src/lib/container/ContainerPlugin.d.ts +0 -11
- package/src/lib/container/ContainerPlugin.js +0 -92
- package/src/lib/container/ContainerPlugin.js.map +0 -1
- package/src/lib/container/ContainerReferencePlugin.d.js +0 -4
- package/src/lib/container/ContainerReferencePlugin.d.js.map +0 -1
- package/src/lib/container/ContainerReferencePlugin.js +0 -139
- package/src/lib/container/ContainerReferencePlugin.js.map +0 -1
- package/src/lib/container/FallbackDependency.d.js +0 -14
- package/src/lib/container/FallbackDependency.d.js.map +0 -1
- package/src/lib/container/FallbackDependency.d.ts +0 -25
- package/src/lib/container/FallbackDependency.js +0 -59
- package/src/lib/container/FallbackDependency.js.map +0 -1
- package/src/lib/container/FallbackItemDependency.d.js +0 -4
- package/src/lib/container/FallbackItemDependency.d.js.map +0 -1
- package/src/lib/container/FallbackItemDependency.d.ts +0 -10
- package/src/lib/container/FallbackItemDependency.js +0 -37
- package/src/lib/container/FallbackItemDependency.js.map +0 -1
- package/src/lib/container/FallbackModule.d.js +0 -4
- package/src/lib/container/FallbackModule.d.js.map +0 -1
- package/src/lib/container/FallbackModule.d.ts +0 -73
- package/src/lib/container/FallbackModule.js +0 -153
- package/src/lib/container/FallbackModule.js.map +0 -1
- package/src/lib/container/FallbackModuleFactory.d.js +0 -4
- package/src/lib/container/FallbackModuleFactory.d.js.map +0 -1
- package/src/lib/container/FallbackModuleFactory.d.ts +0 -10
- package/src/lib/container/FallbackModuleFactory.js +0 -34
- package/src/lib/container/FallbackModuleFactory.js.map +0 -1
- package/src/lib/container/ModuleFederationPlugin.d.js +0 -4
- package/src/lib/container/ModuleFederationPlugin.d.js.map +0 -1
- package/src/lib/container/ModuleFederationPlugin.d.ts +0 -16
- package/src/lib/container/ModuleFederationPlugin.js +0 -83
- package/src/lib/container/ModuleFederationPlugin.js.map +0 -1
- package/src/lib/container/ModuleFederationPluginTypes.d.js +0 -12
- package/src/lib/container/ModuleFederationPluginTypes.d.js.map +0 -1
- package/src/lib/container/RemoteModule.d.js +0 -13
- package/src/lib/container/RemoteModule.d.js.map +0 -1
- package/src/lib/container/RemoteModule.d.ts +0 -76
- package/src/lib/container/RemoteModule.js +0 -151
- package/src/lib/container/RemoteModule.js.map +0 -1
- package/src/lib/container/RemoteRuntimeModule.d.js +0 -13
- package/src/lib/container/RemoteRuntimeModule.d.js.map +0 -1
- package/src/lib/container/RemoteRuntimeModule.d.ts +0 -9
- package/src/lib/container/RemoteRuntimeModule.js +0 -125
- package/src/lib/container/RemoteRuntimeModule.js.map +0 -1
- package/src/lib/container/RemoteToExternalDependency.d.js +0 -19
- package/src/lib/container/RemoteToExternalDependency.d.js.map +0 -1
- package/src/lib/container/RemoteToExternalDependency.js +0 -37
- package/src/lib/container/RemoteToExternalDependency.js.map +0 -1
- package/src/lib/container/options.d.js +0 -6
- package/src/lib/container/options.d.js.map +0 -1
- package/src/lib/container/options.js.map +0 -1
- package/src/lib/inversion/ContainerInversionPlugin.d.ts +0 -1
- package/src/lib/inversion/ContainerInversionPlugin.js +0 -3
- package/src/lib/inversion/ContainerInversionPlugin.js.map +0 -1
- package/src/lib/sharing/ConsumeSharedFallbackDependency.d.js +0 -4
- package/src/lib/sharing/ConsumeSharedFallbackDependency.d.js.map +0 -1
- package/src/lib/sharing/ConsumeSharedFallbackDependency.d.ts +0 -10
- package/src/lib/sharing/ConsumeSharedFallbackDependency.js +0 -37
- package/src/lib/sharing/ConsumeSharedFallbackDependency.js.map +0 -1
- package/src/lib/sharing/ConsumeSharedModule.d.js +0 -4
- package/src/lib/sharing/ConsumeSharedModule.d.js.map +0 -1
- package/src/lib/sharing/ConsumeSharedModule.d.ts +0 -106
- package/src/lib/sharing/ConsumeSharedModule.js +0 -233
- package/src/lib/sharing/ConsumeSharedModule.js.map +0 -1
- package/src/lib/sharing/ConsumeSharedPlugin.d.js +0 -4
- package/src/lib/sharing/ConsumeSharedPlugin.d.js.map +0 -1
- package/src/lib/sharing/ConsumeSharedPlugin.d.ts +0 -8
- package/src/lib/sharing/ConsumeSharedPlugin.js +0 -272
- package/src/lib/sharing/ConsumeSharedPlugin.js.map +0 -1
- package/src/lib/sharing/ConsumeSharedRuntimeModule.d.js +0 -4
- package/src/lib/sharing/ConsumeSharedRuntimeModule.d.js.map +0 -1
- package/src/lib/sharing/ConsumeSharedRuntimeModule.d.ts +0 -13
- package/src/lib/sharing/ConsumeSharedRuntimeModule.js +0 -293
- package/src/lib/sharing/ConsumeSharedRuntimeModule.js.map +0 -1
- package/src/lib/sharing/ProvideForSharedDependency.d.js +0 -4
- package/src/lib/sharing/ProvideForSharedDependency.d.js.map +0 -1
- package/src/lib/sharing/ProvideForSharedDependency.d.ts +0 -11
- package/src/lib/sharing/ProvideForSharedDependency.js +0 -38
- package/src/lib/sharing/ProvideForSharedDependency.js.map +0 -1
- package/src/lib/sharing/ProvideSharedDependency.d.js +0 -14
- package/src/lib/sharing/ProvideSharedDependency.d.js.map +0 -1
- package/src/lib/sharing/ProvideSharedDependency.d.ts +0 -32
- package/src/lib/sharing/ProvideSharedDependency.js +0 -69
- package/src/lib/sharing/ProvideSharedDependency.js.map +0 -1
- package/src/lib/sharing/ProvideSharedModule.d.js +0 -4
- package/src/lib/sharing/ProvideSharedModule.d.js.map +0 -1
- package/src/lib/sharing/ProvideSharedModule.d.ts +0 -79
- package/src/lib/sharing/ProvideSharedModule.js +0 -201
- package/src/lib/sharing/ProvideSharedModule.js.map +0 -1
- package/src/lib/sharing/ProvideSharedModuleFactory.d.js +0 -4
- package/src/lib/sharing/ProvideSharedModuleFactory.d.js.map +0 -1
- package/src/lib/sharing/ProvideSharedModuleFactory.d.ts +0 -11
- package/src/lib/sharing/ProvideSharedModuleFactory.js +0 -36
- package/src/lib/sharing/ProvideSharedModuleFactory.js.map +0 -1
- package/src/lib/sharing/ProvideSharedPlugin.d.js +0 -4
- package/src/lib/sharing/ProvideSharedPlugin.d.js.map +0 -1
- package/src/lib/sharing/ProvideSharedPlugin.d.ts +0 -34
- package/src/lib/sharing/ProvideSharedPlugin.js +0 -182
- package/src/lib/sharing/ProvideSharedPlugin.js.map +0 -1
- package/src/lib/sharing/SharePlugin.d.js +0 -4
- package/src/lib/sharing/SharePlugin.d.js.map +0 -1
- package/src/lib/sharing/SharePlugin.d.ts +0 -15
- package/src/lib/sharing/SharePlugin.js +0 -77
- package/src/lib/sharing/SharePlugin.js.map +0 -1
- package/src/lib/sharing/ShareRuntimeModule.d.js +0 -4
- package/src/lib/sharing/ShareRuntimeModule.d.js.map +0 -1
- package/src/lib/sharing/ShareRuntimeModule.d.ts +0 -9
- package/src/lib/sharing/ShareRuntimeModule.js +0 -159
- package/src/lib/sharing/ShareRuntimeModule.js.map +0 -1
- package/src/lib/sharing/resolveMatchedConfigs.d.js +0 -6
- package/src/lib/sharing/resolveMatchedConfigs.d.js.map +0 -1
- package/src/lib/sharing/resolveMatchedConfigs.d.ts +0 -8
- package/src/lib/sharing/resolveMatchedConfigs.js +0 -73
- package/src/lib/sharing/resolveMatchedConfigs.js.map +0 -1
- package/src/lib/sharing/utils.d.js +0 -6
- package/src/lib/sharing/utils.d.js.map +0 -1
- package/src/lib/sharing/utils.d.ts +0 -33
- package/src/lib/sharing/utils.js.map +0 -1
- package/src/runtime/AddRuntimeRequirementToPromiseExternalPlugin.js +0 -34
- package/src/runtime/AddRuntimeRequirementToPromiseExternalPlugin.js.map +0 -1
- package/src/runtime/ModuleInfoRuntimeModule.d.ts +0 -16
- package/src/runtime/ModuleInfoRuntimeModule.js +0 -88
- package/src/runtime/ModuleInfoRuntimeModule.js.map +0 -1
- package/src/runtime/ModuleInfoRuntimePlugin.d.ts +0 -5
- package/src/runtime/ModuleInfoRuntimePlugin.js +0 -29
- package/src/runtime/ModuleInfoRuntimePlugin.js.map +0 -1
- /package/{src → dist/src}/lib/Constants.d.ts +0 -0
package/CHANGELOG.md
DELETED
|
@@ -1,134 +0,0 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
|
-
|
|
5
|
-
# [0.1.0](https://github.com/module-federation/nextjs-mf/compare/enhanced-0.0.4-0...enhanced-0.1.0) (2023-10-07)
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
### Bug Fixes
|
|
9
|
-
|
|
10
|
-
* ensure chunk handler exists before calling it ([98ba838](https://github.com/module-federation/nextjs-mf/commit/98ba838f979bbef11f5d678c3bf27a4de534cf9d))
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
### Features
|
|
14
|
-
|
|
15
|
-
* AddRuntimeRequirementToPromiseExternal ([9bc5a20](https://github.com/module-federation/nextjs-mf/commit/9bc5a20b54228de7d1f2554eee10360a34e8d8a1))
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
## [0.0.4-0](https://github.com/module-federation/nextjs-mf/compare/enhanced-0.0.3...enhanced-0.0.4-0) (2023-10-03)
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
### Bug Fixes
|
|
23
|
-
|
|
24
|
-
* no external helpers ([6c47fd4](https://github.com/module-federation/nextjs-mf/commit/6c47fd4ce19f2292f6718d201005fba4a8552252))
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
## [0.0.3](https://github.com/module-federation/nextjs-mf/compare/enhanced-0.0.2...enhanced-0.0.3) (2023-10-03)
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
## [0.0.2](https://github.com/module-federation/nextjs-mf/compare/enhanced-0.0.1...enhanced-0.0.2) (2023-10-03)
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
## [0.0.1](https://github.com/module-federation/nextjs-mf/compare/enhanced-0.0.1-rc.0...enhanced-0.0.1) (2023-10-03)
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
## 0.0.1-rc.0 (2023-10-03)
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
### Bug Fixes
|
|
44
|
-
|
|
45
|
-
* add missing serialize method on RemoteModule ([e7ac801](https://github.com/module-federation/nextjs-mf/commit/e7ac801151b08dbb5ca025bd8ac03683f792f92f))
|
|
46
|
-
* add override to remoteModule ([875038a](https://github.com/module-federation/nextjs-mf/commit/875038ad68dfed05822c1bc7c68ae91e57282f4f))
|
|
47
|
-
* bad impleentation during federation port ([cc2e53f](https://github.com/module-federation/nextjs-mf/commit/cc2e53f0351fb94c9068223ad6b8d990a913ab53))
|
|
48
|
-
* broken versioning issues in consumes ([e7fada2](https://github.com/module-federation/nextjs-mf/commit/e7fada211b1e58dc52eafeff4210a9ce62636f9d))
|
|
49
|
-
* change exports for module info runtime ([f40c538](https://github.com/module-federation/nextjs-mf/commit/f40c538221353a61938cadf624c9235ec8eb4cce))
|
|
50
|
-
* **enhanced:** module info duplication ([49b4a57](https://github.com/module-federation/nextjs-mf/commit/49b4a5736714c1db4510d10cdd5fe0277123caa8))
|
|
51
|
-
* **enhanced:** syntax issue in proxy ([2e5848b](https://github.com/module-federation/nextjs-mf/commit/2e5848b4be3e3bba46508a427c1bc8f2d3043c8d))
|
|
52
|
-
* improve backward compat __remote_scope__ global ([ac0efa3](https://github.com/module-federation/nextjs-mf/commit/ac0efa37d975a130aa3badc657fa66d723865a5b))
|
|
53
|
-
* improve logic in runtime module info proxy ([8eea1a8](https://github.com/module-federation/nextjs-mf/commit/8eea1a84ae6a12f69dbb16d00f52ec902efbdda6))
|
|
54
|
-
* legacy scope duplication on recreation ([347e4c9](https://github.com/module-federation/nextjs-mf/commit/347e4c96e87ff4f28dce319fc6b2fe40f1cbabee))
|
|
55
|
-
* package data ([992d298](https://github.com/module-federation/nextjs-mf/commit/992d2985c29d0bf86de6739f728fbf64749e7fd0))
|
|
56
|
-
* remote global share scope ([e05d32f](https://github.com/module-federation/nextjs-mf/commit/e05d32f489880d6b4e0fc21a3807e619a40bc5b3))
|
|
57
|
-
* Ts import error ([6e7974c](https://github.com/module-federation/nextjs-mf/commit/6e7974c22874378122ab31eea27dddd0604505db))
|
|
58
|
-
* TS imports to webpack ([d506b49](https://github.com/module-federation/nextjs-mf/commit/d506b492b724ccfb7fdcf6234196ac421564c153))
|
|
59
|
-
* TS imports, missing module methods ([8eb422d](https://github.com/module-federation/nextjs-mf/commit/8eb422d30e149cb0d96835f036ec73ce1ccafe53))
|
|
60
|
-
* ts in template string ([579b341](https://github.com/module-federation/nextjs-mf/commit/579b341a5eb38ca6396da15f9667729ab84d2ff6))
|
|
61
|
-
* ts in template string ([37e790a](https://github.com/module-federation/nextjs-mf/commit/37e790a7b46ff6d8c8fd2c12cfd5629900db1b53))
|
|
62
|
-
* ts in template string ([0edbbea](https://github.com/module-federation/nextjs-mf/commit/0edbbeaa42503237b88132252e29a34a79bade51))
|
|
63
|
-
* ts in template string ([1d56efd](https://github.com/module-federation/nextjs-mf/commit/1d56efdf3d0bc78d19d187fe561fbbf453bada87))
|
|
64
|
-
* ts in template string ([113d703](https://github.com/module-federation/nextjs-mf/commit/113d7037de8238ed0bcf9418ac1bf3d082fbea66))
|
|
65
|
-
* typescript issues ([0a07481](https://github.com/module-federation/nextjs-mf/commit/0a07481552e1df6b35506165cbc649996004c318))
|
|
66
|
-
* use ES5 for renderStartup of entrypoint ([d14324a](https://github.com/module-federation/nextjs-mf/commit/d14324a9af856fca974a8f9945ba7d0d2a96be48))
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
### Features
|
|
70
|
-
|
|
71
|
-
* additional plugin exports ([0604461](https://github.com/module-federation/nextjs-mf/commit/0604461ea8806d4e064955f5edef571a9a45d8d0))
|
|
72
|
-
* AsyncBoundaryPlugin ([00227ca](https://github.com/module-federation/nextjs-mf/commit/00227cabf3a1e7286148e84d5714e020391771f7))
|
|
73
|
-
* checkInvalidContext as tapable hook ([a3eb553](https://github.com/module-federation/nextjs-mf/commit/a3eb5537ff462ead2230615f578569ec46199f50))
|
|
74
|
-
* **ContainerEntryModule:** fix TypeScript issue, enhance needBuild method [#398](https://github.com/module-federation/nextjs-mf/issues/398)a60e ([c561e11](https://github.com/module-federation/nextjs-mf/commit/c561e111a54b253fd194c3b75041577dda50ad4b)), closes [#398a60](https://github.com/module-federation/nextjs-mf/issues/398a60)
|
|
75
|
-
* **enhanced:** Fork Module Federation ([8682990](https://github.com/module-federation/nextjs-mf/commit/8682990e7fec6309ce20572958916f747737af90))
|
|
76
|
-
* **enhanced:** Refactor ContainerEntryDependency and ContainerEntryModule for better code readability and maintainability ([e93e7d2](https://github.com/module-federation/nextjs-mf/commit/e93e7d2fafe2e22f7d2c613095ce1900d7531f29))
|
|
77
|
-
* fork module federation ([0ad7430](https://github.com/module-federation/nextjs-mf/commit/0ad7430f6170458a47144be392133b7b2fa1ade0))
|
|
78
|
-
* improved async init ([17b1419](https://github.com/module-federation/nextjs-mf/commit/17b1419ef31ec5661fa06b9f0c297e2771e2a86c))
|
|
79
|
-
* support lazy compilation ([29c234c](https://github.com/module-federation/nextjs-mf/commit/29c234c14315e000acefc60d635ee486205ca83e))
|
|
80
|
-
* Use enhanced Federation Plugin ([e021d66](https://github.com/module-federation/nextjs-mf/commit/e021d6667996962f154137d164bed13f53a6a135))
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
### Reverts
|
|
84
|
-
|
|
85
|
-
* Revert "add migration / sync steps" ([5511559](https://github.com/module-federation/nextjs-mf/commit/5511559b86937b2733ac2e8db7e0a4fb33293778))
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
## 0.0.1-0 (2023-10-03)
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
### Bug Fixes
|
|
93
|
-
|
|
94
|
-
* add missing serialize method on RemoteModule ([e7ac801](https://github.com/module-federation/nextjs-mf/commit/e7ac801151b08dbb5ca025bd8ac03683f792f92f))
|
|
95
|
-
* add override to remoteModule ([875038a](https://github.com/module-federation/nextjs-mf/commit/875038ad68dfed05822c1bc7c68ae91e57282f4f))
|
|
96
|
-
* bad impleentation during federation port ([cc2e53f](https://github.com/module-federation/nextjs-mf/commit/cc2e53f0351fb94c9068223ad6b8d990a913ab53))
|
|
97
|
-
* broken versioning issues in consumes ([e7fada2](https://github.com/module-federation/nextjs-mf/commit/e7fada211b1e58dc52eafeff4210a9ce62636f9d))
|
|
98
|
-
* change exports for module info runtime ([f40c538](https://github.com/module-federation/nextjs-mf/commit/f40c538221353a61938cadf624c9235ec8eb4cce))
|
|
99
|
-
* **enhanced:** module info duplication ([49b4a57](https://github.com/module-federation/nextjs-mf/commit/49b4a5736714c1db4510d10cdd5fe0277123caa8))
|
|
100
|
-
* **enhanced:** syntax issue in proxy ([2e5848b](https://github.com/module-federation/nextjs-mf/commit/2e5848b4be3e3bba46508a427c1bc8f2d3043c8d))
|
|
101
|
-
* improve backward compat __remote_scope__ global ([ac0efa3](https://github.com/module-federation/nextjs-mf/commit/ac0efa37d975a130aa3badc657fa66d723865a5b))
|
|
102
|
-
* improve logic in runtime module info proxy ([8eea1a8](https://github.com/module-federation/nextjs-mf/commit/8eea1a84ae6a12f69dbb16d00f52ec902efbdda6))
|
|
103
|
-
* legacy scope duplication on recreation ([347e4c9](https://github.com/module-federation/nextjs-mf/commit/347e4c96e87ff4f28dce319fc6b2fe40f1cbabee))
|
|
104
|
-
* package data ([992d298](https://github.com/module-federation/nextjs-mf/commit/992d2985c29d0bf86de6739f728fbf64749e7fd0))
|
|
105
|
-
* remote global share scope ([e05d32f](https://github.com/module-federation/nextjs-mf/commit/e05d32f489880d6b4e0fc21a3807e619a40bc5b3))
|
|
106
|
-
* Ts import error ([6e7974c](https://github.com/module-federation/nextjs-mf/commit/6e7974c22874378122ab31eea27dddd0604505db))
|
|
107
|
-
* TS imports to webpack ([d506b49](https://github.com/module-federation/nextjs-mf/commit/d506b492b724ccfb7fdcf6234196ac421564c153))
|
|
108
|
-
* TS imports, missing module methods ([8eb422d](https://github.com/module-federation/nextjs-mf/commit/8eb422d30e149cb0d96835f036ec73ce1ccafe53))
|
|
109
|
-
* ts in template string ([579b341](https://github.com/module-federation/nextjs-mf/commit/579b341a5eb38ca6396da15f9667729ab84d2ff6))
|
|
110
|
-
* ts in template string ([37e790a](https://github.com/module-federation/nextjs-mf/commit/37e790a7b46ff6d8c8fd2c12cfd5629900db1b53))
|
|
111
|
-
* ts in template string ([0edbbea](https://github.com/module-federation/nextjs-mf/commit/0edbbeaa42503237b88132252e29a34a79bade51))
|
|
112
|
-
* ts in template string ([1d56efd](https://github.com/module-federation/nextjs-mf/commit/1d56efdf3d0bc78d19d187fe561fbbf453bada87))
|
|
113
|
-
* ts in template string ([113d703](https://github.com/module-federation/nextjs-mf/commit/113d7037de8238ed0bcf9418ac1bf3d082fbea66))
|
|
114
|
-
* typescript issues ([0a07481](https://github.com/module-federation/nextjs-mf/commit/0a07481552e1df6b35506165cbc649996004c318))
|
|
115
|
-
* use ES5 for renderStartup of entrypoint ([d14324a](https://github.com/module-federation/nextjs-mf/commit/d14324a9af856fca974a8f9945ba7d0d2a96be48))
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
### Features
|
|
119
|
-
|
|
120
|
-
* additional plugin exports ([0604461](https://github.com/module-federation/nextjs-mf/commit/0604461ea8806d4e064955f5edef571a9a45d8d0))
|
|
121
|
-
* AsyncBoundaryPlugin ([00227ca](https://github.com/module-federation/nextjs-mf/commit/00227cabf3a1e7286148e84d5714e020391771f7))
|
|
122
|
-
* checkInvalidContext as tapable hook ([a3eb553](https://github.com/module-federation/nextjs-mf/commit/a3eb5537ff462ead2230615f578569ec46199f50))
|
|
123
|
-
* **ContainerEntryModule:** fix TypeScript issue, enhance needBuild method [#398](https://github.com/module-federation/nextjs-mf/issues/398)a60e ([c561e11](https://github.com/module-federation/nextjs-mf/commit/c561e111a54b253fd194c3b75041577dda50ad4b)), closes [#398a60](https://github.com/module-federation/nextjs-mf/issues/398a60)
|
|
124
|
-
* **enhanced:** Fork Module Federation ([8682990](https://github.com/module-federation/nextjs-mf/commit/8682990e7fec6309ce20572958916f747737af90))
|
|
125
|
-
* **enhanced:** Refactor ContainerEntryDependency and ContainerEntryModule for better code readability and maintainability ([e93e7d2](https://github.com/module-federation/nextjs-mf/commit/e93e7d2fafe2e22f7d2c613095ce1900d7531f29))
|
|
126
|
-
* fork module federation ([0ad7430](https://github.com/module-federation/nextjs-mf/commit/0ad7430f6170458a47144be392133b7b2fa1ade0))
|
|
127
|
-
* improved async init ([17b1419](https://github.com/module-federation/nextjs-mf/commit/17b1419ef31ec5661fa06b9f0c297e2771e2a86c))
|
|
128
|
-
* support lazy compilation ([29c234c](https://github.com/module-federation/nextjs-mf/commit/29c234c14315e000acefc60d635ee486205ca83e))
|
|
129
|
-
* Use enhanced Federation Plugin ([e021d66](https://github.com/module-federation/nextjs-mf/commit/e021d6667996962f154137d164bed13f53a6a135))
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
### Reverts
|
|
133
|
-
|
|
134
|
-
* Revert "add migration / sync steps" ([5511559](https://github.com/module-federation/nextjs-mf/commit/5511559b86937b2733ac2e8db7e0a4fb33293778))
|
package/global.d.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/* eslint-disable @typescript-eslint/triple-slash-reference */ /// <reference path="../../node_modules/webpack/module.d.ts" />
|
|
2
|
-
/// <reference path="../../node_modules/webpack/types.d.ts" />
|
|
3
|
-
// declare module 'webpack/lib/RuntimeGlobals';
|
|
4
|
-
// declare module 'webpack/lib/Compilation';
|
|
5
|
-
// declare module 'webpack/lib/Compiler';
|
|
6
|
-
// declare module 'webpack/lib/runtime/StartupChunkDependenciesPlugin';
|
|
7
|
-
// declare module 'webpack/lib/RuntimeModule';
|
|
8
|
-
// declare module 'webpack/lib/Template';
|
|
9
|
-
// declare module 'webpack/lib/ModuleDependency';
|
|
10
|
-
// declare module 'webpack/lib/util/compileBooleanMatcher';
|
|
11
|
-
// declare module 'webpack/lib/util/identifier';
|
|
12
|
-
"use strict";
|
|
13
|
-
|
|
14
|
-
//# sourceMappingURL=global.d.js.map
|
package/global.d.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../packages/enhanced/global.d.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/triple-slash-reference */\n\n/// <reference path=\"../../node_modules/webpack/module.d.ts\" />\n/// <reference path=\"../../node_modules/webpack/types.d.ts\" />\n\n// declare module 'webpack/lib/RuntimeGlobals';\n// declare module 'webpack/lib/Compilation';\n// declare module 'webpack/lib/Compiler';\n// declare module 'webpack/lib/runtime/StartupChunkDependenciesPlugin';\n// declare module 'webpack/lib/RuntimeModule';\n// declare module 'webpack/lib/Template';\n// declare module 'webpack/lib/ModuleDependency';\n// declare module 'webpack/lib/util/compileBooleanMatcher';\n// declare module 'webpack/lib/util/identifier';\n"],"names":[],"mappings":"AAAA,4DAA4D,GAE5D,+DAA+D;AAC/D,8DAA8D;AAE9D,+CAA+C;AAC/C,4CAA4C;AAC5C,yCAAyC;AACzC,uEAAuE;AACvE,8CAA8C;AAC9C,yCAAyC;AACzC,iDAAiD;AACjD,2DAA2D;AAC3D,gDAAgD"}
|
package/pullts.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", {
|
|
3
|
-
value: true
|
|
4
|
-
});
|
|
5
|
-
Object.defineProperty(exports, "AsyncDependenciesBlock", {
|
|
6
|
-
enumerable: true,
|
|
7
|
-
get: function() {
|
|
8
|
-
return AsyncDependenciesBlock;
|
|
9
|
-
}
|
|
10
|
-
});
|
|
11
|
-
let AsyncDependenciesBlock = class AsyncDependenciesBlock extends DependenciesBlock {
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
//# sourceMappingURL=AsyncDependenciesBlock.d.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../../../packages/enhanced/src/declarations/plugins/container/AsyncDependenciesBlock.d.ts"],"sourcesContent":["export class AsyncDependenciesBlock extends DependenciesBlock {\n /**\n * @param {(ChunkGroupOptions & { entryOptions?: EntryOptions }) | null} groupOptions options for the group\n * @param {(DependencyLocation | null)=} loc the line of code\n * @param {(string | null)=} request the request\n */\n constructor(\n groupOptions:\n | (ChunkGroupOptions & {\n entryOptions?: EntryOptions;\n })\n | null,\n loc?: (DependencyLocation | null) | undefined,\n request?: (string | null) | undefined,\n );\n groupOptions: import('./ChunkGroup').RawChunkGroupOptions & {\n name?: string | undefined;\n } & {\n entryOptions?: import('./Entrypoint').EntryOptions | undefined;\n };\n loc: import('./Dependency').DependencyLocation | null | undefined;\n request: string | null | undefined;\n _stringifiedGroupOptions: string | undefined;\n /**\n * @param {string | undefined} value The new chunk name\n * @returns {void}\n */\n set chunkName(arg: string | undefined);\n /**\n * @returns {string | undefined} The name of the chunk\n */\n get chunkName(): string | undefined;\n set module(arg: any);\n get module(): any;\n}\ndeclare namespace AsyncDependenciesBlock {\n export {\n ChunkGraph,\n ChunkGroup,\n ChunkGroupOptions,\n DependencyLocation,\n UpdateHashContext,\n EntryOptions,\n Module,\n ObjectDeserializerContext,\n ObjectSerializerContext,\n Hash,\n };\n}\nimport DependenciesBlock = require('./DependenciesBlock');\ntype ChunkGroupOptions = import('./ChunkGroup').ChunkGroupOptions;\ntype EntryOptions = import('./Entrypoint').EntryOptions;\ntype DependencyLocation = import('./Dependency').DependencyLocation;\ntype ChunkGraph = import('./ChunkGraph');\ntype ChunkGroup = import('./ChunkGroup');\ntype UpdateHashContext = import('./Dependency').UpdateHashContext;\ntype Hash = import('./util/Hash');\n"],"names":["AsyncDependenciesBlock","DependenciesBlock"],"mappings":";;;;+BAAaA;;;eAAAA;;;AAAN,IAAA,AAAMA,yBAAN,MAAMA,+BAA+BC;AAkC5C"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* This file was automatically generated.
|
|
3
|
-
* DO NOT MODIFY BY HAND.
|
|
4
|
-
* Run `yarn special-lint-fix` to update
|
|
5
|
-
*/ /**
|
|
6
|
-
* 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.
|
|
7
|
-
*/ "use strict";
|
|
8
|
-
Object.defineProperty(exports, "__esModule", {
|
|
9
|
-
value: true
|
|
10
|
-
});
|
|
11
|
-
|
|
12
|
-
//# sourceMappingURL=ContainerPlugin.d.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../../../packages/enhanced/src/declarations/plugins/container/ContainerPlugin.d.ts"],"sourcesContent":["/*\n * This file was automatically generated.\n * DO NOT MODIFY BY HAND.\n * Run `yarn special-lint-fix` to update\n */\n\n/**\n * 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.\n */\nexport type Exposes = (ExposesItem | ExposesObject)[] | ExposesObject;\n/**\n * Module that should be exposed by this container.\n */\nexport type ExposesItem = string;\n/**\n * Modules that should be exposed by this container.\n */\nexport type ExposesItems = ExposesItem[];\n/**\n * Add a container for define/require functions in the AMD module.\n */\nexport type AmdContainer = string;\n/**\n * Add a comment in the UMD wrapper.\n */\nexport type AuxiliaryComment = string | LibraryCustomUmdCommentObject;\n/**\n * Specify which export should be exposed as library.\n */\nexport type LibraryExport = string[] | string;\n/**\n * The name of the library (some types allow unnamed libraries too).\n */\nexport type LibraryName = string[] | string | LibraryCustomUmdObject;\n/**\n * 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).\n */\nexport type LibraryType =\n | (\n | 'var'\n | 'module'\n | 'assign'\n | 'assign-properties'\n | 'this'\n | 'window'\n | 'self'\n | 'global'\n | 'commonjs'\n | 'commonjs2'\n | 'commonjs-module'\n | 'commonjs-static'\n | 'amd'\n | 'amd-require'\n | 'umd'\n | 'umd2'\n | 'jsonp'\n | 'system'\n )\n | string;\n/**\n * If `output.libraryTarget` is set to umd and `output.library` is set, setting this to true will name the AMD module.\n */\nexport type UmdNamedDefine = boolean;\n/**\n * The name of the runtime chunk. If set a runtime chunk with this name is created or an existing entrypoint is used as runtime.\n */\nexport type EntryRuntime = false | string;\n\nexport interface ContainerPluginOptions {\n /**\n * 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.\n */\n exposes: Exposes;\n /**\n * The filename for this container relative path inside the `output.path` directory.\n */\n filename?: string;\n /**\n * Options for library.\n */\n library?: LibraryOptions;\n /**\n * The name for this container.\n */\n name: string;\n /**\n * The name of the runtime chunk. If set a runtime chunk with this name is created or an existing entrypoint is used as runtime.\n */\n runtime?: EntryRuntime;\n /**\n * The name of the share scope which is shared with the host (defaults to 'default').\n */\n shareScope?: string;\n}\n/**\n * Modules that should be exposed by this container. Property names are used as public paths.\n */\nexport interface ExposesObject {\n /**\n * Modules that should be exposed by this container.\n */\n [k: string]: ExposesConfig | ExposesItem | ExposesItems;\n}\n/**\n * Advanced configuration for modules that should be exposed by this container.\n */\nexport interface ExposesConfig {\n /**\n * Request to a module that should be exposed by this container.\n */\n import: ExposesItem | ExposesItems;\n /**\n * Custom chunk name for the exposed module.\n */\n name?: string;\n}\n/**\n * Options for library.\n */\nexport interface LibraryOptions {\n /**\n * Add a container for define/require functions in the AMD module.\n */\n amdContainer?: AmdContainer;\n /**\n * Add a comment in the UMD wrapper.\n */\n auxiliaryComment?: AuxiliaryComment;\n /**\n * Specify which export should be exposed as library.\n */\n export?: LibraryExport;\n /**\n * The name of the library (some types allow unnamed libraries too).\n */\n name?: LibraryName;\n /**\n * 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).\n */\n type: LibraryType;\n /**\n * If `output.libraryTarget` is set to umd and `output.library` is set, setting this to true will name the AMD module.\n */\n umdNamedDefine?: UmdNamedDefine;\n}\n/**\n * Set explicit comments for `commonjs`, `commonjs2`, `amd`, and `root`.\n */\nexport interface LibraryCustomUmdCommentObject {\n /**\n * Set comment for `amd` section in UMD.\n */\n amd?: string;\n /**\n * Set comment for `commonjs` (exports) section in UMD.\n */\n commonjs?: string;\n /**\n * Set comment for `commonjs2` (module.exports) section in UMD.\n */\n commonjs2?: string;\n /**\n * Set comment for `root` (global variable) section in UMD.\n */\n root?: string;\n}\n/**\n * Description object for all UMD variants of the library name.\n */\nexport interface LibraryCustomUmdObject {\n /**\n * Name of the exposed AMD library in the UMD.\n */\n amd?: string;\n /**\n * Name of the exposed commonjs export in the UMD.\n */\n commonjs?: string;\n /**\n * Name of the property exposed globally by a UMD library.\n */\n root?: string[] | string;\n}\n"],"names":[],"mappings":"AAAA;;;;CAIC,GAED;;CAEC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* This file was automatically generated.
|
|
3
|
-
* DO NOT MODIFY BY HAND.
|
|
4
|
-
* Run `yarn special-lint-fix` to update
|
|
5
|
-
*/ /**
|
|
6
|
-
* Specifies the default type of externals ('amd*', 'umd*', 'system' and 'jsonp' depend on output.libraryTarget set to the same value).
|
|
7
|
-
*/ "use strict";
|
|
8
|
-
Object.defineProperty(exports, "__esModule", {
|
|
9
|
-
value: true
|
|
10
|
-
});
|
|
11
|
-
|
|
12
|
-
//# sourceMappingURL=ContainerReferencePlugin.d.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../../../packages/enhanced/src/declarations/plugins/container/ContainerReferencePlugin.d.ts"],"sourcesContent":["/*\n * This file was automatically generated.\n * DO NOT MODIFY BY HAND.\n * Run `yarn special-lint-fix` to update\n */\n\n/**\n * Specifies the default type of externals ('amd*', 'umd*', 'system' and 'jsonp' depend on output.libraryTarget set to the same value).\n */\nexport type ExternalsType =\n | 'var'\n | 'module'\n | 'assign'\n | 'this'\n | 'window'\n | 'self'\n | 'global'\n | 'commonjs'\n | 'commonjs2'\n | 'commonjs-module'\n | 'commonjs-static'\n | 'amd'\n | 'amd-require'\n | 'umd'\n | 'umd2'\n | 'jsonp'\n | 'system'\n | 'promise'\n | 'import'\n | 'script'\n | 'node-commonjs';\n/**\n * 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.\n */\nexport type Remotes = (RemotesItem | RemotesObject)[] | RemotesObject;\n/**\n * Container location from which modules should be resolved and loaded at runtime.\n */\nexport type RemotesItem = string;\n/**\n * Container locations from which modules should be resolved and loaded at runtime.\n */\nexport type RemotesItems = RemotesItem[];\n\nexport interface ContainerReferencePluginOptions {\n /**\n * The external type of the remote containers.\n */\n remoteType: ExternalsType;\n /**\n * 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.\n */\n remotes: Remotes;\n /**\n * The name of the share scope shared with all remotes (defaults to 'default').\n */\n shareScope?: string;\n}\n/**\n * Container locations from which modules should be resolved and loaded at runtime. Property names are used as request scopes.\n */\nexport interface RemotesObject {\n /**\n * Container locations from which modules should be resolved and loaded at runtime.\n */\n [k: string]: RemotesConfig | RemotesItem | RemotesItems;\n}\n/**\n * Advanced configuration for container locations from which modules should be resolved and loaded at runtime.\n */\nexport interface RemotesConfig {\n /**\n * Container locations from which modules should be resolved and loaded at runtime.\n */\n external: RemotesItem | RemotesItems;\n /**\n * The name of the share scope shared with this remote.\n */\n shareScope?: string;\n}\n"],"names":[],"mappings":"AAAA;;;;CAIC,GAED;;CAEC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", {
|
|
3
|
-
value: true
|
|
4
|
-
});
|
|
5
|
-
Object.defineProperty(exports, "Dependency", {
|
|
6
|
-
enumerable: true,
|
|
7
|
-
get: function() {
|
|
8
|
-
return Dependency;
|
|
9
|
-
}
|
|
10
|
-
});
|
|
11
|
-
let Dependency = class Dependency {
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
//# sourceMappingURL=Dependency.d.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../../../packages/enhanced/src/declarations/plugins/container/Dependency.d.ts"],"sourcesContent":["export class Dependency {\n /** @type {Module | undefined} */\n _parentModule: Module | undefined;\n /** @type {DependenciesBlock | undefined} */\n _parentDependenciesBlock: DependenciesBlock | undefined;\n /** @type {number} */\n _parentDependenciesBlockIndex: number;\n /** @type {boolean} */\n weak: boolean;\n /** @type {boolean} */\n optional: boolean;\n _locSL: number;\n _locSC: number;\n _locEL: number;\n _locEC: number;\n _locI: any;\n _locN: any;\n _loc:\n | DependencyLocation\n | (SyntheticDependencyLocation & RealDependencyLocation)\n | undefined;\n /**\n * @returns {string} a display name for the type of dependency\n */\n get type(): string;\n /**\n * @returns {string} a dependency category, typical categories are \"commonjs\", \"amd\", \"esm\"\n */\n get category(): string;\n set loc(arg: DependencyLocation);\n /**\n * @returns {DependencyLocation} location\n */\n get loc(): DependencyLocation;\n /**\n * @param {number} startLine start line\n * @param {number} startColumn start column\n * @param {number} endLine end line\n * @param {number} endColumn end column\n */\n setLoc(\n startLine: number,\n startColumn: number,\n endLine: number,\n endColumn: number,\n ): void;\n /**\n * @returns {string | undefined} a request context\n */\n getContext(): string | undefined;\n /**\n * @returns {string | null} an identifier to merge equal requests\n */\n getResourceIdentifier(): string | null;\n /**\n * @returns {boolean | TRANSITIVE} true, when changes to the referenced module could affect the referencing module; TRANSITIVE, when changes to the referenced module could affect referencing modules of the referencing module\n */\n couldAffectReferencingModule(): boolean | typeof TRANSITIVE;\n /**\n * Returns the referenced module and export\n * @deprecated\n * @param {ModuleGraph} moduleGraph module graph\n * @returns {never} throws error\n */\n getReference(moduleGraph: ModuleGraph): never;\n /**\n * Returns list of exports referenced by this dependency\n * @param {ModuleGraph} moduleGraph module graph\n * @param {RuntimeSpec} runtime the runtime for which the module is analysed\n * @returns {(string[] | ReferencedExport)[]} referenced exports\n */\n getReferencedExports(\n moduleGraph: ModuleGraph,\n runtime: RuntimeSpec,\n ): (string[] | ReferencedExport)[];\n /**\n * @param {ModuleGraph} moduleGraph module graph\n * @returns {null | false | function(ModuleGraphConnection, RuntimeSpec): ConnectionState} function to determine if the connection is active\n */\n getCondition(\n moduleGraph: ModuleGraph,\n ):\n | false\n | ((arg0: ModuleGraphConnection, arg1: RuntimeSpec) => ConnectionState)\n | null;\n /**\n * Returns the exported names\n * @param {ModuleGraph} moduleGraph module graph\n * @returns {ExportsSpec | undefined} export names\n */\n getExports(moduleGraph: ModuleGraph): ExportsSpec | undefined;\n /**\n * Returns warnings\n * @param {ModuleGraph} moduleGraph module graph\n * @returns {WebpackError[] | null | undefined} warnings\n */\n getWarnings(moduleGraph: ModuleGraph): WebpackError[] | null | undefined;\n /**\n * Returns errors\n * @param {ModuleGraph} moduleGraph module graph\n * @returns {WebpackError[] | null | undefined} errors\n */\n getErrors(moduleGraph: ModuleGraph): WebpackError[] | null | undefined;\n /**\n * Update the hash\n * @param {Hash} hash hash to be updated\n * @param {UpdateHashContext} context context\n * @returns {void}\n */\n updateHash(hash: Hash, context: UpdateHashContext): void;\n /**\n * implement this method to allow the occurrence order plugin to count correctly\n * @returns {number} count how often the id is used in this dependency\n */\n getNumberOfIdOccurrences(): number;\n /**\n * @param {ModuleGraph} moduleGraph the module graph\n * @returns {ConnectionState} how this dependency connects the module to referencing modules\n */\n getModuleEvaluationSideEffectsState(\n moduleGraph: ModuleGraph,\n ): ConnectionState;\n /**\n * @param {string} context context directory\n * @returns {Module | null} a module\n */\n createIgnoredModule(context: string): Module | null;\n /**\n * @param {ObjectSerializerContext} context context\n */\n serialize({ write }: ObjectSerializerContext): void;\n /**\n * @param {ObjectDeserializerContext} context context\n */\n deserialize({ read }: ObjectDeserializerContext): void;\n set module(arg: any);\n get module(): any;\n get disconnect(): any;\n}\ndeclare namespace Dependency {\n export {\n NO_EXPORTS_REFERENCED,\n EXPORTS_OBJECT_REFERENCED,\n TRANSITIVE,\n Source,\n ChunkGraph,\n DependenciesBlock,\n DependencyTemplates,\n Module,\n ModuleGraph,\n ModuleGraphConnection,\n ConnectionState,\n RuntimeTemplate,\n WebpackError,\n ObjectDeserializerContext,\n ObjectSerializerContext,\n Hash,\n RuntimeSpec,\n UpdateHashContext,\n SourcePosition,\n RealDependencyLocation,\n SyntheticDependencyLocation,\n DependencyLocation,\n ExportSpec,\n ExportsSpec,\n ReferencedExport,\n };\n}\ntype Module = import('./Module');\ntype DependenciesBlock = import('./DependenciesBlock');\ntype DependencyLocation = SyntheticDependencyLocation | RealDependencyLocation;\ntype SyntheticDependencyLocation = {\n name: string;\n index?: number | undefined;\n};\ntype RealDependencyLocation = {\n start: SourcePosition;\n end?: SourcePosition | undefined;\n index?: number | undefined;\n};\n\ndeclare const TRANSITIVE: unique symbol;\ntype ModuleGraph = import('./ModuleGraph');\ntype RuntimeSpec = import('./util/runtime').RuntimeSpec;\ntype ReferencedExport = {\n /**\n * name of the referenced export\n */\n name: string[];\n /**\n * when false, referenced export can not be mangled, defaults to true\n */\n canMangle?: boolean | undefined;\n};\ntype ModuleGraphConnection = import('./ModuleGraphConnection');\ntype ConnectionState = import('./ModuleGraphConnection').ConnectionState;\ntype ExportsSpec = {\n /**\n * exported names, true for unknown exports or null for no exports\n */\n exports: (string | ExportSpec)[] | true | null;\n /**\n * when exports = true, list of unaffected exports\n */\n excludeExports?: Set<string> | undefined;\n /**\n * list of maybe prior exposed, but now hidden exports\n */\n hideExports?: Set<string> | undefined;\n /**\n * when reexported: from which module\n */\n from?: ModuleGraphConnection | undefined;\n /**\n * when reexported: with which priority\n */\n priority?: number | undefined;\n /**\n * can the export be renamed (defaults to true)\n */\n canMangle?: boolean | undefined;\n /**\n * are the exports terminal bindings that should be checked for export star conflicts\n */\n terminalBinding?: boolean | undefined;\n /**\n * module on which the result depends on\n */\n dependencies?: Module[] | undefined;\n};\ntype WebpackError = import('./WebpackError');\ntype Hash = import('./util/Hash');\ntype UpdateHashContext = {\n chunkGraph: ChunkGraph;\n runtime: RuntimeSpec;\n runtimeTemplate?: RuntimeTemplate | undefined;\n};\ntype ObjectSerializerContext =\n import('./serialization/ObjectMiddleware').ObjectSerializerContext;\ntype ObjectDeserializerContext =\n import('./serialization/ObjectMiddleware').ObjectDeserializerContext;\ndeclare const NO_EXPORTS_REFERENCED: string[][];\ndeclare const EXPORTS_OBJECT_REFERENCED: string[][];\ntype Source = import('webpack-sources').Source;\ntype ChunkGraph = import('./ChunkGraph');\ntype DependencyTemplates = import('./DependencyTemplates');\ntype RuntimeTemplate = import('./RuntimeTemplate');\ntype SourcePosition = {\n line: number;\n column?: number | undefined;\n};\ntype ExportSpec = {\n /**\n * the name of the export\n */\n name: string;\n /**\n * can the export be renamed (defaults to true)\n */\n canMangle?: boolean | undefined;\n /**\n * is the export a terminal binding that should be checked for export star conflicts\n */\n terminalBinding?: boolean | undefined;\n /**\n * nested exports\n */\n exports?: (string | ExportSpec)[] | undefined;\n /**\n * when reexported: from which module\n */\n from?: ModuleGraphConnection | undefined;\n /**\n * when reexported: from which export\n */\n export?: (string[] | null) | undefined;\n /**\n * when reexported: with which priority\n */\n priority?: number | undefined;\n /**\n * export is not visible, because another export blends over it\n */\n hidden?: boolean | undefined;\n};\n"],"names":["Dependency"],"mappings":";;;;+BAAaA;;;eAAAA;;;AAAN,IAAA,AAAMA,aAAN,MAAMA;AA0Ib"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../../../packages/enhanced/src/declarations/plugins/container/Module.d.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../../../packages/enhanced/src/declarations/plugins/container/ModuleFactory.d.ts"],"names":[],"mappings":""}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* This file was automatically generated.
|
|
3
|
-
* DO NOT MODIFY BY HAND.
|
|
4
|
-
* Run `yarn special-lint-fix` to update
|
|
5
|
-
*/ /**
|
|
6
|
-
* 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.
|
|
7
|
-
*/ "use strict";
|
|
8
|
-
Object.defineProperty(exports, "__esModule", {
|
|
9
|
-
value: true
|
|
10
|
-
});
|
|
11
|
-
|
|
12
|
-
//# sourceMappingURL=ModuleFederationPlugin.d.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../../../packages/enhanced/src/declarations/plugins/container/ModuleFederationPlugin.d.ts"],"sourcesContent":["/*\n * This file was automatically generated.\n * DO NOT MODIFY BY HAND.\n * Run `yarn special-lint-fix` to update\n */\n\n/**\n * 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.\n */\nexport type Exposes = (ExposesItem | ExposesObject)[] | ExposesObject;\n/**\n * Module that should be exposed by this container.\n */\nexport type ExposesItem = string;\n/**\n * Modules that should be exposed by this container.\n */\nexport type ExposesItems = ExposesItem[];\n/**\n * Add a container for define/require functions in the AMD module.\n */\nexport type AmdContainer = string;\n/**\n * Add a comment in the UMD wrapper.\n */\nexport type AuxiliaryComment = string | LibraryCustomUmdCommentObject;\n/**\n * Specify which export should be exposed as library.\n */\nexport type LibraryExport = string[] | string;\n/**\n * The name of the library (some types allow unnamed libraries too).\n */\nexport type LibraryName = string[] | string | LibraryCustomUmdObject;\n/**\n * 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).\n */\nexport type LibraryType =\n | (\n | 'var'\n | 'module'\n | 'assign'\n | 'assign-properties'\n | 'this'\n | 'window'\n | 'self'\n | 'global'\n | 'commonjs'\n | 'commonjs2'\n | 'commonjs-module'\n | 'commonjs-static'\n | 'amd'\n | 'amd-require'\n | 'umd'\n | 'umd2'\n | 'jsonp'\n | 'system'\n )\n | string;\n/**\n * If `output.libraryTarget` is set to umd and `output.library` is set, setting this to true will name the AMD module.\n */\nexport type UmdNamedDefine = boolean;\n/**\n * Specifies the default type of externals ('amd*', 'umd*', 'system' and 'jsonp' depend on output.libraryTarget set to the same value).\n */\nexport type ExternalsType =\n | 'var'\n | 'module'\n | 'assign'\n | 'this'\n | 'window'\n | 'self'\n | 'global'\n | 'commonjs'\n | 'commonjs2'\n | 'commonjs-module'\n | 'commonjs-static'\n | 'amd'\n | 'amd-require'\n | 'umd'\n | 'umd2'\n | 'jsonp'\n | 'system'\n | 'promise'\n | 'import'\n | 'script'\n | 'node-commonjs';\n/**\n * 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.\n */\nexport type Remotes = (RemotesItem | RemotesObject)[] | RemotesObject;\n/**\n * Container location from which modules should be resolved and loaded at runtime.\n */\nexport type RemotesItem = string;\n/**\n * Container locations from which modules should be resolved and loaded at runtime.\n */\nexport type RemotesItems = RemotesItem[];\n/**\n * The name of the runtime chunk. If set a runtime chunk with this name is created or an existing entrypoint is used as runtime.\n */\nexport type EntryRuntime = false | string;\n/**\n * Modules that should be shared in the share scope. When provided, property names are used to match requested modules in this compilation.\n */\nexport type Shared = (SharedItem | SharedObject)[] | SharedObject;\n/**\n * A module that should be shared in the share scope.\n */\nexport type SharedItem = string;\n\nexport interface ModuleFederationPluginOptions {\n /**\n * 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.\n */\n exposes?: Exposes;\n /**\n * The filename of the container as relative path inside the `output.path` directory.\n */\n filename?: string;\n /**\n * Options for library.\n */\n library?: LibraryOptions;\n /**\n * The name of the container.\n */\n name?: string;\n /**\n * The external type of the remote containers.\n */\n remoteType?: ExternalsType;\n /**\n * 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.\n */\n remotes?: Remotes;\n /**\n * The name of the runtime chunk. If set a runtime chunk with this name is created or an existing entrypoint is used as runtime.\n */\n runtime?: EntryRuntime;\n /**\n * Share scope name used for all shared modules (defaults to 'default').\n */\n shareScope?: string;\n /**\n * Modules that should be shared in the share scope. When provided, property names are used to match requested modules in this compilation.\n */\n shared?: Shared;\n}\n/**\n * Modules that should be exposed by this container. Property names are used as public paths.\n */\nexport interface ExposesObject {\n /**\n * Modules that should be exposed by this container.\n */\n [k: string]: ExposesConfig | ExposesItem | ExposesItems;\n}\n/**\n * Advanced configuration for modules that should be exposed by this container.\n */\nexport interface ExposesConfig {\n /**\n * Request to a module that should be exposed by this container.\n */\n import: ExposesItem | ExposesItems;\n /**\n * Custom chunk name for the exposed module.\n */\n name?: string;\n}\n/**\n * Options for library.\n */\nexport interface LibraryOptions {\n /**\n * Add a container for define/require functions in the AMD module.\n */\n amdContainer?: AmdContainer;\n /**\n * Add a comment in the UMD wrapper.\n */\n auxiliaryComment?: AuxiliaryComment;\n /**\n * Specify which export should be exposed as library.\n */\n export?: LibraryExport;\n /**\n * The name of the library (some types allow unnamed libraries too).\n */\n name?: LibraryName;\n /**\n * 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).\n */\n type: LibraryType;\n /**\n * If `output.libraryTarget` is set to umd and `output.library` is set, setting this to true will name the AMD module.\n */\n umdNamedDefine?: UmdNamedDefine;\n}\n/**\n * Set explicit comments for `commonjs`, `commonjs2`, `amd`, and `root`.\n */\nexport interface LibraryCustomUmdCommentObject {\n /**\n * Set comment for `amd` section in UMD.\n */\n amd?: string;\n /**\n * Set comment for `commonjs` (exports) section in UMD.\n */\n commonjs?: string;\n /**\n * Set comment for `commonjs2` (module.exports) section in UMD.\n */\n commonjs2?: string;\n /**\n * Set comment for `root` (global variable) section in UMD.\n */\n root?: string;\n}\n/**\n * Description object for all UMD variants of the library name.\n */\nexport interface LibraryCustomUmdObject {\n /**\n * Name of the exposed AMD library in the UMD.\n */\n amd?: string;\n /**\n * Name of the exposed commonjs export in the UMD.\n */\n commonjs?: string;\n /**\n * Name of the property exposed globally by a UMD library.\n */\n root?: string[] | string;\n}\n/**\n * Container locations from which modules should be resolved and loaded at runtime. Property names are used as request scopes.\n */\nexport interface RemotesObject {\n /**\n * Container locations from which modules should be resolved and loaded at runtime.\n */\n [k: string]: RemotesConfig | RemotesItem | RemotesItems;\n}\n/**\n * Advanced configuration for container locations from which modules should be resolved and loaded at runtime.\n */\nexport interface RemotesConfig {\n /**\n * Container locations from which modules should be resolved and loaded at runtime.\n */\n external: RemotesItem | RemotesItems;\n /**\n * The name of the share scope shared with this remote.\n */\n shareScope?: string;\n}\n/**\n * 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.\n */\nexport interface SharedObject {\n /**\n * Modules that should be shared in the share scope.\n */\n [k: string]: SharedConfig | SharedItem;\n}\n/**\n * Advanced configuration for modules that should be shared in the share scope.\n */\nexport interface SharedConfig {\n /**\n * 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.\n */\n eager?: boolean;\n /**\n * 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.\n */\n import?: false | SharedItem;\n /**\n * Package name to determine required version from description file. This is only needed when package name can't be automatically determined from request.\n */\n packageName?: string;\n /**\n * Version requirement from module in share scope.\n */\n requiredVersion?: false | string;\n /**\n * Module is looked up under this key from the share scope.\n */\n shareKey?: string;\n /**\n * Share scope name.\n */\n shareScope?: string;\n /**\n * Allow only a single version of the shared module in share scope (disabled by default).\n */\n singleton?: boolean;\n /**\n * 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).\n */\n strictVersion?: boolean;\n /**\n * Version of the provided module. Will replace lower matching versions, but not higher.\n */\n version?: false | string;\n}\n"],"names":[],"mappings":"AAAA;;;;CAIC,GAED;;CAEC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../../../packages/enhanced/src/declarations/plugins/container/ObjectDeserializerContext.d.ts"],"names":[],"mappings":""}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", {
|
|
3
|
-
value: true
|
|
4
|
-
});
|
|
5
|
-
Object.defineProperty(exports, "StaticExportsDependency", {
|
|
6
|
-
enumerable: true,
|
|
7
|
-
get: function() {
|
|
8
|
-
return StaticExportsDependency;
|
|
9
|
-
}
|
|
10
|
-
});
|
|
11
|
-
let StaticExportsDependency = class StaticExportsDependency extends NullDependency {
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
//# sourceMappingURL=StaticExportsDependency.d.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../../../packages/enhanced/src/declarations/plugins/container/StaticExportsDependency.d.ts"],"sourcesContent":["export class StaticExportsDependency extends NullDependency {\n /**\n * @param {string[] | true} exports export names\n * @param {boolean} canMangle true, if mangling exports names is allowed\n */\n constructor(exports: string[] | true, canMangle: boolean);\n exports: true | string[];\n canMangle: boolean;\n}\ndeclare namespace StaticExportsDependency {\n export {\n ChunkGraph,\n ExportSpec,\n ExportsSpec,\n UpdateHashContext,\n ModuleGraph,\n ObjectDeserializerContext,\n ObjectSerializerContext,\n Hash,\n };\n}\nimport NullDependency = require('./NullDependency');\ntype ChunkGraph = import('../ChunkGraph');\ntype ExportSpec = import('./Dependency').ExportSpec;\ntype ExportsSpec = import('./Dependency').ExportsSpec;\ntype UpdateHashContext = import('./Dependency').UpdateHashContext;\ntype ModuleGraph = import('../ModuleGraph');\ntype Hash = import('../util/Hash');\n"],"names":["StaticExportsDependency","NullDependency"],"mappings":";;;;+BAAaA;;;eAAAA;;;AAAN,IAAA,AAAMA,0BAAN,MAAMA,gCAAgCC;AAQ7C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../../../packages/enhanced/src/declarations/plugins/container/Template.d.ts"],"sourcesContent":["export = Template;\n\ndeclare class Template {\n /**\n *\n * @param {Function} fn a runtime function (.runtime.js) \"template\"\n * @returns {string} the updated and normalized function string\n */\n // eslint-disable-next-line @typescript-eslint/ban-types\n static getFunctionContent(fn: Function): string;\n /**\n * @param {string} str the string converted to identifier\n * @returns {string} created identifier\n */\n static toIdentifier(str: string): string;\n /**\n *\n * @param {string} str string to be converted to commented in bundle code\n * @returns {string} returns a commented version of string\n */\n static toComment(str: string): string;\n /**\n *\n * @param {string} str string to be converted to \"normal comment\"\n * @returns {string} returns a commented version of string\n */\n static toNormalComment(str: string): string;\n /**\n * @param {string} str string path to be normalized\n * @returns {string} normalized bundle-safe path\n */\n static toPath(str: string): string;\n /**\n * @param {number} n number to convert to ident\n * @returns {string} returns single character ident\n */\n static numberToIdentifier(n: number): string;\n /**\n * @param {number} n number to convert to ident\n * @returns {string} returns single character ident\n */\n static numberToIdentifierContinuation(n: number): string;\n /**\n *\n * @param {string | string[]} s string to convert to identity\n * @returns {string} converted identity\n */\n static indent(s: string | string[]): string;\n /**\n *\n * @param {string|string[]} s string to create prefix for\n * @param {string} prefix prefix to compose\n * @returns {string} returns new prefix string\n */\n static prefix(s: string | string[], prefix: string): string;\n /**\n *\n * @param {string|string[]} str string or string collection\n * @returns {string} returns a single string from array\n */\n static asString(str: string | string[]): string;\n /**\n * @typedef {Object} WithId\n * @property {string|number} id\n */\n /**\n * @param {WithId[]} modules a collection of modules to get array bounds for\n * @returns {[number, number] | false} returns the upper and lower array bounds\n * or false if not every module has a number based id\n */\n static getModulesArrayBounds(\n modules: {\n id: string | number;\n }[],\n ): [number, number] | false;\n /**\n * @param {ChunkRenderContext} renderContext render context\n * @param {Module[]} modules modules to render (should be ordered by identifier)\n * @param {function(Module): Source} renderModule function to render a module\n * @param {string=} prefix applying prefix strings\n * @returns {Source | null} rendered chunk modules in a Source object or null if no modules\n */\n static renderChunkModules(\n renderContext: ChunkRenderContext,\n modules: Module[],\n renderModule: (arg0: Module) => Source,\n prefix?: string | undefined,\n ): Source | null;\n /**\n * @param {RuntimeModule[]} runtimeModules array of runtime modules in order\n * @param {RenderContext & { codeGenerationResults?: CodeGenerationResults }} renderContext render context\n * @returns {Source} rendered runtime modules in a Source object\n */\n static renderRuntimeModules(\n runtimeModules: RuntimeModule[],\n renderContext: RenderContext & {\n codeGenerationResults?: CodeGenerationResults;\n },\n ): Source;\n /**\n * @param {RuntimeModule[]} runtimeModules array of runtime modules in order\n * @param {RenderContext} renderContext render context\n * @returns {Source} rendered chunk runtime modules in a Source object\n */\n static renderChunkRuntimeModules(\n runtimeModules: RuntimeModule[],\n renderContext: RenderContext,\n ): Source;\n}\ndeclare namespace Template {\n export {\n NUMBER_OF_IDENTIFIER_START_CHARS,\n NUMBER_OF_IDENTIFIER_CONTINUATION_CHARS,\n Source,\n OutputOptions,\n Chunk,\n ChunkGraph,\n CodeGenerationResults,\n AssetInfo,\n PathData,\n DependencyTemplates,\n Module,\n ModuleGraph,\n ModuleTemplate,\n RuntimeModule,\n RuntimeTemplate,\n ChunkRenderContext,\n RenderContext,\n RenderManifestOptions,\n RenderManifestEntry,\n RenderManifestEntryTemplated,\n RenderManifestEntryStatic,\n HasId,\n ModuleFilterPredicate,\n };\n}\ntype ChunkRenderContext =\n import('./javascript/JavascriptModulesPlugin').ChunkRenderContext;\ntype Module = import('./Module');\ntype Source = import('webpack-sources').Source;\ntype RuntimeModule = import('./RuntimeModule');\ntype RenderContext =\n import('./javascript/JavascriptModulesPlugin').RenderContext;\ntype CodeGenerationResults = import('./CodeGenerationResults');\ndeclare const NUMBER_OF_IDENTIFIER_START_CHARS: number;\ndeclare const NUMBER_OF_IDENTIFIER_CONTINUATION_CHARS: number;\ntype OutputOptions = import('../declarations/WebpackOptions').Output;\ntype Chunk = import('./Chunk');\ntype ChunkGraph = import('./ChunkGraph');\ntype AssetInfo = import('./Compilation').AssetInfo;\ntype PathData = import('./Compilation').PathData;\ntype DependencyTemplates = import('./DependencyTemplates');\ntype ModuleGraph = import('./ModuleGraph');\ntype ModuleTemplate = import('./ModuleTemplate');\ntype RuntimeTemplate = import('./RuntimeTemplate');\ntype RenderManifestOptions = {\n /**\n * the chunk used to render\n */\n chunk: Chunk;\n hash: string;\n fullHash: string;\n outputOptions: OutputOptions;\n codeGenerationResults: CodeGenerationResults;\n moduleTemplates: {\n javascript: ModuleTemplate;\n };\n dependencyTemplates: DependencyTemplates;\n runtimeTemplate: RuntimeTemplate;\n moduleGraph: ModuleGraph;\n chunkGraph: ChunkGraph;\n};\ntype RenderManifestEntry =\n | RenderManifestEntryTemplated\n | RenderManifestEntryStatic;\ntype RenderManifestEntryTemplated = {\n render: () => Source;\n filenameTemplate:\n | string\n | ((arg0: PathData, arg1: AssetInfo | undefined) => string);\n pathOptions?: PathData | undefined;\n info?: AssetInfo | undefined;\n identifier: string;\n hash?: string | undefined;\n auxiliary?: boolean | undefined;\n};\ntype RenderManifestEntryStatic = {\n render: () => Source;\n filename: string;\n info: AssetInfo;\n identifier: string;\n hash?: string | undefined;\n auxiliary?: boolean | undefined;\n};\ntype HasId = {\n id: number | string;\n};\ntype ModuleFilterPredicate = (arg0: Module, arg1: number) => boolean;\n"],"names":["Template"],"mappings":";iBAASA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../../../packages/enhanced/src/declarations/plugins/container/WebpackError.d.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../../../packages/enhanced/src/declarations/plugins/container/WebpackOptions.d.ts"],"names":[],"mappings":""}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* This file was automatically generated.
|
|
3
|
-
* DO NOT MODIFY BY HAND.
|
|
4
|
-
* Run `yarn special-lint-fix` to update
|
|
5
|
-
*/ /**
|
|
6
|
-
* Modules that should be consumed from share scope. When provided, property names are used to match requested modules in this compilation.
|
|
7
|
-
*/ "use strict";
|
|
8
|
-
Object.defineProperty(exports, "__esModule", {
|
|
9
|
-
value: true
|
|
10
|
-
});
|
|
11
|
-
|
|
12
|
-
//# sourceMappingURL=ConsumeSharedPlugin.d.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../../../packages/enhanced/src/declarations/plugins/sharing/ConsumeSharedPlugin.d.ts"],"sourcesContent":["/*\n * This file was automatically generated.\n * DO NOT MODIFY BY HAND.\n * Run `yarn special-lint-fix` to update\n */\n\n/**\n * Modules that should be consumed from share scope. When provided, property names are used to match requested modules in this compilation.\n */\nexport type Consumes = (ConsumesItem | ConsumesObject)[] | ConsumesObject;\n/**\n * A module that should be consumed from share scope.\n */\nexport type ConsumesItem = string;\n\n/**\n * Options for consuming shared modules.\n */\nexport interface ConsumeSharedPluginOptions {\n /**\n * Modules that should be consumed from share scope. When provided, property names are used to match requested modules in this compilation.\n */\n consumes: Consumes;\n /**\n * Share scope name used for all consumed modules (defaults to 'default').\n */\n shareScope?: string;\n}\n/**\n * Modules that should be consumed from 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.\n */\nexport interface ConsumesObject {\n /**\n * Modules that should be consumed from share scope.\n */\n [k: string]: ConsumesConfig | ConsumesItem;\n}\n/**\n * Advanced configuration for modules that should be consumed from share scope.\n */\nexport interface ConsumesConfig {\n /**\n * Include the fallback module directly instead behind an async request. This allows to use fallback module in initial load too. All possible shared modules need to be eager too.\n */\n eager?: boolean;\n /**\n * Fallback module if no shared module is found in share scope. Defaults to the property name.\n */\n import?: false | ConsumesItem;\n /**\n * Package name to determine required version from description file. This is only needed when package name can't be automatically determined from request.\n */\n packageName?: string;\n /**\n * Version requirement from module in share scope.\n */\n requiredVersion?: false | string;\n /**\n * Module is looked up under this key from the share scope.\n */\n shareKey?: string;\n /**\n * Share scope name.\n */\n shareScope?: string;\n /**\n * Allow only a single version of the shared module in share scope (disabled by default).\n */\n singleton?: boolean;\n /**\n * 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).\n */\n strictVersion?: boolean;\n}\n"],"names":[],"mappings":"AAAA;;;;CAIC,GAED;;CAEC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* This file was automatically generated.
|
|
3
|
-
* DO NOT MODIFY BY HAND.
|
|
4
|
-
* Run `yarn special-lint-fix` to update
|
|
5
|
-
*/ /**
|
|
6
|
-
* Modules that should be provided as shared modules to the share scope. When provided, property name is used to match modules, otherwise this is automatically inferred from share key.
|
|
7
|
-
*/ "use strict";
|
|
8
|
-
Object.defineProperty(exports, "__esModule", {
|
|
9
|
-
value: true
|
|
10
|
-
});
|
|
11
|
-
|
|
12
|
-
//# sourceMappingURL=ProvideSharedPlugin.d.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../../../packages/enhanced/src/declarations/plugins/sharing/ProvideSharedPlugin.d.ts"],"sourcesContent":["/*\n * This file was automatically generated.\n * DO NOT MODIFY BY HAND.\n * Run `yarn special-lint-fix` to update\n */\n\n/**\n * Modules that should be provided as shared modules to the share scope. When provided, property name is used to match modules, otherwise this is automatically inferred from share key.\n */\nexport type Provides = (ProvidesItem | ProvidesObject)[] | ProvidesObject;\n/**\n * Request to a module that should be provided as shared module to the share scope (will be resolved when relative).\n */\nexport type ProvidesItem = string;\n\nexport interface ProvideSharedPluginOptions {\n /**\n * Modules that should be provided as shared modules to the share scope. When provided, property name is used to match modules, otherwise this is automatically inferred from share key.\n */\n provides: Provides;\n /**\n * Share scope name used for all provided modules (defaults to 'default').\n */\n shareScope?: string;\n}\n/**\n * Modules that should be provided as shared modules to the share scope. Property names are used as share keys.\n */\nexport interface ProvidesObject {\n /**\n * Modules that should be provided as shared modules to the share scope.\n */\n [k: string]: ProvidesConfig | ProvidesItem;\n}\n/**\n * Advanced configuration for modules that should be provided as shared modules to the share scope.\n */\nexport interface ProvidesConfig {\n /**\n * Include the provided 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.\n */\n eager?: boolean;\n /**\n * Key in the share scope under which the shared modules should be stored.\n */\n shareKey?: string;\n /**\n * Share scope name.\n */\n shareScope?: string;\n /**\n * Version of the provided module. Will replace lower matching versions, but not higher.\n */\n version?: false | string;\n}\n"],"names":[],"mappings":"AAAA;;;;CAIC,GAED;;CAEC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* This file was automatically generated.
|
|
3
|
-
* DO NOT MODIFY BY HAND.
|
|
4
|
-
* Run `yarn special-lint-fix` to update
|
|
5
|
-
*/ /**
|
|
6
|
-
* Modules that should be shared in the share scope. When provided, property names are used to match requested modules in this compilation.
|
|
7
|
-
*/ "use strict";
|
|
8
|
-
Object.defineProperty(exports, "__esModule", {
|
|
9
|
-
value: true
|
|
10
|
-
});
|
|
11
|
-
|
|
12
|
-
//# sourceMappingURL=SharePlugin.d.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../../../packages/enhanced/src/declarations/plugins/sharing/SharePlugin.d.ts"],"sourcesContent":["/*\n * This file was automatically generated.\n * DO NOT MODIFY BY HAND.\n * Run `yarn special-lint-fix` to update\n */\n\n/**\n * Modules that should be shared in the share scope. When provided, property names are used to match requested modules in this compilation.\n */\nexport type Shared = (SharedItem | SharedObject)[] | SharedObject;\n/**\n * A module that should be shared in the share scope.\n */\nexport type SharedItem = string;\n\n/**\n * Options for shared modules.\n */\nexport interface SharePluginOptions {\n /**\n * Share scope name used for all shared modules (defaults to 'default').\n */\n shareScope?: string;\n /**\n * Modules that should be shared in the share scope. When provided, property names are used to match requested modules in this compilation.\n */\n shared: Shared;\n}\n/**\n * 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.\n */\nexport interface SharedObject {\n /**\n * Modules that should be shared in the share scope.\n */\n [k: string]: SharedConfig | SharedItem;\n}\n/**\n * Advanced configuration for modules that should be shared in the share scope.\n */\nexport interface SharedConfig {\n /**\n * 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.\n */\n eager?: boolean;\n /**\n * 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.\n */\n import?: false | SharedItem;\n /**\n * Package name to determine required version from description file. This is only needed when package name can't be automatically determined from request.\n */\n packageName?: string;\n /**\n * Version requirement from module in share scope.\n */\n requiredVersion?: false | string;\n /**\n * Module is looked up under this key from the share scope.\n */\n shareKey?: string;\n /**\n * Share scope name.\n */\n shareScope?: string;\n /**\n * Allow only a single version of the shared module in share scope (disabled by default).\n */\n singleton?: boolean;\n /**\n * 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).\n */\n strictVersion?: boolean;\n /**\n * Version of the provided module. Will replace lower matching versions, but not higher.\n */\n version?: false | string;\n}\n"],"names":[],"mappings":"AAAA;;;;CAIC,GAED;;CAEC"}
|
package/src/index.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export { ModuleInfoRuntimeModule } from './runtime/ModuleInfoRuntimeModule';
|
|
2
|
-
export { ModuleInfoRuntimePlugin } from './runtime/ModuleInfoRuntimePlugin';
|
|
3
|
-
export { default as ModuleFederationPlugin } from './lib/container/ModuleFederationPlugin';
|
|
4
|
-
export { default as ContainerReferencePlugin } from './lib/container/ContainerReferencePlugin';
|
|
5
|
-
export { default as ContainerPlugin } from './lib/container/ContainerPlugin';
|
|
6
|
-
export { default as ContainerEntryModule } from './lib/container/ContainerEntryModule';
|
|
7
|
-
export { default as AsyncBoundaryPlugin } from './lib/container/AsyncBoundaryPlugin';
|
package/src/index.js
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", {
|
|
3
|
-
value: true
|
|
4
|
-
});
|
|
5
|
-
function _export(target, all) {
|
|
6
|
-
for(var name in all)Object.defineProperty(target, name, {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: all[name]
|
|
9
|
-
});
|
|
10
|
-
}
|
|
11
|
-
_export(exports, {
|
|
12
|
-
AsyncBoundaryPlugin: function() {
|
|
13
|
-
return _AsyncBoundaryPlugin.default;
|
|
14
|
-
},
|
|
15
|
-
ContainerEntryModule: function() {
|
|
16
|
-
return _ContainerEntryModule.default;
|
|
17
|
-
},
|
|
18
|
-
ContainerPlugin: function() {
|
|
19
|
-
return _ContainerPlugin.default;
|
|
20
|
-
},
|
|
21
|
-
ContainerReferencePlugin: function() {
|
|
22
|
-
return _ContainerReferencePlugin.default;
|
|
23
|
-
},
|
|
24
|
-
ModuleFederationPlugin: function() {
|
|
25
|
-
return _ModuleFederationPlugin.default;
|
|
26
|
-
},
|
|
27
|
-
ModuleInfoRuntimeModule: function() {
|
|
28
|
-
return _ModuleInfoRuntimeModule.ModuleInfoRuntimeModule;
|
|
29
|
-
},
|
|
30
|
-
ModuleInfoRuntimePlugin: function() {
|
|
31
|
-
return _ModuleInfoRuntimePlugin.ModuleInfoRuntimePlugin;
|
|
32
|
-
}
|
|
33
|
-
});
|
|
34
|
-
const _ModuleInfoRuntimeModule = require("./runtime/ModuleInfoRuntimeModule");
|
|
35
|
-
const _ModuleInfoRuntimePlugin = require("./runtime/ModuleInfoRuntimePlugin");
|
|
36
|
-
const _ModuleFederationPlugin = /*#__PURE__*/ _interop_require_default(require("./lib/container/ModuleFederationPlugin"));
|
|
37
|
-
const _ContainerReferencePlugin = /*#__PURE__*/ _interop_require_default(require("./lib/container/ContainerReferencePlugin"));
|
|
38
|
-
const _ContainerPlugin = /*#__PURE__*/ _interop_require_default(require("./lib/container/ContainerPlugin"));
|
|
39
|
-
const _ContainerEntryModule = /*#__PURE__*/ _interop_require_default(require("./lib/container/ContainerEntryModule"));
|
|
40
|
-
const _AsyncBoundaryPlugin = /*#__PURE__*/ _interop_require_default(require("./lib/container/AsyncBoundaryPlugin"));
|
|
41
|
-
function _interop_require_default(obj) {
|
|
42
|
-
return obj && obj.__esModule ? obj : {
|
|
43
|
-
default: obj
|
|
44
|
-
};
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
//# sourceMappingURL=index.js.map
|
package/src/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../packages/enhanced/src/index.ts"],"sourcesContent":["export { ModuleInfoRuntimeModule } from './runtime/ModuleInfoRuntimeModule';\nexport { ModuleInfoRuntimePlugin } from './runtime/ModuleInfoRuntimePlugin';\nexport { default as ModuleFederationPlugin } from './lib/container/ModuleFederationPlugin';\nexport { default as ContainerReferencePlugin } from './lib/container/ContainerReferencePlugin';\nexport { default as ContainerPlugin } from './lib/container/ContainerPlugin';\nexport { default as ContainerEntryModule } from './lib/container/ContainerEntryModule';\nexport { default as AsyncBoundaryPlugin } from './lib/container/AsyncBoundaryPlugin';\n"],"names":["AsyncBoundaryPlugin","ContainerEntryModule","ContainerPlugin","ContainerReferencePlugin","ModuleFederationPlugin","ModuleInfoRuntimeModule","ModuleInfoRuntimePlugin"],"mappings":";;;;;;;;;;;IAMoBA,mBAAmB;eAAnBA,4BAAmB;;IADnBC,oBAAoB;eAApBA,6BAAoB;;IADpBC,eAAe;eAAfA,wBAAe;;IADfC,wBAAwB;eAAxBA,iCAAwB;;IADxBC,sBAAsB;eAAtBA,+BAAsB;;IAFjCC,uBAAuB;eAAvBA,gDAAuB;;IACvBC,uBAAuB;eAAvBA,gDAAuB;;;yCADQ;yCACA;+EACU;iFACE;wEACT;6EACK;4EACD"}
|