@iyowei/sweep-node-modules-cli 0.1.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/LICENSE +21 -0
- package/README.md +160 -0
- package/README.zh-CN.md +160 -0
- package/bin/sweep-nm.mjs +190 -0
- package/dist/cli.js +1694 -0
- package/dist/manifest.json +7 -0
- package/package.json +69 -0
package/package.json
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@iyowei/sweep-node-modules-cli",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "CLI to find and delete node_modules across projects: scan multiple workspace roots (monorepo friendly), bulk-remove them to free up disk space, preview first and delete after confirmation. 工作区级 node_modules 批量清理工具。",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"cli",
|
|
7
|
+
"cli-tool",
|
|
8
|
+
"tool",
|
|
9
|
+
"node-modules",
|
|
10
|
+
"node_modules",
|
|
11
|
+
"modules",
|
|
12
|
+
"delete",
|
|
13
|
+
"remove",
|
|
14
|
+
"remover",
|
|
15
|
+
"del",
|
|
16
|
+
"cleaner",
|
|
17
|
+
"cleanup",
|
|
18
|
+
"clean",
|
|
19
|
+
"prune",
|
|
20
|
+
"sweep",
|
|
21
|
+
"bulk",
|
|
22
|
+
"batch",
|
|
23
|
+
"disk-usage",
|
|
24
|
+
"disk-space",
|
|
25
|
+
"free-up-space",
|
|
26
|
+
"workspace",
|
|
27
|
+
"monorepo",
|
|
28
|
+
"npm",
|
|
29
|
+
"pnpm",
|
|
30
|
+
"yarn",
|
|
31
|
+
"bun",
|
|
32
|
+
"node"
|
|
33
|
+
],
|
|
34
|
+
"author": "iYoWei",
|
|
35
|
+
"license": "MIT",
|
|
36
|
+
"repository": {
|
|
37
|
+
"type": "git",
|
|
38
|
+
"url": "git+https://github.com/iyowei/sweep-node-modules.git"
|
|
39
|
+
},
|
|
40
|
+
"homepage": "https://github.com/iyowei/sweep-node-modules#readme",
|
|
41
|
+
"bugs": {
|
|
42
|
+
"url": "https://github.com/iyowei/sweep-node-modules/issues"
|
|
43
|
+
},
|
|
44
|
+
"type": "module",
|
|
45
|
+
"bin": {
|
|
46
|
+
"sweep-nm": "bin/sweep-nm.mjs"
|
|
47
|
+
},
|
|
48
|
+
"files": [
|
|
49
|
+
"bin/sweep-nm.mjs",
|
|
50
|
+
"dist"
|
|
51
|
+
],
|
|
52
|
+
"engines": {
|
|
53
|
+
"node": ">=22.18.0"
|
|
54
|
+
},
|
|
55
|
+
"publishConfig": {
|
|
56
|
+
"access": "public",
|
|
57
|
+
"registry": "https://registry.npmjs.org/"
|
|
58
|
+
},
|
|
59
|
+
"devDependencies": {
|
|
60
|
+
"@iyowei/sweep-node-modules": "workspace:^"
|
|
61
|
+
},
|
|
62
|
+
"scripts": {
|
|
63
|
+
"build": "bun build src/cli.ts --target=node --outfile=dist/cli.js && bun scripts/write-dist-manifest.ts",
|
|
64
|
+
"prepublishOnly": "npm run build && npm run verify:release",
|
|
65
|
+
"verify:release": "bun scripts/verify-release.ts",
|
|
66
|
+
"typecheck": "tsc --noEmit",
|
|
67
|
+
"test": "bun test"
|
|
68
|
+
}
|
|
69
|
+
}
|