@rsbuild/core 1.1.2 → 1.1.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.
@@ -20,4 +20,4 @@ export type InspectOptions = CommonOptions & {
20
20
  };
21
21
  export type DevOptions = CommonOptions;
22
22
  export type PreviewOptions = CommonOptions;
23
- export declare function runCli(): void;
23
+ export declare function setupCommands(): void;
@@ -0,0 +1 @@
1
+ export declare function runCLI(): Promise<void>;
@@ -1,9 +1,8 @@
1
- import type { StatsCompilation, StatsValue } from '@rspack/core';
1
+ import type { StatsCompilation } from '@rspack/core';
2
2
  import type { Rspack } from '../types';
3
- import { isMultiCompiler } from './';
4
3
  export declare const getAllStatsErrors: (statsData: StatsCompilation) => Rspack.StatsError[] | undefined;
5
4
  export declare const getAllStatsWarnings: (statsData: StatsCompilation) => Rspack.StatsError[] | undefined;
6
- export declare function getStatsOptions(compiler: Parameters<typeof isMultiCompiler>[0]): StatsValue | undefined;
5
+ export declare function getStatsOptions(compiler: Rspack.Compiler | Rspack.MultiCompiler): Rspack.StatsOptions;
7
6
  export declare function formatStats(statsData: Rspack.StatsCompilation, hasErrors: boolean): {
8
7
  message?: string;
9
8
  level?: string;
@@ -8,6 +8,7 @@ import * as __internalHelper from './internal';
8
8
  export { loadEnv } from './loadEnv';
9
9
  export { createRsbuild } from './createRsbuild';
10
10
  export { loadConfig, defineConfig } from './config';
11
+ export { runCLI } from './cli';
11
12
  export declare const version: string;
12
13
  export { rspack };
13
14
  export type { Rspack };
@@ -3,6 +3,4 @@
3
3
  * Some internal methods of Rsbuild.
4
4
  * Please do not use them in your Rsbuild project or plugins.
5
5
  */
6
- export { runCli } from './cli/commands';
7
- export { prepareCli } from './cli/prepare';
8
6
  export { setHTMLPlugin } from './pluginHelper';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rsbuild/core",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "description": "The Rspack-based build tool.",
5
5
  "homepage": "https://rsbuild.dev",
6
6
  "bugs": {
@@ -46,7 +46,7 @@
46
46
  "types.d.ts"
47
47
  ],
48
48
  "dependencies": {
49
- "@rspack/core": "~1.1.1",
49
+ "@rspack/core": "1.1.0",
50
50
  "@rspack/lite-tapable": "~1.0.1",
51
51
  "@swc/helpers": "^0.5.15",
52
52
  "core-js": "~3.39.0"
@@ -55,7 +55,6 @@
55
55
  "@rslib/core": "0.0.18",
56
56
  "@types/connect": "3.4.38",
57
57
  "@types/fs-extra": "^11.0.4",
58
- "@types/is-glob": "^4.0.4",
59
58
  "@types/node": "^22.9.0",
60
59
  "@types/on-finished": "2.3.4",
61
60
  "@types/webpack-bundle-analyzer": "4.7.0",
@@ -68,18 +67,17 @@
68
67
  "css-loader": "7.1.2",
69
68
  "deepmerge": "^4.3.1",
70
69
  "dotenv": "16.4.5",
71
- "dotenv-expand": "11.0.6",
70
+ "dotenv-expand": "11.0.7",
72
71
  "fs-extra": "^11.2.0",
73
72
  "html-rspack-plugin": "6.0.2",
74
73
  "http-proxy-middleware": "^2.0.6",
75
- "is-glob": "^4.0.3",
76
74
  "jiti": "^1.21.6",
77
75
  "launch-editor-middleware": "^2.9.1",
78
76
  "mrmime": "^2.0.0",
79
77
  "on-finished": "2.4.1",
80
78
  "open": "^8.4.0",
81
79
  "picocolors": "^1.1.1",
82
- "postcss": "^8.4.48",
80
+ "postcss": "^8.4.49",
83
81
  "postcss-load-config": "6.0.1",
84
82
  "postcss-loader": "8.1.1",
85
83
  "prebundle": "1.2.5",
@@ -1,13 +0,0 @@
1
- /*!
2
- * is-extglob <https://github.com/jonschlinkert/is-extglob>
3
- *
4
- * Copyright (c) 2014-2016, Jon Schlinkert.
5
- * Licensed under the MIT License.
6
- */
7
-
8
- /*!
9
- * is-glob <https://github.com/jonschlinkert/is-glob>
10
- *
11
- * Copyright (c) 2014-2017, Jon Schlinkert.
12
- * Released under the MIT License.
13
- */
@@ -1,13 +0,0 @@
1
- /*!
2
- * is-extglob <https://github.com/jonschlinkert/is-extglob>
3
- *
4
- * Copyright (c) 2014-2016, Jon Schlinkert.
5
- * Licensed under the MIT License.
6
- */
7
-
8
- /*!
9
- * is-glob <https://github.com/jonschlinkert/is-glob>
10
- *
11
- * Copyright (c) 2014-2017, Jon Schlinkert.
12
- * Released under the MIT License.
13
- */