@lynx-js/react-rsbuild-plugin 0.10.13 → 0.11.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,45 @@
1
1
  # @lynx-js/react-rsbuild-plugin
2
2
 
3
+ ## 0.11.0
4
+
5
+ ### Minor Changes
6
+
7
+ - **BREAKING CHANGE:** Remove the `enableParallelElement` and `pipelineSchedulerConfig` options. ([#1705](https://github.com/lynx-family/lynx-stack/pull/1705))
8
+
9
+ Since the thread element resolution is still in experimental stage and may have stability risks, it will be disabled by default after this change.
10
+
11
+ - **BREAKING CHANGE**: Remove the `enableICU` option. ([#1800](https://github.com/lynx-family/lynx-stack/pull/1800))
12
+
13
+ ### Patch Changes
14
+
15
+ - Be compat with `@lynx-js/react` v0.114.0 ([#1781](https://github.com/lynx-family/lynx-stack/pull/1781))
16
+
17
+ - Updated dependencies [[`24100ab`](https://github.com/lynx-family/lynx-stack/commit/24100ab63302f8f2bc10578c70ac5cceeffe312a), [`24100ab`](https://github.com/lynx-family/lynx-stack/commit/24100ab63302f8f2bc10578c70ac5cceeffe312a), [`d0ef559`](https://github.com/lynx-family/lynx-stack/commit/d0ef559fac383634437880681855923968b4fa65)]:
18
+ - @lynx-js/template-webpack-plugin@0.9.0
19
+ - @lynx-js/react-webpack-plugin@0.7.1
20
+ - @lynx-js/css-extract-webpack-plugin@0.6.3
21
+ - @lynx-js/react-alias-rsbuild-plugin@0.11.0
22
+ - @lynx-js/use-sync-external-store@1.5.0
23
+ - @lynx-js/react-refresh-webpack-plugin@0.3.4
24
+
25
+ ## 0.10.14
26
+
27
+ ### Patch Changes
28
+
29
+ - Fix using wrong version of `@lynx-js/react/worklet-runtime`. ([#1711](https://github.com/lynx-family/lynx-stack/pull/1711))
30
+
31
+ - Be compat with `@lynx-js/react` v0.113.0 ([#1667](https://github.com/lynx-family/lynx-stack/pull/1667))
32
+
33
+ - Disable `builtin:lightningcss-loader` for `environments.web`. ([#1732](https://github.com/lynx-family/lynx-stack/pull/1732))
34
+
35
+ - Updated dependencies [[`5ad38e6`](https://github.com/lynx-family/lynx-stack/commit/5ad38e6b3970a537f13d7f4caf0d765d16b6b322), [`69b3ae0`](https://github.com/lynx-family/lynx-stack/commit/69b3ae031a24161b8513cc804bf6b82c03da6d0c), [`69b3ae0`](https://github.com/lynx-family/lynx-stack/commit/69b3ae031a24161b8513cc804bf6b82c03da6d0c), [`c2f90bd`](https://github.com/lynx-family/lynx-stack/commit/c2f90bdb0ce465702b0b4a46108b16e78678225f)]:
36
+ - @lynx-js/template-webpack-plugin@0.8.6
37
+ - @lynx-js/react-webpack-plugin@0.7.0
38
+ - @lynx-js/react-alias-rsbuild-plugin@0.10.14
39
+ - @lynx-js/css-extract-webpack-plugin@0.6.2
40
+ - @lynx-js/use-sync-external-store@1.5.0
41
+ - @lynx-js/react-refresh-webpack-plugin@0.3.4
42
+
3
43
  ## 0.10.13
4
44
 
5
45
  ### Patch Changes
@@ -1,5 +1,6 @@
1
+ export const __webpack_id__ = "856";
1
2
  export const __webpack_ids__ = [
2
- "860"
3
+ "856"
3
4
  ];
4
5
  export const __webpack_modules__ = {
5
6
  "./src/resolve.ts": function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
package/dist/index.d.ts CHANGED
@@ -441,7 +441,7 @@ export declare interface PluginReactLynxOptions {
441
441
  *
442
442
  * These options should only be used for migrating from ReactLynx2.0.
443
443
  */
444
- compat?: Partial<CompatVisitorConfig> & {
444
+ compat?: (Partial<CompatVisitorConfig> & {
445
445
  /**
446
446
  * Whether disable runtime warnings about using ReactLynx2.0-incompatible `SelectorQuery` APIs.
447
447
  *
@@ -458,7 +458,7 @@ export declare interface PluginReactLynxOptions {
458
458
  * @defaultValue `false`
459
459
  */
460
460
  disableCreateSelectorQueryIncompatibleWarning?: boolean;
461
- } | undefined;
461
+ }) | undefined;
462
462
  /**
463
463
  * When {@link PluginReactLynxOptions.enableCSSInheritance} is enabled, `customCSSInheritanceList` can control which properties are inheritable, not just the default ones.
464
464
  *
@@ -501,14 +501,6 @@ export declare interface PluginReactLynxOptions {
501
501
  * enableAccessibilityElement set the default value of `accessibility-element` for all `<view />` elements.
502
502
  */
503
503
  enableAccessibilityElement?: boolean;
504
- /**
505
- * enableICU enables the Intl API to be enabled globally.
506
- *
507
- * If enabled, please double check the compatibility with Lynx Share Context feature to avoid using shared Intl API from other destroyed card.
508
- *
509
- * @defaultValue `false`
510
- */
511
- enableICU?: boolean;
512
504
  /**
513
505
  * enableCSSInheritance enables the default inheritance properties.
514
506
  *
@@ -570,14 +562,6 @@ export declare interface PluginReactLynxOptions {
570
562
  * @defaultValue `false`
571
563
  */
572
564
  enableNewGesture?: boolean;
573
- /**
574
- * enableParallelElement enables Threaded Element Resolution.
575
- *
576
- * @defaultValue `true`
577
- *
578
- * @public
579
- */
580
- enableParallelElement?: boolean;
581
565
  /**
582
566
  * enableRemoveCSSScope controls whether CSS is restrict to use in the component scope.
583
567
  *
@@ -615,30 +599,6 @@ export declare interface PluginReactLynxOptions {
615
599
  * @public
616
600
  */
617
601
  enableSSR?: boolean;
618
- /**
619
- * Composite configuration representing pipeline scheduling strategies, including {@link PluginReactLynxOptions.enableParallelElement} and list batch-rendering. All newly introduced scheduling strategies will be managed by this uint64 configuration.
620
- *
621
- * @remarks
622
- *
623
- * Preallocate 64 bit unsigned integer for pipeline scheduler config.
624
- *
625
- * - 0 ~ 7 bit: Reserved for parsing binary bundle into C++ bundle.
626
- *
627
- * - 8 ~ 15 bit: Reserved for MTS Render.
628
- *
629
- * - 16 ~ 23 bit: Reserved for resolve stage in Pixel Pipeline.
630
- *
631
- * - 24 ~ 31 bit: Reserved for layout stage in Pixel Pipeline.
632
- *
633
- * - 32 ~ 39 bit: Reserved for execute UI OP stage in Pixel Pipeline.
634
- *
635
- * - 40 ~ 47 bit: Reserved for paint stage in Pixel Pipeline.
636
- *
637
- * - 48 ~ 63 bit: Flexible bits for extensibility.
638
- *
639
- * @defaultValue `0x00010000`
640
- */
641
- pipelineSchedulerConfig?: number;
642
602
  /**
643
603
  * removeDescendantSelectorScope is used to remove the scope of descendant selectors.
644
604
  */
package/dist/index.js CHANGED
@@ -7,7 +7,7 @@ import { RuntimeWrapperWebpackPlugin } from "@lynx-js/runtime-wrapper-webpack-pl
7
7
  import { LynxEncodePlugin, LynxTemplatePlugin, WebEncodePlugin } from "@lynx-js/template-webpack-plugin";
8
8
  import { ReactRefreshRspackPlugin, ReactRefreshWebpackPlugin } from "@lynx-js/react-refresh-webpack-plugin";
9
9
  var __webpack_modules__ = {
10
- "../../../node_modules/.pnpm/typia@9.7.1_typescript@5.9.2/node_modules/typia/lib/internal/_accessExpressionAsString.js": function(__unused_webpack_module, exports) {
10
+ "../../../node_modules/.pnpm/typia@9.7.2_typescript@5.9.2/node_modules/typia/lib/internal/_accessExpressionAsString.js": function(__unused_webpack_module, exports) {
11
11
  exports._accessExpressionAsString = void 0;
12
12
  const _accessExpressionAsString = (str)=>variable(str) ? `.${str}` : `[${JSON.stringify(str)}]`;
13
13
  exports._accessExpressionAsString = _accessExpressionAsString;
@@ -52,9 +52,9 @@ var __webpack_modules__ = {
52
52
  "with"
53
53
  ]);
54
54
  },
55
- "../../../node_modules/.pnpm/typia@9.7.1_typescript@5.9.2/node_modules/typia/lib/internal/_assertGuard.js": function(__unused_webpack_module, exports, __webpack_require__) {
55
+ "../../../node_modules/.pnpm/typia@9.7.2_typescript@5.9.2/node_modules/typia/lib/internal/_assertGuard.js": function(__unused_webpack_module, exports, __webpack_require__) {
56
56
  exports._assertGuard = void 0;
57
- const TypeGuardError_1 = __webpack_require__("../../../node_modules/.pnpm/typia@9.7.1_typescript@5.9.2/node_modules/typia/lib/TypeGuardError.mjs");
57
+ const TypeGuardError_1 = __webpack_require__("../../../node_modules/.pnpm/typia@9.7.2_typescript@5.9.2/node_modules/typia/lib/TypeGuardError.mjs");
58
58
  const _assertGuard = (exceptionable, props, factory)=>{
59
59
  if (true === exceptionable) if (factory) throw factory(props);
60
60
  else throw new TypeGuardError_1.TypeGuardError(props);
@@ -71,7 +71,7 @@ var __webpack_modules__ = {
71
71
  "node:url": function(module) {
72
72
  module.exports = __WEBPACK_EXTERNAL_MODULE_node_url_e96de089__;
73
73
  },
74
- "../../../node_modules/.pnpm/typia@9.7.1_typescript@5.9.2/node_modules/typia/lib/TypeGuardError.mjs": function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
74
+ "../../../node_modules/.pnpm/typia@9.7.2_typescript@5.9.2/node_modules/typia/lib/TypeGuardError.mjs": function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
75
75
  __webpack_require__.r(__webpack_exports__);
76
76
  __webpack_require__.d(__webpack_exports__, {
77
77
  TypeGuardError: ()=>TypeGuardError
@@ -81,6 +81,7 @@ var __webpack_modules__ = {
81
81
  path;
82
82
  expected;
83
83
  value;
84
+ description;
84
85
  fake_expected_typed_value_;
85
86
  constructor(props){
86
87
  super(props.message || `Error on ${props.method}(): invalid type${props.path ? ` on ${props.path}` : ""}, expect to be ${props.expected}`);
@@ -91,6 +92,11 @@ var __webpack_modules__ = {
91
92
  this.path = props.path;
92
93
  this.expected = props.expected;
93
94
  this.value = props.value;
95
+ if (props.description || void 0 === props.value) this.description = props.description ?? [
96
+ "The value at this path is `undefined`.",
97
+ "",
98
+ `Please fill the \`${props.expected}\` typed value next time.`
99
+ ].join("\n");
94
100
  }
95
101
  }
96
102
  }
@@ -139,7 +145,7 @@ __webpack_require__.m = __webpack_modules__;
139
145
  })();
140
146
  (()=>{
141
147
  var installedChunks = {
142
- 980: 0
148
+ 410: 0
143
149
  };
144
150
  var installChunk = (data)=>{
145
151
  var __webpack_ids__ = data.__webpack_ids__;
@@ -183,7 +189,7 @@ const ALIAS_BACKGROUND_ONLY_BACKGROUND = 'react:alias-background-only-background
183
189
  function applyBackgroundOnly(api) {
184
190
  api.modifyBundlerChain(async (chain)=>{
185
191
  const __dirname = external_node_path_["default"].dirname((0, external_node_url_.fileURLToPath)(import.meta.url));
186
- const { resolve, resolveMainThread } = await __webpack_require__.e("860").then(__webpack_require__.bind(__webpack_require__, "./src/resolve.ts"));
192
+ const { resolve, resolveMainThread } = await __webpack_require__.e("856").then(__webpack_require__.bind(__webpack_require__, "./src/resolve.ts"));
187
193
  const [backgroundOnly, backgroundOnlyMainThread] = await Promise.all([
188
194
  resolve('background-only'),
189
195
  resolveMainThread('background-only')
@@ -203,7 +209,7 @@ function applyCSS(api, options) {
203
209
  }
204
210
  }));
205
211
  const __dirname = external_node_path_["default"].dirname((0, external_node_url_.fileURLToPath)(import.meta.url));
206
- api.modifyBundlerChain(async function(chain, { CHAIN_ID, environment }) {
212
+ api.modifyBundlerChain(async function(chain, { CHAIN_ID }) {
207
213
  const { CssExtractRspackPlugin, CssExtractWebpackPlugin } = await import("@lynx-js/css-extract-webpack-plugin");
208
214
  const CssExtractPlugin = 'rspack' === api.context.bundlerType ? CssExtractRspackPlugin : CssExtractWebpackPlugin;
209
215
  const cssRules = [
@@ -232,7 +238,7 @@ function applyCSS(api, options) {
232
238
  removeLightningCSS(rule);
233
239
  });
234
240
  function removeLightningCSS(rule) {
235
- if (rule.uses.has(CHAIN_ID.USE.LIGHTNINGCSS) && 'lynx' === environment.name) rule.uses.delete(CHAIN_ID.USE.LIGHTNINGCSS);
241
+ if (rule.uses.has(CHAIN_ID.USE.LIGHTNINGCSS)) rule.uses.delete(CHAIN_ID.USE.LIGHTNINGCSS);
236
242
  }
237
243
  chain.plugin(CHAIN_ID.PLUGIN.MINI_CSS_EXTRACT).tap(([options])=>[
238
244
  {
@@ -278,9 +284,9 @@ const DEFAULT_DIST_PATH_INTERMEDIATE = '.rspeedy';
278
284
  const DEFAULT_FILENAME_HASH = '.[contenthash:8]';
279
285
  const EMPTY_HASH = '';
280
286
  function applyEntry(api, options) {
281
- const { compat, customCSSInheritanceList, debugInfoOutside, defaultDisplayLinear, enableAccessibilityElement, enableICU, enableCSSInheritance, enableCSSInvalidation, enableCSSSelector, enableNewGesture, enableParallelElement, enableRemoveCSSScope, firstScreenSyncTiming, enableSSR, pipelineSchedulerConfig, removeDescendantSelectorScope, targetSdkVersion, extractStr: originalExtractStr, experimental_isLazyBundle } = options;
287
+ const { compat, customCSSInheritanceList, debugInfoOutside, defaultDisplayLinear, enableAccessibilityElement, enableCSSInheritance, enableCSSInvalidation, enableCSSSelector, enableNewGesture, enableRemoveCSSScope, firstScreenSyncTiming, enableSSR, removeDescendantSelectorScope, targetSdkVersion, extractStr: originalExtractStr, experimental_isLazyBundle } = options;
282
288
  const { config, logger } = api.useExposed(Symbol.for('rspeedy.api'));
283
- api.modifyBundlerChain((chain, { environment, isDev, isProd })=>{
289
+ api.modifyBundlerChain(async (chain, { environment, isDev, isProd })=>{
284
290
  const entries = chain.entryPoints.entries() ?? {};
285
291
  const isLynx = 'lynx' === environment.name;
286
292
  const isWeb = 'web' === environment.name;
@@ -333,14 +339,11 @@ function applyEntry(api, options) {
333
339
  defaultDisplayLinear,
334
340
  enableA11y: true,
335
341
  enableAccessibilityElement,
336
- enableICU,
337
342
  enableCSSInheritance,
338
343
  enableCSSInvalidation,
339
344
  enableCSSSelector,
340
345
  enableNewGesture,
341
- enableParallelElement,
342
346
  enableRemoveCSSScope: enableRemoveCSSScope ?? true,
343
- pipelineSchedulerConfig,
344
347
  removeDescendantSelectorScope,
345
348
  targetSdkVersion,
346
349
  experimental_isLazyBundle,
@@ -384,6 +387,7 @@ function applyEntry(api, options) {
384
387
  logger.warn('`extractStr` is changed to `false` because it is only supported in `all-in-one` chunkSplit strategy, please set `performance.chunkSplit.strategy` to `all-in-one` to use `extractStr.`');
385
388
  extractStr = false;
386
389
  }
390
+ const { resolve } = api.useExposed(Symbol.for('@lynx-js/react/internal:resolve'));
387
391
  chain.plugin(PLUGIN_NAME_REACT).after(PLUGIN_NAME_TEMPLATE).use(ReactWebpackPlugin, [
388
392
  {
389
393
  disableCreateSelectorQueryIncompatibleWarning: compat?.disableCreateSelectorQueryIncompatibleWarning ?? false,
@@ -392,7 +396,8 @@ function applyEntry(api, options) {
392
396
  mainThreadChunks,
393
397
  extractStr,
394
398
  experimental_isLazyBundle,
395
- profile: getDefaultProfile()
399
+ profile: getDefaultProfile(),
400
+ workletRuntimePath: await resolve(`@lynx-js/react/${isDev ? 'worklet-dev-runtime' : 'worklet-runtime'}`)
396
401
  }
397
402
  ]);
398
403
  function getDefaultProfile() {
@@ -554,8 +559,7 @@ const applySplitChunksRule = (api)=>{
554
559
  }
555
560
  });
556
561
  });
557
- api.modifyRspackConfig((rspackConfig, { environment })=>{
558
- if ('lynx' !== environment.name) return rspackConfig;
562
+ api.modifyRspackConfig((rspackConfig)=>{
559
563
  if (!rspackConfig.optimization) return rspackConfig;
560
564
  if (!rspackConfig.optimization.splitChunks) return rspackConfig;
561
565
  rspackConfig.optimization.splitChunks.chunks = function(chunk) {
@@ -587,7 +591,7 @@ function applySWC(api) {
587
591
  }
588
592
  function applyUseSyncExternalStore(api) {
589
593
  api.modifyBundlerChain(async (chain)=>{
590
- const { resolve } = await __webpack_require__.e("860").then(__webpack_require__.bind(__webpack_require__, "./src/resolve.ts"));
594
+ const { resolve } = await __webpack_require__.e("856").then(__webpack_require__.bind(__webpack_require__, "./src/resolve.ts"));
591
595
  const useSyncExternalStoreEntries = [
592
596
  'use-sync-external-store',
593
597
  'use-sync-external-store/with-selector',
@@ -599,26 +603,23 @@ function applyUseSyncExternalStore(api) {
599
603
  })));
600
604
  });
601
605
  }
602
- var _accessExpressionAsString = __webpack_require__("../../../node_modules/.pnpm/typia@9.7.1_typescript@5.9.2/node_modules/typia/lib/internal/_accessExpressionAsString.js");
603
- var _assertGuard = __webpack_require__("../../../node_modules/.pnpm/typia@9.7.1_typescript@5.9.2/node_modules/typia/lib/internal/_assertGuard.js");
606
+ var _accessExpressionAsString = __webpack_require__("../../../node_modules/.pnpm/typia@9.7.2_typescript@5.9.2/node_modules/typia/lib/internal/_accessExpressionAsString.js");
607
+ var _assertGuard = __webpack_require__("../../../node_modules/.pnpm/typia@9.7.2_typescript@5.9.2/node_modules/typia/lib/internal/_assertGuard.js");
604
608
  const validateConfig = (()=>{
605
- const _io0 = (input, _exceptionable = true)=>(void 0 === input.compat || "object" == typeof input.compat && null !== input.compat && false === Array.isArray(input.compat) && _io1(input.compat, _exceptionable)) && (void 0 === input.customCSSInheritanceList || Array.isArray(input.customCSSInheritanceList) && input.customCSSInheritanceList.every((elem, _index1)=>"string" == typeof elem)) && (void 0 === input.debugInfoOutside || "boolean" == typeof input.debugInfoOutside) && (void 0 === input.defaultDisplayLinear || "boolean" == typeof input.defaultDisplayLinear) && (void 0 === input.enableAccessibilityElement || "boolean" == typeof input.enableAccessibilityElement) && (void 0 === input.enableICU || "boolean" == typeof input.enableICU) && (void 0 === input.enableCSSInheritance || "boolean" == typeof input.enableCSSInheritance) && (void 0 === input.enableCSSInvalidation || "boolean" == typeof input.enableCSSInvalidation) && (void 0 === input.enableCSSSelector || "boolean" == typeof input.enableCSSSelector) && (void 0 === input.enableNewGesture || "boolean" == typeof input.enableNewGesture) && (void 0 === input.enableParallelElement || "boolean" == typeof input.enableParallelElement) && (void 0 === input.enableRemoveCSSScope || "boolean" == typeof input.enableRemoveCSSScope) && (void 0 === input.firstScreenSyncTiming || "immediately" === input.firstScreenSyncTiming || "jsReady" === input.firstScreenSyncTiming) && (void 0 === input.enableSSR || "boolean" == typeof input.enableSSR) && (void 0 === input.pipelineSchedulerConfig || "number" == typeof input.pipelineSchedulerConfig) && (void 0 === input.removeDescendantSelectorScope || "boolean" == typeof input.removeDescendantSelectorScope) && (void 0 === input.shake || "object" == typeof input.shake && null !== input.shake && false === Array.isArray(input.shake) && _io4(input.shake, _exceptionable)) && (void 0 === input.defineDCE || "object" == typeof input.defineDCE && null !== input.defineDCE && false === Array.isArray(input.defineDCE) && _io5(input.defineDCE, _exceptionable)) && (void 0 === input.engineVersion || "string" == typeof input.engineVersion) && (void 0 === input.targetSdkVersion || "string" == typeof input.targetSdkVersion) && null !== input.extractStr && (void 0 === input.extractStr || "boolean" == typeof input.extractStr || "object" == typeof input.extractStr && null !== input.extractStr && false === Array.isArray(input.extractStr) && _io7(input.extractStr, _exceptionable)) && (void 0 === input.experimental_isLazyBundle || "boolean" == typeof input.experimental_isLazyBundle) && (0 === Object.keys(input).length || Object.keys(input).every((key)=>{
609
+ const _io0 = (input, _exceptionable = true)=>(void 0 === input.compat || "object" == typeof input.compat && null !== input.compat && false === Array.isArray(input.compat) && _io1(input.compat, _exceptionable)) && (void 0 === input.customCSSInheritanceList || Array.isArray(input.customCSSInheritanceList) && input.customCSSInheritanceList.every((elem, _index1)=>"string" == typeof elem)) && (void 0 === input.debugInfoOutside || "boolean" == typeof input.debugInfoOutside) && (void 0 === input.defaultDisplayLinear || "boolean" == typeof input.defaultDisplayLinear) && (void 0 === input.enableAccessibilityElement || "boolean" == typeof input.enableAccessibilityElement) && (void 0 === input.enableCSSInheritance || "boolean" == typeof input.enableCSSInheritance) && (void 0 === input.enableCSSInvalidation || "boolean" == typeof input.enableCSSInvalidation) && (void 0 === input.enableCSSSelector || "boolean" == typeof input.enableCSSSelector) && (void 0 === input.enableNewGesture || "boolean" == typeof input.enableNewGesture) && (void 0 === input.enableRemoveCSSScope || "boolean" == typeof input.enableRemoveCSSScope) && (void 0 === input.firstScreenSyncTiming || "immediately" === input.firstScreenSyncTiming || "jsReady" === input.firstScreenSyncTiming) && (void 0 === input.enableSSR || "boolean" == typeof input.enableSSR) && (void 0 === input.removeDescendantSelectorScope || "boolean" == typeof input.removeDescendantSelectorScope) && (void 0 === input.shake || "object" == typeof input.shake && null !== input.shake && false === Array.isArray(input.shake) && _io4(input.shake, _exceptionable)) && (void 0 === input.defineDCE || "object" == typeof input.defineDCE && null !== input.defineDCE && false === Array.isArray(input.defineDCE) && _io5(input.defineDCE, _exceptionable)) && (void 0 === input.engineVersion || "string" == typeof input.engineVersion) && (void 0 === input.targetSdkVersion || "string" == typeof input.targetSdkVersion) && null !== input.extractStr && (void 0 === input.extractStr || "boolean" == typeof input.extractStr || "object" == typeof input.extractStr && null !== input.extractStr && false === Array.isArray(input.extractStr) && _io7(input.extractStr, _exceptionable)) && (void 0 === input.experimental_isLazyBundle || "boolean" == typeof input.experimental_isLazyBundle) && (0 === Object.keys(input).length || Object.keys(input).every((key)=>{
606
610
  if ([
607
611
  "compat",
608
612
  "customCSSInheritanceList",
609
613
  "debugInfoOutside",
610
614
  "defaultDisplayLinear",
611
615
  "enableAccessibilityElement",
612
- "enableICU",
613
616
  "enableCSSInheritance",
614
617
  "enableCSSInvalidation",
615
618
  "enableCSSSelector",
616
619
  "enableNewGesture",
617
- "enableParallelElement",
618
620
  "enableRemoveCSSScope",
619
621
  "firstScreenSyncTiming",
620
622
  "enableSSR",
621
- "pipelineSchedulerConfig",
622
623
  "removeDescendantSelectorScope",
623
624
  "shake",
624
625
  "defineDCE",
@@ -735,11 +736,6 @@ const validateConfig = (()=>{
735
736
  path: _path + ".enableAccessibilityElement",
736
737
  expected: "(boolean | undefined)",
737
738
  value: input.enableAccessibilityElement
738
- }, _errorFactory)) && (void 0 === input.enableICU || "boolean" == typeof input.enableICU || _assertGuard._assertGuard(_exceptionable, {
739
- method: "typia.createAssertEquals",
740
- path: _path + ".enableICU",
741
- expected: "(boolean | undefined)",
742
- value: input.enableICU
743
739
  }, _errorFactory)) && (void 0 === input.enableCSSInheritance || "boolean" == typeof input.enableCSSInheritance || _assertGuard._assertGuard(_exceptionable, {
744
740
  method: "typia.createAssertEquals",
745
741
  path: _path + ".enableCSSInheritance",
@@ -760,11 +756,6 @@ const validateConfig = (()=>{
760
756
  path: _path + ".enableNewGesture",
761
757
  expected: "(boolean | undefined)",
762
758
  value: input.enableNewGesture
763
- }, _errorFactory)) && (void 0 === input.enableParallelElement || "boolean" == typeof input.enableParallelElement || _assertGuard._assertGuard(_exceptionable, {
764
- method: "typia.createAssertEquals",
765
- path: _path + ".enableParallelElement",
766
- expected: "(boolean | undefined)",
767
- value: input.enableParallelElement
768
759
  }, _errorFactory)) && (void 0 === input.enableRemoveCSSScope || "boolean" == typeof input.enableRemoveCSSScope || _assertGuard._assertGuard(_exceptionable, {
769
760
  method: "typia.createAssertEquals",
770
761
  path: _path + ".enableRemoveCSSScope",
@@ -780,11 +771,6 @@ const validateConfig = (()=>{
780
771
  path: _path + ".enableSSR",
781
772
  expected: "(boolean | undefined)",
782
773
  value: input.enableSSR
783
- }, _errorFactory)) && (void 0 === input.pipelineSchedulerConfig || "number" == typeof input.pipelineSchedulerConfig || _assertGuard._assertGuard(_exceptionable, {
784
- method: "typia.createAssertEquals",
785
- path: _path + ".pipelineSchedulerConfig",
786
- expected: "(number | undefined)",
787
- value: input.pipelineSchedulerConfig
788
774
  }, _errorFactory)) && (void 0 === input.removeDescendantSelectorScope || "boolean" == typeof input.removeDescendantSelectorScope || _assertGuard._assertGuard(_exceptionable, {
789
775
  method: "typia.createAssertEquals",
790
776
  path: _path + ".removeDescendantSelectorScope",
@@ -847,16 +833,13 @@ const validateConfig = (()=>{
847
833
  "debugInfoOutside",
848
834
  "defaultDisplayLinear",
849
835
  "enableAccessibilityElement",
850
- "enableICU",
851
836
  "enableCSSInheritance",
852
837
  "enableCSSInvalidation",
853
838
  "enableCSSSelector",
854
839
  "enableNewGesture",
855
- "enableParallelElement",
856
840
  "enableRemoveCSSScope",
857
841
  "firstScreenSyncTiming",
858
842
  "enableSSR",
859
- "pipelineSchedulerConfig",
860
843
  "removeDescendantSelectorScope",
861
844
  "shake",
862
845
  "defineDCE",
@@ -1186,16 +1169,13 @@ function pluginReactLynx(userOptions) {
1186
1169
  debugInfoOutside: true,
1187
1170
  defaultDisplayLinear: true,
1188
1171
  enableAccessibilityElement: false,
1189
- enableICU: false,
1190
1172
  enableCSSInheritance: false,
1191
1173
  enableCSSInvalidation: true,
1192
1174
  enableCSSSelector: true,
1193
1175
  enableNewGesture: false,
1194
- enableParallelElement: true,
1195
1176
  enableRemoveCSSScope: true,
1196
1177
  firstScreenSyncTiming: 'immediately',
1197
1178
  enableSSR: false,
1198
- pipelineSchedulerConfig: 0x00010000,
1199
1179
  removeDescendantSelectorScope: true,
1200
1180
  shake: void 0,
1201
1181
  defineDCE: void 0,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lynx-js/react-rsbuild-plugin",
3
- "version": "0.10.13",
3
+ "version": "0.11.0",
4
4
  "description": "A rsbuild plugin for ReactLynx",
5
5
  "keywords": [
6
6
  "rsbuild",
@@ -32,34 +32,34 @@
32
32
  "README.md"
33
33
  ],
34
34
  "dependencies": {
35
- "@lynx-js/css-extract-webpack-plugin": "0.6.2",
36
- "@lynx-js/react-alias-rsbuild-plugin": "0.10.13",
35
+ "@lynx-js/css-extract-webpack-plugin": "0.6.3",
36
+ "@lynx-js/react-alias-rsbuild-plugin": "0.11.0",
37
37
  "@lynx-js/react-refresh-webpack-plugin": "0.3.4",
38
- "@lynx-js/react-webpack-plugin": "0.6.20",
38
+ "@lynx-js/react-webpack-plugin": "0.7.1",
39
39
  "@lynx-js/runtime-wrapper-webpack-plugin": "0.1.3",
40
- "@lynx-js/template-webpack-plugin": "0.8.5",
40
+ "@lynx-js/template-webpack-plugin": "0.9.0",
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.52.11",
45
+ "@microsoft/api-extractor": "7.52.13",
46
46
  "@rollup/plugin-typescript": "^12.1.4",
47
- "@rsbuild/core": "1.4.15",
48
- "@rsbuild/plugin-sass": "1.3.5",
49
- "@rsbuild/plugin-typed-css-modules": "1.0.3",
47
+ "@rsbuild/core": "1.5.4",
48
+ "@rsbuild/plugin-sass": "1.4.0",
49
+ "@rsbuild/plugin-typed-css-modules": "1.1.0",
50
50
  "rsbuild-plugin-arethetypeswrong": "0.1.1",
51
51
  "rsbuild-plugin-publint": "0.3.3",
52
52
  "tailwindcss": "^3.4.17",
53
53
  "type-fest": "^4.41.0",
54
- "typia": "9.7.1",
55
- "typia-rspack-plugin": "2.2.1",
56
- "@lynx-js/react": "0.112.4",
54
+ "typia": "9.7.2",
55
+ "typia-rspack-plugin": "2.2.2",
56
+ "@lynx-js/react": "0.114.0",
57
57
  "@lynx-js/react-transform": "0.2.0",
58
- "@lynx-js/rspeedy": "0.10.8",
58
+ "@lynx-js/rspeedy": "0.11.3",
59
59
  "@lynx-js/vitest-setup": "0.0.0"
60
60
  },
61
61
  "peerDependencies": {
62
- "@lynx-js/react": "^0.103.0 || ^0.104.0 || ^0.105.0 || ^0.106.0 || ^0.107.0 || ^0.108.0 || ^0.109.0 || ^0.110.0 || ^0.111.0 || ^0.112.0"
62
+ "@lynx-js/react": "^0.103.0 || ^0.104.0 || ^0.105.0 || ^0.106.0 || ^0.107.0 || ^0.108.0 || ^0.109.0 || ^0.110.0 || ^0.111.0 || ^0.112.0 || ^0.113.0 || ^0.114.0"
63
63
  },
64
64
  "peerDependenciesMeta": {
65
65
  "@lynx-js/react": {