@lynx-js/react-rsbuild-plugin 0.18.1 → 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 +26 -0
- package/dist/index.d.ts +71 -24
- package/dist/index.js +124 -34
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
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
|
+
|
|
15
|
+
## 0.18.2
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- Add the experimental `experimental_transformBuiltinAttributeNames` option for transforming builtin element attribute names. `false` preserves attribute names. `true` transforms `onClick` to `bindtap`, `onCatchTap` to `catchtap`, other `onXXX` event names to `bindxxx`, and remaining camelCase names to dash-case. An object supports serializable custom rules through `mode`, `preserve`, and `rename`. Explicit JSX attributes are transformed during compilation, and spread attributes are transformed at runtime. ([#3274](https://github.com/lynx-family/lynx-stack/pull/3274))
|
|
20
|
+
|
|
21
|
+
- Updated dependencies [[`4315634`](https://github.com/lynx-family/lynx-stack/commit/43156341e2449e48fd5badd6794937bad7c2b7c3), [`a03e15c`](https://github.com/lynx-family/lynx-stack/commit/a03e15cf157d3451b15987756c14ccd202597481), [`fa2ef9b`](https://github.com/lynx-family/lynx-stack/commit/fa2ef9b6fa2ff9e881a77ff5d80f300950fbca0d), [`7795a43`](https://github.com/lynx-family/lynx-stack/commit/7795a43797ac9daf59e5f18dc978e1596948f94b)]:
|
|
22
|
+
- @lynx-js/template-webpack-plugin@0.14.1
|
|
23
|
+
- @lynx-js/react-webpack-plugin@0.10.2
|
|
24
|
+
- @lynx-js/react-alias-rsbuild-plugin@0.18.2
|
|
25
|
+
- @lynx-js/use-sync-external-store@1.5.0
|
|
26
|
+
- @lynx-js/react-refresh-webpack-plugin@0.4.1
|
|
27
|
+
- @lynx-js/css-extract-webpack-plugin@0.10.0
|
|
28
|
+
|
|
3
29
|
## 0.18.1
|
|
4
30
|
|
|
5
31
|
### 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
|
-
* @
|
|
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
|
-
* @
|
|
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
|
-
* @
|
|
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
|
-
* @
|
|
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
|
-
* @
|
|
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
|
-
* @
|
|
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
|
-
* @
|
|
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
|
-
* @
|
|
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
|
-
* @
|
|
425
|
-
* Default value: `20`.
|
|
416
|
+
* @defaultValue `20`
|
|
426
417
|
*
|
|
427
418
|
* @example
|
|
428
419
|
*
|
|
@@ -556,6 +547,27 @@ export declare interface PluginReactLynxOptions {
|
|
|
556
547
|
* @defaultValue `false`
|
|
557
548
|
*/
|
|
558
549
|
enableAccessibilityElement?: boolean;
|
|
550
|
+
/**
|
|
551
|
+
* Transform attribute names on Lynx builtin elements.
|
|
552
|
+
*
|
|
553
|
+
* @remarks
|
|
554
|
+
*
|
|
555
|
+
* `false` disables the conversion. `true` applies the default rule:
|
|
556
|
+
* `onClick` becomes `bindtap`, `onCatchTap` becomes `catchtap`, other
|
|
557
|
+
* `onXXX` names become `bindxxx`, and remaining camelCase names become
|
|
558
|
+
* dash-case. An object provides serializable custom rules. Exact entries in
|
|
559
|
+
* `rename` take precedence over `preserve`, followed by the fallback behavior
|
|
560
|
+
* selected by `mode`.
|
|
561
|
+
*
|
|
562
|
+
* Explicit JSX attributes are transformed at compile time. Attributes
|
|
563
|
+
* supplied through JSX spreads are transformed at runtime with the same
|
|
564
|
+
* rules.
|
|
565
|
+
*
|
|
566
|
+
* @defaultValue `false`
|
|
567
|
+
*
|
|
568
|
+
* @experimental
|
|
569
|
+
*/
|
|
570
|
+
experimental_transformBuiltinAttributeNames?: boolean | TransformBuiltinAttributeNamesOptions;
|
|
559
571
|
/**
|
|
560
572
|
* enableCSSInheritance enables the default inheritance properties.
|
|
561
573
|
*
|
|
@@ -772,9 +784,11 @@ export declare interface ShakeVisitorConfig {
|
|
|
772
784
|
* })
|
|
773
785
|
* ```
|
|
774
786
|
*
|
|
787
|
+
* @defaultValue `['@lynx-js/react-runtime']`
|
|
788
|
+
*
|
|
775
789
|
* @remarks
|
|
776
|
-
* Default value: `['@lynx-js/react-runtime']`
|
|
777
790
|
* The provided values will be merged with the default values instead of replacing them.
|
|
791
|
+
*
|
|
778
792
|
* @public
|
|
779
793
|
*/
|
|
780
794
|
pkgName: Array<string>
|
|
@@ -797,8 +811,9 @@ export declare interface ShakeVisitorConfig {
|
|
|
797
811
|
* })
|
|
798
812
|
* ```
|
|
799
813
|
*
|
|
814
|
+
* @defaultValue `['constructor', 'render', 'getDerivedStateFromProps', 'state', 'defaultDataProcessor', 'dataProcessors', 'contextType', 'defaultProps']`
|
|
815
|
+
*
|
|
800
816
|
* @remarks
|
|
801
|
-
* Default value: `['constructor', 'render', 'getDerivedStateFromProps', 'state', 'defaultDataProcessor', 'dataProcessors', 'contextType', 'defaultProps']`
|
|
802
817
|
* The provided values will be merged with the default values instead of replacing them.
|
|
803
818
|
*
|
|
804
819
|
* @public
|
|
@@ -823,8 +838,9 @@ export declare interface ShakeVisitorConfig {
|
|
|
823
838
|
* })
|
|
824
839
|
* ```
|
|
825
840
|
*
|
|
841
|
+
* @defaultValue `['useEffect', 'useLayoutEffect', '__runInJS', 'useLynxGlobalEventListener', 'useImperativeHandle']`
|
|
842
|
+
*
|
|
826
843
|
* @remarks
|
|
827
|
-
* Default value: `['useEffect', 'useLayoutEffect', '__runInJS', 'useLynxGlobalEventListener', 'useImperativeHandle']`
|
|
828
844
|
* The provided values will be merged with the default values instead of replacing them.
|
|
829
845
|
*
|
|
830
846
|
* @public
|
|
@@ -849,8 +865,9 @@ export declare interface ShakeVisitorConfig {
|
|
|
849
865
|
* })
|
|
850
866
|
* ```
|
|
851
867
|
*
|
|
868
|
+
* @defaultValue `[]`
|
|
869
|
+
*
|
|
852
870
|
* @remarks
|
|
853
|
-
* Default value: `[]`
|
|
854
871
|
* The provided values will be merged with the default values instead of replacing them.
|
|
855
872
|
*
|
|
856
873
|
* @public
|
|
@@ -860,4 +877,34 @@ export declare interface ShakeVisitorConfig {
|
|
|
860
877
|
|
|
861
878
|
export { TemplateHooks }
|
|
862
879
|
|
|
880
|
+
/**
|
|
881
|
+
* Serializable rules for transforming builtin element attribute names.
|
|
882
|
+
*
|
|
883
|
+
* Exact entries in `rename` take precedence over `preserve`, followed by the
|
|
884
|
+
* fallback behavior selected by `mode`.
|
|
885
|
+
*
|
|
886
|
+
* @public
|
|
887
|
+
*/
|
|
888
|
+
export declare interface TransformBuiltinAttributeNamesOptions {
|
|
889
|
+
/**
|
|
890
|
+
* The fallback behavior for attribute names not listed in `rename` or
|
|
891
|
+
* `preserve`.
|
|
892
|
+
*
|
|
893
|
+
* `'dash-case'` also applies the default React-style event mappings.
|
|
894
|
+
* `'mapping-only'` leaves all remaining names unchanged.
|
|
895
|
+
*
|
|
896
|
+
* @defaultValue `'dash-case'`
|
|
897
|
+
*/
|
|
898
|
+
mode?: 'dash-case' | 'mapping-only'
|
|
899
|
+
/**
|
|
900
|
+
* Attribute names that should remain unchanged unless an exact `rename`
|
|
901
|
+
* entry is also present.
|
|
902
|
+
*/
|
|
903
|
+
preserve?: ReadonlyArray<string>
|
|
904
|
+
/**
|
|
905
|
+
* Exact mappings from source attribute names to transformed attribute names.
|
|
906
|
+
*/
|
|
907
|
+
rename?: Readonly<Record<string, string>>
|
|
908
|
+
}
|
|
909
|
+
|
|
863
910
|
export { }
|
package/dist/index.js
CHANGED
|
@@ -134,7 +134,7 @@ const DEFAULT_DIST_PATH_INTERMEDIATE = '.rspeedy';
|
|
|
134
134
|
const DEFAULT_FILENAME_HASH = '.[contenthash:8]';
|
|
135
135
|
const EMPTY_HASH = '';
|
|
136
136
|
function applyEntry(api, options) {
|
|
137
|
-
const { compat, customCSSInheritanceList, debugInfoOutside, defaultDisplayLinear, enableAccessibilityElement, enableCSSInheritance, enableCSSInvalidation, enableCSSSelector, enableNewGesture, enableRemoveCSSScope, firstScreenSyncTiming, globalPropsMode, enableSSR, removeDescendantSelectorScope, targetSdkVersion, extractStr: originalExtractStr, experimental_isLazyBundle } = options;
|
|
137
|
+
const { compat, customCSSInheritanceList, debugInfoOutside, defaultDisplayLinear, enableAccessibilityElement, enableCSSInheritance, enableCSSInvalidation, enableCSSSelector, enableNewGesture, enableRemoveCSSScope, firstScreenSyncTiming, globalPropsMode, enableSSR, removeDescendantSelectorScope, targetSdkVersion, extractStr: originalExtractStr, experimental_isLazyBundle, experimental_transformBuiltinAttributeNames } = options;
|
|
138
138
|
const lazyBundleFetcher = resolveLazyBundleFetcher(targetSdkVersion);
|
|
139
139
|
api.modifyBundlerChain(async (chain, { environment, isDev, isProd })=>{
|
|
140
140
|
const mainThreadChunks = [];
|
|
@@ -276,6 +276,7 @@ function applyEntry(api, options) {
|
|
|
276
276
|
extractStr,
|
|
277
277
|
experimental_isLazyBundle,
|
|
278
278
|
experimental_useElementTemplate: options.experimental_useElementTemplate,
|
|
279
|
+
experimental_transformBuiltinAttributeNames,
|
|
279
280
|
profile: getDefaultProfile(),
|
|
280
281
|
workletRuntimePath: await resolve(`@lynx-js/react/${isDev ? 'worklet-dev-runtime' : 'worklet-runtime'}`),
|
|
281
282
|
lazyBundleFetcher
|
|
@@ -369,7 +370,7 @@ const MAIN_THREAD_ENV_TARGETS = {
|
|
|
369
370
|
function getLoaderOptions(api, options, isMainThread = false) {
|
|
370
371
|
const { output } = api.getRsbuildConfig();
|
|
371
372
|
const inlineSourcesContent = output?.sourceMap === true || !(output?.sourceMap === false || output?.sourceMap?.js === false || output?.sourceMap?.js?.includes('nosources'));
|
|
372
|
-
const { compat, enableRemoveCSSScope, shake, defineDCE, engineVersion, enableUiSourceMap, experimental_isLazyBundle, experimental_useElementTemplate } = options;
|
|
373
|
+
const { compat, enableRemoveCSSScope, shake, defineDCE, engineVersion, enableUiSourceMap, experimental_transformBuiltinAttributeNames, experimental_isLazyBundle, experimental_useElementTemplate } = options;
|
|
373
374
|
return {
|
|
374
375
|
compat,
|
|
375
376
|
enableRemoveCSSScope,
|
|
@@ -377,6 +378,7 @@ function getLoaderOptions(api, options, isMainThread = false) {
|
|
|
377
378
|
inlineSourcesContent,
|
|
378
379
|
defineDCE,
|
|
379
380
|
engineVersion,
|
|
381
|
+
experimental_transformBuiltinAttributeNames,
|
|
380
382
|
experimental_useElementTemplate,
|
|
381
383
|
...isMainThread ? {
|
|
382
384
|
enableUiSourceMap,
|
|
@@ -643,7 +645,7 @@ const _assertGuard = (exceptionable, props, factory)=>{
|
|
|
643
645
|
return false;
|
|
644
646
|
};
|
|
645
647
|
const validateConfig = (()=>{
|
|
646
|
-
const _io0 = (input, _exceptionable = true)=>(void 0 === input.enableUiSourceMap || "boolean" == typeof input.enableUiSourceMap) && (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 || "manual" === 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) &&
|
|
648
|
+
const _io0 = (input, _exceptionable = true)=>(void 0 === input.enableUiSourceMap || "boolean" == typeof input.enableUiSourceMap) && (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) && null !== input.experimental_transformBuiltinAttributeNames && (void 0 === input.experimental_transformBuiltinAttributeNames || "boolean" == typeof input.experimental_transformBuiltinAttributeNames || "object" == typeof input.experimental_transformBuiltinAttributeNames && null !== input.experimental_transformBuiltinAttributeNames && false === Array.isArray(input.experimental_transformBuiltinAttributeNames) && _io4(input.experimental_transformBuiltinAttributeNames, _exceptionable)) && (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 || "manual" === 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) && _io6(input.shake, _exceptionable)) && (void 0 === input.defineDCE || "object" == typeof input.defineDCE && null !== input.defineDCE && false === Array.isArray(input.defineDCE) && _io7(input.defineDCE, _exceptionable)) && (void 0 === input.engineVersion || "string" == typeof input.engineVersion) && (void 0 === input.targetSdkVersion || "string" == typeof input.targetSdkVersion) && (void 0 === input.globalPropsMode || "reactive" === input.globalPropsMode || "event" === input.globalPropsMode) && null !== input.extractStr && (void 0 === input.extractStr || "boolean" == typeof input.extractStr || "object" == typeof input.extractStr && null !== input.extractStr && false === Array.isArray(input.extractStr) && _io9(input.extractStr, _exceptionable)) && (void 0 === input.experimental_isLazyBundle || "boolean" == typeof input.experimental_isLazyBundle) && (void 0 === input.experimental_useElementTemplate || "boolean" == typeof input.experimental_useElementTemplate) && null !== input.optimizeBundleSize && (void 0 === input.optimizeBundleSize || "boolean" == typeof input.optimizeBundleSize || "object" == typeof input.optimizeBundleSize && null !== input.optimizeBundleSize && false === Array.isArray(input.optimizeBundleSize) && _io10(input.optimizeBundleSize, _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every((key)=>{
|
|
647
649
|
if ([
|
|
648
650
|
"enableUiSourceMap",
|
|
649
651
|
"compat",
|
|
@@ -651,6 +653,7 @@ const validateConfig = (()=>{
|
|
|
651
653
|
"debugInfoOutside",
|
|
652
654
|
"defaultDisplayLinear",
|
|
653
655
|
"enableAccessibilityElement",
|
|
656
|
+
"experimental_transformBuiltinAttributeNames",
|
|
654
657
|
"enableCSSInheritance",
|
|
655
658
|
"enableCSSInvalidation",
|
|
656
659
|
"enableCSSSelector",
|
|
@@ -707,7 +710,22 @@ const validateConfig = (()=>{
|
|
|
707
710
|
if (void 0 === value) return true;
|
|
708
711
|
return false;
|
|
709
712
|
}));
|
|
710
|
-
const _io4 = (input, _exceptionable = true)=>(void 0 === input.
|
|
713
|
+
const _io4 = (input, _exceptionable = true)=>(void 0 === input.mode || "dash-case" === input.mode || "mapping-only" === input.mode) && (void 0 === input.preserve || Array.isArray(input.preserve) && input.preserve.every((elem, _index5)=>"string" == typeof elem)) && (void 0 === input.rename || "object" == typeof input.rename && null !== input.rename && false === Array.isArray(input.rename) && _io5(input.rename, _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every((key)=>{
|
|
714
|
+
if ([
|
|
715
|
+
"mode",
|
|
716
|
+
"preserve",
|
|
717
|
+
"rename"
|
|
718
|
+
].some((prop)=>key === prop)) return true;
|
|
719
|
+
const value = input[key];
|
|
720
|
+
if (void 0 === value) return true;
|
|
721
|
+
return false;
|
|
722
|
+
}));
|
|
723
|
+
const _io5 = (input, _exceptionable = true)=>Object.keys(input).every((key)=>{
|
|
724
|
+
const value = input[key];
|
|
725
|
+
if (void 0 === value) return true;
|
|
726
|
+
return "string" == typeof value;
|
|
727
|
+
});
|
|
728
|
+
const _io6 = (input, _exceptionable = true)=>(void 0 === input.pkgName || Array.isArray(input.pkgName) && input.pkgName.every((elem, _index6)=>"string" == typeof elem)) && (void 0 === input.retainProp || Array.isArray(input.retainProp) && input.retainProp.every((elem, _index7)=>"string" == typeof elem)) && (void 0 === input.removeCall || Array.isArray(input.removeCall) && input.removeCall.every((elem, _index8)=>"string" == typeof elem)) && (void 0 === input.removeCallParams || Array.isArray(input.removeCallParams) && input.removeCallParams.every((elem, _index9)=>"string" == typeof elem)) && (0 === Object.keys(input).length || Object.keys(input).every((key)=>{
|
|
711
729
|
if ([
|
|
712
730
|
"pkgName",
|
|
713
731
|
"retainProp",
|
|
@@ -718,7 +736,7 @@ const validateConfig = (()=>{
|
|
|
718
736
|
if (void 0 === value) return true;
|
|
719
737
|
return false;
|
|
720
738
|
}));
|
|
721
|
-
const
|
|
739
|
+
const _io7 = (input, _exceptionable = true)=>(void 0 === input.define || "object" == typeof input.define && null !== input.define && false === Array.isArray(input.define) && _io8(input.define, _exceptionable)) && (0 === Object.keys(input).length || Object.keys(input).every((key)=>{
|
|
722
740
|
if ([
|
|
723
741
|
"define"
|
|
724
742
|
].some((prop)=>key === prop)) return true;
|
|
@@ -726,12 +744,12 @@ const validateConfig = (()=>{
|
|
|
726
744
|
if (void 0 === value) return true;
|
|
727
745
|
return false;
|
|
728
746
|
}));
|
|
729
|
-
const
|
|
747
|
+
const _io8 = (input, _exceptionable = true)=>Object.keys(input).every((key)=>{
|
|
730
748
|
const value = input[key];
|
|
731
749
|
if (void 0 === value) return true;
|
|
732
750
|
return "string" == typeof value;
|
|
733
751
|
});
|
|
734
|
-
const
|
|
752
|
+
const _io9 = (input, _exceptionable = true)=>(void 0 === input.strLength || "number" == typeof input.strLength) && (0 === Object.keys(input).length || Object.keys(input).every((key)=>{
|
|
735
753
|
if ([
|
|
736
754
|
"strLength"
|
|
737
755
|
].some((prop)=>key === prop)) return true;
|
|
@@ -739,7 +757,7 @@ const validateConfig = (()=>{
|
|
|
739
757
|
if (void 0 === value) return true;
|
|
740
758
|
return false;
|
|
741
759
|
}));
|
|
742
|
-
const
|
|
760
|
+
const _io10 = (input, _exceptionable = true)=>(void 0 === input.mainThread || "boolean" == typeof input.mainThread) && (void 0 === input.background || "boolean" == typeof input.background) && (0 === Object.keys(input).length || Object.keys(input).every((key)=>{
|
|
743
761
|
if ([
|
|
744
762
|
"mainThread",
|
|
745
763
|
"background"
|
|
@@ -768,9 +786,9 @@ const validateConfig = (()=>{
|
|
|
768
786
|
path: _path + ".customCSSInheritanceList",
|
|
769
787
|
expected: "(Array<string> | undefined)",
|
|
770
788
|
value: input.customCSSInheritanceList
|
|
771
|
-
}, _errorFactory)) && input.customCSSInheritanceList.every((elem,
|
|
789
|
+
}, _errorFactory)) && input.customCSSInheritanceList.every((elem, _index10)=>"string" == typeof elem || _assertGuard(_exceptionable, {
|
|
772
790
|
method: "typia.createAssertEquals",
|
|
773
|
-
path: _path + ".customCSSInheritanceList[" +
|
|
791
|
+
path: _path + ".customCSSInheritanceList[" + _index10 + "]",
|
|
774
792
|
expected: "string",
|
|
775
793
|
value: elem
|
|
776
794
|
}, _errorFactory)) || _assertGuard(_exceptionable, {
|
|
@@ -793,6 +811,21 @@ const validateConfig = (()=>{
|
|
|
793
811
|
path: _path + ".enableAccessibilityElement",
|
|
794
812
|
expected: "(boolean | undefined)",
|
|
795
813
|
value: input.enableAccessibilityElement
|
|
814
|
+
}, _errorFactory)) && (null !== input.experimental_transformBuiltinAttributeNames || _assertGuard(_exceptionable, {
|
|
815
|
+
method: "typia.createAssertEquals",
|
|
816
|
+
path: _path + ".experimental_transformBuiltinAttributeNames",
|
|
817
|
+
expected: "(TransformBuiltinAttributeNamesOptions | boolean | undefined)",
|
|
818
|
+
value: input.experimental_transformBuiltinAttributeNames
|
|
819
|
+
}, _errorFactory)) && (void 0 === input.experimental_transformBuiltinAttributeNames || "boolean" == typeof input.experimental_transformBuiltinAttributeNames || ("object" == typeof input.experimental_transformBuiltinAttributeNames && null !== input.experimental_transformBuiltinAttributeNames && false === Array.isArray(input.experimental_transformBuiltinAttributeNames) || _assertGuard(_exceptionable, {
|
|
820
|
+
method: "typia.createAssertEquals",
|
|
821
|
+
path: _path + ".experimental_transformBuiltinAttributeNames",
|
|
822
|
+
expected: "(TransformBuiltinAttributeNamesOptions | boolean | undefined)",
|
|
823
|
+
value: input.experimental_transformBuiltinAttributeNames
|
|
824
|
+
}, _errorFactory)) && _ao4(input.experimental_transformBuiltinAttributeNames, _path + ".experimental_transformBuiltinAttributeNames", _exceptionable) || _assertGuard(_exceptionable, {
|
|
825
|
+
method: "typia.createAssertEquals",
|
|
826
|
+
path: _path + ".experimental_transformBuiltinAttributeNames",
|
|
827
|
+
expected: "(TransformBuiltinAttributeNamesOptions | boolean | undefined)",
|
|
828
|
+
value: input.experimental_transformBuiltinAttributeNames
|
|
796
829
|
}, _errorFactory)) && (void 0 === input.enableCSSInheritance || "boolean" == typeof input.enableCSSInheritance || _assertGuard(_exceptionable, {
|
|
797
830
|
method: "typia.createAssertEquals",
|
|
798
831
|
path: _path + ".enableCSSInheritance",
|
|
@@ -838,7 +871,7 @@ const validateConfig = (()=>{
|
|
|
838
871
|
path: _path + ".shake",
|
|
839
872
|
expected: "(Partial<ShakeVisitorConfig> | undefined)",
|
|
840
873
|
value: input.shake
|
|
841
|
-
}, _errorFactory)) &&
|
|
874
|
+
}, _errorFactory)) && _ao6(input.shake, _path + ".shake", _exceptionable) || _assertGuard(_exceptionable, {
|
|
842
875
|
method: "typia.createAssertEquals",
|
|
843
876
|
path: _path + ".shake",
|
|
844
877
|
expected: "(Partial<ShakeVisitorConfig> | undefined)",
|
|
@@ -848,7 +881,7 @@ const validateConfig = (()=>{
|
|
|
848
881
|
path: _path + ".defineDCE",
|
|
849
882
|
expected: "(Partial<DefineDceVisitorConfig> | undefined)",
|
|
850
883
|
value: input.defineDCE
|
|
851
|
-
}, _errorFactory)) &&
|
|
884
|
+
}, _errorFactory)) && _ao7(input.defineDCE, _path + ".defineDCE", _exceptionable) || _assertGuard(_exceptionable, {
|
|
852
885
|
method: "typia.createAssertEquals",
|
|
853
886
|
path: _path + ".defineDCE",
|
|
854
887
|
expected: "(Partial<DefineDceVisitorConfig> | undefined)",
|
|
@@ -878,7 +911,7 @@ const validateConfig = (()=>{
|
|
|
878
911
|
path: _path + ".extractStr",
|
|
879
912
|
expected: "(Partial<ExtractStrConfig> | boolean | undefined)",
|
|
880
913
|
value: input.extractStr
|
|
881
|
-
}, _errorFactory)) &&
|
|
914
|
+
}, _errorFactory)) && _ao9(input.extractStr, _path + ".extractStr", _exceptionable) || _assertGuard(_exceptionable, {
|
|
882
915
|
method: "typia.createAssertEquals",
|
|
883
916
|
path: _path + ".extractStr",
|
|
884
917
|
expected: "(Partial<ExtractStrConfig> | boolean | undefined)",
|
|
@@ -903,7 +936,7 @@ const validateConfig = (()=>{
|
|
|
903
936
|
path: _path + ".optimizeBundleSize",
|
|
904
937
|
expected: "(__type | boolean | undefined)",
|
|
905
938
|
value: input.optimizeBundleSize
|
|
906
|
-
}, _errorFactory)) &&
|
|
939
|
+
}, _errorFactory)) && _ao10(input.optimizeBundleSize, _path + ".optimizeBundleSize", _exceptionable) || _assertGuard(_exceptionable, {
|
|
907
940
|
method: "typia.createAssertEquals",
|
|
908
941
|
path: _path + ".optimizeBundleSize",
|
|
909
942
|
expected: "(__type | boolean | undefined)",
|
|
@@ -916,6 +949,7 @@ const validateConfig = (()=>{
|
|
|
916
949
|
"debugInfoOutside",
|
|
917
950
|
"defaultDisplayLinear",
|
|
918
951
|
"enableAccessibilityElement",
|
|
952
|
+
"experimental_transformBuiltinAttributeNames",
|
|
919
953
|
"enableCSSInheritance",
|
|
920
954
|
"enableCSSInvalidation",
|
|
921
955
|
"enableCSSSelector",
|
|
@@ -948,9 +982,9 @@ const validateConfig = (()=>{
|
|
|
948
982
|
path: _path + ".componentsPkg",
|
|
949
983
|
expected: "(Array<string> | undefined)",
|
|
950
984
|
value: input.componentsPkg
|
|
951
|
-
}, _errorFactory)) && input.componentsPkg.every((elem,
|
|
985
|
+
}, _errorFactory)) && input.componentsPkg.every((elem, _index11)=>"string" == typeof elem || _assertGuard(_exceptionable, {
|
|
952
986
|
method: "typia.createAssertEquals",
|
|
953
|
-
path: _path + ".componentsPkg[" +
|
|
987
|
+
path: _path + ".componentsPkg[" + _index11 + "]",
|
|
954
988
|
expected: "string",
|
|
955
989
|
value: elem
|
|
956
990
|
}, _errorFactory)) || _assertGuard(_exceptionable, {
|
|
@@ -963,9 +997,9 @@ const validateConfig = (()=>{
|
|
|
963
997
|
path: _path + ".oldRuntimePkg",
|
|
964
998
|
expected: "(Array<string> | undefined)",
|
|
965
999
|
value: input.oldRuntimePkg
|
|
966
|
-
}, _errorFactory)) && input.oldRuntimePkg.every((elem,
|
|
1000
|
+
}, _errorFactory)) && input.oldRuntimePkg.every((elem, _index12)=>"string" == typeof elem || _assertGuard(_exceptionable, {
|
|
967
1001
|
method: "typia.createAssertEquals",
|
|
968
|
-
path: _path + ".oldRuntimePkg[" +
|
|
1002
|
+
path: _path + ".oldRuntimePkg[" + _index12 + "]",
|
|
969
1003
|
expected: "string",
|
|
970
1004
|
value: elem
|
|
971
1005
|
}, _errorFactory)) || _assertGuard(_exceptionable, {
|
|
@@ -983,9 +1017,9 @@ const validateConfig = (()=>{
|
|
|
983
1017
|
path: _path + ".additionalComponentAttributes",
|
|
984
1018
|
expected: "(Array<string> | undefined)",
|
|
985
1019
|
value: input.additionalComponentAttributes
|
|
986
|
-
}, _errorFactory)) && input.additionalComponentAttributes.every((elem,
|
|
1020
|
+
}, _errorFactory)) && input.additionalComponentAttributes.every((elem, _index13)=>"string" == typeof elem || _assertGuard(_exceptionable, {
|
|
987
1021
|
method: "typia.createAssertEquals",
|
|
988
|
-
path: _path + ".additionalComponentAttributes[" +
|
|
1022
|
+
path: _path + ".additionalComponentAttributes[" + _index13 + "]",
|
|
989
1023
|
expected: "string",
|
|
990
1024
|
value: elem
|
|
991
1025
|
}, _errorFactory)) || _assertGuard(_exceptionable, {
|
|
@@ -1107,14 +1141,69 @@ const validateConfig = (()=>{
|
|
|
1107
1141
|
value: value
|
|
1108
1142
|
}, _errorFactory);
|
|
1109
1143
|
}));
|
|
1110
|
-
const _ao4 = (input, _path, _exceptionable = true)=>(void 0 === input.
|
|
1144
|
+
const _ao4 = (input, _path, _exceptionable = true)=>(void 0 === input.mode || "dash-case" === input.mode || "mapping-only" === input.mode || _assertGuard(_exceptionable, {
|
|
1145
|
+
method: "typia.createAssertEquals",
|
|
1146
|
+
path: _path + ".mode",
|
|
1147
|
+
expected: "(\"dash-case\" | \"mapping-only\" | undefined)",
|
|
1148
|
+
value: input.mode
|
|
1149
|
+
}, _errorFactory)) && (void 0 === input.preserve || (Array.isArray(input.preserve) || _assertGuard(_exceptionable, {
|
|
1150
|
+
method: "typia.createAssertEquals",
|
|
1151
|
+
path: _path + ".preserve",
|
|
1152
|
+
expected: "(ReadonlyArray<string> | undefined)",
|
|
1153
|
+
value: input.preserve
|
|
1154
|
+
}, _errorFactory)) && input.preserve.every((elem, _index14)=>"string" == typeof elem || _assertGuard(_exceptionable, {
|
|
1155
|
+
method: "typia.createAssertEquals",
|
|
1156
|
+
path: _path + ".preserve[" + _index14 + "]",
|
|
1157
|
+
expected: "string",
|
|
1158
|
+
value: elem
|
|
1159
|
+
}, _errorFactory)) || _assertGuard(_exceptionable, {
|
|
1160
|
+
method: "typia.createAssertEquals",
|
|
1161
|
+
path: _path + ".preserve",
|
|
1162
|
+
expected: "(ReadonlyArray<string> | undefined)",
|
|
1163
|
+
value: input.preserve
|
|
1164
|
+
}, _errorFactory)) && (void 0 === input.rename || ("object" == typeof input.rename && null !== input.rename && false === Array.isArray(input.rename) || _assertGuard(_exceptionable, {
|
|
1165
|
+
method: "typia.createAssertEquals",
|
|
1166
|
+
path: _path + ".rename",
|
|
1167
|
+
expected: "(Readonly<Record<string, string>> | undefined)",
|
|
1168
|
+
value: input.rename
|
|
1169
|
+
}, _errorFactory)) && _ao5(input.rename, _path + ".rename", _exceptionable) || _assertGuard(_exceptionable, {
|
|
1170
|
+
method: "typia.createAssertEquals",
|
|
1171
|
+
path: _path + ".rename",
|
|
1172
|
+
expected: "(Readonly<Record<string, string>> | undefined)",
|
|
1173
|
+
value: input.rename
|
|
1174
|
+
}, _errorFactory)) && (0 === Object.keys(input).length || false === _exceptionable || Object.keys(input).every((key)=>{
|
|
1175
|
+
if ([
|
|
1176
|
+
"mode",
|
|
1177
|
+
"preserve",
|
|
1178
|
+
"rename"
|
|
1179
|
+
].some((prop)=>key === prop)) return true;
|
|
1180
|
+
const value = input[key];
|
|
1181
|
+
if (void 0 === value) return true;
|
|
1182
|
+
return _assertGuard(_exceptionable, {
|
|
1183
|
+
method: "typia.createAssertEquals",
|
|
1184
|
+
path: _path + _accessExpressionAsString(key),
|
|
1185
|
+
expected: "undefined",
|
|
1186
|
+
value: value
|
|
1187
|
+
}, _errorFactory);
|
|
1188
|
+
}));
|
|
1189
|
+
const _ao5 = (input, _path, _exceptionable = true)=>false === _exceptionable || Object.keys(input).every((key)=>{
|
|
1190
|
+
const value = input[key];
|
|
1191
|
+
if (void 0 === value) return true;
|
|
1192
|
+
return "string" == typeof value || _assertGuard(_exceptionable, {
|
|
1193
|
+
method: "typia.createAssertEquals",
|
|
1194
|
+
path: _path + _accessExpressionAsString(key),
|
|
1195
|
+
expected: "string",
|
|
1196
|
+
value: value
|
|
1197
|
+
}, _errorFactory);
|
|
1198
|
+
});
|
|
1199
|
+
const _ao6 = (input, _path, _exceptionable = true)=>(void 0 === input.pkgName || (Array.isArray(input.pkgName) || _assertGuard(_exceptionable, {
|
|
1111
1200
|
method: "typia.createAssertEquals",
|
|
1112
1201
|
path: _path + ".pkgName",
|
|
1113
1202
|
expected: "(Array<string> | undefined)",
|
|
1114
1203
|
value: input.pkgName
|
|
1115
|
-
}, _errorFactory)) && input.pkgName.every((elem,
|
|
1204
|
+
}, _errorFactory)) && input.pkgName.every((elem, _index15)=>"string" == typeof elem || _assertGuard(_exceptionable, {
|
|
1116
1205
|
method: "typia.createAssertEquals",
|
|
1117
|
-
path: _path + ".pkgName[" +
|
|
1206
|
+
path: _path + ".pkgName[" + _index15 + "]",
|
|
1118
1207
|
expected: "string",
|
|
1119
1208
|
value: elem
|
|
1120
1209
|
}, _errorFactory)) || _assertGuard(_exceptionable, {
|
|
@@ -1127,9 +1216,9 @@ const validateConfig = (()=>{
|
|
|
1127
1216
|
path: _path + ".retainProp",
|
|
1128
1217
|
expected: "(Array<string> | undefined)",
|
|
1129
1218
|
value: input.retainProp
|
|
1130
|
-
}, _errorFactory)) && input.retainProp.every((elem,
|
|
1219
|
+
}, _errorFactory)) && input.retainProp.every((elem, _index16)=>"string" == typeof elem || _assertGuard(_exceptionable, {
|
|
1131
1220
|
method: "typia.createAssertEquals",
|
|
1132
|
-
path: _path + ".retainProp[" +
|
|
1221
|
+
path: _path + ".retainProp[" + _index16 + "]",
|
|
1133
1222
|
expected: "string",
|
|
1134
1223
|
value: elem
|
|
1135
1224
|
}, _errorFactory)) || _assertGuard(_exceptionable, {
|
|
@@ -1142,9 +1231,9 @@ const validateConfig = (()=>{
|
|
|
1142
1231
|
path: _path + ".removeCall",
|
|
1143
1232
|
expected: "(Array<string> | undefined)",
|
|
1144
1233
|
value: input.removeCall
|
|
1145
|
-
}, _errorFactory)) && input.removeCall.every((elem,
|
|
1234
|
+
}, _errorFactory)) && input.removeCall.every((elem, _index17)=>"string" == typeof elem || _assertGuard(_exceptionable, {
|
|
1146
1235
|
method: "typia.createAssertEquals",
|
|
1147
|
-
path: _path + ".removeCall[" +
|
|
1236
|
+
path: _path + ".removeCall[" + _index17 + "]",
|
|
1148
1237
|
expected: "string",
|
|
1149
1238
|
value: elem
|
|
1150
1239
|
}, _errorFactory)) || _assertGuard(_exceptionable, {
|
|
@@ -1157,9 +1246,9 @@ const validateConfig = (()=>{
|
|
|
1157
1246
|
path: _path + ".removeCallParams",
|
|
1158
1247
|
expected: "(Array<string> | undefined)",
|
|
1159
1248
|
value: input.removeCallParams
|
|
1160
|
-
}, _errorFactory)) && input.removeCallParams.every((elem,
|
|
1249
|
+
}, _errorFactory)) && input.removeCallParams.every((elem, _index18)=>"string" == typeof elem || _assertGuard(_exceptionable, {
|
|
1161
1250
|
method: "typia.createAssertEquals",
|
|
1162
|
-
path: _path + ".removeCallParams[" +
|
|
1251
|
+
path: _path + ".removeCallParams[" + _index18 + "]",
|
|
1163
1252
|
expected: "string",
|
|
1164
1253
|
value: elem
|
|
1165
1254
|
}, _errorFactory)) || _assertGuard(_exceptionable, {
|
|
@@ -1183,12 +1272,12 @@ const validateConfig = (()=>{
|
|
|
1183
1272
|
value: value
|
|
1184
1273
|
}, _errorFactory);
|
|
1185
1274
|
}));
|
|
1186
|
-
const
|
|
1275
|
+
const _ao7 = (input, _path, _exceptionable = true)=>(void 0 === input.define || ("object" == typeof input.define && null !== input.define && false === Array.isArray(input.define) || _assertGuard(_exceptionable, {
|
|
1187
1276
|
method: "typia.createAssertEquals",
|
|
1188
1277
|
path: _path + ".define",
|
|
1189
1278
|
expected: "(Record<string, string> | undefined)",
|
|
1190
1279
|
value: input.define
|
|
1191
|
-
}, _errorFactory)) &&
|
|
1280
|
+
}, _errorFactory)) && _ao8(input.define, _path + ".define", _exceptionable) || _assertGuard(_exceptionable, {
|
|
1192
1281
|
method: "typia.createAssertEquals",
|
|
1193
1282
|
path: _path + ".define",
|
|
1194
1283
|
expected: "(Record<string, string> | undefined)",
|
|
@@ -1206,7 +1295,7 @@ const validateConfig = (()=>{
|
|
|
1206
1295
|
value: value
|
|
1207
1296
|
}, _errorFactory);
|
|
1208
1297
|
}));
|
|
1209
|
-
const
|
|
1298
|
+
const _ao8 = (input, _path, _exceptionable = true)=>false === _exceptionable || Object.keys(input).every((key)=>{
|
|
1210
1299
|
const value = input[key];
|
|
1211
1300
|
if (void 0 === value) return true;
|
|
1212
1301
|
return "string" == typeof value || _assertGuard(_exceptionable, {
|
|
@@ -1216,7 +1305,7 @@ const validateConfig = (()=>{
|
|
|
1216
1305
|
value: value
|
|
1217
1306
|
}, _errorFactory);
|
|
1218
1307
|
});
|
|
1219
|
-
const
|
|
1308
|
+
const _ao9 = (input, _path, _exceptionable = true)=>(void 0 === input.strLength || "number" == typeof input.strLength || _assertGuard(_exceptionable, {
|
|
1220
1309
|
method: "typia.createAssertEquals",
|
|
1221
1310
|
path: _path + ".strLength",
|
|
1222
1311
|
expected: "(number | undefined)",
|
|
@@ -1234,7 +1323,7 @@ const validateConfig = (()=>{
|
|
|
1234
1323
|
value: value
|
|
1235
1324
|
}, _errorFactory);
|
|
1236
1325
|
}));
|
|
1237
|
-
const
|
|
1326
|
+
const _ao10 = (input, _path, _exceptionable = true)=>(void 0 === input.mainThread || "boolean" == typeof input.mainThread || _assertGuard(_exceptionable, {
|
|
1238
1327
|
method: "typia.createAssertEquals",
|
|
1239
1328
|
path: _path + ".mainThread",
|
|
1240
1329
|
expected: "(boolean | undefined)",
|
|
@@ -1316,6 +1405,7 @@ function pluginReactLynx(userOptions) {
|
|
|
1316
1405
|
extractStr: false,
|
|
1317
1406
|
globalPropsMode: 'reactive',
|
|
1318
1407
|
experimental_isLazyBundle: false,
|
|
1408
|
+
experimental_transformBuiltinAttributeNames: false,
|
|
1319
1409
|
experimental_useElementTemplate: false,
|
|
1320
1410
|
optimizeBundleSize: false,
|
|
1321
1411
|
enableUiSourceMap: false
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lynx-js/react-rsbuild-plugin",
|
|
3
|
-
"version": "0.18.
|
|
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.
|
|
37
|
-
"@lynx-js/react-alias-rsbuild-plugin": "0.18.
|
|
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.
|
|
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.
|
|
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.
|
|
58
|
+
"@lynx-js/config-rsbuild-plugin": "0.2.2",
|
|
59
59
|
"@lynx-js/debug-metadata": "0.1.0",
|
|
60
|
-
"@lynx-js/react": "0.123.
|
|
60
|
+
"@lynx-js/react": "0.123.3",
|
|
61
61
|
"@lynx-js/react-transform": "0.2.0",
|
|
62
|
-
"@lynx-js/rspeedy": "0.16.
|
|
62
|
+
"@lynx-js/rspeedy": "0.16.3",
|
|
63
63
|
"@lynx-js/test-tools": "0.0.0"
|
|
64
64
|
},
|
|
65
65
|
"peerDependencies": {
|