@lynx-js/react-rsbuild-plugin-canary 0.10.14-canary-20250915-88622967 → 0.11.0-canary-20250918-7cb4d973
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 +26 -6
- package/dist/index.d.ts +0 -32
- package/dist/index.js +2 -20
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,27 @@
|
|
|
1
1
|
# @lynx-js/react-rsbuild-plugin
|
|
2
2
|
|
|
3
|
-
## 0.
|
|
3
|
+
## 0.11.0-canary-20250918133146-7cb4d97315f56c5b4f0c5079e987dae1d509c37c
|
|
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
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Be compat with `@lynx-js/react` v0.114.0 ([#1781](https://github.com/lynx-family/lynx-stack/pull/1781))
|
|
14
|
+
|
|
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-20250918133146-7cb4d97315f56c5b4f0c5079e987dae1d509c37c
|
|
17
|
+
- @lynx-js/react@0.114.0-canary-20250918133146-7cb4d97315f56c5b4f0c5079e987dae1d509c37c
|
|
18
|
+
- @lynx-js/react-webpack-plugin@0.7.1-canary-20250918133146-7cb4d97315f56c5b4f0c5079e987dae1d509c37c
|
|
19
|
+
- @lynx-js/css-extract-webpack-plugin@0.6.3-canary-20250918133146-7cb4d97315f56c5b4f0c5079e987dae1d509c37c
|
|
20
|
+
- @lynx-js/react-alias-rsbuild-plugin@0.11.0-canary-20250918133146-7cb4d97315f56c5b4f0c5079e987dae1d509c37c
|
|
21
|
+
- @lynx-js/use-sync-external-store@1.5.0
|
|
22
|
+
- @lynx-js/react-refresh-webpack-plugin@0.3.4
|
|
23
|
+
|
|
24
|
+
## 0.10.14
|
|
4
25
|
|
|
5
26
|
### Patch Changes
|
|
6
27
|
|
|
@@ -10,11 +31,10 @@
|
|
|
10
31
|
|
|
11
32
|
- Disable `builtin:lightningcss-loader` for `environments.web`. ([#1732](https://github.com/lynx-family/lynx-stack/pull/1732))
|
|
12
33
|
|
|
13
|
-
- Updated dependencies [[`5ad38e6`](https://github.com/lynx-family/lynx-stack/commit/5ad38e6b3970a537f13d7f4caf0d765d16b6b322), [`
|
|
14
|
-
- @lynx-js/template-webpack-plugin@0.8.6
|
|
15
|
-
- @lynx-js/react@0.
|
|
16
|
-
- @lynx-js/react-
|
|
17
|
-
- @lynx-js/react-alias-rsbuild-plugin@0.10.14-canary-20250915100348-88622967b345f73ee8ed15aa3a89c39e1ae47f5d
|
|
34
|
+
- 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)]:
|
|
35
|
+
- @lynx-js/template-webpack-plugin@0.8.6
|
|
36
|
+
- @lynx-js/react-webpack-plugin@0.7.0
|
|
37
|
+
- @lynx-js/react-alias-rsbuild-plugin@0.10.14
|
|
18
38
|
- @lynx-js/css-extract-webpack-plugin@0.6.2
|
|
19
39
|
- @lynx-js/use-sync-external-store@1.5.0
|
|
20
40
|
- @lynx-js/react-refresh-webpack-plugin@0.3.4
|
package/dist/index.d.ts
CHANGED
|
@@ -570,14 +570,6 @@ export declare interface PluginReactLynxOptions {
|
|
|
570
570
|
* @defaultValue `false`
|
|
571
571
|
*/
|
|
572
572
|
enableNewGesture?: boolean;
|
|
573
|
-
/**
|
|
574
|
-
* enableParallelElement enables Threaded Element Resolution.
|
|
575
|
-
*
|
|
576
|
-
* @defaultValue `true`
|
|
577
|
-
*
|
|
578
|
-
* @public
|
|
579
|
-
*/
|
|
580
|
-
enableParallelElement?: boolean;
|
|
581
573
|
/**
|
|
582
574
|
* enableRemoveCSSScope controls whether CSS is restrict to use in the component scope.
|
|
583
575
|
*
|
|
@@ -615,30 +607,6 @@ export declare interface PluginReactLynxOptions {
|
|
|
615
607
|
* @public
|
|
616
608
|
*/
|
|
617
609
|
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
610
|
/**
|
|
643
611
|
* removeDescendantSelectorScope is used to remove the scope of descendant selectors.
|
|
644
612
|
*/
|
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,
|
|
287
|
+
const { compat, customCSSInheritanceList, debugInfoOutside, defaultDisplayLinear, enableAccessibilityElement, enableICU, 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() ?? {};
|
|
@@ -344,9 +344,7 @@ function applyEntry(api, options) {
|
|
|
344
344
|
enableCSSInvalidation,
|
|
345
345
|
enableCSSSelector,
|
|
346
346
|
enableNewGesture,
|
|
347
|
-
enableParallelElement,
|
|
348
347
|
enableRemoveCSSScope: enableRemoveCSSScope ?? true,
|
|
349
|
-
pipelineSchedulerConfig,
|
|
350
348
|
removeDescendantSelectorScope,
|
|
351
349
|
targetSdkVersion,
|
|
352
350
|
experimental_isLazyBundle,
|
|
@@ -609,7 +607,7 @@ function applyUseSyncExternalStore(api) {
|
|
|
609
607
|
var _accessExpressionAsString = __webpack_require__("../../../node_modules/.pnpm/typia@9.7.2_typescript@5.9.2/node_modules/typia/lib/internal/_accessExpressionAsString.js");
|
|
610
608
|
var _assertGuard = __webpack_require__("../../../node_modules/.pnpm/typia@9.7.2_typescript@5.9.2/node_modules/typia/lib/internal/_assertGuard.js");
|
|
611
609
|
const validateConfig = (()=>{
|
|
612
|
-
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.
|
|
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)=>{
|
|
613
611
|
if ([
|
|
614
612
|
"compat",
|
|
615
613
|
"customCSSInheritanceList",
|
|
@@ -621,11 +619,9 @@ const validateConfig = (()=>{
|
|
|
621
619
|
"enableCSSInvalidation",
|
|
622
620
|
"enableCSSSelector",
|
|
623
621
|
"enableNewGesture",
|
|
624
|
-
"enableParallelElement",
|
|
625
622
|
"enableRemoveCSSScope",
|
|
626
623
|
"firstScreenSyncTiming",
|
|
627
624
|
"enableSSR",
|
|
628
|
-
"pipelineSchedulerConfig",
|
|
629
625
|
"removeDescendantSelectorScope",
|
|
630
626
|
"shake",
|
|
631
627
|
"defineDCE",
|
|
@@ -767,11 +763,6 @@ const validateConfig = (()=>{
|
|
|
767
763
|
path: _path + ".enableNewGesture",
|
|
768
764
|
expected: "(boolean | undefined)",
|
|
769
765
|
value: input.enableNewGesture
|
|
770
|
-
}, _errorFactory)) && (void 0 === input.enableParallelElement || "boolean" == typeof input.enableParallelElement || _assertGuard._assertGuard(_exceptionable, {
|
|
771
|
-
method: "typia.createAssertEquals",
|
|
772
|
-
path: _path + ".enableParallelElement",
|
|
773
|
-
expected: "(boolean | undefined)",
|
|
774
|
-
value: input.enableParallelElement
|
|
775
766
|
}, _errorFactory)) && (void 0 === input.enableRemoveCSSScope || "boolean" == typeof input.enableRemoveCSSScope || _assertGuard._assertGuard(_exceptionable, {
|
|
776
767
|
method: "typia.createAssertEquals",
|
|
777
768
|
path: _path + ".enableRemoveCSSScope",
|
|
@@ -787,11 +778,6 @@ const validateConfig = (()=>{
|
|
|
787
778
|
path: _path + ".enableSSR",
|
|
788
779
|
expected: "(boolean | undefined)",
|
|
789
780
|
value: input.enableSSR
|
|
790
|
-
}, _errorFactory)) && (void 0 === input.pipelineSchedulerConfig || "number" == typeof input.pipelineSchedulerConfig || _assertGuard._assertGuard(_exceptionable, {
|
|
791
|
-
method: "typia.createAssertEquals",
|
|
792
|
-
path: _path + ".pipelineSchedulerConfig",
|
|
793
|
-
expected: "(number | undefined)",
|
|
794
|
-
value: input.pipelineSchedulerConfig
|
|
795
781
|
}, _errorFactory)) && (void 0 === input.removeDescendantSelectorScope || "boolean" == typeof input.removeDescendantSelectorScope || _assertGuard._assertGuard(_exceptionable, {
|
|
796
782
|
method: "typia.createAssertEquals",
|
|
797
783
|
path: _path + ".removeDescendantSelectorScope",
|
|
@@ -859,11 +845,9 @@ const validateConfig = (()=>{
|
|
|
859
845
|
"enableCSSInvalidation",
|
|
860
846
|
"enableCSSSelector",
|
|
861
847
|
"enableNewGesture",
|
|
862
|
-
"enableParallelElement",
|
|
863
848
|
"enableRemoveCSSScope",
|
|
864
849
|
"firstScreenSyncTiming",
|
|
865
850
|
"enableSSR",
|
|
866
|
-
"pipelineSchedulerConfig",
|
|
867
851
|
"removeDescendantSelectorScope",
|
|
868
852
|
"shake",
|
|
869
853
|
"defineDCE",
|
|
@@ -1198,11 +1182,9 @@ function pluginReactLynx(userOptions) {
|
|
|
1198
1182
|
enableCSSInvalidation: true,
|
|
1199
1183
|
enableCSSSelector: true,
|
|
1200
1184
|
enableNewGesture: false,
|
|
1201
|
-
enableParallelElement: true,
|
|
1202
1185
|
enableRemoveCSSScope: true,
|
|
1203
1186
|
firstScreenSyncTiming: 'immediately',
|
|
1204
1187
|
enableSSR: false,
|
|
1205
|
-
pipelineSchedulerConfig: 0x00010000,
|
|
1206
1188
|
removeDescendantSelectorScope: true,
|
|
1207
1189
|
shake: void 0,
|
|
1208
1190
|
defineDCE: void 0,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lynx-js/react-rsbuild-plugin-canary",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.0-canary-20250918-7cb4d973",
|
|
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.
|
|
36
|
-
"@lynx-js/react-alias-rsbuild-plugin": "npm:@lynx-js/react-alias-rsbuild-plugin-canary@0.
|
|
35
|
+
"@lynx-js/css-extract-webpack-plugin": "npm:@lynx-js/css-extract-webpack-plugin-canary@0.6.3-canary-20250918-7cb4d973",
|
|
36
|
+
"@lynx-js/react-alias-rsbuild-plugin": "npm:@lynx-js/react-alias-rsbuild-plugin-canary@0.11.0-canary-20250918-7cb4d973",
|
|
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.
|
|
38
|
+
"@lynx-js/react-webpack-plugin": "npm:@lynx-js/react-webpack-plugin-canary@0.7.1-canary-20250918-7cb4d973",
|
|
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.
|
|
40
|
+
"@lynx-js/template-webpack-plugin": "npm:@lynx-js/template-webpack-plugin-canary@0.9.0-canary-20250918-7cb4d973",
|
|
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.
|
|
56
|
+
"@lynx-js/react": "npm:@lynx-js/react-canary@0.114.0-canary-20250918-7cb4d973",
|
|
57
57
|
"@lynx-js/react-transform": "0.2.0",
|
|
58
|
-
"@lynx-js/rspeedy": "npm:@lynx-js/rspeedy-canary@0.11.
|
|
58
|
+
"@lynx-js/rspeedy": "npm:@lynx-js/rspeedy-canary@0.11.3-canary-20250918-7cb4d973",
|
|
59
59
|
"@lynx-js/vitest-setup": "0.0.0"
|
|
60
60
|
},
|
|
61
61
|
"peerDependencies": {
|