@modern-js/plugin-garfish 2.2.1-canary.0 → 2.3.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,5 +1,20 @@
1
1
  # @modern-js/plugin-garfish
2
2
 
3
+ ## 2.3.0
4
+
5
+ ### Patch Changes
6
+
7
+ - f7e90a9: fix: use pluginName instead of a steady name
8
+ 修复 garfish 插件导出名称固定导致依赖找不到的问题
9
+ - b4dd017: feat: runtime package use treeshaking production for ssr bundle
10
+ feat: runtime 包使用 treeshaking 产物作为 ssr bundle 打包入口
11
+ - Updated dependencies [fd5a3ed]
12
+ - Updated dependencies [6ca1c0b]
13
+ - Updated dependencies [89b6739]
14
+ - Updated dependencies [b4dd017]
15
+ - @modern-js/utils@2.3.0
16
+ - @modern-js/runtime@2.3.0
17
+
3
18
  ## 2.2.0
4
19
 
5
20
  ### Patch Changes
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "modern",
12
12
  "modern.js"
13
13
  ],
14
- "version": "2.2.1-canary.0",
14
+ "version": "2.3.0",
15
15
  "jsnext:source": "./src/cli/index.ts",
16
16
  "types": "./dist/types/cli/index.d.ts",
17
17
  "typesVersions": {
@@ -48,30 +48,25 @@
48
48
  },
49
49
  "./deps": {
50
50
  "jsnext:source": "./src/deps/index.ts",
51
- "node": "./dist/js/node/deps/index.js",
52
51
  "default": "./dist/js/treeshaking/deps/index.js"
53
52
  },
54
53
  "./runtime": {
55
- "node": {
56
- "jsnext:source": "./src/index.ts",
57
- "import": "./dist/js/modern/index.js",
58
- "require": "./dist/js/node/index.js"
59
- },
54
+ "jsnext:source": "./src/index.ts",
60
55
  "default": "./dist/js/treeshaking/runtime/index.js"
61
56
  }
62
57
  },
63
58
  "dependencies": {
64
59
  "@babel/runtime": "^7.18.0",
65
- "@modern-js/utils": "2.2.0",
66
60
  "@types/debug": "^4.1.7",
67
61
  "@types/react-loadable": "^5.5.6",
68
62
  "debug": "^4.3.2",
69
63
  "garfish": "^1.8.1",
70
64
  "hoist-non-react-statics": "^3.3.2",
71
- "react-loadable": "^5.5.0"
65
+ "react-loadable": "^5.5.0",
66
+ "@modern-js/utils": "2.3.0"
72
67
  },
73
68
  "peerDependencies": {
74
- "@modern-js/runtime": "^2.2.0"
69
+ "@modern-js/runtime": "^2.3.0"
75
70
  },
76
71
  "peerDependenciesMeta": {
77
72
  "@modern-js/runtime": {
@@ -79,13 +74,6 @@
79
74
  }
80
75
  },
81
76
  "devDependencies": {
82
- "@modern-js/app-tools": "2.2.0",
83
- "@modern-js/core": "2.2.0",
84
- "@modern-js/runtime": "2.2.0",
85
- "@modern-js/plugin-router-v5": "2.2.0",
86
- "@modern-js/types": "2.2.0",
87
- "@scripts/build": "2.2.0",
88
- "@scripts/jest-config": "2.2.0",
89
77
  "@testing-library/jest-dom": "^5.16.1",
90
78
  "@testing-library/react": "^13.4.0",
91
79
  "@testing-library/react-hooks": "^8.0.1",
@@ -99,7 +87,14 @@
99
87
  "react-dom": "^18",
100
88
  "react-router-dom": "^6.6.0",
101
89
  "typescript": "^4",
102
- "webpack-chain": "^6.5.1"
90
+ "webpack-chain": "^6.5.1",
91
+ "@modern-js/app-tools": "2.3.0",
92
+ "@modern-js/core": "2.3.0",
93
+ "@modern-js/runtime": "2.3.0",
94
+ "@modern-js/plugin-router-v5": "2.3.0",
95
+ "@modern-js/types": "2.3.0",
96
+ "@scripts/build": "2.3.0",
97
+ "@scripts/jest-config": "2.3.0"
103
98
  },
104
99
  "sideEffects": false,
105
100
  "modernConfig": {},
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -1 +0,0 @@
1
- "use strict";
@@ -1 +0,0 @@
1
- "use strict";
@@ -1 +0,0 @@
1
- "use strict";