@lark-apaas/fullstack-rspack-preset 1.0.10 → 1.0.12-alpha.patch.1
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/lib/overlay/index.js +0 -2
- package/package.json +5 -3
package/lib/overlay/index.js
CHANGED
|
@@ -229,7 +229,6 @@ function render() {
|
|
|
229
229
|
// 通知主应用,当前出现渲染报错
|
|
230
230
|
sendPostMessage({
|
|
231
231
|
type: 'RenderError',
|
|
232
|
-
location: window.location.href,
|
|
233
232
|
data: currentMode,
|
|
234
233
|
});
|
|
235
234
|
// 发送编译错误
|
|
@@ -241,7 +240,6 @@ function render() {
|
|
|
241
240
|
// 通知主应用,当前出现渲染报错
|
|
242
241
|
sendPostMessage({
|
|
243
242
|
type: 'RenderError',
|
|
244
|
-
location: window.location.href,
|
|
245
243
|
data: currentMode,
|
|
246
244
|
});
|
|
247
245
|
// 发送运行错误
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lark-apaas/fullstack-rspack-preset",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.12-alpha.patch.1",
|
|
4
4
|
"files": [
|
|
5
5
|
"lib",
|
|
6
6
|
"preset.config.js"
|
|
@@ -19,6 +19,8 @@
|
|
|
19
19
|
"scripts": {
|
|
20
20
|
"build": "tsc",
|
|
21
21
|
"watch": "tsc --watch",
|
|
22
|
+
"postinstall": "npm run apply-patch",
|
|
23
|
+
"apply-patch": "node scripts/apply-patch.js",
|
|
22
24
|
"test": "vitest run",
|
|
23
25
|
"test:watch": "vitest",
|
|
24
26
|
"prepublishOnly": "npm run build"
|
|
@@ -27,6 +29,7 @@
|
|
|
27
29
|
"@babel/parser": "^7.28.0",
|
|
28
30
|
"@babel/traverse": "^7.28.0",
|
|
29
31
|
"@babel/types": "^7.28.2",
|
|
32
|
+
"@lark-apaas/devtool-kits": "^1.2.1",
|
|
30
33
|
"@lark-apaas/miaoda-inspector-babel-plugin": "^1.0.0",
|
|
31
34
|
"@lark-apaas/miaoda-inspector-jsx-runtime": "^1.0.0",
|
|
32
35
|
"@rspack/plugin-react-refresh": "^1.5.1",
|
|
@@ -34,20 +37,19 @@
|
|
|
34
37
|
"colorjs.io": "^0.5.2",
|
|
35
38
|
"dotenv": "^16.4.5",
|
|
36
39
|
"echarts": "^6.0.0",
|
|
40
|
+
"patch-package": "^8.0.0",
|
|
37
41
|
"postcss-import": "^16.1.1",
|
|
38
42
|
"react-refresh": "^0.17.0",
|
|
39
43
|
"tailwind-merge": "^2.5.5",
|
|
40
44
|
"webpack-merge": "^6.0.1"
|
|
41
45
|
},
|
|
42
46
|
"devDependencies": {
|
|
43
|
-
"@lark-apaas/devtool-kits": "^1.0.0",
|
|
44
47
|
"@rspack/core": "^1.5.5",
|
|
45
48
|
"@types/node": "^22.15.30",
|
|
46
49
|
"typescript": "^5.9.2",
|
|
47
50
|
"vitest": "^2.1.8"
|
|
48
51
|
},
|
|
49
52
|
"peerDependencies": {
|
|
50
|
-
"@lark-apaas/devtool-kits": "^1.0.0",
|
|
51
53
|
"@rspack/core": "^1.5.5",
|
|
52
54
|
"react": ">=16.14.0",
|
|
53
55
|
"react-dom": ">=16.14.0"
|