@modern-js/uni-builder 2.64.0 → 2.64.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@modern-js/uni-builder",
3
- "version": "2.64.0",
3
+ "version": "2.64.2",
4
4
  "description": "Unified builder for Modern.js",
5
5
  "repository": {
6
6
  "type": "git",
@@ -13,6 +13,10 @@
13
13
  ".": {
14
14
  "types": "./dist/index.d.ts",
15
15
  "default": "./dist/index.js"
16
+ },
17
+ "./rsc": {
18
+ "types": "./dist/shared/rsc/index.d.ts",
19
+ "default": "./dist/shared/rsc/index.js"
16
20
  }
17
21
  },
18
22
  "main": "./dist/index.js",
@@ -26,36 +30,39 @@
26
30
  "@babel/preset-react": "^7.22.15",
27
31
  "@babel/types": "^7.26.0",
28
32
  "@pmmmwh/react-refresh-webpack-plugin": "0.5.15",
29
- "@rsbuild/core": "1.1.13",
30
- "@rsbuild/plugin-assets-retry": "1.0.7",
33
+ "@rsbuild/core": "1.2.7",
34
+ "@rsbuild/plugin-assets-retry": "1.1.0",
31
35
  "@rsbuild/plugin-babel": "1.0.3",
32
- "@rsbuild/plugin-check-syntax": "1.2.0",
36
+ "@rsbuild/plugin-check-syntax": "1.2.2",
33
37
  "@rsbuild/plugin-css-minimizer": "1.0.2",
34
38
  "@rsbuild/plugin-less": "1.1.0",
35
39
  "@rsbuild/plugin-pug": "1.0.2",
36
40
  "@rsbuild/plugin-react": "1.1.0",
37
41
  "@rsbuild/plugin-rem": "1.0.2",
38
- "@rsbuild/plugin-sass": "1.1.2",
42
+ "@rsbuild/plugin-sass": "1.2.1",
39
43
  "@rsbuild/plugin-source-build": "1.0.2",
40
- "@rsbuild/plugin-styled-components": "1.1.0",
44
+ "@rsbuild/plugin-styled-components": "1.2.0",
41
45
  "@rsbuild/plugin-svgr": "1.0.6",
42
46
  "@rsbuild/plugin-toml": "1.0.1",
43
- "@rsbuild/plugin-type-check": "1.2.0",
47
+ "@rsbuild/plugin-type-check": "1.2.1",
44
48
  "@rsbuild/plugin-typed-css-modules": "1.0.2",
45
49
  "@rsbuild/plugin-yaml": "1.0.2",
46
- "@rsbuild/webpack": "1.1.6",
50
+ "@rsbuild/webpack": "1.2.2",
51
+ "@swc/core": "1.10.15",
47
52
  "@swc/helpers": "0.5.13",
48
53
  "autoprefixer": "10.4.20",
49
- "babel-loader": "9.1.3",
54
+ "babel-loader": "9.2.1",
50
55
  "babel-plugin-import": "1.13.8",
51
56
  "babel-plugin-styled-components": "1.13.3",
52
57
  "babel-plugin-transform-react-remove-prop-types": "0.4.24",
53
58
  "browserslist": "4.24.4",
54
59
  "cssnano": "6.0.1",
60
+ "es-module-lexer": "^1.1.0",
55
61
  "glob": "^9.3.5",
56
62
  "html-minifier-terser": "^7.2.0",
57
63
  "html-webpack-plugin": "5.6.3",
58
64
  "lodash": "^4.17.21",
65
+ "magic-string": "0.30.17",
59
66
  "picocolors": "^1.0.1",
60
67
  "postcss": "^8.4.35",
61
68
  "postcss-custom-properties": "13.3.12",
@@ -72,19 +79,22 @@
72
79
  "ts-loader": "9.4.4",
73
80
  "webpack": "^5.97.1",
74
81
  "webpack-subresource-integrity": "5.1.0",
75
- "@modern-js/babel-preset": "2.64.0",
76
- "@modern-js/utils": "2.64.0"
82
+ "@modern-js/babel-preset": "2.64.2",
83
+ "@modern-js/flight-server-transform-plugin": "2.64.2",
84
+ "@modern-js/utils": "2.64.2"
77
85
  },
78
86
  "devDependencies": {
79
87
  "@rsbuild/plugin-webpack-swc": "1.0.9",
88
+ "@types/es-module-lexer": "^0.4.3",
80
89
  "@types/html-minifier-terser": "^7.0.2",
81
90
  "@types/lodash": "^4.14.202",
82
- "react": "^18.3.1",
83
- "react-dom": "^18.3.1",
91
+ "react": "^18.2.0",
92
+ "react-dom": "^18.2.0",
84
93
  "terser": "^5.31.1",
85
94
  "typescript": "^5.3.0",
86
- "@scripts/build": "2.64.0",
87
- "@scripts/vitest-config": "2.64.0"
95
+ "@modern-js/types": "2.64.2",
96
+ "@scripts/vitest-config": "2.64.2",
97
+ "@scripts/build": "2.64.2"
88
98
  },
89
99
  "publishConfig": {
90
100
  "access": "public",