@rsbuild/plugin-source-build 0.7.0-beta.0 → 0.7.0-beta.2

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +9 -6
  2. package/package.json +7 -7
package/dist/index.d.ts CHANGED
@@ -1,11 +1,12 @@
1
- import type { RsbuildPlugin } from '@rsbuild/core';
2
- import { type ExtraMonorepoStrategies, type Project } from '@rsbuild/monorepo-utils';
3
- export declare const PLUGIN_SOURCE_BUILD_NAME = "rsbuild:source-build";
4
- export declare const getSourceInclude: (options: {
1
+ import { RsbuildPlugin } from '@rsbuild/core';
2
+ import { Project, ExtraMonorepoStrategies } from '@rsbuild/monorepo-utils';
3
+
4
+ declare const PLUGIN_SOURCE_BUILD_NAME = "rsbuild:source-build";
5
+ declare const getSourceInclude: (options: {
5
6
  projects: Project[];
6
7
  sourceField: string;
7
8
  }) => Promise<string[]>;
8
- export interface PluginSourceBuildOptions {
9
+ interface PluginSourceBuildOptions {
9
10
  /**
10
11
  * Used to configure the resolve field of the source code files.
11
12
  * @default 'source''
@@ -19,4 +20,6 @@ export interface PluginSourceBuildOptions {
19
20
  projectName?: string;
20
21
  extraMonorepoStrategies?: ExtraMonorepoStrategies;
21
22
  }
22
- export declare function pluginSourceBuild(options?: PluginSourceBuildOptions): RsbuildPlugin;
23
+ declare function pluginSourceBuild(options?: PluginSourceBuildOptions): RsbuildPlugin;
24
+
25
+ export { PLUGIN_SOURCE_BUILD_NAME, type PluginSourceBuildOptions, getSourceInclude, pluginSourceBuild };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rsbuild/plugin-source-build",
3
- "version": "0.7.0-beta.0",
3
+ "version": "0.7.0-beta.2",
4
4
  "description": "Source build plugin of Rsbuild",
5
5
  "homepage": "https://rsbuild.dev",
6
6
  "repository": {
@@ -23,18 +23,18 @@
23
23
  "dist"
24
24
  ],
25
25
  "dependencies": {
26
- "@rsbuild/monorepo-utils": "0.7.0-beta.0",
27
- "@rsbuild/shared": "0.7.0-beta.0"
26
+ "@rsbuild/monorepo-utils": "0.7.0-beta.2",
27
+ "@rsbuild/shared": "0.7.0-beta.2"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@babel/core": "^7.24.5",
31
31
  "typescript": "^5.4.2",
32
- "@rsbuild/core": "0.7.0-beta.0",
33
- "@rsbuild/plugin-babel": "0.7.0-beta.0",
34
- "@scripts/test-helper": "0.7.0-beta.0"
32
+ "@rsbuild/core": "0.7.0-beta.2",
33
+ "@rsbuild/plugin-babel": "0.7.0-beta.2",
34
+ "@scripts/test-helper": "0.7.0-beta.2"
35
35
  },
36
36
  "peerDependencies": {
37
- "@rsbuild/core": "^0.7.0-beta.0"
37
+ "@rsbuild/core": "^0.7.0-beta.2"
38
38
  },
39
39
  "publishConfig": {
40
40
  "access": "public",