@rspack/cli 0.4.2 → 0.4.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.
@@ -7,7 +7,7 @@ export declare class RspackCLI {
7
7
  colors: RspackCLIColors;
8
8
  program: yargs.Argv;
9
9
  constructor();
10
- createCompiler(options: RspackBuildCLIOptions, rspackCommand: Command, callback?: (e: Error | null, res?: Stats | MultiStats) => void): Promise<MultiCompiler | Compiler | null>;
10
+ createCompiler(options: RspackBuildCLIOptions, rspackCommand: Command, callback?: (e: Error | null, res?: Stats | MultiStats) => void): Promise<Compiler | MultiCompiler | null>;
11
11
  createColors(useColor?: boolean): RspackCLIColors;
12
12
  getLogger(): RspackCLILogger;
13
13
  run(argv: string[]): Promise<void>;
@@ -1,5 +1,5 @@
1
1
  import yargs from "yargs";
2
- export declare const commonOptions: (yargs: yargs.Argv<{}>) => yargs.Argv<yargs.Omit<{}, "entry" | "devtool" | "mode" | "watch" | "env" | "config" | "node-env" | "configName"> & yargs.InferredOptionTypes<{
2
+ export declare const commonOptions: (yargs: yargs.Argv<{}>) => yargs.Argv<yargs.Omit<{}, "config" | "env" | "entry" | "watch" | "mode" | "devtool" | "node-env" | "configName"> & yargs.InferredOptionTypes<{
3
3
  config: {
4
4
  g: boolean;
5
5
  type: "string";
@@ -42,7 +42,7 @@ export declare const commonOptions: (yargs: yargs.Argv<{}>) => yargs.Argv<yargs.
42
42
  }>>;
43
43
  export declare const previewOptions: (yargs: yargs.Argv<{}>) => yargs.Argv<yargs.Omit<{
44
44
  dir: string | undefined;
45
- }, "port" | "host" | "open" | "server" | "publicPath" | "config" | "configName"> & yargs.InferredOptionTypes<{
45
+ }, "config" | "host" | "port" | "open" | "server" | "publicPath" | "configName"> & yargs.InferredOptionTypes<{
46
46
  publicPath: {
47
47
  type: "string";
48
48
  describe: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rspack/cli",
3
- "version": "0.4.2",
3
+ "version": "0.4.3",
4
4
  "license": "MIT",
5
5
  "description": "CLI for rspack",
6
6
  "bin": {
@@ -30,7 +30,7 @@
30
30
  "internal-ip": "6.2.0",
31
31
  "source-map-support": "^0.5.19",
32
32
  "ts-node": "10.9.1",
33
- "@rspack/core": "0.4.2"
33
+ "@rspack/core": "0.4.3"
34
34
  },
35
35
  "dependencies": {
36
36
  "@discoveryjs/json-ext": "^0.5.7",
@@ -41,7 +41,7 @@
41
41
  "semver": "6.3.1",
42
42
  "webpack-bundle-analyzer": "4.6.1",
43
43
  "yargs": "17.6.2",
44
- "@rspack/dev-server": "0.4.2"
44
+ "@rspack/dev-server": "0.4.3"
45
45
  },
46
46
  "scripts": {
47
47
  "build": "rimraf dist/ && tsc -b ./tsconfig.build.json --force",