@lynx-js/react-rsbuild-plugin-canary 0.10.14-canary-20250908-44a30159 → 0.10.14-canary-20250908-75db592d

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,11 +1,11 @@
1
1
  # @lynx-js/react-rsbuild-plugin
2
2
 
3
- ## 0.10.14-canary-20250908081258-44a30159d9b62adb22a88fe4a16628babadfc201
3
+ ## 0.10.14-canary-20250908131032-75db592d6df96bcf9c3f00656a2421282785b859
4
4
 
5
5
  ### Patch Changes
6
6
 
7
7
  - Updated dependencies [[`c2f90bd`](https://github.com/lynx-family/lynx-stack/commit/c2f90bdb0ce465702b0b4a46108b16e78678225f)]:
8
- - @lynx-js/react-alias-rsbuild-plugin@0.10.14-canary-20250908081258-44a30159d9b62adb22a88fe4a16628babadfc201
8
+ - @lynx-js/react-alias-rsbuild-plugin@0.10.14-canary-20250908131032-75db592d6df96bcf9c3f00656a2421282785b859
9
9
 
10
10
  ## 0.10.13
11
11
 
@@ -1,6 +1,6 @@
1
- export const __webpack_id__ = "74";
1
+ export const __webpack_id__ = "856";
2
2
  export const __webpack_ids__ = [
3
- "74"
3
+ "856"
4
4
  ];
5
5
  export const __webpack_modules__ = {
6
6
  "./src/resolve.ts": function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
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
  }
@@ -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("74").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')
@@ -587,7 +593,7 @@ function applySWC(api) {
587
593
  }
588
594
  function applyUseSyncExternalStore(api) {
589
595
  api.modifyBundlerChain(async (chain)=>{
590
- const { resolve } = await __webpack_require__.e("74").then(__webpack_require__.bind(__webpack_require__, "./src/resolve.ts"));
596
+ const { resolve } = await __webpack_require__.e("856").then(__webpack_require__.bind(__webpack_require__, "./src/resolve.ts"));
591
597
  const useSyncExternalStoreEntries = [
592
598
  'use-sync-external-store',
593
599
  'use-sync-external-store/with-selector',
@@ -599,8 +605,8 @@ function applyUseSyncExternalStore(api) {
599
605
  })));
600
606
  });
601
607
  }
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");
608
+ var _accessExpressionAsString = __webpack_require__("../../../node_modules/.pnpm/typia@9.7.2_typescript@5.9.2/node_modules/typia/lib/internal/_accessExpressionAsString.js");
609
+ var _assertGuard = __webpack_require__("../../../node_modules/.pnpm/typia@9.7.2_typescript@5.9.2/node_modules/typia/lib/internal/_assertGuard.js");
604
610
  const validateConfig = (()=>{
605
611
  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)=>{
606
612
  if ([
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lynx-js/react-rsbuild-plugin-canary",
3
- "version": "0.10.14-canary-20250908-44a30159",
3
+ "version": "0.10.14-canary-20250908-75db592d",
4
4
  "description": "A rsbuild plugin for ReactLynx",
5
5
  "keywords": [
6
6
  "rsbuild",
@@ -33,7 +33,7 @@
33
33
  ],
34
34
  "dependencies": {
35
35
  "@lynx-js/css-extract-webpack-plugin": "npm:@lynx-js/css-extract-webpack-plugin-canary@0.6.2",
36
- "@lynx-js/react-alias-rsbuild-plugin": "npm:@lynx-js/react-alias-rsbuild-plugin-canary@0.10.14-canary-20250908-44a30159",
36
+ "@lynx-js/react-alias-rsbuild-plugin": "npm:@lynx-js/react-alias-rsbuild-plugin-canary@0.10.14-canary-20250908-75db592d",
37
37
  "@lynx-js/react-refresh-webpack-plugin": "npm:@lynx-js/react-refresh-webpack-plugin-canary@0.3.4",
38
38
  "@lynx-js/react-webpack-plugin": "npm:@lynx-js/react-webpack-plugin-canary@0.6.20",
39
39
  "@lynx-js/runtime-wrapper-webpack-plugin": "npm:@lynx-js/runtime-wrapper-webpack-plugin-canary@0.1.3",
@@ -51,12 +51,12 @@
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",
54
+ "typia": "9.7.2",
55
+ "typia-rspack-plugin": "2.2.2",
56
56
  "@lynx-js/react": "npm:@lynx-js/react-canary@0.112.6",
57
+ "@lynx-js/react-transform": "0.2.0",
57
58
  "@lynx-js/rspeedy": "npm:@lynx-js/rspeedy-canary@0.11.1",
58
- "@lynx-js/vitest-setup": "0.0.0",
59
- "@lynx-js/react-transform": "0.2.0"
59
+ "@lynx-js/vitest-setup": "0.0.0"
60
60
  },
61
61
  "peerDependencies": {
62
62
  "@lynx-js/react": "*"