From 7d09ed89420d7b90062dbcef697f3fa24ba8c68a Mon Sep 17 00:00:00 2001 From: Zack Jackson Date: Wed, 26 Jun 2024 14:35:10 -0700 Subject: [PATCH 1/2] fix(dts-plugin): emit dts relative to remote or manifest (#2641) Co-authored-by: ScriptedAlchemy Co-authored-by: Matteo Pietro Dazzi --- .changeset/unlucky-jars-drum.md | 5 +++++ .github/workflows/build-and-test.yml | 4 ++-- .../dts-plugin/src/plugins/GenerateTypesPlugin.ts | 15 +++++++++++++-- 3 files changed, 20 insertions(+), 4 deletions(-) create mode 100644 .changeset/unlucky-jars-drum.md diff --git a/.changeset/unlucky-jars-drum.md b/.changeset/unlucky-jars-drum.md new file mode 100644 index 00000000000..f5419620ed5 --- /dev/null +++ b/.changeset/unlucky-jars-drum.md @@ -0,0 +1,5 @@ +--- +'@module-federation/dts-plugin': patch +--- + +Emit DTS relative to remote entry location diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 1ed243a00ce..778acf6c9d4 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -38,10 +38,10 @@ jobs: run: npx nx format:check - name: Update NX Build Cache - run: npx nx run-many --targets=build --exclude='*,!tag:type:pkg' + run: npx nx run-many --targets=build --projects=tag:type:pkg - name: Run Build for All - run: npx nx run-many --targets=build --exclude='*,!tag:type:pkg' --skip-nx-cache + run: npx nx run-many --targets=build --projects=tag:type:pkg --skip-nx-cache - name: Run Affected Lint run: npx nx affected -t lint --parallel=7 --exclude='*,!tag:type:pkg' diff --git a/packages/dts-plugin/src/plugins/GenerateTypesPlugin.ts b/packages/dts-plugin/src/plugins/GenerateTypesPlugin.ts index 7e73d184570..f56de39b6f2 100644 --- a/packages/dts-plugin/src/plugins/GenerateTypesPlugin.ts +++ b/packages/dts-plugin/src/plugins/GenerateTypesPlugin.ts @@ -11,6 +11,7 @@ import { generateTypesInChildProcess, retrieveTypesAssetsInfo, } from '../core/index'; +import path from 'path'; export class GenerateTypesPlugin implements WebpackPluginInstance { pluginOptions: moduleFederationPlugin.ModuleFederationPluginOptions; @@ -88,10 +89,20 @@ export class GenerateTypesPlugin implements WebpackPluginInstance { return; } await generateTypesFn(finalOptions); + const config = finalOptions.remote.moduleFederationConfig; + let zipPrefix = ''; + const isManifestObject = typeof config.manifest === 'object'; + if (isManifestObject && config.manifest.filePath) { + zipPrefix = config.manifest.filePath; + } else if (isManifestObject && config.manifest.fileName) { + zipPrefix = path.dirname(config.manifest.fileName); + } else if (config.filename) { + zipPrefix = path.dirname(config.filename); + } if (zipTypesPath) { compilation.emitAsset( - zipName, + path.join(zipPrefix, zipName), new compiler.webpack.sources.RawSource( fs.readFileSync(zipTypesPath), false, @@ -101,7 +112,7 @@ export class GenerateTypesPlugin implements WebpackPluginInstance { if (apiTypesPath) { compilation.emitAsset( - apiFileName, + path.join(zipPrefix, apiFileName), new compiler.webpack.sources.RawSource( fs.readFileSync(apiTypesPath), false, From 1776c74cb1702e31b6d1e9d9ea40c3918d71ef32 Mon Sep 17 00:00:00 2001 From: Zhou xiao Date: Thu, 27 Jun 2024 06:27:24 +0800 Subject: [PATCH 2/2] Release v0.2.2 (#2674) Co-authored-by: github-actions[bot] --- .changeset/dry-shoes-kick.md | 6 ------ .changeset/unlucky-jars-drum.md | 5 ----- apps/modernjs/CHANGELOG.md | 6 ++++++ apps/modernjs/package.json | 2 +- apps/router-demo/router-host-2000/CHANGELOG.md | 7 +++++++ apps/router-demo/router-host-2000/package.json | 2 +- apps/router-demo/router-host-v5-2200/CHANGELOG.md | 7 +++++++ apps/router-demo/router-host-v5-2200/package.json | 2 +- apps/router-demo/router-host-vue3-2100/CHANGELOG.md | 7 +++++++ apps/router-demo/router-host-vue3-2100/package.json | 2 +- apps/router-demo/router-remote1-2001/CHANGELOG.md | 7 +++++++ apps/router-demo/router-remote1-2001/package.json | 2 +- apps/router-demo/router-remote2-2002/CHANGELOG.md | 7 +++++++ apps/router-demo/router-remote2-2002/package.json | 2 +- apps/router-demo/router-remote3-2003/CHANGELOG.md | 7 +++++++ apps/router-demo/router-remote3-2003/package.json | 2 +- apps/runtime-demo/3008-runtime-remote/CHANGELOG.md | 6 ++++++ apps/runtime-demo/3008-runtime-remote/package.json | 2 +- .../bridge/bridge-react-webpack-plugin/CHANGELOG.md | 6 ++++++ .../bridge/bridge-react-webpack-plugin/package.json | 2 +- packages/bridge/bridge-react/CHANGELOG.md | 6 ++++++ packages/bridge/bridge-react/package.json | 2 +- packages/bridge/bridge-shared/CHANGELOG.md | 2 ++ packages/bridge/bridge-shared/package.json | 2 +- packages/bridge/vue3-bridge/CHANGELOG.md | 6 ++++++ packages/bridge/vue3-bridge/package.json | 2 +- packages/chrome-devtools/CHANGELOG.md | 6 ++++++ packages/chrome-devtools/package.json | 2 +- packages/dts-plugin/CHANGELOG.md | 9 +++++++++ packages/dts-plugin/package.json | 2 +- packages/enhanced/CHANGELOG.md | 13 +++++++++++++ packages/enhanced/package.json | 2 +- packages/managers/CHANGELOG.md | 6 ++++++ packages/managers/package.json | 2 +- packages/manifest/CHANGELOG.md | 9 +++++++++ packages/manifest/package.json | 2 +- packages/native-federation-tests/CHANGELOG.md | 6 ++++++ packages/native-federation-tests/package.json | 2 +- packages/native-federation-typescript/CHANGELOG.md | 6 ++++++ packages/native-federation-typescript/package.json | 2 +- packages/nextjs-mf/CHANGELOG.md | 10 ++++++++++ packages/nextjs-mf/package.json | 2 +- packages/node/CHANGELOG.md | 9 +++++++++ packages/node/package.json | 2 +- packages/rspack/CHANGELOG.md | 12 ++++++++++++ packages/rspack/package.json | 2 +- packages/runtime-tools/CHANGELOG.md | 7 +++++++ packages/runtime-tools/package.json | 2 +- packages/runtime/CHANGELOG.md | 6 ++++++ packages/runtime/package.json | 2 +- packages/sdk/CHANGELOG.md | 2 ++ packages/sdk/package.json | 2 +- packages/storybook-addon/package.json | 2 +- packages/third-party-dts-extractor/CHANGELOG.md | 2 ++ packages/third-party-dts-extractor/package.json | 2 +- packages/utilities/CHANGELOG.md | 6 ++++++ packages/utilities/package.json | 2 +- packages/webpack-bundler-runtime/CHANGELOG.md | 7 +++++++ packages/webpack-bundler-runtime/package.json | 2 +- 59 files changed, 219 insertions(+), 40 deletions(-) delete mode 100644 .changeset/dry-shoes-kick.md delete mode 100644 .changeset/unlucky-jars-drum.md diff --git a/.changeset/dry-shoes-kick.md b/.changeset/dry-shoes-kick.md deleted file mode 100644 index 45c5008027c..00000000000 --- a/.changeset/dry-shoes-kick.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@module-federation/native-federation-typescript': minor -'@module-federation/native-federation-tests': minor ---- - -feat: support for farm, drop support for node < 16 diff --git a/.changeset/unlucky-jars-drum.md b/.changeset/unlucky-jars-drum.md deleted file mode 100644 index f5419620ed5..00000000000 --- a/.changeset/unlucky-jars-drum.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@module-federation/dts-plugin': patch ---- - -Emit DTS relative to remote entry location diff --git a/apps/modernjs/CHANGELOG.md b/apps/modernjs/CHANGELOG.md index 66d3cda18c3..f6648f5c46a 100644 --- a/apps/modernjs/CHANGELOG.md +++ b/apps/modernjs/CHANGELOG.md @@ -1,5 +1,11 @@ # @module-federation/modernjs +## 0.1.29 + +### Patch Changes + +- @module-federation/enhanced@0.2.2 + ## 0.1.28 ### Patch Changes diff --git a/apps/modernjs/package.json b/apps/modernjs/package.json index 5d832f4f549..dfaaef8096c 100644 --- a/apps/modernjs/package.json +++ b/apps/modernjs/package.json @@ -1,7 +1,7 @@ { "name": "@module-federation/modernjs", "private": true, - "version": "0.1.28", + "version": "0.1.29", "scripts": { "reset": "npx rimraf ./**/node_modules", "dev": "modern dev", diff --git a/apps/router-demo/router-host-2000/CHANGELOG.md b/apps/router-demo/router-host-2000/CHANGELOG.md index b1b5376e6dd..b87bed6a179 100644 --- a/apps/router-demo/router-host-2000/CHANGELOG.md +++ b/apps/router-demo/router-host-2000/CHANGELOG.md @@ -1,5 +1,12 @@ # host +## 1.0.3 + +### Patch Changes + +- @module-federation/enhanced@0.2.2 +- @module-federation/bridge-react@0.2.2 + ## 1.0.2 ### Patch Changes diff --git a/apps/router-demo/router-host-2000/package.json b/apps/router-demo/router-host-2000/package.json index ac9d63b3ef6..505edcd7198 100644 --- a/apps/router-demo/router-host-2000/package.json +++ b/apps/router-demo/router-host-2000/package.json @@ -1,7 +1,7 @@ { "name": "host", "private": true, - "version": "1.0.2", + "version": "1.0.3", "scripts": { "dev": "FEDERATION_DEBUG=true rsbuild dev --open", "build": "rsbuild build", diff --git a/apps/router-demo/router-host-v5-2200/CHANGELOG.md b/apps/router-demo/router-host-v5-2200/CHANGELOG.md index d3e5d787130..59d77a525e9 100644 --- a/apps/router-demo/router-host-v5-2200/CHANGELOG.md +++ b/apps/router-demo/router-host-v5-2200/CHANGELOG.md @@ -1,5 +1,12 @@ # host-v5 +## 1.0.3 + +### Patch Changes + +- @module-federation/enhanced@0.2.2 +- @module-federation/bridge-react@0.2.2 + ## 1.0.2 ### Patch Changes diff --git a/apps/router-demo/router-host-v5-2200/package.json b/apps/router-demo/router-host-v5-2200/package.json index 0685a8eb8b1..ae56feaa9c7 100644 --- a/apps/router-demo/router-host-v5-2200/package.json +++ b/apps/router-demo/router-host-v5-2200/package.json @@ -1,7 +1,7 @@ { "name": "host-v5", "private": true, - "version": "1.0.2", + "version": "1.0.3", "scripts": { "dev": "FEDERATION_DEBUG=true rsbuild dev", "build": "rsbuild build", diff --git a/apps/router-demo/router-host-vue3-2100/CHANGELOG.md b/apps/router-demo/router-host-vue3-2100/CHANGELOG.md index 6d2f658ae0e..996be5544a9 100644 --- a/apps/router-demo/router-host-vue3-2100/CHANGELOG.md +++ b/apps/router-demo/router-host-vue3-2100/CHANGELOG.md @@ -1,5 +1,12 @@ # host-vue3 +## 1.0.3 + +### Patch Changes + +- @module-federation/enhanced@0.2.2 +- @module-federation/bridge-vue3@0.2.2 + ## 1.0.2 ### Patch Changes diff --git a/apps/router-demo/router-host-vue3-2100/package.json b/apps/router-demo/router-host-vue3-2100/package.json index 2507edaa847..229d07b2acd 100644 --- a/apps/router-demo/router-host-vue3-2100/package.json +++ b/apps/router-demo/router-host-vue3-2100/package.json @@ -1,7 +1,7 @@ { "name": "host-vue3", "private": true, - "version": "1.0.2", + "version": "1.0.3", "scripts": { "dev": "rsbuild dev", "build": "rsbuild build", diff --git a/apps/router-demo/router-remote1-2001/CHANGELOG.md b/apps/router-demo/router-remote1-2001/CHANGELOG.md index d93bb7f1443..72383724938 100644 --- a/apps/router-demo/router-remote1-2001/CHANGELOG.md +++ b/apps/router-demo/router-remote1-2001/CHANGELOG.md @@ -1,5 +1,12 @@ # remote1 +## 1.0.3 + +### Patch Changes + +- @module-federation/enhanced@0.2.2 +- @module-federation/bridge-react@0.2.2 + ## 1.0.2 ### Patch Changes diff --git a/apps/router-demo/router-remote1-2001/package.json b/apps/router-demo/router-remote1-2001/package.json index 8316aff1545..1b570d0f018 100644 --- a/apps/router-demo/router-remote1-2001/package.json +++ b/apps/router-demo/router-remote1-2001/package.json @@ -1,7 +1,7 @@ { "name": "remote1", "private": true, - "version": "1.0.2", + "version": "1.0.3", "scripts": { "dev": "rsbuild dev", "build": "DEBUG=true rsbuild build", diff --git a/apps/router-demo/router-remote2-2002/CHANGELOG.md b/apps/router-demo/router-remote2-2002/CHANGELOG.md index 76b695e7974..138b286d731 100644 --- a/apps/router-demo/router-remote2-2002/CHANGELOG.md +++ b/apps/router-demo/router-remote2-2002/CHANGELOG.md @@ -1,5 +1,12 @@ # remote2 +## 1.0.3 + +### Patch Changes + +- @module-federation/enhanced@0.2.2 +- @module-federation/bridge-react@0.2.2 + ## 1.0.2 ### Patch Changes diff --git a/apps/router-demo/router-remote2-2002/package.json b/apps/router-demo/router-remote2-2002/package.json index 58360c334e4..f4b8a55d0f1 100644 --- a/apps/router-demo/router-remote2-2002/package.json +++ b/apps/router-demo/router-remote2-2002/package.json @@ -1,7 +1,7 @@ { "name": "remote2", "private": true, - "version": "1.0.2", + "version": "1.0.3", "scripts": { "dev": "rsbuild dev", "build": "rsbuild build", diff --git a/apps/router-demo/router-remote3-2003/CHANGELOG.md b/apps/router-demo/router-remote3-2003/CHANGELOG.md index 4ec5b5a1c66..40b638a374a 100644 --- a/apps/router-demo/router-remote3-2003/CHANGELOG.md +++ b/apps/router-demo/router-remote3-2003/CHANGELOG.md @@ -1,5 +1,12 @@ # remote3 +## 1.0.3 + +### Patch Changes + +- @module-federation/enhanced@0.2.2 +- @module-federation/bridge-vue3@0.2.2 + ## 1.0.2 ### Patch Changes diff --git a/apps/router-demo/router-remote3-2003/package.json b/apps/router-demo/router-remote3-2003/package.json index 392b7fd8f1f..655b886127e 100644 --- a/apps/router-demo/router-remote3-2003/package.json +++ b/apps/router-demo/router-remote3-2003/package.json @@ -1,7 +1,7 @@ { "name": "remote3", "private": true, - "version": "1.0.2", + "version": "1.0.3", "scripts": { "dev": "rsbuild dev", "build": "rsbuild build", diff --git a/apps/runtime-demo/3008-runtime-remote/CHANGELOG.md b/apps/runtime-demo/3008-runtime-remote/CHANGELOG.md index b41c931e32f..f0900b3cc52 100644 --- a/apps/runtime-demo/3008-runtime-remote/CHANGELOG.md +++ b/apps/runtime-demo/3008-runtime-remote/CHANGELOG.md @@ -1,5 +1,11 @@ # 3008-runtime-remote +## 1.0.13 + +### Patch Changes + +- @module-federation/enhanced@0.2.2 + ## 1.0.12 ### Patch Changes diff --git a/apps/runtime-demo/3008-runtime-remote/package.json b/apps/runtime-demo/3008-runtime-remote/package.json index f734151f8c7..e03c65c6da0 100644 --- a/apps/runtime-demo/3008-runtime-remote/package.json +++ b/apps/runtime-demo/3008-runtime-remote/package.json @@ -1,7 +1,7 @@ { "name": "3008-runtime-remote", "private": true, - "version": "1.0.12", + "version": "1.0.13", "scripts": { "dev": "rsbuild dev", "build": "rsbuild build", diff --git a/packages/bridge/bridge-react-webpack-plugin/CHANGELOG.md b/packages/bridge/bridge-react-webpack-plugin/CHANGELOG.md index fa793967358..207a76baf1d 100644 --- a/packages/bridge/bridge-react-webpack-plugin/CHANGELOG.md +++ b/packages/bridge/bridge-react-webpack-plugin/CHANGELOG.md @@ -1,5 +1,11 @@ # @module-federation/bridge-react-webpack-plugin +## 0.2.2 + +### Patch Changes + +- @module-federation/sdk@0.2.2 + ## 0.2.1 ### Patch Changes diff --git a/packages/bridge/bridge-react-webpack-plugin/package.json b/packages/bridge/bridge-react-webpack-plugin/package.json index 2892ad66a5c..60900436ab1 100644 --- a/packages/bridge/bridge-react-webpack-plugin/package.json +++ b/packages/bridge/bridge-react-webpack-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@module-federation/bridge-react-webpack-plugin", - "version": "0.2.1", + "version": "0.2.2", "publishConfig": { "access": "public" }, diff --git a/packages/bridge/bridge-react/CHANGELOG.md b/packages/bridge/bridge-react/CHANGELOG.md index f7ce16fb7b6..3e28ee9eb20 100644 --- a/packages/bridge/bridge-react/CHANGELOG.md +++ b/packages/bridge/bridge-react/CHANGELOG.md @@ -1,5 +1,11 @@ # @module-federation/bridge-react +## 0.2.2 + +### Patch Changes + +- @module-federation/bridge-shared@0.2.2 + ## 0.2.1 ### Patch Changes diff --git a/packages/bridge/bridge-react/package.json b/packages/bridge/bridge-react/package.json index 2f93bb1b440..aadeb3493bb 100644 --- a/packages/bridge/bridge-react/package.json +++ b/packages/bridge/bridge-react/package.json @@ -1,6 +1,6 @@ { "name": "@module-federation/bridge-react", - "version": "0.2.1", + "version": "0.2.2", "publishConfig": { "access": "public" }, diff --git a/packages/bridge/bridge-shared/CHANGELOG.md b/packages/bridge/bridge-shared/CHANGELOG.md index a3540c77151..57f287864b2 100644 --- a/packages/bridge/bridge-shared/CHANGELOG.md +++ b/packages/bridge/bridge-shared/CHANGELOG.md @@ -1,5 +1,7 @@ # @module-federation/bridge-shared +## 0.2.2 + ## 0.2.1 ## 0.2.0 diff --git a/packages/bridge/bridge-shared/package.json b/packages/bridge/bridge-shared/package.json index 2a483f37cee..f2080b880e5 100644 --- a/packages/bridge/bridge-shared/package.json +++ b/packages/bridge/bridge-shared/package.json @@ -1,6 +1,6 @@ { "name": "@module-federation/bridge-shared", - "version": "0.2.1", + "version": "0.2.2", "publishConfig": { "access": "public" }, diff --git a/packages/bridge/vue3-bridge/CHANGELOG.md b/packages/bridge/vue3-bridge/CHANGELOG.md index 5f1f254b62a..fbfc49fb57c 100644 --- a/packages/bridge/vue3-bridge/CHANGELOG.md +++ b/packages/bridge/vue3-bridge/CHANGELOG.md @@ -1,5 +1,11 @@ # @module-federation/bridge-vue3 +## 0.2.2 + +### Patch Changes + +- @module-federation/bridge-shared@0.2.2 + ## 0.2.1 ### Patch Changes diff --git a/packages/bridge/vue3-bridge/package.json b/packages/bridge/vue3-bridge/package.json index 25fc3d443ca..61f9c2f31ca 100644 --- a/packages/bridge/vue3-bridge/package.json +++ b/packages/bridge/vue3-bridge/package.json @@ -1,7 +1,7 @@ { "name": "@module-federation/bridge-vue3", "author": "zhouxiao ", - "version": "0.2.1", + "version": "0.2.2", "publishConfig": { "access": "public" }, diff --git a/packages/chrome-devtools/CHANGELOG.md b/packages/chrome-devtools/CHANGELOG.md index 82b3aff2e3e..4e06ae636e7 100644 --- a/packages/chrome-devtools/CHANGELOG.md +++ b/packages/chrome-devtools/CHANGELOG.md @@ -1,5 +1,11 @@ # @module-federation/devtools +## 0.2.2 + +### Patch Changes + +- @module-federation/sdk@0.2.2 + ## 0.2.1 ### Patch Changes diff --git a/packages/chrome-devtools/package.json b/packages/chrome-devtools/package.json index fd9dd50d299..bb0186f64f1 100644 --- a/packages/chrome-devtools/package.json +++ b/packages/chrome-devtools/package.json @@ -1,6 +1,6 @@ { "name": "@module-federation/devtools", - "version": "0.2.1", + "version": "0.2.2", "scripts": { "build:storybook": "storybook build", "storybook": "storybook dev -p 6006", diff --git a/packages/dts-plugin/CHANGELOG.md b/packages/dts-plugin/CHANGELOG.md index 3301f5d8d1d..431deccf0aa 100644 --- a/packages/dts-plugin/CHANGELOG.md +++ b/packages/dts-plugin/CHANGELOG.md @@ -1,5 +1,14 @@ # @module-federation/dts-plugin +## 0.2.2 + +### Patch Changes + +- 7d09ed8: Emit DTS relative to remote entry location + - @module-federation/sdk@0.2.2 + - @module-federation/managers@0.2.2 + - @module-federation/third-party-dts-extractor@0.2.2 + ## 0.2.1 ### Patch Changes diff --git a/packages/dts-plugin/package.json b/packages/dts-plugin/package.json index 69588e1fd27..21878f916ec 100644 --- a/packages/dts-plugin/package.json +++ b/packages/dts-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@module-federation/dts-plugin", - "version": "0.2.1", + "version": "0.2.2", "author": "hanric ", "main": "./dist/index.js", "module": "./dist/index.js", diff --git a/packages/enhanced/CHANGELOG.md b/packages/enhanced/CHANGELOG.md index 3d7c9c424b4..4f554f1f555 100644 --- a/packages/enhanced/CHANGELOG.md +++ b/packages/enhanced/CHANGELOG.md @@ -1,5 +1,18 @@ # [0.2.0-canary.5](https://github.com/module-federation/core/compare/enhanced-0.2.0-canary.4...enhanced-0.2.0-canary.5) (2023-11-20) +## 0.2.2 + +### Patch Changes + +- Updated dependencies [7d09ed8] + - @module-federation/dts-plugin@0.2.2 + - @module-federation/manifest@0.2.2 + - @module-federation/rspack@0.2.2 + - @module-federation/sdk@0.2.2 + - @module-federation/runtime-tools@0.2.2 + - @module-federation/managers@0.2.2 + - @module-federation/bridge-react-webpack-plugin@0.2.2 + ## 0.2.1 ### Patch Changes diff --git a/packages/enhanced/package.json b/packages/enhanced/package.json index be713ff561d..2714ef813b8 100644 --- a/packages/enhanced/package.json +++ b/packages/enhanced/package.json @@ -1,6 +1,6 @@ { "name": "@module-federation/enhanced", - "version": "0.2.1", + "version": "0.2.2", "main": "./dist/src/index.js", "types": "./dist/src/index.d.ts", "repository": "https://github.com/module-federation/core/tree/main/packages/enhanced", diff --git a/packages/managers/CHANGELOG.md b/packages/managers/CHANGELOG.md index c6c246e7ad1..66f7cdad417 100644 --- a/packages/managers/CHANGELOG.md +++ b/packages/managers/CHANGELOG.md @@ -1,5 +1,11 @@ # @module-federation/managers +## 0.2.2 + +### Patch Changes + +- @module-federation/sdk@0.2.2 + ## 0.2.1 ### Patch Changes diff --git a/packages/managers/package.json b/packages/managers/package.json index 28bfdc33859..d4e6b24b458 100644 --- a/packages/managers/package.json +++ b/packages/managers/package.json @@ -1,6 +1,6 @@ { "name": "@module-federation/managers", - "version": "0.2.1", + "version": "0.2.2", "license": "MIT", "description": "Provide managers for helping handle mf data .", "keywords": [ diff --git a/packages/manifest/CHANGELOG.md b/packages/manifest/CHANGELOG.md index 72a2e06127b..e22fc4dc4cd 100644 --- a/packages/manifest/CHANGELOG.md +++ b/packages/manifest/CHANGELOG.md @@ -1,5 +1,14 @@ # @module-federation/manifest +## 0.2.2 + +### Patch Changes + +- Updated dependencies [7d09ed8] + - @module-federation/dts-plugin@0.2.2 + - @module-federation/sdk@0.2.2 + - @module-federation/managers@0.2.2 + ## 0.2.1 ### Patch Changes diff --git a/packages/manifest/package.json b/packages/manifest/package.json index b8486946640..37d32a97040 100644 --- a/packages/manifest/package.json +++ b/packages/manifest/package.json @@ -1,6 +1,6 @@ { "name": "@module-federation/manifest", - "version": "0.2.1", + "version": "0.2.2", "license": "MIT", "description": "Provide manifest/stats for webpack/rspack MF project .", "keywords": [ diff --git a/packages/native-federation-tests/CHANGELOG.md b/packages/native-federation-tests/CHANGELOG.md index b6ca54d3755..93bd3dc03a4 100644 --- a/packages/native-federation-tests/CHANGELOG.md +++ b/packages/native-federation-tests/CHANGELOG.md @@ -1,5 +1,11 @@ # [1.0.0-canary.1](https://github.com/module-federation/core/compare/native-federation-tests-0.2.1...native-federation-tests-1.0.0-canary.1) (2023-11-06) +## 0.6.0 + +### Minor Changes + +- 8941ef4: feat: support for farm, drop support for node < 16 + ## 0.5.1 ### Patch Changes diff --git a/packages/native-federation-tests/package.json b/packages/native-federation-tests/package.json index fd095769787..2737da08dce 100644 --- a/packages/native-federation-tests/package.json +++ b/packages/native-federation-tests/package.json @@ -1,6 +1,6 @@ { "name": "@module-federation/native-federation-tests", - "version": "0.5.1", + "version": "0.6.0", "description": "Bundler agnostic unplugin to share federated tests", "publishConfig": { "access": "public" diff --git a/packages/native-federation-typescript/CHANGELOG.md b/packages/native-federation-typescript/CHANGELOG.md index 4cab5a5804b..c29bf866917 100644 --- a/packages/native-federation-typescript/CHANGELOG.md +++ b/packages/native-federation-typescript/CHANGELOG.md @@ -1,5 +1,11 @@ # [1.0.0-canary.1](https://github.com/module-federation/core/compare/native-federation-typescript-0.2.6...native-federation-typescript-1.0.0-canary.1) (2023-11-06) +## 0.6.0 + +### Minor Changes + +- 8941ef4: feat: support for farm, drop support for node < 16 + ## 0.5.2 ### Patch Changes diff --git a/packages/native-federation-typescript/package.json b/packages/native-federation-typescript/package.json index d1f6e3c715a..ad5265e193b 100644 --- a/packages/native-federation-typescript/package.json +++ b/packages/native-federation-typescript/package.json @@ -1,6 +1,6 @@ { "name": "@module-federation/native-federation-typescript", - "version": "0.5.2", + "version": "0.6.0", "description": "Bundler agnostic unplugin to share federated types", "keywords": [ "module federation", diff --git a/packages/nextjs-mf/CHANGELOG.md b/packages/nextjs-mf/CHANGELOG.md index 4118ae12e22..442d55e3c97 100644 --- a/packages/nextjs-mf/CHANGELOG.md +++ b/packages/nextjs-mf/CHANGELOG.md @@ -1,5 +1,15 @@ # [8.1.0-canary.7](https://github.com/module-federation/core/compare/nextjs-mf-8.1.0-canary.6...nextjs-mf-8.1.0-canary.7) (2023-11-21) +## 8.3.25 + +### Patch Changes + +- @module-federation/enhanced@0.2.2 +- @module-federation/node@2.2.15 +- @module-federation/runtime@0.2.2 +- @module-federation/sdk@0.2.2 +- @module-federation/utilities@3.0.29 + ## 8.3.24 ### Patch Changes diff --git a/packages/nextjs-mf/package.json b/packages/nextjs-mf/package.json index 544f4581650..224ab21a001 100644 --- a/packages/nextjs-mf/package.json +++ b/packages/nextjs-mf/package.json @@ -1,6 +1,6 @@ { "name": "@module-federation/nextjs-mf", - "version": "8.3.24", + "version": "8.3.25", "license": "MIT", "main": "dist/src/index.js", "types": "dist/src/index.d.ts", diff --git a/packages/node/CHANGELOG.md b/packages/node/CHANGELOG.md index 95a52ced6a7..67182805016 100644 --- a/packages/node/CHANGELOG.md +++ b/packages/node/CHANGELOG.md @@ -1,5 +1,14 @@ # [2.1.0-canary.6](https://github.com/module-federation/core/compare/node-2.1.0-canary.5...node-2.1.0-canary.6) (2023-11-21) +## 2.2.15 + +### Patch Changes + +- @module-federation/enhanced@0.2.2 +- @module-federation/runtime@0.2.2 +- @module-federation/sdk@0.2.2 +- @module-federation/utilities@3.0.29 + ## 2.2.14 ### Patch Changes diff --git a/packages/node/package.json b/packages/node/package.json index 042072f19ea..4412bf09206 100644 --- a/packages/node/package.json +++ b/packages/node/package.json @@ -1,7 +1,7 @@ { "public": true, "name": "@module-federation/node", - "version": "2.2.14", + "version": "2.2.15", "type": "commonjs", "main": "./dist/src/index.js", "exports": { diff --git a/packages/rspack/CHANGELOG.md b/packages/rspack/CHANGELOG.md index 5a222ac5947..e4e8ede47e1 100644 --- a/packages/rspack/CHANGELOG.md +++ b/packages/rspack/CHANGELOG.md @@ -1,5 +1,17 @@ # @module-federation/rspack +## 0.2.2 + +### Patch Changes + +- Updated dependencies [7d09ed8] + - @module-federation/dts-plugin@0.2.2 + - @module-federation/manifest@0.2.2 + - @module-federation/sdk@0.2.2 + - @module-federation/runtime-tools@0.2.2 + - @module-federation/managers@0.2.2 + - @module-federation/bridge-react-webpack-plugin@0.2.2 + ## 0.2.1 ### Patch Changes diff --git a/packages/rspack/package.json b/packages/rspack/package.json index 64937cb900f..c8dd144f679 100644 --- a/packages/rspack/package.json +++ b/packages/rspack/package.json @@ -1,6 +1,6 @@ { "name": "@module-federation/rspack", - "version": "0.2.1", + "version": "0.2.2", "license": "MIT", "keywords": [ "Module Federation", diff --git a/packages/runtime-tools/CHANGELOG.md b/packages/runtime-tools/CHANGELOG.md index 8a1570ee8c6..9e4ba384d77 100644 --- a/packages/runtime-tools/CHANGELOG.md +++ b/packages/runtime-tools/CHANGELOG.md @@ -1,5 +1,12 @@ ## [1.0.1-canary.1](https://github.com/module-federation/core/compare/runtime-1.0.0...runtime-1.0.1-canary.1) (2023-12-06) +## 0.2.2 + +### Patch Changes + +- @module-federation/runtime@0.2.2 +- @module-federation/webpack-bundler-runtime@0.2.2 + ## 0.2.1 ### Patch Changes diff --git a/packages/runtime-tools/package.json b/packages/runtime-tools/package.json index 061bfec6d2f..109ef5c4ba5 100644 --- a/packages/runtime-tools/package.json +++ b/packages/runtime-tools/package.json @@ -1,6 +1,6 @@ { "name": "@module-federation/runtime-tools", - "version": "0.2.1", + "version": "0.2.2", "author": "zhanghang ", "main": "./dist/index.cjs", "module": "./dist/index.esm.js", diff --git a/packages/runtime/CHANGELOG.md b/packages/runtime/CHANGELOG.md index b74aa300d11..dedad43d481 100644 --- a/packages/runtime/CHANGELOG.md +++ b/packages/runtime/CHANGELOG.md @@ -1,5 +1,11 @@ # @module-federation/runtime +## 0.2.2 + +### Patch Changes + +- @module-federation/sdk@0.2.2 + ## 0.2.1 ### Patch Changes diff --git a/packages/runtime/package.json b/packages/runtime/package.json index 56af4de6132..7ea9a6cb4c6 100644 --- a/packages/runtime/package.json +++ b/packages/runtime/package.json @@ -1,6 +1,6 @@ { "name": "@module-federation/runtime", - "version": "0.2.1", + "version": "0.2.2", "author": "zhouxiao ", "main": "./dist/index.cjs.js", "module": "./dist/index.esm.js", diff --git a/packages/sdk/CHANGELOG.md b/packages/sdk/CHANGELOG.md index 001b9ff50e1..a77c0d5c4de 100644 --- a/packages/sdk/CHANGELOG.md +++ b/packages/sdk/CHANGELOG.md @@ -1,5 +1,7 @@ # [1.1.0-canary.1](https://github.com/module-federation/core/compare/sdk-1.0.0...sdk-1.1.0-canary.1) (2023-12-05) +## 0.2.2 + ## 0.2.1 ### Patch Changes diff --git a/packages/sdk/package.json b/packages/sdk/package.json index f2c05228a50..d74e76b8d12 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -1,6 +1,6 @@ { "name": "@module-federation/sdk", - "version": "0.2.1", + "version": "0.2.2", "license": "MIT", "description": "A sdk for support module federation", "keywords": [ diff --git a/packages/storybook-addon/package.json b/packages/storybook-addon/package.json index e817556964d..5d4dc15a751 100644 --- a/packages/storybook-addon/package.json +++ b/packages/storybook-addon/package.json @@ -47,7 +47,7 @@ "@storybook/node-logger": "^6.5.16 || ^7.0.0", "webpack": "^5.75.0", "webpack-virtual-modules": "^0.5.0 || ^0.6.0", - "@module-federation/utilities": "^3.0.28", + "@module-federation/utilities": "^3.0.29", "@nx/react": "~16.0.0 || ~17.0.0 || ~17.2.0", "@nx/webpack": "~16.0.0 || ~17.0.0 || ~17.2.0" } diff --git a/packages/third-party-dts-extractor/CHANGELOG.md b/packages/third-party-dts-extractor/CHANGELOG.md index f565bad5685..28d98999bf2 100644 --- a/packages/third-party-dts-extractor/CHANGELOG.md +++ b/packages/third-party-dts-extractor/CHANGELOG.md @@ -1,5 +1,7 @@ # @module-federation/third-party-dts-extractor +## 0.2.2 + ## 0.2.1 ## 0.2.0 diff --git a/packages/third-party-dts-extractor/package.json b/packages/third-party-dts-extractor/package.json index 3df66eaa9b1..5e82c729578 100644 --- a/packages/third-party-dts-extractor/package.json +++ b/packages/third-party-dts-extractor/package.json @@ -1,6 +1,6 @@ { "name": "@module-federation/third-party-dts-extractor", - "version": "0.2.1", + "version": "0.2.2", "files": [ "dist/", "README.md" diff --git a/packages/utilities/CHANGELOG.md b/packages/utilities/CHANGELOG.md index 5bcd4e4dfd7..6428d2ff46b 100644 --- a/packages/utilities/CHANGELOG.md +++ b/packages/utilities/CHANGELOG.md @@ -1,5 +1,11 @@ # [3.1.0](https://github.com/module-federation/core/compare/utils-3.0.2...utils-3.1.0) (2023-10-26) +## 3.0.29 + +### Patch Changes + +- @module-federation/sdk@0.2.2 + ## 3.0.28 ### Patch Changes diff --git a/packages/utilities/package.json b/packages/utilities/package.json index 5e47036fb18..ae056db1a8c 100644 --- a/packages/utilities/package.json +++ b/packages/utilities/package.json @@ -1,6 +1,6 @@ { "name": "@module-federation/utilities", - "version": "3.0.28", + "version": "3.0.29", "type": "commonjs", "main": "./dist/index.cjs.js", "types": "./dist/index.cjs.d.ts", diff --git a/packages/webpack-bundler-runtime/CHANGELOG.md b/packages/webpack-bundler-runtime/CHANGELOG.md index 4e12f71554c..421d1355865 100644 --- a/packages/webpack-bundler-runtime/CHANGELOG.md +++ b/packages/webpack-bundler-runtime/CHANGELOG.md @@ -1,5 +1,12 @@ # [1.0.0-canary.3](https://github.com/module-federation/core/compare/webpack-bundler-runtime-1.0.0-canary.2...webpack-bundler-runtime-1.0.0-canary.3) (2023-11-23) +## 0.2.2 + +### Patch Changes + +- @module-federation/runtime@0.2.2 +- @module-federation/sdk@0.2.2 + ## 0.2.1 ### Patch Changes diff --git a/packages/webpack-bundler-runtime/package.json b/packages/webpack-bundler-runtime/package.json index 353b40653d9..af7fa8354e0 100644 --- a/packages/webpack-bundler-runtime/package.json +++ b/packages/webpack-bundler-runtime/package.json @@ -1,7 +1,7 @@ { "public": true, "name": "@module-federation/webpack-bundler-runtime", - "version": "0.2.1", + "version": "0.2.2", "license": "MIT", "description": "Module Federation Runtime for webpack", "keywords": [