@modern-js/plugin-garfish 1.5.4 → 1.6.2-alpha.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 +28 -0
- package/dist/types/runtime/loadable.d.ts +1 -1
- package/package.json +8 -8
- package/type.d.ts +1 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,33 @@
|
|
|
1
1
|
# @modern-js/plugin-garfish
|
|
2
2
|
|
|
3
|
+
## 1.6.2-alpha.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 7b9e302e2: fix: incorrect @babel/runtime version
|
|
8
|
+
- Updated dependencies [9cd364e06]
|
|
9
|
+
- Updated dependencies [dc3734975]
|
|
10
|
+
- Updated dependencies [a90bc96bd]
|
|
11
|
+
- @modern-js/utils@1.7.9-alpha.0
|
|
12
|
+
- @modern-js/plugin-router@1.2.16-alpha.0
|
|
13
|
+
|
|
14
|
+
## 1.6.0
|
|
15
|
+
|
|
16
|
+
### Minor Changes
|
|
17
|
+
|
|
18
|
+
- 43bf23361: fix: 修复 bootstrap 函数第二个参数不支持传入 dom 节点
|
|
19
|
+
feat: '@modern-js/plugin-garfish' 支持 '@modern-js/runtime/garfish' scope 导出 garfish plugin 内置函数
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
- 209d0a927: release: hot fix garfish error
|
|
24
|
+
- 996b91d9d: fix: optimize garfish plugin render function
|
|
25
|
+
- 43bf23361: fix(garfish-plugin): app static properties missing
|
|
26
|
+
- Updated dependencies [9377d2d9d]
|
|
27
|
+
- Updated dependencies [8c9ad1749]
|
|
28
|
+
- @modern-js/utils@1.7.7
|
|
29
|
+
- @modern-js/plugin-router@1.2.15
|
|
30
|
+
|
|
3
31
|
## 1.5.2
|
|
4
32
|
|
|
5
33
|
### Patch Changes
|
|
@@ -8,7 +8,7 @@ export interface MicroProps extends RouteComponentProps {
|
|
|
8
8
|
}) => void;
|
|
9
9
|
[key: string]: any;
|
|
10
10
|
}
|
|
11
|
-
export declare function Loadable(WrapComponent: any): (defaultLoadable?: LoadableConfig
|
|
11
|
+
export declare function Loadable(WrapComponent: any): (defaultLoadable?: LoadableConfig) => {
|
|
12
12
|
new (props: MicroComponentProps | Readonly<MicroComponentProps>): {
|
|
13
13
|
state: {
|
|
14
14
|
error: any;
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"modern",
|
|
12
12
|
"modern.js"
|
|
13
13
|
],
|
|
14
|
-
"version": "1.
|
|
14
|
+
"version": "1.6.2-alpha.0",
|
|
15
15
|
"jsnext:source": "./src/index.ts",
|
|
16
16
|
"types": "./dist/types/runtime/index.d.ts",
|
|
17
17
|
"typesVersions": {
|
|
@@ -49,8 +49,8 @@
|
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@babel/runtime": "^7",
|
|
53
|
-
"@modern-js/utils": "^1.7.
|
|
52
|
+
"@babel/runtime": "^7.18.0",
|
|
53
|
+
"@modern-js/utils": "^1.7.9-alpha.0",
|
|
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/plugin-router": "^1.2.
|
|
62
|
+
"@modern-js/plugin-router": "^1.2.16-alpha.0"
|
|
63
63
|
},
|
|
64
64
|
"peerDependenciesMeta": {
|
|
65
65
|
"@modern-js/plugin-router": {
|
|
@@ -67,10 +67,10 @@
|
|
|
67
67
|
}
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
|
-
"@modern-js/core": "1.
|
|
71
|
-
"@modern-js/plugin-router": "1.2.
|
|
72
|
-
"@modern-js/runtime-core": "1.
|
|
73
|
-
"@modern-js/types": "1.5.
|
|
70
|
+
"@modern-js/core": "1.12.2-alpha.0",
|
|
71
|
+
"@modern-js/plugin-router": "1.2.16-alpha.0",
|
|
72
|
+
"@modern-js/runtime-core": "1.5.2-alpha.0",
|
|
73
|
+
"@modern-js/types": "1.5.5-alpha.0",
|
|
74
74
|
"@scripts/build": "0.0.0",
|
|
75
75
|
"@scripts/jest-config": "0.0.0",
|
|
76
76
|
"@testing-library/jest-dom": "^5.16.1",
|
package/type.d.ts
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
declare module '@modern-js/runtime
|
|
1
|
+
declare module '@modern-js/runtime' {
|
|
2
2
|
export const useModuleApp: typeof import('./dist/types/runtime').useModuleApp;
|
|
3
3
|
export const useModuleApps: typeof import('./dist/types/runtime').useModuleApps;
|
|
4
|
-
export const Garfish: typeof import('./dist/types/runtime').Garfish;
|
|
5
|
-
export const garfish: typeof import('./dist/types/runtime').garfish;
|
|
6
4
|
}
|