@0x-jerry/x 2.7.0 → 2.7.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.
@@ -1,5 +1,5 @@
1
1
  // package.json
2
- var version = "2.7.0";
2
+ var version = "2.7.2";
3
3
 
4
4
  export {
5
5
  version
package/dist/x.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  version
4
- } from "./chunk-XHPSW76M.js";
4
+ } from "./chunk-5L45XIBY.js";
5
5
 
6
6
  // src/x.ts
7
7
  import { sliver } from "@0x-jerry/silver";
package/dist/xn.js CHANGED
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-WA6Z2RU3.js";
7
7
  import {
8
8
  version
9
- } from "./chunk-XHPSW76M.js";
9
+ } from "./chunk-5L45XIBY.js";
10
10
 
11
11
  // src/xn.ts
12
12
  import { sliver } from "@0x-jerry/silver";
@@ -58,7 +58,6 @@ var NodeDependencyManager = class {
58
58
  }
59
59
  }
60
60
  async remove(modules, option = {}) {
61
- console.log(option);
62
61
  if (option.types) {
63
62
  const typeModules = modules.map((pkg) => getTypePackageName(pkg));
64
63
  modules.push(...typeModules);
@@ -216,13 +215,13 @@ xn, is a dependency manage tool, it is support node/deno/cargo. ${defaultAction}
216
215
 
217
216
  i/install [...modules], Install dependencies. ${installAction}
218
217
 
219
- -t --types @bool, install package's types too, only effect node project.
218
+ -t --types @bool, install package's type too, only take effect in node project.
220
219
 
221
220
  up/upgrade [...modules], Upgrade dependencies. ${upgradeAction}
222
221
 
223
222
  rm/remove <...modules>, Remove dependencies. ${removeAction}
224
223
 
225
- -t --types @bool, remove package's types too, only effect node project.
224
+ -t --types @bool, remove package's type too, only take effect in node project.
226
225
  `;
227
226
  async function defaultAction() {
228
227
  await new DepManager().install();
package/dist/xr.js CHANGED
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-WA6Z2RU3.js";
5
5
  import {
6
6
  version
7
- } from "./chunk-XHPSW76M.js";
7
+ } from "./chunk-5L45XIBY.js";
8
8
 
9
9
  // src/xr.ts
10
10
  import { sliver } from "@0x-jerry/silver";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@0x-jerry/x",
3
- "version": "2.7.0",
3
+ "version": "2.7.2",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/0x-jerry/x.git"
@@ -42,8 +42,8 @@
42
42
  "clean": true
43
43
  },
44
44
  "dependencies": {
45
- "@0x-jerry/silver": "^1.0.1",
46
- "@0x-jerry/utils": "^2.4.2",
45
+ "@0x-jerry/silver": "^1.0.3",
46
+ "@0x-jerry/utils": "^2.4.3",
47
47
  "decompress": "^4.2.1",
48
48
  "fs-extra": "^11.2.0",
49
49
  "global-agent": "^3.0.0",
@@ -61,7 +61,7 @@
61
61
  "@types/node": "^20.14.11",
62
62
  "@types/prompts": "^2.4.9",
63
63
  "@vitest/coverage-v8": "^2.0.3",
64
- "tsup": "^8.1.2",
64
+ "tsup": "^8.2.0",
65
65
  "tsx": "^4.16.2",
66
66
  "typescript": "^5.5.3",
67
67
  "vitest": "^2.0.3"