@modern-js/plugin-garfish 1.4.4 → 1.4.5

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,17 @@
1
1
  # @modern-js/plugin-garfish
2
2
 
3
+ ## 1.4.5
4
+
5
+ ### Patch Changes
6
+
7
+ - bebb39b6: chore: improve devDependencies and peerDependencies
8
+ - 8491b6dd: fix: optimise "types" exports from plugin
9
+ - Updated dependencies [bebb39b6]
10
+ - Updated dependencies [132f7b53]
11
+ - Updated dependencies [c4a7e4a3]
12
+ - @modern-js/plugin-router@1.2.8
13
+ - @modern-js/utils@1.3.7
14
+
3
15
  ## 1.4.4
4
16
 
5
17
  ### Patch Changes
@@ -136,7 +136,6 @@ function getAppInstance(options, appInfo, manifest) {
136
136
  } = this.state;
137
137
 
138
138
  if (appInstance) {
139
- // eslint-disable-next-line @typescript-eslint/no-shadow
140
139
  const {
141
140
  appInfo
142
141
  } = appInstance;
@@ -142,7 +142,6 @@ function getAppInstance(options, appInfo, manifest) {
142
142
  } = this.state;
143
143
 
144
144
  if (appInstance) {
145
- // eslint-disable-next-line @typescript-eslint/no-shadow
146
145
  const {
147
146
  appInfo
148
147
  } = appInstance;
@@ -220,7 +220,6 @@ function getAppInstance(options, appInfo, manifest) {
220
220
  appInstance = this.state.appInstance;
221
221
 
222
222
  if (appInstance) {
223
- // eslint-disable-next-line @typescript-eslint/no-shadow
224
223
  _appInfo = appInstance.appInfo;
225
224
 
226
225
  if (_appInfo.cache) {
package/jest.config.js CHANGED
@@ -2,7 +2,6 @@ const sharedConfig = require('@scripts/jest-config');
2
2
 
3
3
  /** @type {import('@jest/types').Config.InitialOptions} */
4
4
  module.exports = {
5
- // eslint-disable-next-line node/no-unsupported-features/es-syntax
6
5
  ...sharedConfig,
7
6
  rootDir: __dirname,
8
7
  };
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "modern",
12
12
  "modern.js"
13
13
  ],
14
- "version": "1.4.4",
14
+ "version": "1.4.5",
15
15
  "jsnext:source": "./src/index.ts",
16
16
  "types": "./dist/types/runtime/index.d.ts",
17
17
  "typesVersions": {
@@ -24,6 +24,9 @@
24
24
  ],
25
25
  "runtime": [
26
26
  "./dist/types/runtime/index.d.ts"
27
+ ],
28
+ "types": [
29
+ "./type.d.ts"
27
30
  ]
28
31
  }
29
32
  },
@@ -31,6 +34,7 @@
31
34
  "module": "./dist/js/treeshaking/runtime/index.js",
32
35
  "jsnext:modern": "./dist/js/modern/index.js",
33
36
  "exports": {
37
+ "./types": "./type.d.ts",
34
38
  ".": {
35
39
  "node": {
36
40
  "jsnext:source": "./src/index.ts",
@@ -46,7 +50,7 @@
46
50
  },
47
51
  "dependencies": {
48
52
  "@babel/runtime": "^7",
49
- "@modern-js/utils": "^1.3.6",
53
+ "@modern-js/utils": "^1.3.7",
50
54
  "@types/debug": "^4.1.7",
51
55
  "@types/react-loadable": "^5.5.6",
52
56
  "debug": "^4.3.2",
@@ -56,10 +60,10 @@
56
60
  "react-loadable": "^5.5.0"
57
61
  },
58
62
  "devDependencies": {
59
- "@modern-js/core": "^1.6.0",
60
- "@modern-js/plugin-router": "^1.2.6",
61
- "@modern-js/runtime-core": "^1.4.0",
62
- "@modern-js/types": "^1.3.5",
63
+ "@modern-js/core": "1.6.1",
64
+ "@modern-js/plugin-router": "^1.2.8",
65
+ "@modern-js/runtime-core": "1.4.0",
66
+ "@modern-js/types": "^1.3.6",
63
67
  "@scripts/build": "0.0.0",
64
68
  "@scripts/jest-config": "0.0.0",
65
69
  "@testing-library/jest-dom": "^5.16.1",
@@ -81,9 +85,8 @@
81
85
  "webpack-chain": "^6.5.1"
82
86
  },
83
87
  "peerDependencies": {
84
- "@modern-js/plugin-router": "^1.2.6",
88
+ "@modern-js/plugin-router": "^1.2.8",
85
89
  "@modern-js/runtime-core": "^1.4.0",
86
- "@modern-js/core": "^1.6.0",
87
90
  "react": "^17"
88
91
  },
89
92
  "sideEffects": false,