Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/on-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
echo "${{ github.repository_owner }}" > ./workflow/ownerName
- name: Upload artifact
id: upload-artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: env_for_comment
path: workflow/
Expand Down Expand Up @@ -172,7 +172,7 @@ jobs:

- name: Create artifacts for Allure report
id: create-artifacts-allure-report
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: always()
with:
name: allure-results
Expand Down
10 changes: 5 additions & 5 deletions advanced-api/automatic-vendor-sharing/app1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
"devDependencies": {
"@babel/core": "7.24.7",
"@babel/preset-react": "7.24.7",
"@module-federation/enhanced": "0.7.3",
"@rspack/cli": "1.1.1",
"@rspack/core": "1.1.1",
"@rspack/dev-server": "1.0.9",
"@module-federation/enhanced": "0.10.0",
"@rspack/cli": "1.2.7",
"@rspack/core": "1.2.7",
"@rspack/dev-server": "1.0.10",
"babel-loader": "9.1.3",
"html-webpack-plugin": "5.6.0",
"serve": "14.2.3",
"webpack": "5.96.1",
"webpack": "5.98.0",
"webpack-cli": "5.1.4",
"webpack-dev-server": "5.0.4"
},
Expand Down
10 changes: 5 additions & 5 deletions advanced-api/automatic-vendor-sharing/app2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
"devDependencies": {
"@babel/core": "7.24.7",
"@babel/preset-react": "7.24.7",
"@module-federation/enhanced": "0.7.3",
"@rspack/cli": "1.1.1",
"@rspack/core": "1.1.1",
"@rspack/dev-server": "1.0.9",
"@module-federation/enhanced": "0.10.0",
"@rspack/cli": "1.2.7",
"@rspack/core": "1.2.7",
"@rspack/dev-server": "1.0.10",
"babel-loader": "9.1.3",
"html-webpack-plugin": "5.6.0",
"serve": "14.2.3",
"webpack": "5.96.1",
"webpack": "5.98.0",
"webpack-cli": "5.1.4",
"webpack-dev-server": "5.0.4"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@
"devDependencies": {
"@babel/core": "7.24.7",
"@babel/preset-react": "7.24.7",
"@module-federation/enhanced": "0.7.3",
"@module-federation/runtime": "0.7.3",
"@rspack/cli": "1.1.1",
"@rspack/core": "1.1.1",
"@rspack/dev-server": "1.0.9",
"@module-federation/enhanced": "0.10.0",
"@module-federation/runtime": "0.10.0",
"@rspack/cli": "1.2.7",
"@rspack/core": "1.2.7",
"@rspack/dev-server": "1.0.10",
"babel-loader": "9.1.3",
"copy-webpack-plugin": "12.0.2",
"html-webpack-plugin": "5.6.0",
"serve": "14.2.3",
"webpack": "5.96.1",
"webpack": "5.98.0",
"webpack-cli": "5.1.4",
"webpack-dev-server": "5.0.4"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
"devDependencies": {
"@babel/core": "7.24.7",
"@babel/preset-react": "7.24.7",
"@module-federation/enhanced": "0.7.3",
"@rspack/cli": "1.1.1",
"@rspack/core": "1.1.1",
"@rspack/dev-server": "1.0.9",
"@module-federation/enhanced": "0.10.0",
"@rspack/cli": "1.2.7",
"@rspack/core": "1.2.7",
"@rspack/dev-server": "1.0.10",
"babel-loader": "9.1.3",
"html-webpack-plugin": "5.6.0",
"serve": "14.2.3",
"webpack": "5.96.1",
"webpack": "5.98.0",
"webpack-cli": "5.1.4",
"webpack-dev-server": "5.0.4"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
"devDependencies": {
"@babel/core": "7.24.7",
"@babel/preset-react": "7.24.7",
"@module-federation/enhanced": "0.7.3",
"@module-federation/enhanced": "0.10.0",
"babel-loader": "9.1.3",
"html-webpack-plugin": "5.6.0",
"serve": "14.2.3",
"webpack": "5.96.1",
"webpack": "5.98.0",
"webpack-cli": "5.1.4",
"webpack-dev-server": "5.0.4"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
"devDependencies": {
"@babel/core": "7.24.7",
"@babel/preset-react": "7.24.7",
"@module-federation/enhanced": "0.7.3",
"@module-federation/enhanced": "0.10.0",
"babel-loader": "9.1.3",
"html-webpack-plugin": "5.6.0",
"serve": "14.2.3",
"webpack": "5.96.1",
"webpack": "5.98.0",
"webpack-cli": "5.1.4",
"webpack-dev-server": "5.0.4"
},
Expand Down
12 changes: 6 additions & 6 deletions advanced-api/dynamic-remotes/app1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
"devDependencies": {
"@babel/core": "7.24.7",
"@babel/preset-react": "7.24.7",
"@module-federation/enhanced": "0.7.3",
"@module-federation/runtime": "0.7.3",
"@rspack/cli": "1.1.1",
"@rspack/core": "1.1.1",
"@rspack/dev-server": "1.0.9",
"@module-federation/enhanced": "0.10.0",
"@module-federation/runtime": "0.10.0",
"@rspack/cli": "1.2.7",
"@rspack/core": "1.2.7",
"@rspack/dev-server": "1.0.10",
"babel-loader": "9.1.3",
"html-webpack-plugin": "5.6.0",
"serve": "14.2.3",
"webpack": "5.96.1",
"webpack": "5.98.0",
"webpack-cli": "5.1.4",
"webpack-dev-server": "5.0.4"
},
Expand Down
10 changes: 5 additions & 5 deletions advanced-api/dynamic-remotes/app2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
"devDependencies": {
"@babel/core": "7.24.7",
"@babel/preset-react": "7.24.7",
"@module-federation/enhanced": "0.7.3",
"@rspack/cli": "1.1.1",
"@rspack/core": "1.1.1",
"@rspack/dev-server": "1.0.9",
"@module-federation/enhanced": "0.10.0",
"@rspack/cli": "1.2.7",
"@rspack/core": "1.2.7",
"@rspack/dev-server": "1.0.10",
"babel-loader": "9.1.3",
"html-webpack-plugin": "5.6.0",
"serve": "14.2.3",
"webpack": "5.96.1",
"webpack": "5.98.0",
"webpack-cli": "5.1.4",
"webpack-dev-server": "5.0.4"
},
Expand Down
10 changes: 5 additions & 5 deletions advanced-api/dynamic-remotes/app3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
"devDependencies": {
"@babel/core": "7.24.7",
"@babel/preset-react": "7.24.7",
"@module-federation/enhanced": "0.7.3",
"@rspack/cli": "1.1.1",
"@rspack/core": "1.1.1",
"@rspack/dev-server": "1.0.9",
"@module-federation/enhanced": "0.10.0",
"@rspack/cli": "1.2.7",
"@rspack/core": "1.2.7",
"@rspack/dev-server": "1.0.10",
"babel-loader": "9.1.3",
"html-webpack-plugin": "5.6.0",
"serve": "14.2.3",
"webpack": "5.96.1",
"webpack": "5.98.0",
"webpack-cli": "5.1.4",
"webpack-dev-server": "5.0.4"
},
Expand Down
2 changes: 1 addition & 1 deletion angular-universal-ssr/client-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"ts-node": "10.9.2",
"tslint": "6.1.3",
"typescript": "5.5.3",
"webpack": "5.96.1",
"webpack": "5.98.0",
"webpack-cli": "5.1.4"
}
}
2 changes: 1 addition & 1 deletion angular-universal-ssr/host-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"ts-node": "10.9.2",
"tslint": "6.1.3",
"typescript": "5.5.3",
"webpack": "5.96.1",
"webpack": "5.98.0",
"webpack-cli": "5.1.4"
}
}
10 changes: 5 additions & 5 deletions apollo-client/app1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,18 @@
"@babel/preset-env": "7.24.7",
"@babel/preset-react": "7.24.7",
"@babel/preset-typescript": "7.24.7",
"@module-federation/node": "2.6.8",
"@rspack/cli": "1.1.1",
"@rspack/core": "1.1.1",
"@rspack/dev-server": "1.0.9",
"@module-federation/node": "2.6.28",
"@rspack/cli": "1.2.7",
"@rspack/core": "1.2.7",
"@rspack/dev-server": "1.0.10",
"@types/express": "4.17.21",
"@types/react": "18.3.3",
"@types/react-dom": "18.3.0",
"@types/react-helmet": "6.1.11",
"@types/serialize-javascript": "5.0.4",
"babel-loader": "9.1.3",
"rimraf": "5.0.8",
"webpack": "5.96.1",
"webpack": "5.98.0",
"webpack-cli": "5.1.4",
"webpack-merge": "6.0.1"
}
Expand Down
10 changes: 5 additions & 5 deletions apollo-client/app2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,18 @@
"@babel/preset-env": "7.24.7",
"@babel/preset-react": "7.24.7",
"@babel/preset-typescript": "7.24.7",
"@module-federation/node": "2.6.8",
"@rspack/cli": "1.1.1",
"@rspack/core": "1.1.1",
"@rspack/dev-server": "1.0.9",
"@module-federation/node": "2.6.28",
"@rspack/cli": "1.2.7",
"@rspack/core": "1.2.7",
"@rspack/dev-server": "1.0.10",
"@types/express": "4.17.21",
"@types/react": "18.3.3",
"@types/react-dom": "18.3.0",
"@types/react-helmet": "6.1.11",
"@types/serialize-javascript": "5.0.4",
"babel-loader": "9.1.3",
"rimraf": "5.0.8",
"webpack": "5.96.1",
"webpack": "5.98.0",
"webpack-cli": "5.1.4",
"webpack-merge": "6.0.1"
}
Expand Down
2 changes: 1 addition & 1 deletion basic-host-remote/app1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"@modern-js/builder-rspack-provider": "2.46.1",
"@modern-js/eslint-config": "2.54.6",
"@modern-js/tsconfig": "2.54.6",
"@module-federation/enhanced": "0.7.3",
"@module-federation/enhanced": "0.10.0",
"husky": "9.0.11",
"lint-staged": "15.2.10",
"prettier": "3.3.2",
Expand Down
2 changes: 1 addition & 1 deletion basic-host-remote/app2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"@modern-js/builder-rspack-provider": "2.46.1",
"@modern-js/eslint-config": "2.54.6",
"@modern-js/tsconfig": "2.54.6",
"@module-federation/enhanced": "0.7.3",
"@module-federation/enhanced": "0.10.0",
"husky": "9.0.11",
"lint-staged": "15.2.7",
"prettier": "3.3.2",
Expand Down
11 changes: 10 additions & 1 deletion bi-directional/app1/modern.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import appTools, { defineConfig } from '@modern-js/app-tools';
import { ModuleFederationPlugin } from '@module-federation/enhanced/webpack';
import { ModuleFederationPlugin, ContainerPlugin } from '@module-federation/enhanced';
// https://modernjs.dev/en/configure/app/usage
export default defineConfig({
server: {
Expand All @@ -19,8 +19,17 @@ export default defineConfig({

// Add Module Federation Plugin
appendPlugins([
new ContainerPlugin({
name: 'app1_partial',
filename: 'static/js/app1_partial.js',
exposes: {
'./Button': './src/components/button.js',
},
runtimePlugins: ['./single-runtime-plugin.js'],
}),
new ModuleFederationPlugin({
name: 'app1',
runtime: false,
filename: 'static/js/remoteEntry.js',
exposes: {
'./Button': './src/components/button.js',
Expand Down
12 changes: 6 additions & 6 deletions bi-directional/app1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,17 @@
"dist/"
],
"dependencies": {
"@modern-js/runtime": "2.54.6",
"@modern-js/runtime": "2.63.7",
"react": "~18.3.0",
"react-dom": "~18.3.0"
},
"devDependencies": {
"@modern-js-app/eslint-config": "2.54.6",
"@modern-js/app-tools": "2.54.6",
"@modern-js-app/eslint-config": "2.59.0",
"@modern-js/app-tools": "2.63.7",
"@modern-js/builder-rspack-provider": "2.46.1",
"@modern-js/eslint-config": "2.54.6",
"@modern-js/tsconfig": "2.54.6",
"@module-federation/enhanced": "0.7.3",
"@modern-js/eslint-config": "2.59.0",
"@modern-js/tsconfig": "2.63.7",
"@module-federation/enhanced": "0.10.0",
"husky": "9.0.11",
"lint-staged": "15.2.7",
"prettier": "3.3.2",
Expand Down
10 changes: 9 additions & 1 deletion bi-directional/app2/modern.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import appTools, { defineConfig } from '@modern-js/app-tools';
import { ModuleFederationPlugin } from '@module-federation/enhanced/webpack';
import { ModuleFederationPlugin, ContainerPlugin } from '@module-federation/enhanced';

// https://modernjs.dev/en/configure/app/usage
export default defineConfig({
Expand Down Expand Up @@ -39,6 +39,14 @@ export default defineConfig({
},
runtimePlugins: ['./single-runtime-plugin.js'],
}),
new ContainerPlugin({
name: 'app2_partial',
filename: 'static/js/app2_partial.js',
exposes: {
'./Button': './src/components/button.js',
},
runtimePlugins: ['./single-runtime-plugin.js'],
}),
]);
},
},
Expand Down
12 changes: 6 additions & 6 deletions bi-directional/app2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,17 @@
"dist/"
],
"dependencies": {
"@modern-js/runtime": "2.54.6",
"@modern-js/runtime": "2.63.7",
"react": "~18.3.0",
"react-dom": "~18.3.0"
},
"devDependencies": {
"@modern-js-app/eslint-config": "2.54.6",
"@modern-js/app-tools": "2.54.6",
"@modern-js-app/eslint-config": "2.59.0",
"@modern-js/app-tools": "2.63.7",
"@modern-js/builder-rspack-provider": "2.46.1",
"@modern-js/eslint-config": "2.54.6",
"@modern-js/tsconfig": "2.54.6",
"@module-federation/enhanced": "0.7.3",
"@modern-js/eslint-config": "2.59.0",
"@modern-js/tsconfig": "2.63.7",
"@module-federation/enhanced": "0.10.0",
"husky": "9.0.11",
"lint-staged": "15.2.7",
"prettier": "3.3.2",
Expand Down
4 changes: 0 additions & 4 deletions bi-directional/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
"name": "bi-directional",
"description": "Basic Bi-directional Federation application",
"private": true,
"workspaces": [
"./app1",
"./app2"
],
"version": "0.0.0",
"scripts": {
"start": "pnpm --filter bi-directional_* run dev",
Expand Down
6 changes: 3 additions & 3 deletions clo/host/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
]
},
"devDependencies": {
"@rsbuild/core": "1.1.2",
"@rsbuild/plugin-react": "1.0.7",
"@rspack/core": "1.1.1"
"@rsbuild/core": "1.2.15",
"@rsbuild/plugin-react": "1.1.1",
"@rspack/core": "1.2.7"
}
}
Loading
Loading