- feat(module-federation): consolidate module federation utils into module-federation package - chore(module-federation): fix tests and linting <!-- Please make sure you have read the submission guidelines before posting an PR --> <!-- https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr --> <!-- Please make sure that your commit message follows our format --> <!-- Example: `fix(nx): must begin with lowercase` --> <!-- If this is a particularly complex change or feature addition, you can request a dedicated Nx release for this pull request branch. Mention someone from the Nx team or the `@nrwl/nx-pipelines-reviewers` and they will confirm if the PR warrants its own release for testing purposes, and generate it for you if appropriate. --> ## Current Behavior <!-- This is the behavior we have today --> Our current support for Module Federation relies on utilities that are spread and duplicated across the `@nx/webpack` package and the `@nx/rspack` package. ## Expected Behavior <!-- This is the behavior we should expect with the changes in this PR --> Now that we have a `@nx/module-federation` package, dedupe the utils and consolidate them into a single package ## Todo - [x] Migrations for React + Angular to install `@nx/module-federation` and point `ModuleFederationConfig` export to that package from webpack.config and rspack.config files
75 lines
2.0 KiB
JSON
75 lines
2.0 KiB
JSON
{
|
|
"name": "@nx/webpack",
|
|
"version": "0.0.1",
|
|
"private": false,
|
|
"description": "The Nx Plugin for Webpack contains executors and generators that support building applications using Webpack.",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/nrwl/nx.git",
|
|
"directory": "packages/webpack"
|
|
},
|
|
"keywords": [
|
|
"Monorepo",
|
|
"Webpack",
|
|
"Web",
|
|
"CLI",
|
|
"Front-end"
|
|
],
|
|
"main": "./index",
|
|
"typings": "./index.d.ts",
|
|
"author": "Victor Savkin",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/nrwl/nx/issues"
|
|
},
|
|
"homepage": "https://nx.dev",
|
|
"generators": "./generators.json",
|
|
"executors": "./executors.json",
|
|
"ng-update": {
|
|
"requirements": {},
|
|
"migrations": "./migrations.json"
|
|
},
|
|
"dependencies": {
|
|
"@babel/core": "^7.23.2",
|
|
"@phenomnomnominal/tsquery": "~5.0.1",
|
|
"ajv": "^8.12.0",
|
|
"autoprefixer": "^10.4.9",
|
|
"babel-loader": "^9.1.2",
|
|
"browserslist": "^4.21.4",
|
|
"picocolors": "^1.1.0",
|
|
"copy-webpack-plugin": "^10.2.4",
|
|
"css-loader": "^6.4.0",
|
|
"css-minimizer-webpack-plugin": "^5.0.0",
|
|
"fork-ts-checker-webpack-plugin": "7.2.13",
|
|
"less": "4.1.3",
|
|
"less-loader": "11.1.0",
|
|
"license-webpack-plugin": "^4.0.2",
|
|
"loader-utils": "^2.0.3",
|
|
"mini-css-extract-plugin": "~2.4.7",
|
|
"parse5": "4.0.0",
|
|
"postcss": "^8.4.38",
|
|
"postcss-import": "~14.1.0",
|
|
"postcss-loader": "^6.1.1",
|
|
"rxjs": "^7.8.0",
|
|
"sass": "^1.42.1",
|
|
"sass-loader": "^12.2.0",
|
|
"source-map-loader": "^5.0.0",
|
|
"style-loader": "^3.3.0",
|
|
"stylus": "^0.64.0",
|
|
"stylus-loader": "^7.1.0",
|
|
"terser-webpack-plugin": "^5.3.3",
|
|
"ts-loader": "^9.3.1",
|
|
"tsconfig-paths-webpack-plugin": "4.0.0",
|
|
"tslib": "^2.3.0",
|
|
"webpack": "^5.80.0",
|
|
"webpack-dev-server": "^5.0.4",
|
|
"webpack-node-externals": "^3.0.0",
|
|
"webpack-subresource-integrity": "^5.1.0",
|
|
"@nx/devkit": "file:../devkit",
|
|
"@nx/js": "file:../js"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
}
|
|
}
|