Skip to content

Commit

Permalink
Merge branch 'main' into fix/dev-false-dts-regen
Browse files Browse the repository at this point in the history
  • Loading branch information
ScriptedAlchemy authored Nov 14, 2024
2 parents e9fd573 + f8742b7 commit 710e92c
Show file tree
Hide file tree
Showing 65 changed files with 644 additions and 217 deletions.
5 changes: 5 additions & 0 deletions .changeset/clean-boats-swim.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@module-federation/storybook-addon': patch
---

fix: create folder before writing bootstrap
16 changes: 0 additions & 16 deletions .changeset/metal-doors-mix.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/nervous-tomatoes-marry.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tough-yaks-lay.md

This file was deleted.

6 changes: 6 additions & 0 deletions apps/modernjs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @module-federation/modernjsapp

## 0.1.66

### Patch Changes

- @module-federation/enhanced@0.7.3

## 0.1.65

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion apps/modernjs/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@module-federation/modernjsapp",
"private": true,
"version": "0.1.65",
"version": "0.1.66",
"scripts": {
"reset": "npx rimraf ./**/node_modules",
"dev": "modern dev",
Expand Down
11 changes: 9 additions & 2 deletions apps/rslib-module/.storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,21 @@ const config: StorybookConfig = {
options: {},
},
addons: [
{
name: getAbsolutePath('storybook-addon-rslib'),
options: {
rslib: {
include: ['**/stories/**'],
},
},
},
{
name: '@module-federation/storybook-addon/preset',
options: {
remotes: {
'rslib-module':
'rslib-module@http://localhost:3000/mf/mf-manifest.json',
'rslib-module@http://localhost:3001/mf/mf-manifest.json',
},
shareStrategy: 'loaded-first',
},
},
],
Expand Down
2 changes: 1 addition & 1 deletion apps/rslib-module/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Dev package
1.

```
nx serve rslib-module
nx dev rslib-module
```

2.
Expand Down
8 changes: 5 additions & 3 deletions apps/rslib-module/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,23 @@
"types": "./dist/cjs/index.d.ts",
"scripts": {
"build": "rslib build",
"serve": "pnpm build && http-server -p 3000 ./dist/ --cors",
"dev": "rslib mf dev",
"serve": "pnpm build && http-server -p 3001 ./dist/ --cors",
"storybook": "storybook dev -p 6006"
},
"devDependencies": {
"@module-federation/enhanced": "workspace:*",
"@module-federation/rsbuild-plugin": "workspace:*",
"@module-federation/storybook-addon": "workspace:*",
"@rsbuild/plugin-react": "^1.0.6",
"@rslib/core": "^0.0.14",
"@rslib/core": "^0.0.18",
"@types/react": "^18.3.11",
"http-server": "^14.1.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"storybook": "^8.3.6",
"storybook-react-rsbuild": "^0.1.1"
"storybook-react-rsbuild": "^0.1.1",
"storybook-addon-rslib": "^0.1.4"
},
"peerDependencies": {
"react": "*"
Expand Down
12 changes: 12 additions & 0 deletions apps/rslib-module/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,18 @@
}
]
},
"dev": {
"executor": "nx:run-commands",
"options": {
"commands": ["npm run dev --prefix apps/rslib-module"]
},
"dependsOn": [
{
"target": "build",
"dependencies": true
}
]
},
"storybook": {
"executor": "nx:run-commands",
"options": {
Expand Down
7 changes: 7 additions & 0 deletions apps/rslib-module/rslib.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,13 @@ export default defineConfig({
assetPrefix: 'http://localhost:3000/mf',
minify: true,
},
dev: {
assetPrefix: 'http://localhost:3001/mf',
},
// just for dev
server: {
port: 3001,
},
plugins: [
pluginModuleFederation({
name: 'rslib_provider',
Expand Down
7 changes: 7 additions & 0 deletions apps/website-new/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# website-new

## 1.0.8

### Patch Changes

- Updated dependencies [4ab9295]
- @module-federation/error-codes@0.7.3

## 1.0.7

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion apps/website-new/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "website-new",
"version": "1.0.7",
"version": "1.0.8",
"private": true,
"scripts": {
"dev": "rspress dev",
Expand Down
7 changes: 7 additions & 0 deletions packages/bridge/bridge-react-webpack-plugin/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @module-federation/bridge-react-webpack-plugin

## 0.7.3

### Patch Changes

- Updated dependencies [4ab9295]
- @module-federation/sdk@0.7.3

## 0.7.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/bridge/bridge-react-webpack-plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@module-federation/bridge-react-webpack-plugin",
"version": "0.7.2",
"version": "0.7.3",
"publishConfig": {
"access": "public"
},
Expand Down
8 changes: 8 additions & 0 deletions packages/bridge/bridge-react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @module-federation/bridge-react

## 0.7.3

### Patch Changes

- Updated dependencies [4ab9295]
- @module-federation/sdk@0.7.3
- @module-federation/bridge-shared@0.7.3

## 0.7.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/bridge/bridge-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@module-federation/bridge-react",
"version": "0.7.2",
"version": "0.7.3",
"publishConfig": {
"access": "public"
},
Expand Down
2 changes: 2 additions & 0 deletions packages/bridge/bridge-shared/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @module-federation/bridge-shared

## 0.7.3

## 0.7.2

## 0.7.1
Expand Down
2 changes: 1 addition & 1 deletion packages/bridge/bridge-shared/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@module-federation/bridge-shared",
"version": "0.7.2",
"version": "0.7.3",
"publishConfig": {
"access": "public"
},
Expand Down
8 changes: 8 additions & 0 deletions packages/bridge/vue3-bridge/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @module-federation/bridge-vue3

## 0.7.3

### Patch Changes

- Updated dependencies [4ab9295]
- @module-federation/sdk@0.7.3
- @module-federation/bridge-shared@0.7.3

## 0.7.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/bridge/vue3-bridge/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"url": "https://github.com/module-federation/core",
"directory": "packages/vue3-bridge"
},
"version": "0.7.2",
"version": "0.7.3",
"publishConfig": {
"access": "public"
},
Expand Down
7 changes: 7 additions & 0 deletions packages/chrome-devtools/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @module-federation/devtools

## 0.7.3

### Patch Changes

- Updated dependencies [4ab9295]
- @module-federation/sdk@0.7.3

## 0.7.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/chrome-devtools/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@module-federation/devtools",
"version": "0.7.2",
"version": "0.7.3",
"license": "MIT",
"repository": {
"type": "git",
Expand Down
10 changes: 10 additions & 0 deletions packages/data-prefetch/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @module-federation/data-prefetch

## 0.7.3

### Patch Changes

- 4ab9295: disable package json generation during build
- Updated dependencies [4ab9295]
- Updated dependencies [c2b1efa]
- @module-federation/runtime@0.7.3
- @module-federation/sdk@0.7.3

## 0.7.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/data-prefetch/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@module-federation/data-prefetch",
"description": "Module Federation Data Prefetch",
"version": "0.7.2",
"version": "0.7.3",
"author": "nieyan <[email protected]>",
"homepage": "https://github.com/module-federation/core",
"license": "MIT",
Expand Down
11 changes: 11 additions & 0 deletions packages/dts-plugin/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# @module-federation/dts-plugin

## 0.7.3

### Patch Changes

- Updated dependencies [4ab9295]
- Updated dependencies [7facc10]
- @module-federation/error-codes@0.7.3
- @module-federation/managers@0.7.3
- @module-federation/sdk@0.7.3
- @module-federation/third-party-dts-extractor@0.7.3

## 0.7.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/dts-plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@module-federation/dts-plugin",
"version": "0.7.2",
"version": "0.7.3",
"author": "hanric <[email protected]>",
"main": "./dist/index.js",
"module": "./dist/index.js",
Expand Down
15 changes: 15 additions & 0 deletions packages/enhanced/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# @module-federation/enhanced

## 0.7.3

### Patch Changes

- Updated dependencies [4ab9295]
- Updated dependencies [7facc10]
- @module-federation/data-prefetch@0.7.3
- @module-federation/runtime-tools@0.7.3
- @module-federation/managers@0.7.3
- @module-federation/manifest@0.7.3
- @module-federation/rspack@0.7.3
- @module-federation/sdk@0.7.3
- @module-federation/dts-plugin@0.7.3
- @module-federation/bridge-react-webpack-plugin@0.7.3

## 0.7.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/enhanced/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@module-federation/enhanced",
"version": "0.7.2",
"version": "0.7.3",
"main": "./dist/src/index.js",
"types": "./dist/src/index.d.ts",
"repository": "https://github.com/module-federation/core/tree/main/packages/enhanced",
Expand Down
6 changes: 6 additions & 0 deletions packages/error-codes/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @module-federation/error-codes

## 0.7.3

### Patch Changes

- 4ab9295: disable package json generation during build

## 0.7.2

## 0.7.1
Expand Down
2 changes: 1 addition & 1 deletion packages/error-codes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"author": "zhanghang <[email protected]>",
"public": true,
"sideEffects": false,
"version": "0.7.2",
"version": "0.7.3",
"license": "MIT",
"keywords": [
"Module Federation",
Expand Down
8 changes: 8 additions & 0 deletions packages/esbuild/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @module-federation/esbuild

## 0.0.38

### Patch Changes

- 4ab9295: disable package json generation during build
- Updated dependencies [4ab9295]
- @module-federation/sdk@0.7.3

## 0.0.37

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/esbuild/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@module-federation/esbuild",
"version": "0.0.37",
"version": "0.0.38",
"author": "Zack Jackson (@ScriptedAlchemy)",
"main": "./dist/index.cjs.js",
"module": "./dist/index.esm.js",
Expand Down
Loading

0 comments on commit 710e92c

Please sign in to comment.