@modern-js/plugin-garfish 2.1.1-canary.2 → 2.2.0
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/CHANGELOG.md +15 -0
- package/dist/js/modern/cli/index.js +1 -1
- package/dist/js/node/cli/index.js +1 -1
- package/dist/js/treeshaking/cli/index.js +1 -1
- package/package.json +12 -12
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @modern-js/plugin-garfish
|
|
2
2
|
|
|
3
|
+
## 2.2.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- cb12ee7: chore: remove some unused deps, bump postcss version
|
|
8
|
+
|
|
9
|
+
chore: 移除未使用的依赖, 升级 postcss 版本
|
|
10
|
+
|
|
11
|
+
- 142efe3: fix(plugin-garfish): fix sub app import garfish runtime
|
|
12
|
+
fix(plugin-garfish): 修复微前端子应用引入了 Garfish Runtime
|
|
13
|
+
- Updated dependencies [49eff0c]
|
|
14
|
+
- Updated dependencies [f7a1c1f]
|
|
15
|
+
- @modern-js/utils@2.2.0
|
|
16
|
+
- @modern-js/runtime@2.2.0
|
|
17
|
+
|
|
3
18
|
## 2.1.0
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
|
@@ -181,7 +181,7 @@ var cli_default = ({
|
|
|
181
181
|
logger("exportStatement", addExportStatement);
|
|
182
182
|
pluginsExportsUtils.addExport(addExportStatement);
|
|
183
183
|
}
|
|
184
|
-
const otherExportStatement = `export { hoistNonReactStatics } from '
|
|
184
|
+
const otherExportStatement = `export { hoistNonReactStatics } from '@modern-js/plugin-garfish/deps'`;
|
|
185
185
|
logger("otherExportStatement", otherExportStatement);
|
|
186
186
|
pluginsExportsUtils.addExport(otherExportStatement);
|
|
187
187
|
},
|
|
@@ -197,7 +197,7 @@ var cli_default = ({
|
|
|
197
197
|
(0, import_util.logger)("exportStatement", addExportStatement);
|
|
198
198
|
pluginsExportsUtils.addExport(addExportStatement);
|
|
199
199
|
}
|
|
200
|
-
const otherExportStatement = `export { hoistNonReactStatics } from '
|
|
200
|
+
const otherExportStatement = `export { hoistNonReactStatics } from '@modern-js/plugin-garfish/deps'`;
|
|
201
201
|
(0, import_util.logger)("otherExportStatement", otherExportStatement);
|
|
202
202
|
pluginsExportsUtils.addExport(otherExportStatement);
|
|
203
203
|
},
|
|
@@ -292,7 +292,7 @@ var cli_default = function() {
|
|
|
292
292
|
logger("exportStatement", addExportStatement);
|
|
293
293
|
pluginsExportsUtils.addExport(addExportStatement);
|
|
294
294
|
}
|
|
295
|
-
var otherExportStatement = "export { hoistNonReactStatics } from '
|
|
295
|
+
var otherExportStatement = "export { hoistNonReactStatics } from '@modern-js/plugin-garfish/deps'";
|
|
296
296
|
logger("otherExportStatement", otherExportStatement);
|
|
297
297
|
pluginsExportsUtils.addExport(otherExportStatement);
|
|
298
298
|
},
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"modern",
|
|
12
12
|
"modern.js"
|
|
13
13
|
],
|
|
14
|
-
"version": "2.
|
|
14
|
+
"version": "2.2.0",
|
|
15
15
|
"jsnext:source": "./src/cli/index.ts",
|
|
16
16
|
"types": "./dist/types/cli/index.d.ts",
|
|
17
17
|
"typesVersions": {
|
|
@@ -62,16 +62,16 @@
|
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
64
|
"@babel/runtime": "^7.18.0",
|
|
65
|
-
"@modern-js/utils": "2.1.0",
|
|
66
65
|
"@types/debug": "^4.1.7",
|
|
67
66
|
"@types/react-loadable": "^5.5.6",
|
|
68
67
|
"debug": "^4.3.2",
|
|
69
68
|
"garfish": "^1.8.1",
|
|
70
69
|
"hoist-non-react-statics": "^3.3.2",
|
|
71
|
-
"react-loadable": "^5.5.0"
|
|
70
|
+
"react-loadable": "^5.5.0",
|
|
71
|
+
"@modern-js/utils": "2.2.0"
|
|
72
72
|
},
|
|
73
73
|
"peerDependencies": {
|
|
74
|
-
"@modern-js/runtime": "^2.
|
|
74
|
+
"@modern-js/runtime": "^2.2.0"
|
|
75
75
|
},
|
|
76
76
|
"peerDependenciesMeta": {
|
|
77
77
|
"@modern-js/runtime": {
|
|
@@ -79,13 +79,6 @@
|
|
|
79
79
|
}
|
|
80
80
|
},
|
|
81
81
|
"devDependencies": {
|
|
82
|
-
"@modern-js/app-tools": "2.1.0",
|
|
83
|
-
"@modern-js/core": "2.1.0",
|
|
84
|
-
"@modern-js/runtime": "2.1.0",
|
|
85
|
-
"@modern-js/plugin-router-v5": "2.1.0",
|
|
86
|
-
"@modern-js/types": "2.1.0",
|
|
87
|
-
"@scripts/build": "2.1.0",
|
|
88
|
-
"@scripts/jest-config": "2.1.0",
|
|
89
82
|
"@testing-library/jest-dom": "^5.16.1",
|
|
90
83
|
"@testing-library/react": "^13.4.0",
|
|
91
84
|
"@testing-library/react-hooks": "^8.0.1",
|
|
@@ -99,7 +92,14 @@
|
|
|
99
92
|
"react-dom": "^18",
|
|
100
93
|
"react-router-dom": "^6.6.0",
|
|
101
94
|
"typescript": "^4",
|
|
102
|
-
"webpack-chain": "^6.5.1"
|
|
95
|
+
"webpack-chain": "^6.5.1",
|
|
96
|
+
"@modern-js/app-tools": "2.2.0",
|
|
97
|
+
"@modern-js/core": "2.2.0",
|
|
98
|
+
"@modern-js/runtime": "2.2.0",
|
|
99
|
+
"@modern-js/plugin-router-v5": "2.2.0",
|
|
100
|
+
"@modern-js/types": "2.2.0",
|
|
101
|
+
"@scripts/build": "2.2.0",
|
|
102
|
+
"@scripts/jest-config": "2.2.0"
|
|
103
103
|
},
|
|
104
104
|
"sideEffects": false,
|
|
105
105
|
"modernConfig": {},
|