@lynx-js/react-alias-rsbuild-plugin 0.9.7 → 0.9.8

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,5 +1,18 @@
1
1
  # @lynx-js/react-alias-rsbuild-plugin
2
2
 
3
+ ## 0.9.8
4
+
5
+ ### Patch Changes
6
+
7
+ - Refactor: Replace built-in `background-only` implementation with npm package ([#602](https://github.com/lynx-family/lynx-stack/pull/602))
8
+
9
+ Previously we maintained custom files:
10
+
11
+ - `empty.ts` for background thread
12
+ - `error.ts` for main thread validation
13
+
14
+ Now adopting the standard `background-only` npm package
15
+
3
16
  ## 0.9.7
4
17
 
5
18
  ## 0.9.6
package/dist/index.d.ts CHANGED
@@ -8,3 +8,4 @@ export interface Options {
8
8
  rootPath?: string | undefined;
9
9
  }
10
10
  export declare function pluginReactAlias(options: Options): RsbuildPlugin;
11
+ export declare function createLazyResolver(context: string, conditionNames: string[]): (request: string) => Promise<string>;
package/dist/index.js CHANGED
@@ -85,4 +85,4 @@ function createLazyResolver(context, conditionNames) {
85
85
  }))(context, request);
86
86
  };
87
87
  }
88
- export { pluginReactAlias };
88
+ export { createLazyResolver, pluginReactAlias };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lynx-js/react-alias-rsbuild-plugin",
3
- "version": "0.9.7",
3
+ "version": "0.9.8",
4
4
  "description": "A rsbuild plugin for making alias in ReactLynx",
5
5
  "keywords": [
6
6
  "rsbuild",
@@ -35,10 +35,10 @@
35
35
  "enhanced-resolve": "^5.18.1"
36
36
  },
37
37
  "devDependencies": {
38
- "@microsoft/api-extractor": "7.52.3",
39
- "@rsbuild/core": "1.3.8",
40
- "@lynx-js/react": "0.106.5",
41
- "@lynx-js/react-webpack-plugin": "0.6.11",
38
+ "@microsoft/api-extractor": "7.52.5",
39
+ "@rsbuild/core": "1.3.11",
40
+ "@lynx-js/react": "0.107.0",
41
+ "@lynx-js/react-webpack-plugin": "0.6.12",
42
42
  "@lynx-js/vitest-setup": "0.0.0"
43
43
  },
44
44
  "engines": {