@lynx-js/react-rsbuild-plugin 0.12.7 → 0.12.9

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/dist/208.js +9 -4
  3. package/package.json +10 -10
package/CHANGELOG.md CHANGED
@@ -1,5 +1,30 @@
1
1
  # @lynx-js/react-rsbuild-plugin
2
2
 
3
+ ## 0.12.9
4
+
5
+ ### Patch Changes
6
+
7
+ - Add alias for `use-sync-external-store/with-selector.js` and `use-sync-external-store/shim/with-selector.js` pointing to @lynx-js/use-sync-external-store. ([#2200](https://github.com/lynx-family/lynx-stack/pull/2200))
8
+
9
+ - Updated dependencies [[`9033e2d`](https://github.com/lynx-family/lynx-stack/commit/9033e2d6c7c0c2405ecbbf73446239dd65b4a177)]:
10
+ - @lynx-js/template-webpack-plugin@0.10.4
11
+ - @lynx-js/react-alias-rsbuild-plugin@0.12.9
12
+ - @lynx-js/use-sync-external-store@1.5.0
13
+ - @lynx-js/react-refresh-webpack-plugin@0.3.4
14
+ - @lynx-js/react-webpack-plugin@0.7.4
15
+ - @lynx-js/css-extract-webpack-plugin@0.7.0
16
+
17
+ ## 0.12.8
18
+
19
+ ### Patch Changes
20
+
21
+ - Updated dependencies [[`4240138`](https://github.com/lynx-family/lynx-stack/commit/424013867a33c44bf1c95f6b0a80a07646ebce2b)]:
22
+ - @lynx-js/react-webpack-plugin@0.7.4
23
+ - @lynx-js/react-alias-rsbuild-plugin@0.12.8
24
+ - @lynx-js/use-sync-external-store@1.5.0
25
+ - @lynx-js/react-refresh-webpack-plugin@0.3.4
26
+ - @lynx-js/template-webpack-plugin@0.10.3
27
+
3
28
  ## 0.12.7
4
29
 
5
30
  ### Patch Changes
package/dist/208.js CHANGED
@@ -546,12 +546,17 @@ function applyUseSyncExternalStore(api) {
546
546
  const useSyncExternalStoreEntries = [
547
547
  'use-sync-external-store',
548
548
  'use-sync-external-store/with-selector',
549
+ 'use-sync-external-store/with-selector.js',
549
550
  'use-sync-external-store/shim',
550
- 'use-sync-external-store/shim/with-selector'
551
+ 'use-sync-external-store/shim/with-selector',
552
+ 'use-sync-external-store/shim/with-selector.js'
551
553
  ];
552
- await Promise.all(useSyncExternalStoreEntries.map((entry)=>resolve(`@lynx-js/${entry}`).then((value)=>{
553
- chain.resolve.alias.set(`${entry}$`, value);
554
- })));
554
+ await Promise.all(useSyncExternalStoreEntries.map((key)=>{
555
+ const entry = key.endsWith('.js') ? key.replace('.js', '') : key;
556
+ return resolve(`@lynx-js/${entry}`).then((value)=>{
557
+ chain.resolve.alias.set(`${key}$`, value);
558
+ });
559
+ }));
555
560
  });
556
561
  }
557
562
  const _assertGuard = __webpack_require__("../../../node_modules/.pnpm/typia@10.1.0_typescript@5.9.3/node_modules/typia/lib/internal/_assertGuard.js");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lynx-js/react-rsbuild-plugin",
3
- "version": "0.12.7",
3
+ "version": "0.12.9",
4
4
  "description": "A rsbuild plugin for ReactLynx",
5
5
  "keywords": [
6
6
  "rsbuild",
@@ -33,31 +33,31 @@
33
33
  ],
34
34
  "dependencies": {
35
35
  "@lynx-js/css-extract-webpack-plugin": "0.7.0",
36
- "@lynx-js/react-alias-rsbuild-plugin": "0.12.7",
36
+ "@lynx-js/react-alias-rsbuild-plugin": "0.12.9",
37
37
  "@lynx-js/react-refresh-webpack-plugin": "0.3.4",
38
- "@lynx-js/react-webpack-plugin": "0.7.3",
38
+ "@lynx-js/react-webpack-plugin": "0.7.4",
39
39
  "@lynx-js/runtime-wrapper-webpack-plugin": "0.1.3",
40
- "@lynx-js/template-webpack-plugin": "0.10.3",
40
+ "@lynx-js/template-webpack-plugin": "0.10.4",
41
41
  "@lynx-js/use-sync-external-store": "1.5.0",
42
42
  "background-only": "^0.0.1"
43
43
  },
44
44
  "devDependencies": {
45
- "@microsoft/api-extractor": "7.55.2",
45
+ "@microsoft/api-extractor": "7.56.3",
46
46
  "@rollup/plugin-typescript": "^12.3.0",
47
- "@rsbuild/core": "1.7.2",
47
+ "@rsbuild/core": "1.7.3",
48
48
  "@rsbuild/plugin-sass": "1.5.0",
49
49
  "@rsbuild/plugin-typed-css-modules": "1.2.1",
50
- "rsbuild-plugin-arethetypeswrong": "0.1.1",
50
+ "rsbuild-plugin-arethetypeswrong": "0.2.0",
51
51
  "rsbuild-plugin-publint": "0.3.4",
52
52
  "source-map": "^0.7.6",
53
53
  "tailwindcss": "^3.4.19",
54
- "type-fest": "^5.4.3",
54
+ "type-fest": "^5.4.4",
55
55
  "typia": "10.1.0",
56
56
  "typia-rspack-plugin": "2.2.2",
57
57
  "@lynx-js/config-rsbuild-plugin": "0.0.1",
58
- "@lynx-js/react": "0.116.2",
58
+ "@lynx-js/react": "0.116.4",
59
59
  "@lynx-js/react-transform": "0.2.0",
60
- "@lynx-js/rspeedy": "0.13.3",
60
+ "@lynx-js/rspeedy": "0.13.4",
61
61
  "@lynx-js/vitest-setup": "0.0.0"
62
62
  },
63
63
  "peerDependencies": {