@lynx-js/react-rsbuild-plugin-canary 0.11.0-canary-20250919-f0d7ee43 → 0.11.0-canary-20250921-d0ef559f

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,6 +1,6 @@
1
1
  # @lynx-js/react-rsbuild-plugin
2
2
 
3
- ## 0.11.0-canary-20250919142722-f0d7ee43a15d7e3c33437f4baa29fc6a8def9184
3
+ ## 0.11.0-canary-20250921062143-d0ef559fac383634437880681855923968b4fa65
4
4
 
5
5
  ### Minor Changes
6
6
 
@@ -8,16 +8,18 @@
8
8
 
9
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
10
 
11
+ - **BREAKING CHANGE**: Remove the `enableICU` option. ([#1800](https://github.com/lynx-family/lynx-stack/pull/1800))
12
+
11
13
  ### Patch Changes
12
14
 
13
15
  - Be compat with `@lynx-js/react` v0.114.0 ([#1781](https://github.com/lynx-family/lynx-stack/pull/1781))
14
16
 
15
- - Updated dependencies [[`24100ab`](https://github.com/lynx-family/lynx-stack/commit/24100ab63302f8f2bc10578c70ac5cceeffe312a), [`a84376f`](https://github.com/lynx-family/lynx-stack/commit/a84376fcea469cae20c98e4cf824424cf55486e4), [`9c8321c`](https://github.com/lynx-family/lynx-stack/commit/9c8321cbe6550bb41ecd8321d79ab86b5ac2814b), [`24100ab`](https://github.com/lynx-family/lynx-stack/commit/24100ab63302f8f2bc10578c70ac5cceeffe312a), [`8b741a0`](https://github.com/lynx-family/lynx-stack/commit/8b741a09dac5218ad921dbbe2b33d1aaebff6141), [`f09e0aa`](https://github.com/lynx-family/lynx-stack/commit/f09e0aac48d5dd890d8e94c41536d6b721a968d6), [`7f46fdc`](https://github.com/lynx-family/lynx-stack/commit/7f46fdcb53b66adcd0bd74c05fda8eef00fd10e4)]:
16
- - @lynx-js/template-webpack-plugin@0.9.0-canary-20250919142722-f0d7ee43a15d7e3c33437f4baa29fc6a8def9184
17
- - @lynx-js/react@0.114.0-canary-20250919142722-f0d7ee43a15d7e3c33437f4baa29fc6a8def9184
18
- - @lynx-js/react-webpack-plugin@0.7.1-canary-20250919142722-f0d7ee43a15d7e3c33437f4baa29fc6a8def9184
19
- - @lynx-js/css-extract-webpack-plugin@0.6.3-canary-20250919142722-f0d7ee43a15d7e3c33437f4baa29fc6a8def9184
20
- - @lynx-js/react-alias-rsbuild-plugin@0.11.0-canary-20250919142722-f0d7ee43a15d7e3c33437f4baa29fc6a8def9184
17
+ - Updated dependencies [[`24100ab`](https://github.com/lynx-family/lynx-stack/commit/24100ab63302f8f2bc10578c70ac5cceeffe312a), [`a84376f`](https://github.com/lynx-family/lynx-stack/commit/a84376fcea469cae20c98e4cf824424cf55486e4), [`9c8321c`](https://github.com/lynx-family/lynx-stack/commit/9c8321cbe6550bb41ecd8321d79ab86b5ac2814b), [`24100ab`](https://github.com/lynx-family/lynx-stack/commit/24100ab63302f8f2bc10578c70ac5cceeffe312a), [`8b741a0`](https://github.com/lynx-family/lynx-stack/commit/8b741a09dac5218ad921dbbe2b33d1aaebff6141), [`d0ef559`](https://github.com/lynx-family/lynx-stack/commit/d0ef559fac383634437880681855923968b4fa65), [`f09e0aa`](https://github.com/lynx-family/lynx-stack/commit/f09e0aac48d5dd890d8e94c41536d6b721a968d6), [`7f46fdc`](https://github.com/lynx-family/lynx-stack/commit/7f46fdcb53b66adcd0bd74c05fda8eef00fd10e4)]:
18
+ - @lynx-js/template-webpack-plugin@0.9.0-canary-20250921062143-d0ef559fac383634437880681855923968b4fa65
19
+ - @lynx-js/react@0.114.0-canary-20250921062143-d0ef559fac383634437880681855923968b4fa65
20
+ - @lynx-js/react-webpack-plugin@0.7.1-canary-20250921062143-d0ef559fac383634437880681855923968b4fa65
21
+ - @lynx-js/css-extract-webpack-plugin@0.6.3-canary-20250921062143-d0ef559fac383634437880681855923968b4fa65
22
+ - @lynx-js/react-alias-rsbuild-plugin@0.11.0-canary-20250921062143-d0ef559fac383634437880681855923968b4fa65
21
23
  - @lynx-js/use-sync-external-store@1.5.0
22
24
  - @lynx-js/react-refresh-webpack-plugin@0.3.4
23
25
 
package/dist/index.d.ts CHANGED
@@ -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
  *
package/dist/index.js CHANGED
@@ -284,7 +284,7 @@ const DEFAULT_DIST_PATH_INTERMEDIATE = '.rspeedy';
284
284
  const DEFAULT_FILENAME_HASH = '.[contenthash:8]';
285
285
  const EMPTY_HASH = '';
286
286
  function applyEntry(api, options) {
287
- const { compat, customCSSInheritanceList, debugInfoOutside, defaultDisplayLinear, enableAccessibilityElement, enableICU, enableCSSInheritance, enableCSSInvalidation, enableCSSSelector, enableNewGesture, enableRemoveCSSScope, firstScreenSyncTiming, enableSSR, 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;
288
288
  const { config, logger } = api.useExposed(Symbol.for('rspeedy.api'));
289
289
  api.modifyBundlerChain(async (chain, { environment, isDev, isProd })=>{
290
290
  const entries = chain.entryPoints.entries() ?? {};
@@ -339,7 +339,6 @@ function applyEntry(api, options) {
339
339
  defaultDisplayLinear,
340
340
  enableA11y: true,
341
341
  enableAccessibilityElement,
342
- enableICU,
343
342
  enableCSSInheritance,
344
343
  enableCSSInvalidation,
345
344
  enableCSSSelector,
@@ -607,14 +606,13 @@ function applyUseSyncExternalStore(api) {
607
606
  var _accessExpressionAsString = __webpack_require__("../../../node_modules/.pnpm/typia@9.7.2_typescript@5.9.2/node_modules/typia/lib/internal/_accessExpressionAsString.js");
608
607
  var _assertGuard = __webpack_require__("../../../node_modules/.pnpm/typia@9.7.2_typescript@5.9.2/node_modules/typia/lib/internal/_assertGuard.js");
609
608
  const validateConfig = (()=>{
610
- 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.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)=>{
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)=>{
611
610
  if ([
612
611
  "compat",
613
612
  "customCSSInheritanceList",
614
613
  "debugInfoOutside",
615
614
  "defaultDisplayLinear",
616
615
  "enableAccessibilityElement",
617
- "enableICU",
618
616
  "enableCSSInheritance",
619
617
  "enableCSSInvalidation",
620
618
  "enableCSSSelector",
@@ -738,11 +736,6 @@ const validateConfig = (()=>{
738
736
  path: _path + ".enableAccessibilityElement",
739
737
  expected: "(boolean | undefined)",
740
738
  value: input.enableAccessibilityElement
741
- }, _errorFactory)) && (void 0 === input.enableICU || "boolean" == typeof input.enableICU || _assertGuard._assertGuard(_exceptionable, {
742
- method: "typia.createAssertEquals",
743
- path: _path + ".enableICU",
744
- expected: "(boolean | undefined)",
745
- value: input.enableICU
746
739
  }, _errorFactory)) && (void 0 === input.enableCSSInheritance || "boolean" == typeof input.enableCSSInheritance || _assertGuard._assertGuard(_exceptionable, {
747
740
  method: "typia.createAssertEquals",
748
741
  path: _path + ".enableCSSInheritance",
@@ -840,7 +833,6 @@ const validateConfig = (()=>{
840
833
  "debugInfoOutside",
841
834
  "defaultDisplayLinear",
842
835
  "enableAccessibilityElement",
843
- "enableICU",
844
836
  "enableCSSInheritance",
845
837
  "enableCSSInvalidation",
846
838
  "enableCSSSelector",
@@ -1177,7 +1169,6 @@ function pluginReactLynx(userOptions) {
1177
1169
  debugInfoOutside: true,
1178
1170
  defaultDisplayLinear: true,
1179
1171
  enableAccessibilityElement: false,
1180
- enableICU: false,
1181
1172
  enableCSSInheritance: false,
1182
1173
  enableCSSInvalidation: true,
1183
1174
  enableCSSSelector: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lynx-js/react-rsbuild-plugin-canary",
3
- "version": "0.11.0-canary-20250919-f0d7ee43",
3
+ "version": "0.11.0-canary-20250921-d0ef559f",
4
4
  "description": "A rsbuild plugin for ReactLynx",
5
5
  "keywords": [
6
6
  "rsbuild",
@@ -32,12 +32,12 @@
32
32
  "README.md"
33
33
  ],
34
34
  "dependencies": {
35
- "@lynx-js/css-extract-webpack-plugin": "npm:@lynx-js/css-extract-webpack-plugin-canary@0.6.3-canary-20250919-f0d7ee43",
36
- "@lynx-js/react-alias-rsbuild-plugin": "npm:@lynx-js/react-alias-rsbuild-plugin-canary@0.11.0-canary-20250919-f0d7ee43",
35
+ "@lynx-js/css-extract-webpack-plugin": "npm:@lynx-js/css-extract-webpack-plugin-canary@0.6.3-canary-20250921-d0ef559f",
36
+ "@lynx-js/react-alias-rsbuild-plugin": "npm:@lynx-js/react-alias-rsbuild-plugin-canary@0.11.0-canary-20250921-d0ef559f",
37
37
  "@lynx-js/react-refresh-webpack-plugin": "npm:@lynx-js/react-refresh-webpack-plugin-canary@0.3.4",
38
- "@lynx-js/react-webpack-plugin": "npm:@lynx-js/react-webpack-plugin-canary@0.7.1-canary-20250919-f0d7ee43",
38
+ "@lynx-js/react-webpack-plugin": "npm:@lynx-js/react-webpack-plugin-canary@0.7.1-canary-20250921-d0ef559f",
39
39
  "@lynx-js/runtime-wrapper-webpack-plugin": "npm:@lynx-js/runtime-wrapper-webpack-plugin-canary@0.1.3",
40
- "@lynx-js/template-webpack-plugin": "npm:@lynx-js/template-webpack-plugin-canary@0.9.0-canary-20250919-f0d7ee43",
40
+ "@lynx-js/template-webpack-plugin": "npm:@lynx-js/template-webpack-plugin-canary@0.9.0-canary-20250921-d0ef559f",
41
41
  "@lynx-js/use-sync-external-store": "npm:@lynx-js/use-sync-external-store-canary@1.5.0",
42
42
  "background-only": "npm:background-only-canary@0.0.1"
43
43
  },
@@ -53,9 +53,9 @@
53
53
  "type-fest": "^4.41.0",
54
54
  "typia": "9.7.2",
55
55
  "typia-rspack-plugin": "2.2.2",
56
- "@lynx-js/react": "npm:@lynx-js/react-canary@0.114.0-canary-20250919-f0d7ee43",
56
+ "@lynx-js/react": "npm:@lynx-js/react-canary@0.114.0-canary-20250921-d0ef559f",
57
57
  "@lynx-js/react-transform": "0.2.0",
58
- "@lynx-js/rspeedy": "npm:@lynx-js/rspeedy-canary@0.11.3-canary-20250919-f0d7ee43",
58
+ "@lynx-js/rspeedy": "npm:@lynx-js/rspeedy-canary@0.11.3-canary-20250921-d0ef559f",
59
59
  "@lynx-js/vitest-setup": "0.0.0"
60
60
  },
61
61
  "peerDependencies": {