@lynx-js/react-rsbuild-plugin-canary 0.12.3-canary-20251226-f8b5be81 → 0.12.4-canary-20251229-917ae6ab

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,15 +1,27 @@
1
1
  # @lynx-js/react-rsbuild-plugin
2
2
 
3
- ## 0.12.3-canary-20251226141420-f8b5be81acbf7b3fed18046c5d1e4100a75a9843
3
+ ## 0.12.4-canary-20251229100543-917ae6ab8c5e11293377e3e22da3fc775f9b1de5
4
+
5
+ ### Patch Changes
6
+
7
+ - ([#2051](https://github.com/lynx-family/lynx-stack/pull/2051))
8
+
9
+ - Updated dependencies [[`821154b`](https://github.com/lynx-family/lynx-stack/commit/821154b3c80b3116598c47a78cd4477cc9859311)]:
10
+ - @lynx-js/react@0.115.3-canary-20251229100543-917ae6ab8c5e11293377e3e22da3fc775f9b1de5
11
+ - @lynx-js/react-alias-rsbuild-plugin@0.12.4-canary-20251229100543-917ae6ab8c5e11293377e3e22da3fc775f9b1de5
12
+ - @lynx-js/use-sync-external-store@1.5.0
13
+ - @lynx-js/react-refresh-webpack-plugin@0.3.4
14
+ - @lynx-js/react-webpack-plugin@0.7.3
15
+
16
+ ## 0.12.3
4
17
 
5
18
  ### Patch Changes
6
19
 
7
20
  - expose LAYERS via `api.expose` for other rsbuild plugins. ([#2006](https://github.com/lynx-family/lynx-stack/pull/2006))
8
21
 
9
- - Updated dependencies [[`9f7089e`](https://github.com/lynx-family/lynx-stack/commit/9f7089ed96b78c04a263bf1abe13cd440b6d7b42), [`cd89bf9`](https://github.com/lynx-family/lynx-stack/commit/cd89bf9e3fc8ed4658dfb6c983584376416d620f), [`a26be78`](https://github.com/lynx-family/lynx-stack/commit/a26be78a7918c8dbf4a8446a82a75901b77bd5e7), [`abd5960`](https://github.com/lynx-family/lynx-stack/commit/abd59601324799f30443e24f6e137c8bd07e2aa4)]:
10
- - @lynx-js/react@0.115.2-canary-20251226141420-f8b5be81acbf7b3fed18046c5d1e4100a75a9843
11
- - @lynx-js/template-webpack-plugin@0.10.1-canary-20251226141420-f8b5be81acbf7b3fed18046c5d1e4100a75a9843
12
- - @lynx-js/react-alias-rsbuild-plugin@0.12.3-canary-20251226141420-f8b5be81acbf7b3fed18046c5d1e4100a75a9843
22
+ - Updated dependencies [[`cd89bf9`](https://github.com/lynx-family/lynx-stack/commit/cd89bf9e3fc8ed4658dfb6c983584376416d620f)]:
23
+ - @lynx-js/template-webpack-plugin@0.10.1
24
+ - @lynx-js/react-alias-rsbuild-plugin@0.12.3
13
25
  - @lynx-js/use-sync-external-store@1.5.0
14
26
  - @lynx-js/react-refresh-webpack-plugin@0.3.4
15
27
  - @lynx-js/react-webpack-plugin@0.7.3
package/dist/300.js CHANGED
@@ -3,7 +3,7 @@ export const __rspack_esm_ids = [
3
3
  "300"
4
4
  ];
5
5
  export const __webpack_modules__ = {
6
- "./src/resolve.ts" (__unused_webpack_module, __webpack_exports__, __webpack_require__) {
6
+ "./src/resolve.ts" (__unused_rspack_module, __webpack_exports__, __webpack_require__) {
7
7
  __webpack_require__.d(__webpack_exports__, {
8
8
  getImportResolver: ()=>getImportResolver,
9
9
  getMainThreadResolver: ()=>getMainThreadResolver
package/dist/index.d.ts CHANGED
@@ -5,7 +5,9 @@
5
5
  */
6
6
 
7
7
  import { LAYERS } from '@lynx-js/react-webpack-plugin';
8
+ import type { LynxTemplatePlugin as LynxTemplatePlugin_2 } from '@lynx-js/template-webpack-plugin';
8
9
  import type { RsbuildPlugin } from '@rsbuild/core';
10
+ import type { TemplateHooks } from '@lynx-js/template-webpack-plugin';
9
11
 
10
12
  /**
11
13
  * {@inheritdoc CompatVisitorConfig.addComponentElement}
@@ -412,6 +414,10 @@ export declare interface ExtractStrConfig {
412
414
 
413
415
  export { LAYERS }
414
416
 
417
+ export declare interface LynxTemplatePlugin {
418
+ getLynxTemplatePluginHooks: typeof LynxTemplatePlugin_2.getLynxTemplatePluginHooks;
419
+ }
420
+
415
421
  /**
416
422
  * Create a rsbuild plugin for ReactLynx.
417
423
  *
@@ -723,4 +729,6 @@ export declare interface ShakeVisitorConfig {
723
729
  removeCallParams: Array<string>
724
730
  }
725
731
 
732
+ export { TemplateHooks }
733
+
726
734
  export { }
package/dist/index.js CHANGED
@@ -3,11 +3,11 @@ import * as __rspack_external_node_path_c5b9b54f from "node:path";
3
3
  import * as __rspack_external_node_url_e96de089 from "node:url";
4
4
  import { createRequire } from "node:module";
5
5
  import { LAYERS, ReactWebpackPlugin } from "@lynx-js/react-webpack-plugin";
6
- import { RuntimeWrapperWebpackPlugin } from "@lynx-js/runtime-wrapper-webpack-plugin";
7
6
  import { LynxEncodePlugin, LynxTemplatePlugin, WebEncodePlugin } from "@lynx-js/template-webpack-plugin";
7
+ import { RuntimeWrapperWebpackPlugin } from "@lynx-js/runtime-wrapper-webpack-plugin";
8
8
  import { ReactRefreshRspackPlugin, ReactRefreshWebpackPlugin } from "@lynx-js/react-refresh-webpack-plugin";
9
9
  var __webpack_modules__ = {
10
- "../../../node_modules/.pnpm/typia@10.1.0_typescript@5.9.3/node_modules/typia/lib/internal/_accessExpressionAsString.js" (__unused_webpack_module, exports) {
10
+ "../../../node_modules/.pnpm/typia@10.1.0_typescript@5.9.3/node_modules/typia/lib/internal/_accessExpressionAsString.js" (__unused_rspack_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,7 +52,7 @@ var __webpack_modules__ = {
52
52
  "with"
53
53
  ]);
54
54
  },
55
- "../../../node_modules/.pnpm/typia@10.1.0_typescript@5.9.3/node_modules/typia/lib/internal/_assertGuard.js" (__unused_webpack_module, exports, __webpack_require__) {
55
+ "../../../node_modules/.pnpm/typia@10.1.0_typescript@5.9.3/node_modules/typia/lib/internal/_assertGuard.js" (__unused_rspack_module, exports, __webpack_require__) {
56
56
  exports._assertGuard = void 0;
57
57
  const TypeGuardError_1 = __webpack_require__("../../../node_modules/.pnpm/typia@10.1.0_typescript@5.9.3/node_modules/typia/lib/TypeGuardError.mjs");
58
58
  const _assertGuard = (exceptionable, props, factory)=>{
@@ -71,7 +71,7 @@ var __webpack_modules__ = {
71
71
  "node:url" (module) {
72
72
  module.exports = __rspack_external_node_url_e96de089;
73
73
  },
74
- "../../../node_modules/.pnpm/typia@10.1.0_typescript@5.9.3/node_modules/typia/lib/TypeGuardError.mjs" (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
74
+ "../../../node_modules/.pnpm/typia@10.1.0_typescript@5.9.3/node_modules/typia/lib/TypeGuardError.mjs" (__unused_rspack___webpack_module__, __webpack_exports__, __webpack_require__) {
75
75
  __webpack_require__.r(__webpack_exports__);
76
76
  __webpack_require__.d(__webpack_exports__, {
77
77
  TypeGuardError: ()=>TypeGuardError
@@ -135,7 +135,7 @@ __webpack_require__.m = __webpack_modules__;
135
135
  })();
136
136
  (()=>{
137
137
  __webpack_require__.r = (exports)=>{
138
- if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports, Symbol.toStringTag, {
138
+ if ("u" > typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports, Symbol.toStringTag, {
139
139
  value: 'Module'
140
140
  });
141
141
  Object.defineProperty(exports, '__esModule', {
@@ -1252,6 +1252,11 @@ function pluginReactLynx(userOptions) {
1252
1252
  });
1253
1253
  if (resolvedOptions.experimental_isLazyBundle) applyLazy(api);
1254
1254
  api.expose(Symbol.for('LAYERS'), LAYERS);
1255
+ api.expose(Symbol.for('LynxTemplatePlugin'), {
1256
+ LynxTemplatePlugin: {
1257
+ getLynxTemplatePluginHooks: LynxTemplatePlugin.getLynxTemplatePluginHooks.bind(LynxTemplatePlugin)
1258
+ }
1259
+ });
1255
1260
  const rspeedyAPIs = api.useExposed(Symbol.for('rspeedy.api'));
1256
1261
  const require = createRequire(import.meta.url);
1257
1262
  const { version } = require('../package.json');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lynx-js/react-rsbuild-plugin-canary",
3
- "version": "0.12.3-canary-20251226-f8b5be81",
3
+ "version": "0.12.4-canary-20251229-917ae6ab",
4
4
  "description": "A rsbuild plugin for ReactLynx",
5
5
  "keywords": [
6
6
  "rsbuild",
@@ -33,11 +33,11 @@
33
33
  ],
34
34
  "dependencies": {
35
35
  "@lynx-js/css-extract-webpack-plugin": "npm:@lynx-js/css-extract-webpack-plugin-canary@0.7.0",
36
- "@lynx-js/react-alias-rsbuild-plugin": "npm:@lynx-js/react-alias-rsbuild-plugin-canary@0.12.3-canary-20251226-f8b5be81",
36
+ "@lynx-js/react-alias-rsbuild-plugin": "npm:@lynx-js/react-alias-rsbuild-plugin-canary@0.12.4-canary-20251229-917ae6ab",
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.7.3",
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.10.1-canary-20251226-f8b5be81",
40
+ "@lynx-js/template-webpack-plugin": "npm:@lynx-js/template-webpack-plugin-canary@0.10.1",
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
  },
@@ -54,10 +54,10 @@
54
54
  "type-fest": "^5.0.1",
55
55
  "typia": "10.1.0",
56
56
  "typia-rspack-plugin": "2.2.2",
57
- "@lynx-js/react": "npm:@lynx-js/react-canary@0.115.2-canary-20251226-f8b5be81",
57
+ "@lynx-js/react": "npm:@lynx-js/react-canary@0.115.3-canary-20251229-917ae6ab",
58
58
  "@lynx-js/react-transform": "0.2.0",
59
- "@lynx-js/vitest-setup": "0.0.0",
60
- "@lynx-js/rspeedy": "npm:@lynx-js/rspeedy-canary@0.12.4-canary-20251226-f8b5be81"
59
+ "@lynx-js/rspeedy": "npm:@lynx-js/rspeedy-canary@0.12.4",
60
+ "@lynx-js/vitest-setup": "0.0.0"
61
61
  },
62
62
  "peerDependencies": {
63
63
  "@lynx-js/react": "*"