@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.
- package/dist/{chunk-XHPSW76M.js → chunk-5L45XIBY.js} +1 -1
- package/dist/x.js +1 -1
- package/dist/xn.js +3 -4
- package/dist/xr.js +1 -1
- package/package.json +4 -4
package/dist/x.js
CHANGED
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-
|
|
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
|
|
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
|
|
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
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@0x-jerry/x",
|
|
3
|
-
"version": "2.7.
|
|
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.
|
|
46
|
-
"@0x-jerry/utils": "^2.4.
|
|
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.
|
|
64
|
+
"tsup": "^8.2.0",
|
|
65
65
|
"tsx": "^4.16.2",
|
|
66
66
|
"typescript": "^5.5.3",
|
|
67
67
|
"vitest": "^2.0.3"
|