@modern-js/runtime 0.0.0-next-1685463554284 → 0.0.0-next-1685502535286

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,27 +1,31 @@
1
1
  # @modern-js/runtime
2
2
 
3
- ## 0.0.0-next-1685463554284
3
+ ## 0.0.0-next-1685502535286
4
4
 
5
5
  ### Minor Changes
6
6
 
7
- - 63cdea10e: feat: ssr runtime need webpack.output.chunkLoadingGlobal pass to loadableReady
7
+ - 63cdea10e7: feat: ssr runtime need webpack.output.chunkLoadingGlobal pass to loadableReady
8
8
  feat: ssr runtime 需要传递 webpack.output.chunnkLoadingGlobal 给 loadableReady
9
9
 
10
10
  ### Patch Changes
11
11
 
12
- - 3d48836b3: chore(deps): fix all missing peer dependencies
12
+ - 3d48836b30: chore(deps): fix all missing peer dependencies
13
13
 
14
14
  chore(deps): 修复缺少的 peer dependencies
15
15
 
16
- - 79180c20a: feat: export only partial common router API for better stability
16
+ - b6feb7ea60: fix(runtime): babel-plugin-styled-components not work
17
+
18
+ fix(runtime): 修复 babel-plugin-styled-components 不生效的问题
19
+
20
+ - 79180c20a7: feat: export only partial common router API for better stability
17
21
  feat: 只导出 Router 实例的常用 API, 保证更好的稳定性
18
- - c271c5dbe: feat: export react-router instance
22
+ - c271c5dbe7: feat: export react-router instance
19
23
  feat: 导出 react-router 路由实例
20
- - Updated dependencies [3d48836b3]
21
- - Updated dependencies [5050e8e6b]
22
- - @modern-js/utils@0.0.0-next-1685463554284
23
- - @modern-js/plugin@0.0.0-next-1685463554284
24
- - @modern-js/types@0.0.0-next-1685463554284
24
+ - Updated dependencies [3d48836b30]
25
+ - Updated dependencies [5050e8e6b5]
26
+ - @modern-js/utils@0.0.0-next-1685502535286
27
+ - @modern-js/plugin@0.0.0-next-1685502535286
28
+ - @modern-js/types@0.0.0-next-1685502535286
25
29
 
26
30
  ## 2.21.1
27
31
 
@@ -49,6 +49,14 @@ const _default = () => ({
49
49
  globalVars: {
50
50
  "process.env.IS_REACT18": process.env.IS_REACT18
51
51
  }
52
+ },
53
+ tools: {
54
+ styledComponents: {
55
+ // https://github.com/styled-components/babel-plugin-styled-components/issues/287
56
+ topLevelImportPaths: [
57
+ "@modern-js/runtime/styled"
58
+ ]
59
+ }
52
60
  }
53
61
  };
54
62
  },
@@ -43,6 +43,14 @@ export default function() {
43
43
  globalVars: {
44
44
  "process.env.IS_REACT18": process.env.IS_REACT18
45
45
  }
46
+ },
47
+ tools: {
48
+ styledComponents: {
49
+ // https://github.com/styled-components/babel-plugin-styled-components/issues/287
50
+ topLevelImportPaths: [
51
+ "@modern-js/runtime/styled"
52
+ ]
53
+ }
46
54
  }
47
55
  };
48
56
  },
@@ -40,6 +40,14 @@ export default () => ({
40
40
  globalVars: {
41
41
  "process.env.IS_REACT18": process.env.IS_REACT18
42
42
  }
43
+ },
44
+ tools: {
45
+ styledComponents: {
46
+ // https://github.com/styled-components/babel-plugin-styled-components/issues/287
47
+ topLevelImportPaths: [
48
+ "@modern-js/runtime/styled"
49
+ ]
50
+ }
43
51
  }
44
52
  };
45
53
  },
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "0.0.0-next-1685463554284",
18
+ "version": "0.0.0-next-1685502535286",
19
19
  "engines": {
20
20
  "node": ">=14.17.6"
21
21
  },
@@ -169,9 +169,9 @@
169
169
  "redux-logger": "^3.0.6",
170
170
  "styled-components": "^5.3.1",
171
171
  "@swc/helpers": "0.5.1",
172
- "@modern-js/plugin": "0.0.0-next-1685463554284",
173
- "@modern-js/types": "0.0.0-next-1685463554284",
174
- "@modern-js/utils": "0.0.0-next-1685463554284"
172
+ "@modern-js/plugin": "0.0.0-next-1685502535286",
173
+ "@modern-js/types": "0.0.0-next-1685502535286",
174
+ "@modern-js/utils": "0.0.0-next-1685502535286"
175
175
  },
176
176
  "peerDependencies": {
177
177
  "react": ">=17",
@@ -192,11 +192,11 @@
192
192
  "ts-jest": "^29.1.0",
193
193
  "typescript": "^5",
194
194
  "webpack": "^5.82.1",
195
- "@modern-js/app-tools": "0.0.0-next-1685463554284",
196
- "@modern-js/core": "0.0.0-next-1685463554284",
197
- "@modern-js/server-core": "0.0.0-next-1685463554284",
198
- "@scripts/build": "0.0.0-next-1685463554284",
199
- "@scripts/jest-config": "0.0.0-next-1685463554284"
195
+ "@modern-js/app-tools": "0.0.0-next-1685502535286",
196
+ "@modern-js/core": "0.0.0-next-1685502535286",
197
+ "@modern-js/server-core": "0.0.0-next-1685502535286",
198
+ "@scripts/build": "0.0.0-next-1685502535286",
199
+ "@scripts/jest-config": "0.0.0-next-1685502535286"
200
200
  },
201
201
  "sideEffects": false,
202
202
  "modernConfig": {},