@lynx-js/react-rsbuild-plugin 0.18.2 → 0.18.3

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
  # @lynx-js/react-rsbuild-plugin
2
2
 
3
+ ## 0.18.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`3b36a4e`](https://github.com/lynx-family/lynx-stack/commit/3b36a4eb378b98f335c7212cb5258c6722efeed6), [`43f74b0`](https://github.com/lynx-family/lynx-stack/commit/43f74b01e1d6af7798e79ddd03c0a972d49c3aea), [`3b36a4e`](https://github.com/lynx-family/lynx-stack/commit/3b36a4eb378b98f335c7212cb5258c6722efeed6)]:
8
+ - @lynx-js/css-extract-webpack-plugin@0.10.1
9
+ - @lynx-js/react-webpack-plugin@0.10.3
10
+ - @lynx-js/template-webpack-plugin@0.15.0
11
+ - @lynx-js/react-alias-rsbuild-plugin@0.18.3
12
+ - @lynx-js/react-refresh-webpack-plugin@0.4.1
13
+ - @lynx-js/use-sync-external-store@1.5.0
14
+
3
15
  ## 0.18.2
4
16
 
5
17
  ### Patch Changes
package/dist/index.d.ts CHANGED
@@ -51,8 +51,7 @@ export declare interface CompatVisitorConfig {
51
51
  * @public
52
52
  * Specifies the list of component package names that need compatibility processing
53
53
  *
54
- * @remarks
55
- * Default value: `['@lynx-js/react-components']`
54
+ * @defaultValue `['@lynx-js/react-components']`
56
55
  *
57
56
  * @example
58
57
  *
@@ -76,8 +75,7 @@ export declare interface CompatVisitorConfig {
76
75
  * @public
77
76
  * Specifies the list of old runtime package names that need compatibility processing
78
77
  *
79
- * @remarks
80
- * Default value: `['@lynx-js/react-runtime']`
78
+ * @defaultValue `['@lynx-js/react-runtime']`
81
79
  *
82
80
  * @example
83
81
  *
@@ -101,8 +99,7 @@ export declare interface CompatVisitorConfig {
101
99
  * @public
102
100
  * Specifies the new runtime package name
103
101
  *
104
- * @remarks
105
- * Default value: `'@lynx-js/react'`
102
+ * @defaultValue `'@lynx-js/react'`
106
103
  *
107
104
  * @example
108
105
  *
@@ -126,11 +123,11 @@ export declare interface CompatVisitorConfig {
126
123
  * @public
127
124
  * Specifies additional component attributes list, these attributes will be passed to the wrapped `<view>` instead of the component.
128
125
  *
126
+ * @defaultValue `[]`
127
+ *
129
128
  * @remarks
130
129
  * This only takes effect when {@link CompatVisitorConfig.addComponentElement} is enabled.
131
130
  *
132
- * Default value: `[]`
133
- *
134
131
  * @example
135
132
  *
136
133
  * ```js
@@ -153,8 +150,7 @@ export declare interface CompatVisitorConfig {
153
150
  * @public
154
151
  * Controls whether to add wrapper elements for components
155
152
  *
156
- * @remarks
157
- * Default value: `false`
153
+ * @defaultValue `false`
158
154
  *
159
155
  * @example
160
156
  *
@@ -211,8 +207,7 @@ export declare interface CompatVisitorConfig {
211
207
  *
212
208
  * Instead, use `background-only` on class methods for explicit and maintainable behavior
213
209
  *
214
- * @remarks
215
- * Default value: `false`
210
+ * @defaultValue `false`
216
211
  *
217
212
  * @example
218
213
  *
@@ -240,8 +235,7 @@ export declare interface CompatVisitorConfig {
240
235
  *
241
236
  * If your code depends on this switch, when distributing it to other projects through npm packages or other means, you'll also need to enable this switch. This will lead to the proliferation of switches, which is not conducive to code reuse between different projects.
242
237
  *
243
- * @remarks
244
- * Default value: `None`
238
+ * @defaultValue `undefined`
245
239
  *
246
240
  * @example
247
241
  *
@@ -265,8 +259,7 @@ export declare interface CompatVisitorConfig {
265
259
  * @public
266
260
  * Whether to disable deprecated warnings
267
261
  *
268
- * @remarks
269
- * Default value: `false`
262
+ * @defaultValue `false`
270
263
  *
271
264
  * @example
272
265
  *
@@ -293,8 +286,7 @@ export declare interface CompatVisitorConfig {
293
286
  * @deprecated
294
287
  * Dark mode configuration
295
288
  *
296
- * @remarks
297
- * Default value: `None`
289
+ * @defaultValue `undefined`
298
290
  *
299
291
  * @example
300
292
  *
@@ -421,8 +413,7 @@ export declare interface ExtractStrConfig {
421
413
  * @public
422
414
  * The minimum length of string literals to be extracted.
423
415
  *
424
- * @remarks
425
- * Default value: `20`.
416
+ * @defaultValue `20`
426
417
  *
427
418
  * @example
428
419
  *
@@ -793,9 +784,11 @@ export declare interface ShakeVisitorConfig {
793
784
  * })
794
785
  * ```
795
786
  *
787
+ * @defaultValue `['@lynx-js/react-runtime']`
788
+ *
796
789
  * @remarks
797
- * Default value: `['@lynx-js/react-runtime']`
798
790
  * The provided values will be merged with the default values instead of replacing them.
791
+ *
799
792
  * @public
800
793
  */
801
794
  pkgName: Array<string>
@@ -818,8 +811,9 @@ export declare interface ShakeVisitorConfig {
818
811
  * })
819
812
  * ```
820
813
  *
814
+ * @defaultValue `['constructor', 'render', 'getDerivedStateFromProps', 'state', 'defaultDataProcessor', 'dataProcessors', 'contextType', 'defaultProps']`
815
+ *
821
816
  * @remarks
822
- * Default value: `['constructor', 'render', 'getDerivedStateFromProps', 'state', 'defaultDataProcessor', 'dataProcessors', 'contextType', 'defaultProps']`
823
817
  * The provided values will be merged with the default values instead of replacing them.
824
818
  *
825
819
  * @public
@@ -844,8 +838,9 @@ export declare interface ShakeVisitorConfig {
844
838
  * })
845
839
  * ```
846
840
  *
841
+ * @defaultValue `['useEffect', 'useLayoutEffect', '__runInJS', 'useLynxGlobalEventListener', 'useImperativeHandle']`
842
+ *
847
843
  * @remarks
848
- * Default value: `['useEffect', 'useLayoutEffect', '__runInJS', 'useLynxGlobalEventListener', 'useImperativeHandle']`
849
844
  * The provided values will be merged with the default values instead of replacing them.
850
845
  *
851
846
  * @public
@@ -870,8 +865,9 @@ export declare interface ShakeVisitorConfig {
870
865
  * })
871
866
  * ```
872
867
  *
868
+ * @defaultValue `[]`
869
+ *
873
870
  * @remarks
874
- * Default value: `[]`
875
871
  * The provided values will be merged with the default values instead of replacing them.
876
872
  *
877
873
  * @public
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lynx-js/react-rsbuild-plugin",
3
- "version": "0.18.2",
3
+ "version": "0.18.3",
4
4
  "description": "A rsbuild plugin for ReactLynx",
5
5
  "keywords": [
6
6
  "rsbuild",
@@ -33,12 +33,12 @@
33
33
  ],
34
34
  "dependencies": {
35
35
  "tiny-invariant": "^1.3.3",
36
- "@lynx-js/css-extract-webpack-plugin": "0.10.0",
37
- "@lynx-js/react-alias-rsbuild-plugin": "0.18.2",
36
+ "@lynx-js/css-extract-webpack-plugin": "0.10.1",
37
+ "@lynx-js/react-alias-rsbuild-plugin": "0.18.3",
38
38
  "@lynx-js/react-refresh-webpack-plugin": "0.4.1",
39
- "@lynx-js/react-webpack-plugin": "0.10.2",
39
+ "@lynx-js/react-webpack-plugin": "0.10.3",
40
40
  "@lynx-js/runtime-wrapper-webpack-plugin": "0.2.3",
41
- "@lynx-js/template-webpack-plugin": "0.14.1",
41
+ "@lynx-js/template-webpack-plugin": "0.15.0",
42
42
  "@lynx-js/use-sync-external-store": "1.5.0",
43
43
  "background-only": "^0.0.1"
44
44
  },
@@ -55,11 +55,11 @@
55
55
  "type-fest": "^5.8.0",
56
56
  "typia": "12.1.1",
57
57
  "typia-rspack-plugin": "3.0.1",
58
- "@lynx-js/config-rsbuild-plugin": "0.2.1",
58
+ "@lynx-js/config-rsbuild-plugin": "0.2.2",
59
59
  "@lynx-js/debug-metadata": "0.1.0",
60
- "@lynx-js/react": "0.123.2",
60
+ "@lynx-js/react": "0.123.3",
61
61
  "@lynx-js/react-transform": "0.2.0",
62
- "@lynx-js/rspeedy": "0.16.2",
62
+ "@lynx-js/rspeedy": "0.16.3",
63
63
  "@lynx-js/test-tools": "0.0.0"
64
64
  },
65
65
  "peerDependencies": {