Skip to content

Commit

Permalink
feat(webpack): move module federation utils to webpack (#18996)
Browse files Browse the repository at this point in the history
  • Loading branch information
Coly010 authored Sep 8, 2023
1 parent e507ff0 commit dd5ea7a
Show file tree
Hide file tree
Showing 48 changed files with 632 additions and 494 deletions.
2 changes: 1 addition & 1 deletion CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ pnpm-lock.yaml @nrwl/nx-core-reviewers
/packages/web/** @nrwl/nx-js-reviewers
/e2e/web/** @nrwl/nx-js-reviewers
/packages/webpack/** @nrwl/nx-js-reviewers
/packages/webpack/src/utils/module-federation @jaysoo @Coly010
/e2e/webpack/** @nrwl/nx-js-reviewers
/packages/esbuild/** @nrwl/nx-js-reviewers
/e2e/esbuild/** @nrwl/nx-js-reviewers
Expand Down Expand Up @@ -131,7 +132,6 @@ pnpm-lock.yaml @nrwl/nx-core-reviewers
/packages/devkit/index.d.ts @FrozenPandaz @vsavkin
/packages/devkit/public-api.ts @FrozenPandaz @vsavkin
/packages/devkit/nx.ts @FrozenPandaz @vsavkin
/packages/devkit/src/utils/module-federation @jaysoo @Coly010

# Nx-Plugin
/docs/generated/packages/plugin/** @nrwl/nx-devkit-reviewers @nrwl/nx-docs-reviewers
Expand Down
3 changes: 0 additions & 3 deletions docs/generated/devkit/AdditionalSharedConfig.md

This file was deleted.

48 changes: 0 additions & 48 deletions docs/generated/devkit/ModuleFederationConfig.md

This file was deleted.

10 changes: 0 additions & 10 deletions docs/generated/devkit/ModuleFederationLibrary.md

This file was deleted.

18 changes: 0 additions & 18 deletions docs/generated/devkit/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ It only uses language primitives and immutable objects
- [JsonParseOptions](../../devkit/documents/JsonParseOptions)
- [JsonSerializeOptions](../../devkit/documents/JsonSerializeOptions)
- [MigrationsJson](../../devkit/documents/MigrationsJson)
- [ModuleFederationConfig](../../devkit/documents/ModuleFederationConfig)
- [NxAffectedConfig](../../devkit/documents/NxAffectedConfig)
- [NxJsonConfiguration](../../devkit/documents/NxJsonConfiguration)
- [ProjectConfiguration](../../devkit/documents/ProjectConfiguration)
Expand All @@ -50,7 +49,6 @@ It only uses language primitives and immutable objects
- [ProjectGraphProjectNode](../../devkit/documents/ProjectGraphProjectNode)
- [ProjectsConfigurations](../../devkit/documents/ProjectsConfigurations)
- [RemoteCache](../../devkit/documents/RemoteCache)
- [SharedLibraryConfig](../../devkit/documents/SharedLibraryConfig)
- [StringDeletion](../../devkit/documents/StringDeletion)
- [StringInsertion](../../devkit/documents/StringInsertion)
- [Target](../../devkit/documents/Target)
Expand All @@ -64,7 +62,6 @@ It only uses language primitives and immutable objects

### Type Aliases

- [AdditionalSharedConfig](../../devkit/documents/AdditionalSharedConfig)
- [CreateDependencies](../../devkit/documents/CreateDependencies)
- [CreateNodes](../../devkit/documents/CreateNodes)
- [CreateNodesFunction](../../devkit/documents/CreateNodesFunction)
Expand All @@ -74,23 +71,17 @@ It only uses language primitives and immutable objects
- [GeneratorCallback](../../devkit/documents/GeneratorCallback)
- [Hasher](../../devkit/documents/Hasher)
- [ImplicitDependencyEntry](../../devkit/documents/ImplicitDependencyEntry)
- [ModuleFederationLibrary](../../devkit/documents/ModuleFederationLibrary)
- [NxPlugin](../../devkit/documents/NxPlugin)
- [NxPluginV1](../../devkit/documents/NxPluginV1)
- [NxPluginV2](../../devkit/documents/NxPluginV2)
- [PackageManager](../../devkit/documents/PackageManager)
- [ProjectGraphNode](../../devkit/documents/ProjectGraphNode)
- [ProjectTargetConfigurator](../../devkit/documents/ProjectTargetConfigurator)
- [ProjectType](../../devkit/documents/ProjectType)
- [Remotes](../../devkit/documents/Remotes)
- [SharedFunction](../../devkit/documents/SharedFunction)
- [SharedWorkspaceLibraryConfig](../../devkit/documents/SharedWorkspaceLibraryConfig)
- [StringChange](../../devkit/documents/StringChange)
- [TaskGraphExecutor](../../devkit/documents/TaskGraphExecutor)
- [WorkspaceConfiguration](../../devkit/documents/WorkspaceConfiguration)
- [WorkspaceJsonConfiguration](../../devkit/documents/WorkspaceJsonConfiguration)
- [WorkspaceLibrary](../../devkit/documents/WorkspaceLibrary)
- [WorkspaceLibrarySecondaryEntryPoint](../../devkit/documents/WorkspaceLibrarySecondaryEntryPoint)

### Variables

Expand All @@ -105,9 +96,7 @@ It only uses language primitives and immutable objects

- [addDependenciesToPackageJson](../../devkit/documents/addDependenciesToPackageJson)
- [addProjectConfiguration](../../devkit/documents/addProjectConfiguration)
- [applyAdditionalShared](../../devkit/documents/applyAdditionalShared)
- [applyChangesToString](../../devkit/documents/applyChangesToString)
- [applySharedFunction](../../devkit/documents/applySharedFunction)
- [convertNxExecutor](../../devkit/documents/convertNxExecutor)
- [convertNxGenerator](../../devkit/documents/convertNxGenerator)
- [createProjectFileMapUsingProjectGraph](../../devkit/documents/createProjectFileMapUsingProjectGraph)
Expand All @@ -118,8 +107,6 @@ It only uses language primitives and immutable objects
- [extractLayoutDirectory](../../devkit/documents/extractLayoutDirectory)
- [formatFiles](../../devkit/documents/formatFiles)
- [generateFiles](../../devkit/documents/generateFiles)
- [getDependentPackagesForProject](../../devkit/documents/getDependentPackagesForProject)
- [getNpmPackageSharedConfig](../../devkit/documents/getNpmPackageSharedConfig)
- [getOutputsForTargetAndConfiguration](../../devkit/documents/getOutputsForTargetAndConfiguration)
- [getPackageManagerCommand](../../devkit/documents/getPackageManagerCommand)
- [getPackageManagerVersion](../../devkit/documents/getPackageManagerVersion)
Expand All @@ -130,8 +117,6 @@ It only uses language primitives and immutable objects
- [installPackagesTask](../../devkit/documents/installPackagesTask)
- [isStandaloneProject](../../devkit/documents/isStandaloneProject)
- [joinPathFragments](../../devkit/documents/joinPathFragments)
- [mapRemotes](../../devkit/documents/mapRemotes)
- [mapRemotesForSSR](../../devkit/documents/mapRemotesForSSR)
- [moveFilesToNewDirectory](../../devkit/documents/moveFilesToNewDirectory)
- [names](../../devkit/documents/names)
- [normalizePath](../../devkit/documents/normalizePath)
Expand All @@ -144,7 +129,6 @@ It only uses language primitives and immutable objects
- [readNxJson](../../devkit/documents/readNxJson)
- [readProjectConfiguration](../../devkit/documents/readProjectConfiguration)
- [readProjectsConfigurationFromProjectGraph](../../devkit/documents/readProjectsConfigurationFromProjectGraph)
- [readRootPackageJson](../../devkit/documents/readRootPackageJson)
- [readTargetOptions](../../devkit/documents/readTargetOptions)
- [readWorkspaceConfiguration](../../devkit/documents/readWorkspaceConfiguration)
- [removeDependenciesFromPackageJson](../../devkit/documents/removeDependenciesFromPackageJson)
Expand All @@ -153,8 +137,6 @@ It only uses language primitives and immutable objects
- [runExecutor](../../devkit/documents/runExecutor)
- [runTasksInSerial](../../devkit/documents/runTasksInSerial)
- [serializeJson](../../devkit/documents/serializeJson)
- [sharePackages](../../devkit/documents/sharePackages)
- [shareWorkspaceLibraries](../../devkit/documents/shareWorkspaceLibraries)
- [stripIndents](../../devkit/documents/stripIndents)
- [stripJsonComments](../../devkit/documents/stripJsonComments)
- [targetToTargetString](../../devkit/documents/targetToTargetString)
Expand Down
3 changes: 0 additions & 3 deletions docs/generated/devkit/Remotes.md

This file was deleted.

18 changes: 0 additions & 18 deletions docs/generated/devkit/SharedFunction.md

This file was deleted.

34 changes: 0 additions & 34 deletions docs/generated/devkit/SharedLibraryConfig.md

This file was deleted.

11 changes: 0 additions & 11 deletions docs/generated/devkit/SharedWorkspaceLibraryConfig.md

This file was deleted.

11 changes: 0 additions & 11 deletions docs/generated/devkit/WorkspaceLibrary.md

This file was deleted.

10 changes: 0 additions & 10 deletions docs/generated/devkit/WorkspaceLibrarySecondaryEntryPoint.md

This file was deleted.

22 changes: 0 additions & 22 deletions docs/generated/devkit/applyAdditionalShared.md

This file was deleted.

17 changes: 0 additions & 17 deletions docs/generated/devkit/applySharedFunction.md

This file was deleted.

19 changes: 0 additions & 19 deletions docs/generated/devkit/getDependentPackagesForProject.md

This file was deleted.

17 changes: 0 additions & 17 deletions docs/generated/devkit/getNpmPackageSharedConfig.md

This file was deleted.

18 changes: 0 additions & 18 deletions docs/generated/devkit/mapRemotes.md

This file was deleted.

18 changes: 0 additions & 18 deletions docs/generated/devkit/mapRemotesForSSR.md

This file was deleted.

12 changes: 0 additions & 12 deletions docs/generated/devkit/readRootPackageJson.md

This file was deleted.

Loading

1 comment on commit dd5ea7a

@vercel
Copy link

@vercel vercel bot commented on dd5ea7a Sep 8, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nx-dev – ./

nx-five.vercel.app
nx-dev-nrwl.vercel.app
nx-dev-git-master-nrwl.vercel.app
nx.dev

Please sign in to comment.