@modern-js/plugin-garfish 1.20.0 → 1.20.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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @modern-js/plugin-garfish
|
|
2
2
|
|
|
3
|
+
## 1.20.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 3369240: fix(Garfish): invoke setOptions to pass configuration to Garfish instance
|
|
8
|
+
修复 config 无法传递给 Garfish 实例问题
|
|
9
|
+
- Updated dependencies [49515c5]
|
|
10
|
+
- @modern-js/utils@1.20.1
|
|
11
|
+
- @modern-js/runtime@1.20.1
|
|
12
|
+
|
|
3
13
|
## 1.20.0
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
|
@@ -152,6 +152,7 @@ export default (function (config) {
|
|
|
152
152
|
});
|
|
153
153
|
MApp = generateMApp(GarfishConfig, manifest);
|
|
154
154
|
_generateApps = generateApps(GarfishConfig, manifest), appInfoList = _generateApps.appInfoList, apps = _generateApps.apps;
|
|
155
|
+
GarfishInstance.setOptions(GarfishConfig);
|
|
155
156
|
GarfishInstance.registerApp(appInfoList);
|
|
156
157
|
logger('generateApps', {
|
|
157
158
|
MApp: MApp,
|
|
@@ -165,7 +166,7 @@ export default (function (config) {
|
|
|
165
166
|
appInfoList: appInfoList
|
|
166
167
|
});
|
|
167
168
|
|
|
168
|
-
case
|
|
169
|
+
case 10:
|
|
169
170
|
case "end":
|
|
170
171
|
return _context.stop();
|
|
171
172
|
}
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"modern",
|
|
12
12
|
"modern.js"
|
|
13
13
|
],
|
|
14
|
-
"version": "1.20.
|
|
14
|
+
"version": "1.20.1",
|
|
15
15
|
"jsnext:source": "./src/index.ts",
|
|
16
16
|
"types": "./dist/types/runtime/index.d.ts",
|
|
17
17
|
"typesVersions": {
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
52
|
"@babel/runtime": "^7.18.0",
|
|
53
|
-
"@modern-js/utils": "1.20.
|
|
53
|
+
"@modern-js/utils": "1.20.1",
|
|
54
54
|
"@types/debug": "^4.1.7",
|
|
55
55
|
"@types/react-loadable": "^5.5.6",
|
|
56
56
|
"debug": "^4.3.2",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"react-loadable": "^5.5.0"
|
|
60
60
|
},
|
|
61
61
|
"peerDependencies": {
|
|
62
|
-
"@modern-js/runtime": "^1.20.
|
|
62
|
+
"@modern-js/runtime": "^1.20.1"
|
|
63
63
|
},
|
|
64
64
|
"peerDependenciesMeta": {
|
|
65
65
|
"@modern-js/runtime": {
|
|
@@ -67,11 +67,11 @@
|
|
|
67
67
|
}
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
|
-
"@modern-js/core": "1.20.
|
|
71
|
-
"@modern-js/runtime": "1.20.
|
|
72
|
-
"@modern-js/types": "1.20.
|
|
73
|
-
"@scripts/build": "1.20.
|
|
74
|
-
"@scripts/jest-config": "1.20.
|
|
70
|
+
"@modern-js/core": "1.20.1",
|
|
71
|
+
"@modern-js/runtime": "1.20.1",
|
|
72
|
+
"@modern-js/types": "1.20.1",
|
|
73
|
+
"@scripts/build": "1.20.1",
|
|
74
|
+
"@scripts/jest-config": "1.20.1",
|
|
75
75
|
"@testing-library/jest-dom": "^5.16.1",
|
|
76
76
|
"@testing-library/react": "^12.0.0",
|
|
77
77
|
"@testing-library/react-hooks": "^7.0.1",
|