Skip to content

Commit 49b63ba

Browse files
authored
Merge branch 'main' into rm-twoslash
2 parents 55fdd73 + f210f60 commit 49b63ba

File tree

184 files changed

+3256
-2763
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

184 files changed

+3256
-2763
lines changed

examples/express-plugin/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
{
22
"name": "@examples/express-plugin",
33
"private": true,
4+
"type": "module",
45
"scripts": {
56
"build": "rslib build"
67
},
78
"dependencies": {},
89
"devDependencies": {
910
"@rslib/core": "workspace:*",
10-
"@types/express": "^5.0.4",
11+
"@types/express": "^5.0.5",
1112
"express": "^5.1.0",
1213
"typescript": "^5.9.3"
1314
},

examples/module-federation/mf-host/package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"name": "@examples/mf-host",
33
"version": "1.0.0",
44
"private": true,
5+
"type": "module",
56
"scripts": {
67
"build": "rsbuild build",
78
"dev": "rsbuild dev",
@@ -12,9 +13,9 @@
1213
"react-dom": "^19.2.0"
1314
},
1415
"devDependencies": {
15-
"@module-federation/rsbuild-plugin": "^0.21.1",
16-
"@rsbuild/core": "1.6.0-beta.1",
17-
"@rsbuild/plugin-react": "^1.4.1",
16+
"@module-federation/rsbuild-plugin": "^0.21.3",
17+
"@rsbuild/core": "~1.6.3",
18+
"@rsbuild/plugin-react": "^1.4.2",
1819
"@types/react": "^19.2.2",
1920
"@types/react-dom": "^19.2.2",
2021
"typescript": "^5.9.3"

examples/module-federation/mf-host/rsbuild.config.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@ import { defineConfig } from '@rsbuild/core';
33
import { pluginReact } from '@rsbuild/plugin-react';
44

55
export default defineConfig({
6-
dev: {
7-
lazyCompilation: false,
8-
},
96
plugins: [
107
pluginReact(),
118
pluginModuleFederation(

examples/module-federation/mf-react-component/package.json

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
{
22
"name": "@examples/mf-react-component",
33
"private": true,
4+
"type": "module",
45
"exports": {
56
".": {
67
"types": "./dist/cjs/index.d.ts",
7-
"import": "./dist/esm/index.mjs",
8-
"require": "./dist/cjs/index.js"
8+
"import": "./dist/esm/index.js",
9+
"require": "./dist/cjs/index.cjs"
910
}
1011
},
11-
"main": "./dist/cjs/index.js",
12-
"module": "./dist/esm/index.mjs",
12+
"main": "./dist/cjs/index.cjs",
13+
"module": "./dist/esm/index.js",
1314
"types": "./dist/cjs/index.d.ts",
1415
"scripts": {
1516
"build": "rslib build",
@@ -18,18 +19,18 @@
1819
"storybook": "storybook dev -p 6006"
1920
},
2021
"devDependencies": {
21-
"@module-federation/enhanced": "^0.21.1",
22-
"@module-federation/rsbuild-plugin": "^0.21.1",
23-
"@module-federation/storybook-addon": "^4.0.33",
24-
"@rsbuild/plugin-react": "^1.4.1",
22+
"@module-federation/enhanced": "^0.21.3",
23+
"@module-federation/rsbuild-plugin": "^0.21.3",
24+
"@module-federation/storybook-addon": "^4.0.35",
25+
"@rsbuild/plugin-react": "^1.4.2",
2526
"@rslib/core": "workspace:*",
2627
"@types/react": "^19.2.2",
2728
"http-server": "^14.1.1",
2829
"react": "^19.2.0",
2930
"react-dom": "^19.2.0",
30-
"storybook": "^9.1.15",
31-
"storybook-addon-rslib": "^2.1.2",
32-
"storybook-react-rsbuild": "^2.1.2"
31+
"storybook": "^9.1.16",
32+
"storybook-addon-rslib": "^2.1.4",
33+
"storybook-react-rsbuild": "^2.1.4"
3334
},
3435
"peerDependencies": {
3536
"react": "*"

examples/module-federation/mf-remote/package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"name": "@examples/mf-remote",
33
"version": "1.0.0",
44
"private": true,
5+
"type": "module",
56
"scripts": {
67
"build": "rsbuild build",
78
"dev": "rsbuild dev",
@@ -12,9 +13,9 @@
1213
"react-dom": "^19.2.0"
1314
},
1415
"devDependencies": {
15-
"@module-federation/rsbuild-plugin": "^0.21.1",
16-
"@rsbuild/core": "1.6.0-beta.1",
17-
"@rsbuild/plugin-react": "^1.4.1",
16+
"@module-federation/rsbuild-plugin": "^0.21.3",
17+
"@rsbuild/core": "~1.6.3",
18+
"@rsbuild/plugin-react": "^1.4.2",
1819
"@types/react": "^19.2.2",
1920
"@types/react-dom": "^19.2.2",
2021
"typescript": "^5.9.3"

examples/preact-component-bundle-false/package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
{
22
"name": "@examples/preact-component-bundle-false",
33
"private": true,
4-
"main": "./dist/cjs/index.js",
5-
"module": "./dist/esm/index.mjs",
4+
"type": "module",
5+
"main": "./dist/cjs/index.cjs",
6+
"module": "./dist/esm/index.js",
67
"types": "./dist/cjs/index.d.ts",
78
"scripts": {
89
"build": "rslib build"
910
},
1011
"devDependencies": {
11-
"@rsbuild/plugin-preact": "^1.5.2",
12+
"@rsbuild/plugin-preact": "^1.6.0",
1213
"@rsbuild/plugin-sass": "^1.4.0",
1314
"@rslib/core": "workspace:*",
1415
"preact": "^10.27.2"

examples/react-component-bundle-false/package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
{
22
"name": "@examples/react-component-bundle-false",
33
"private": true,
4-
"main": "./dist/cjs/index.js",
5-
"module": "./dist/esm/index.mjs",
4+
"type": "module",
5+
"main": "./dist/cjs/index.cjs",
6+
"module": "./dist/esm/index.js",
67
"types": "./dist/cjs/index.d.ts",
78
"scripts": {
89
"build": "rslib build"
910
},
1011
"devDependencies": {
11-
"@rsbuild/plugin-react": "^1.4.1",
12+
"@rsbuild/plugin-react": "^1.4.2",
1213
"@rsbuild/plugin-sass": "^1.4.0",
1314
"@rslib/core": "workspace:*",
1415
"@types/react": "^19.2.2",

examples/react-component-bundle/package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
{
22
"name": "@examples/react-component-bundle",
33
"private": true,
4-
"main": "./dist/cjs/index.js",
5-
"module": "./dist/esm/index.mjs",
4+
"type": "module",
5+
"main": "./dist/cjs/index.cjs",
6+
"module": "./dist/esm/index.js",
67
"types": "./dist/cjs/index.d.ts",
78
"scripts": {
89
"build": "rslib build"
910
},
1011
"devDependencies": {
11-
"@rsbuild/plugin-react": "^1.4.1",
12+
"@rsbuild/plugin-react": "^1.4.2",
1213
"@rsbuild/plugin-sass": "^1.4.0",
1314
"@rslib/core": "workspace:*",
1415
"@types/react": "^19.2.2",

examples/react-component-umd/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
{
22
"name": "@examples/react-component-umd",
33
"private": true,
4+
"type": "module",
45
"main": "./dist/umd/index.js",
56
"unpkg": "./dist/umd/index.js",
67
"scripts": {
78
"build": "rslib build"
89
},
910
"devDependencies": {
10-
"@rsbuild/plugin-react": "^1.4.1",
11+
"@rsbuild/plugin-react": "^1.4.2",
1112
"@rsbuild/plugin-sass": "^1.4.0",
1213
"@rslib/core": "workspace:*",
1314
"@types/react": "^19.2.2",

examples/solid-component-bundle/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"@rsbuild/plugin-sass": "^1.4.0",
1515
"@rsbuild/plugin-solid": "^1.0.6",
1616
"@rslib/core": "workspace:*",
17-
"solid-js": "^1.9.9",
17+
"solid-js": "^1.9.10",
1818
"typescript": "^5.9.3"
1919
},
2020
"peerDependencies": {

0 commit comments

Comments
 (0)