@modern-js/plugin-garfish 1.6.2-alpha.0 → 1.7.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 CHANGED
@@ -1,15 +1,37 @@
1
1
  # @modern-js/plugin-garfish
2
2
 
3
- ## 1.6.2-alpha.0
3
+ ## 1.7.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 4fc801f: chore(runtime): merge `@modern-js/plugin-router` to `@modern-js/runtime`
8
+
9
+ chore(runtime): 合并 `@modern-js/plugin-router` 到 `@modern-js/runtime`
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies [1421965]
14
+ - Updated dependencies [4fc801f]
15
+ - Updated dependencies [b8ea9cd]
16
+ - Updated dependencies [4fc801f]
17
+ - Updated dependencies [4fc801f]
18
+ - Updated dependencies [4fc801f]
19
+ - Updated dependencies [4fc801f]
20
+ - Updated dependencies [16eaebd]
21
+ - Updated dependencies [8f046e8]
22
+ - Updated dependencies [c8614b8]
23
+ - @modern-js/runtime@1.4.0
24
+ - @modern-js/utils@1.8.0
25
+
26
+ ## 1.6.2
4
27
 
5
28
  ### Patch Changes
6
29
 
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
30
+ - 7b9e302: fix: incorrect @babel/runtime version
31
+ - Updated dependencies [dc37349]
32
+ - Updated dependencies [a90bc96]
33
+ - @modern-js/plugin-router@1.2.16
34
+ - @modern-js/utils@1.7.9
13
35
 
14
36
  ## 1.6.0
15
37
 
@@ -15,7 +15,7 @@ import path from 'path';
15
15
  import React from 'react'; // eslint-disable-next-line import/no-named-as-default
16
16
 
17
17
  import Garfish from 'garfish';
18
- import { withRouter } from '@modern-js/plugin-router'; // import Loadable from 'react-loadable';
18
+ import { withRouter } from '@modern-js/runtime/router'; // import Loadable from 'react-loadable';
19
19
 
20
20
  import { logger, generateSubAppContainerKey } from "../../util";
21
21
  import { Loadable } from "../loadable";
@@ -11,7 +11,7 @@ var _react = _interopRequireDefault(require("react"));
11
11
 
12
12
  var _garfish = _interopRequireDefault(require("garfish"));
13
13
 
14
- var _pluginRouter = require("@modern-js/plugin-router");
14
+ var _router = require("@modern-js/runtime/router");
15
15
 
16
16
  var _util = require("../../util");
17
17
 
@@ -193,7 +193,7 @@ function getAppInstance(options, appInfo, manifest) {
193
193
 
194
194
  }
195
195
 
196
- return (0, _loadable.Loadable)((0, _pluginRouter.withRouter)(MicroApp))(manifest === null || manifest === void 0 ? void 0 : manifest.loadable);
196
+ return (0, _loadable.Loadable)((0, _router.withRouter)(MicroApp))(manifest === null || manifest === void 0 ? void 0 : manifest.loadable);
197
197
  }
198
198
 
199
199
  function generateApps(options, manifest) {
@@ -15,7 +15,7 @@ import path from 'path';
15
15
  import React from 'react'; // eslint-disable-next-line import/no-named-as-default
16
16
 
17
17
  import Garfish from 'garfish';
18
- import { withRouter } from '@modern-js/plugin-router'; // import Loadable from 'react-loadable';
18
+ import { withRouter } from '@modern-js/runtime/router'; // import Loadable from 'react-loadable';
19
19
 
20
20
  import { logger, generateSubAppContainerKey } from "../../util";
21
21
  import { Loadable } from "../loadable";
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { RouteComponentProps } from '@modern-js/plugin-router';
2
+ import { RouteComponentProps } from '@modern-js/runtime/router';
3
3
  import { LoadableConfig, MicroComponentProps } from './useModuleApps';
4
4
  export interface MicroProps extends RouteComponentProps {
5
5
  setLoadingState: (state: {
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "modern",
12
12
  "modern.js"
13
13
  ],
14
- "version": "1.6.2-alpha.0",
14
+ "version": "1.7.0",
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.7.9-alpha.0",
53
+ "@modern-js/utils": "^1.8.0",
54
54
  "@types/debug": "^4.1.7",
55
55
  "@types/react-loadable": "^5.5.6",
56
56
  "debug": "^4.3.2",
@@ -59,18 +59,18 @@
59
59
  "react-loadable": "^5.5.0"
60
60
  },
61
61
  "peerDependencies": {
62
- "@modern-js/plugin-router": "^1.2.16-alpha.0"
62
+ "@modern-js/runtime": "^1.4.0"
63
63
  },
64
64
  "peerDependenciesMeta": {
65
- "@modern-js/plugin-router": {
65
+ "@modern-js/runtime": {
66
66
  "optional": true
67
67
  }
68
68
  },
69
69
  "devDependencies": {
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",
70
+ "@modern-js/core": "1.13.1",
71
+ "@modern-js/runtime-core": "1.5.4",
72
+ "@modern-js/runtime": "1.4.0",
73
+ "@modern-js/types": "1.6.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",