@rspack/cli 1.4.0-beta.1 → 1.4.0

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/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  <picture>
2
- <img alt="Rspack Banner" src="https://assets.rspack.rs/rspack/rspack-banner.png">
2
+ <img alt="Rspack Banner" src="https://assets.rspack.dev/rspack/rspack-banner.png">
3
3
  </picture>
4
4
 
5
5
  # @rspack/cli
package/dist/index.mjs CHANGED
@@ -1,9 +1,9 @@
1
1
  import * as __WEBPACK_EXTERNAL_MODULE__rspack_core_e0096ff7__ from "@rspack/core";
2
2
  import * as __WEBPACK_EXTERNAL_MODULE_node_fs_5ea92f0c__ from "node:fs";
3
3
  import * as __WEBPACK_EXTERNAL_MODULE_node_path_c5b9b54f__ from "node:path";
4
- import external_node_util_default from "node:util";
4
+ import node_util from "node:util";
5
5
  import { createColors, isColorSupported } from "colorette";
6
- import external_yargs_default from "yargs";
6
+ import yargs_0 from "yargs";
7
7
  import { hideBin } from "yargs/helpers";
8
8
  import { pathToFileURL } from "node:url";
9
9
  var __webpack_modules__ = {
@@ -620,7 +620,7 @@ class RspackCLI {
620
620
  }
621
621
  getLogger() {
622
622
  return {
623
- error: (val)=>console.error(`[rspack-cli] ${this.colors.red(external_node_util_default.format(val))}`),
623
+ error: (val)=>console.error(`[rspack-cli] ${this.colors.red(node_util.format(val))}`),
624
624
  warn: (val)=>console.warn(`[rspack-cli] ${this.colors.yellow(val)}`),
625
625
  info: (val)=>console.info(`[rspack-cli] ${this.colors.cyan(val)}`),
626
626
  success: (val)=>console.log(`[rspack-cli] ${this.colors.green(val)}`),
@@ -733,7 +733,7 @@ class RspackCLI {
733
733
  _define_property(this, "colors", void 0);
734
734
  _define_property(this, "program", void 0);
735
735
  this.colors = this.createColors();
736
- this.program = external_yargs_default();
736
+ this.program = yargs_0();
737
737
  }
738
738
  }
739
739
  function defineConfig(config) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rspack/cli",
3
- "version": "1.4.0-beta.1",
3
+ "version": "1.4.0",
4
4
  "description": "CLI for rspack",
5
5
  "homepage": "https://rspack.rs",
6
6
  "bugs": "https://github.com/web-infra-dev/rspack/issues",
@@ -38,7 +38,7 @@
38
38
  "yargs": "17.7.2"
39
39
  },
40
40
  "devDependencies": {
41
- "@rslib/core": "0.9.2",
41
+ "@rslib/core": "0.10.0",
42
42
  "@types/interpret": "^1.1.3",
43
43
  "@types/rechoir": "^0.6.4",
44
44
  "@types/webpack-bundle-analyzer": "^4.7.0",
@@ -48,7 +48,7 @@
48
48
  "execa": "^5.1.1",
49
49
  "ts-node": "^10.9.2",
50
50
  "typescript": "^5.8.3",
51
- "@rspack/core": "1.4.0-beta.1"
51
+ "@rspack/core": "1.4.0"
52
52
  },
53
53
  "peerDependencies": {
54
54
  "@rspack/core": "^1.0.0-alpha || ^1.x"