binary-collections 2.0.10 → 2.0.11
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/.puppeterrc.cjs +25 -0
- package/binaries/binary-executor.cjs +138 -3
- package/binaries/clean-nodemodule.cjs +138 -3
- package/binaries/clean-nodemodules.cjs +138 -3
- package/binaries/dev.cjs +138 -3
- package/binaries/empty.cjs +138 -3
- package/binaries/git-reduce-size.cjs +138 -3
- package/binaries/javakill.cjs +138 -3
- package/binaries/kill-night-crows.bat +7 -0
- package/binaries/kill-night-crows.ps1 +172 -0
- package/binaries/kill-process.cjs +138 -3
- package/binaries/nodekill.cjs +138 -3
- package/binaries/prod.cjs +138 -3
- package/binaries/py +111 -0
- package/binaries/py.cjs +178 -0
- package/binaries/py.cmd +49 -0
- package/binaries/rmfind.cjs +138 -3
- package/binaries/rmx.cjs +138 -3
- package/binaries/submodule-token.cjs +138 -3
- package/binaries/test-cjs +10 -0
- package/binaries/test-cjs.cjs +178 -0
- package/binaries/test-cjs.cmd +11 -0
- package/binaries/yarn-clean +32 -0
- package/binaries/yarn-clean.cjs +178 -0
- package/binaries/yarn-clean.cmd +30 -0
- package/binaries/yarn-clean.py +148 -0
- package/lib/binary-collections-config.cjs +1 -1
- package/lib/binary-collections-config.mjs +1 -1
- package/lib/binary-collections.cjs +167 -106
- package/lib/binary-collections.mjs +108 -94
- package/lib/changelog.cjs +61 -13
- package/lib/changelog.mjs +1 -1
- package/lib/{chunk-AI4CVPJ7.mjs → chunk-2CBJCW7E.mjs} +4 -4
- package/lib/chunk-34IQDTLZ.mjs +27 -0
- package/lib/chunk-3HFFECCI.mjs +27 -0
- package/lib/{chunk-SBNDSKG5.mjs → chunk-4UHL4WVN.mjs} +1 -1
- package/lib/chunk-7XTEJHOE.mjs +193 -0
- package/lib/chunk-AJDD5DZM.mjs +109 -0
- package/lib/chunk-BZWVHODJ.mjs +62 -0
- package/lib/{chunk-BEZKJ25G.mjs → chunk-FCDQGYBF.mjs} +5 -9
- package/lib/chunk-GEYA2USY.mjs +207 -0
- package/lib/chunk-ID2WBTE2.mjs +80 -0
- package/lib/chunk-JXFOHKDM.mjs +239 -0
- package/lib/{chunk-DI5MDPSN.mjs → chunk-N436BNBK.mjs} +192 -64
- package/lib/chunk-NCXAP7AA.mjs +31 -0
- package/lib/chunk-PDN26I7O.mjs +188 -0
- package/lib/{chunk-E6FDDAOO.mjs → chunk-RWLXRTYP.mjs} +1 -1
- package/lib/{chunk-BDCHCWHD.mjs → chunk-TOIVAQF7.mjs} +4 -4
- package/lib/chunk-V5SKYJUB.mjs +136 -0
- package/lib/{chunk-HMRMTYZM.mjs → chunk-WSRETQCA.mjs} +21 -2
- package/lib/chunk-XA3SNBPA.mjs +184 -0
- package/lib/chunk-YYLIQQKF.mjs +31 -0
- package/lib/{chunk-V3N3JEUF.mjs → chunk-Z6JLYU2J.mjs} +60 -13
- package/lib/{chunk-O6SWBEOQ.mjs → chunk-ZDMWBSYF.mjs} +2 -2
- package/lib/clean-github-actions-caches.cjs +63 -15
- package/lib/clean-github-actions-caches.mjs +3 -3
- package/lib/del-gradle.cjs +61 -13
- package/lib/del-gradle.js +1 -0
- package/lib/del-gradle.mjs +1 -1
- package/lib/del-node-modules.cjs +143 -148
- package/lib/del-node-modules.js +210 -14
- package/lib/del-node-modules.mjs +148 -17
- package/lib/del-ps.cjs +61 -13
- package/lib/del-ps.js +1 -0
- package/lib/del-ps.mjs +1 -1
- package/lib/del-yarn-caches.cjs +61 -13
- package/lib/del-yarn-caches.mjs +1 -1
- package/lib/find-node-modules-cli.js +1 -0
- package/lib/free-chatgpt.cjs +253 -47
- package/lib/free-chatgpt.mjs +2 -2
- package/lib/git/gitattributes.cjs +1 -0
- package/lib/git/gitattributes.d.cts +7 -2
- package/lib/git/gitattributes.mjs +1 -1
- package/lib/git/line-endings.cjs +2 -1
- package/lib/git/line-endings.mjs +2 -2
- package/lib/git/undo-commit-cli.cjs +110 -0
- package/lib/git/undo-commit-cli.d.ts +1 -0
- package/lib/git/undo-commit-cli.js +4 -0
- package/lib/git/undo-commit-cli.mjs +14 -0
- package/lib/git/undo-commit.cjs +81 -0
- package/lib/git/undo-commit.d.cts +1 -0
- package/lib/git/undo-commit.mjs +7 -0
- package/lib/git/undo-staged-cli.cjs +110 -0
- package/lib/git/undo-staged-cli.d.ts +1 -0
- package/lib/git/undo-staged-cli.js +4 -0
- package/lib/git/undo-staged-cli.mjs +14 -0
- package/lib/git/undo-staged.cjs +81 -0
- package/lib/git/undo-staged.d.cts +1 -0
- package/lib/git/undo-staged.mjs +7 -0
- package/lib/git/user-config.cjs +61 -14
- package/lib/git/user-config.mjs +2 -2
- package/lib/git-diff-cli.cjs +255 -49
- package/lib/git-diff-cli.d.ts +1 -0
- package/lib/git-diff-cli.js +1 -0
- package/lib/git-diff-cli.mjs +5 -4
- package/lib/git-diff.cjs +254 -49
- package/lib/git-diff.mjs +4 -4
- package/lib/git-fix.cjs +64 -16
- package/lib/git-fix.mjs +10 -10
- package/lib/git-purge.cjs +61 -13
- package/lib/git-purge.mjs +1 -1
- package/lib/kill-night-crows.cjs +87 -0
- package/lib/kill-night-crows.d.mts +1 -0
- package/lib/kill-night-crows.mjs +65 -0
- package/lib/npm-run-series.cjs +60 -13
- package/lib/npm-run-series.mjs +1 -1
- package/lib/package-resolutions-updater-cli.cjs +560 -0
- package/lib/package-resolutions-updater-cli.d.mts +1 -0
- package/lib/package-resolutions-updater-cli.mjs +124 -0
- package/lib/package-resolutions-updater.cjs +174 -154
- package/lib/package-resolutions-updater.d.mts +32 -1
- package/lib/package-resolutions-updater.mjs +16 -294
- package/lib/php-cs-fixer-staged.cjs +105 -0
- package/lib/php-cs-fixer-staged.d.cts +2 -0
- package/lib/php-cs-fixer-staged.mjs +117 -0
- package/lib/print-directory-tree.cjs +62 -14
- package/lib/print-directory-tree.mjs +2 -2
- package/lib/ps/connected-domain.d.ts +1 -1
- package/lib/ps/index.js +1 -0
- package/lib/remove-module.cjs +61 -13
- package/lib/remove-module.mjs +1 -1
- package/lib/rmpath.cjs +63 -15
- package/lib/rmpath.mjs +2 -2
- package/lib/submodule-install.cjs +62 -15
- package/lib/submodule-install.mjs +3 -3
- package/lib/submodule-remove-cli.cjs +5 -1
- package/lib/submodule-remove-cli.mjs +1 -1
- package/lib/submodule-remove.cjs +4 -1
- package/lib/submodule-remove.mjs +1 -1
- package/lib/utils/chatgpt.cjs +192 -34
- package/lib/utils/chatgpt.js +210 -43
- package/lib/utils/chatgpt.mjs +1 -1
- package/lib/utils/findEnvFiles.cjs +107 -0
- package/lib/utils/findEnvFiles.d.ts +8 -0
- package/lib/utils/findEnvFiles.js +121 -0
- package/lib/utils/findEnvFiles.mjs +8 -0
- package/lib/utils/findWorkspaceRoot.cjs +70 -0
- package/lib/utils/findWorkspaceRoot.d.ts +9 -0
- package/lib/utils/findWorkspaceRoot.js +57 -0
- package/lib/utils/findWorkspaceRoot.mjs +40 -0
- package/lib/utils/index.cjs +60 -13
- package/lib/utils/index.mjs +1 -1
- package/lib/utils/isGithubTokenValid.cjs +64 -0
- package/lib/utils/isGithubTokenValid.d.ts +7 -0
- package/lib/utils/isGithubTokenValid.js +48 -0
- package/lib/utils/isGithubTokenValid.mjs +36 -0
- package/lib/yarn-reinstall.cjs +61 -13
- package/lib/yarn-reinstall.mjs +1 -1
- package/package.json +107 -93
- package/readme.md +33 -34
- package/releases/readme.md +1 -1
- package/requirements.txt +1 -0
- package/lib/chunk-4EWQC6GZ.mjs +0 -382
- package/lib/chunk-4ZI7BQKQ.mjs +0 -381
- package/lib/chunk-5J2BEPY5.mjs +0 -83
- package/lib/chunk-AGZYRDC2.mjs +0 -323
- package/lib/chunk-HN52G2YL.mjs +0 -305
- package/lib/chunk-HO6GHCOB.mjs +0 -385
- package/lib/chunk-LEM5OMRP.mjs +0 -384
- package/lib/chunk-RCP7DHVY.mjs +0 -190
- package/lib/chunk-U6SO4QEV.mjs +0 -320
- package/lib/chunk-XD6BJK6Q.mjs +0 -351
- package/lib/chunk-YXSFGA2D.mjs +0 -383
- package/lib/git/gitattributes.d.ts +0 -33
- package/lib/git/gitattributes.js +0 -223
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "binary-collections",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.11",
|
|
4
4
|
"description": "Utility to clean any programming caches and more",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cache",
|
|
@@ -38,57 +38,10 @@
|
|
|
38
38
|
"lib",
|
|
39
39
|
"package.json",
|
|
40
40
|
"docs-src/**/*.md",
|
|
41
|
-
"readme.md"
|
|
41
|
+
"readme.md",
|
|
42
|
+
".puppeterrc.*",
|
|
43
|
+
"requirements.txt"
|
|
42
44
|
],
|
|
43
|
-
"bin": {
|
|
44
|
-
"binary-collections": "lib/binary-collections.cjs",
|
|
45
|
-
"binary-executor": "binaries/binary-executor.cjs",
|
|
46
|
-
"changelog": "lib/changelog.cjs",
|
|
47
|
-
"chatgpt": "lib/free-chatgpt.cjs",
|
|
48
|
-
"clean-github-actions-cache": "lib/clean-github-actions-caches.cjs",
|
|
49
|
-
"clean-github-actions-caches": "lib/clean-github-actions-caches.cjs",
|
|
50
|
-
"clean-nodemodule": "binaries/clean-nodemodule.cjs",
|
|
51
|
-
"clean-nodemodules": "binaries/clean-nodemodules.cjs",
|
|
52
|
-
"clear-gh-caches": "lib/clean-github-actions-caches.cjs",
|
|
53
|
-
"clear-github-actions-cache": "lib/clean-github-actions-caches.cjs",
|
|
54
|
-
"clear-github-actions-caches": "lib/clean-github-actions-caches.cjs",
|
|
55
|
-
"del-gradle": "lib/del-gradle.cjs",
|
|
56
|
-
"del-node-modules": "lib/del-node-modules.cjs",
|
|
57
|
-
"del-nodemodules": "lib/del-node-modules.cjs",
|
|
58
|
-
"del-ps": "lib/del-ps.cjs",
|
|
59
|
-
"del-yarn-caches": "lib/del-yarn-caches.cjs",
|
|
60
|
-
"del-yarncaches": "lib/del-yarn-caches.cjs",
|
|
61
|
-
"dev": "binaries/dev.cjs",
|
|
62
|
-
"dir-tree": "lib/print-directory-tree.cjs",
|
|
63
|
-
"empty": "binaries/empty.cjs",
|
|
64
|
-
"find-node-modules": "lib/find-node-modules-cli.cjs",
|
|
65
|
-
"free-chatgpt": "lib/free-chatgpt.cjs",
|
|
66
|
-
"git-diff": "lib/git-diff-cli.cjs",
|
|
67
|
-
"git-fix": "lib/git-fix.cjs",
|
|
68
|
-
"git-purge": "lib/git-purge.cjs",
|
|
69
|
-
"git-reduce-size": "binaries/git-reduce-size.cjs",
|
|
70
|
-
"javakill": "binaries/javakill.cjs",
|
|
71
|
-
"kill-process": "binaries/kill-process.cjs",
|
|
72
|
-
"nodekill": "binaries/nodekill.cjs",
|
|
73
|
-
"npm-run-series": "lib/npm-run-series.cjs",
|
|
74
|
-
"nrs": "lib/npm-run-series.cjs",
|
|
75
|
-
"package-resolutions-updater": "lib/package-resolutions-updater.cjs",
|
|
76
|
-
"pkg-res-updater": "lib/package-resolutions-updater.cjs",
|
|
77
|
-
"pkg-resolutions-updater": "lib/package-resolutions-updater.cjs",
|
|
78
|
-
"print-directory-tree": "lib/print-directory-tree.cjs",
|
|
79
|
-
"print-tree": "lib/print-directory-tree.cjs",
|
|
80
|
-
"prod": "binaries/prod.cjs",
|
|
81
|
-
"remove-module": "lib/remove-module.cjs",
|
|
82
|
-
"rmfind": "binaries/rmfind.cjs",
|
|
83
|
-
"rmpath": "lib/rmpath.cjs",
|
|
84
|
-
"rmx": "binaries/rmx.cjs",
|
|
85
|
-
"run-s": "lib/npm-run-series.cjs",
|
|
86
|
-
"run-series": "lib/npm-run-series.cjs",
|
|
87
|
-
"submodule-install": "lib/submodule-install.cjs",
|
|
88
|
-
"submodule-remove": "lib/submodule-remove-cli.cjs",
|
|
89
|
-
"submodule-token": "binaries/submodule-token.cjs",
|
|
90
|
-
"yarn-reinstall": "lib/yarn-reinstall.cjs"
|
|
91
|
-
},
|
|
92
45
|
"scripts": {
|
|
93
46
|
"build": "tsc -b tsconfig.build.json && npm run build:tsup && npm run postbuild",
|
|
94
47
|
"build:packages": "yarn workspaces foreach --worktree --exclude=binary-collections --no-private run build",
|
|
@@ -104,76 +57,78 @@
|
|
|
104
57
|
"test:nrs": "npm test -- nrs build:**",
|
|
105
58
|
"test:watch": "npm test --watch",
|
|
106
59
|
"update:ncu": "npx npm-check-updates -u -x jsdom,chalk,hexo,deepmerge-ts --enginesNode --root",
|
|
107
|
-
"update:packer": "curl -L https://github.com/dimaslanjaka/nodejs-package-types/raw/main/packer.js > packer.cjs"
|
|
60
|
+
"update:packer": "curl -L https://github.com/dimaslanjaka/nodejs-package-types/raw/main/packer.js > packer.cjs",
|
|
61
|
+
"puppeteer:browser": "npx -y puppeteer browsers install chrome"
|
|
108
62
|
},
|
|
109
63
|
"repository": {
|
|
110
64
|
"type": "git",
|
|
111
65
|
"url": "git+https://github.com/dimaslanjaka/bin"
|
|
112
66
|
},
|
|
113
67
|
"dependencies": {
|
|
68
|
+
"@yarnpkg/core": "^4.7.0",
|
|
114
69
|
"ansi-colors": "^4.1.3",
|
|
115
|
-
"axios": "^1.
|
|
116
|
-
"dotenv": "^17.2
|
|
117
|
-
"execa": "^9.6.
|
|
118
|
-
"fs-extra": "^11.3.
|
|
119
|
-
"git-command-helper": "
|
|
120
|
-
"glob": "^
|
|
121
|
-
"minimatch": "^10.
|
|
70
|
+
"axios": "^1.15.2",
|
|
71
|
+
"dotenv": "^17.4.2",
|
|
72
|
+
"execa": "^9.6.1",
|
|
73
|
+
"fs-extra": "^11.3.4",
|
|
74
|
+
"git-command-helper": "https://github.com/dimaslanjaka/git-command-helper/raw/refs/heads/pre-release/release/git-command-helper.tgz",
|
|
75
|
+
"glob": "^13.0.6",
|
|
76
|
+
"minimatch": "^10.2.5",
|
|
122
77
|
"minimist": "^1.2.8",
|
|
123
78
|
"ps-node": "^0.1.6",
|
|
124
|
-
"puppeteer": "^24.
|
|
79
|
+
"puppeteer": "^24.42.0",
|
|
125
80
|
"puppeteer-extra": "^3.3.6",
|
|
126
81
|
"puppeteer-extra-plugin-stealth": "^2.11.2",
|
|
127
82
|
"remove": "^0.1.5",
|
|
128
|
-
"sbg-utility": "^2.0.
|
|
129
|
-
"upath": "^
|
|
130
|
-
"yaml": "^2.8.
|
|
83
|
+
"sbg-utility": "^2.0.11",
|
|
84
|
+
"upath": "^3.0.7",
|
|
85
|
+
"yaml": "^2.8.3",
|
|
131
86
|
"yarn": "^1.22.22"
|
|
132
87
|
},
|
|
133
88
|
"devDependencies": {
|
|
134
|
-
"@babel/core": "^7.
|
|
135
|
-
"@babel/preset-env": "^7.
|
|
136
|
-
"@babel/preset-typescript": "^7.
|
|
137
|
-
"@eslint/eslintrc": "^3.3.
|
|
138
|
-
"@eslint/js": "^
|
|
139
|
-
"@rollup/plugin-babel": "^
|
|
140
|
-
"@rollup/plugin-commonjs": "^
|
|
89
|
+
"@babel/core": "^7.29.0",
|
|
90
|
+
"@babel/preset-env": "^7.29.2",
|
|
91
|
+
"@babel/preset-typescript": "^7.28.5",
|
|
92
|
+
"@eslint/eslintrc": "^3.3.5",
|
|
93
|
+
"@eslint/js": "^10.0.1",
|
|
94
|
+
"@rollup/plugin-babel": "^7.0.0",
|
|
95
|
+
"@rollup/plugin-commonjs": "^29.0.2",
|
|
141
96
|
"@rollup/plugin-json": "^6.1.0",
|
|
142
|
-
"@rollup/plugin-node-resolve": "^16.0.
|
|
97
|
+
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
143
98
|
"@types/babel__core": "^7",
|
|
144
99
|
"@types/babel__preset-env": "^7",
|
|
145
100
|
"@types/eslint": "^9",
|
|
146
101
|
"@types/fs-extra": "^11",
|
|
147
102
|
"@types/jest": "^30.0.0",
|
|
148
103
|
"@types/minimist": "^1",
|
|
149
|
-
"@types/node": "^
|
|
104
|
+
"@types/node": "^25.6.0",
|
|
150
105
|
"@types/prettier": "^3",
|
|
151
106
|
"@types/ps-node": "^0",
|
|
152
107
|
"@types/yargs": "^17",
|
|
153
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
154
|
-
"@typescript-eslint/parser": "^8.
|
|
155
|
-
"babel-jest": "^30.
|
|
108
|
+
"@typescript-eslint/eslint-plugin": "^8.59.0",
|
|
109
|
+
"@typescript-eslint/parser": "^8.59.0",
|
|
110
|
+
"babel-jest": "^30.4.1",
|
|
156
111
|
"browser-sync": "^3.0.4",
|
|
157
|
-
"cross-env": "^10.
|
|
158
|
-
"cross-spawn": "https://github.com/dimaslanjaka/node-cross-spawn/raw/
|
|
159
|
-
"eslint": "^
|
|
112
|
+
"cross-env": "^10.1.0",
|
|
113
|
+
"cross-spawn": "https://github.com/dimaslanjaka/node-cross-spawn/raw/80999ac7a7031a81e11ddb5fab0f8ba433041c98/release/cross-spawn.tgz",
|
|
114
|
+
"eslint": "^10.2.1",
|
|
160
115
|
"eslint-config-prettier": "^10.1.8",
|
|
161
|
-
"eslint-plugin-prettier": "^5.5.
|
|
162
|
-
"globals": "^
|
|
116
|
+
"eslint-plugin-prettier": "^5.5.5",
|
|
117
|
+
"globals": "^17.5.0",
|
|
163
118
|
"gulp": "^5.0.1",
|
|
164
119
|
"husky": "^9.1.7",
|
|
165
|
-
"jest": "^30.
|
|
166
|
-
"lint-staged": "^16.
|
|
167
|
-
"marked": "^
|
|
168
|
-
"prettier": "^3.
|
|
169
|
-
"rimraf": "^6.
|
|
170
|
-
"rollup": "^4.
|
|
171
|
-
"ts-jest": "^29.4.
|
|
120
|
+
"jest": "^30.4.2",
|
|
121
|
+
"lint-staged": "^16.4.0",
|
|
122
|
+
"marked": "^18.0.3",
|
|
123
|
+
"prettier": "^3.8.3",
|
|
124
|
+
"rimraf": "^6.1.3",
|
|
125
|
+
"rollup": "^4.60.2",
|
|
126
|
+
"ts-jest": "^29.4.9",
|
|
172
127
|
"ts-node": "^10.9.2",
|
|
173
|
-
"tsup": "^8.5.
|
|
174
|
-
"typedoc": "^0.28.
|
|
175
|
-
"typedoc-plugin-ga": "^1.
|
|
176
|
-
"typescript": "^
|
|
128
|
+
"tsup": "^8.5.1",
|
|
129
|
+
"typedoc": "^0.28.19",
|
|
130
|
+
"typedoc-plugin-ga": "^1.1.1",
|
|
131
|
+
"typescript": "^6.0.3"
|
|
177
132
|
},
|
|
178
133
|
"directories": {
|
|
179
134
|
"lib": "lib",
|
|
@@ -185,7 +140,66 @@
|
|
|
185
140
|
"packageManager": "yarn@4.9.2",
|
|
186
141
|
"resolutions": {
|
|
187
142
|
"cross-spawn": "https://github.com/dimaslanjaka/node-cross-spawn/raw/80999ac7a7031a81e11ddb5fab0f8ba433041c98/release/cross-spawn.tgz",
|
|
188
|
-
"git-command-helper": "https://github.com/dimaslanjaka/git-command-helper/raw/
|
|
189
|
-
"sbg-utility": "https://github.com/dimaslanjaka/static-blog-generator/raw/
|
|
143
|
+
"git-command-helper": "https://github.com/dimaslanjaka/git-command-helper/raw/0ec870a451241af4f7e16acee5474afe38918c77/release/git-command-helper.tgz",
|
|
144
|
+
"sbg-utility": "https://github.com/dimaslanjaka/static-blog-generator/raw/1c6327117ab66a6ac7bac6df2b5c4f1cd9ef2785/packages/sbg-utility/release/sbg-utility.tgz"
|
|
145
|
+
},
|
|
146
|
+
"bin": {
|
|
147
|
+
"binary-collections": "lib/binary-collections.cjs",
|
|
148
|
+
"binary-executor": "binaries/binary-executor.cjs",
|
|
149
|
+
"changelog": "lib/changelog.cjs",
|
|
150
|
+
"chatgpt": "lib/free-chatgpt.cjs",
|
|
151
|
+
"clean-github-actions-cache": "lib/clean-github-actions-caches.cjs",
|
|
152
|
+
"clean-github-actions-caches": "lib/clean-github-actions-caches.cjs",
|
|
153
|
+
"clean-nodemodule": "binaries/clean-nodemodule.cjs",
|
|
154
|
+
"clean-nodemodules": "binaries/clean-nodemodules.cjs",
|
|
155
|
+
"clear-gh-caches": "lib/clean-github-actions-caches.cjs",
|
|
156
|
+
"clear-github-actions-cache": "lib/clean-github-actions-caches.cjs",
|
|
157
|
+
"clear-github-actions-caches": "lib/clean-github-actions-caches.cjs",
|
|
158
|
+
"del-gradle": "lib/del-gradle.cjs",
|
|
159
|
+
"del-node-modules": "lib/del-node-modules.cjs",
|
|
160
|
+
"del-nodemodules": "lib/del-node-modules.cjs",
|
|
161
|
+
"del-ps": "lib/del-ps.cjs",
|
|
162
|
+
"del-yarn-caches": "lib/del-yarn-caches.cjs",
|
|
163
|
+
"del-yarncaches": "lib/del-yarn-caches.cjs",
|
|
164
|
+
"dev": "binaries/dev.cjs",
|
|
165
|
+
"dir-tree": "lib/print-directory-tree.cjs",
|
|
166
|
+
"empty": "binaries/empty.cjs",
|
|
167
|
+
"find-node-modules": "lib/find-node-modules-cli.cjs",
|
|
168
|
+
"free-chatgpt": "lib/free-chatgpt.cjs",
|
|
169
|
+
"git-diff": "lib/git-diff-cli.cjs",
|
|
170
|
+
"git-fix": "lib/git-fix.cjs",
|
|
171
|
+
"git-purge": "lib/git-purge.cjs",
|
|
172
|
+
"git-reduce-size": "binaries/git-reduce-size.cjs",
|
|
173
|
+
"git-undo-commit": "lib/git/undo-commit.cjs",
|
|
174
|
+
"git-undo-staged": "lib/git/undo-staged.cjs",
|
|
175
|
+
"javakill": "binaries/javakill.cjs",
|
|
176
|
+
"kill-night-crows": "lib/kill-night-crows.cjs",
|
|
177
|
+
"kill-process": "binaries/kill-process.cjs",
|
|
178
|
+
"nodekill": "binaries/nodekill.cjs",
|
|
179
|
+
"npm-run-series": "lib/npm-run-series.cjs",
|
|
180
|
+
"nrs": "lib/npm-run-series.cjs",
|
|
181
|
+
"package-resolutions-updater": "lib/package-resolutions-updater-cli.cjs",
|
|
182
|
+
"php-cs-fixer-staged": "lib/php-cs-fixer-staged.cjs",
|
|
183
|
+
"pkg-res-updater": "lib/package-resolutions-updater-cli.cjs",
|
|
184
|
+
"pkg-resolutions-updater": "lib/package-resolutions-updater-cli.cjs",
|
|
185
|
+
"print-directory-tree": "lib/print-directory-tree.cjs",
|
|
186
|
+
"print-tree": "lib/print-directory-tree.cjs",
|
|
187
|
+
"prod": "binaries/prod.cjs",
|
|
188
|
+
"py": "binaries/py.cjs",
|
|
189
|
+
"remove-module": "lib/remove-module.cjs",
|
|
190
|
+
"rmfind": "binaries/rmfind.cjs",
|
|
191
|
+
"rmpath": "lib/rmpath.cjs",
|
|
192
|
+
"rmx": "binaries/rmx.cjs",
|
|
193
|
+
"run-s": "lib/npm-run-series.cjs",
|
|
194
|
+
"run-series": "lib/npm-run-series.cjs",
|
|
195
|
+
"submodule-install": "lib/submodule-install.cjs",
|
|
196
|
+
"submodule-remove": "lib/submodule-remove-cli.cjs",
|
|
197
|
+
"submodule-token": "binaries/submodule-token.cjs",
|
|
198
|
+
"test-cjs": "binaries/test-cjs.cjs",
|
|
199
|
+
"undo-commit": "lib/git/undo-commit.cjs",
|
|
200
|
+
"undo-last-commit": "lib/git/undo-commit.cjs",
|
|
201
|
+
"undo-staged": "lib/git/undo-staged.cjs",
|
|
202
|
+
"yarn-clean": "binaries/yarn-clean.cjs",
|
|
203
|
+
"yarn-reinstall": "lib/yarn-reinstall.cjs"
|
|
190
204
|
}
|
|
191
205
|
}
|
package/readme.md
CHANGED
|
@@ -34,10 +34,10 @@ npm install binary-collections@https://github.com/dimaslanjaka/bin/raw/master/re
|
|
|
34
34
|
yarn dlx binary-collections@https://raw.githubusercontent.com/dimaslanjaka/bin/master/releases/bin.tgz <command-name>
|
|
35
35
|
|
|
36
36
|
# NPX
|
|
37
|
-
npx binary-collections@https://raw.githubusercontent.com/dimaslanjaka/bin/master/releases/bin.tgz <command-name>
|
|
37
|
+
npx -y binary-collections@https://raw.githubusercontent.com/dimaslanjaka/bin/master/releases/bin.tgz <command-name>
|
|
38
38
|
```
|
|
39
39
|
|
|
40
|
-
##
|
|
40
|
+
## VSCode Setup
|
|
41
41
|
|
|
42
42
|
Create `.vscode/settings.json` to add binary tools to your PATH:
|
|
43
43
|
|
|
@@ -81,38 +81,17 @@ Create `.vscode/settings.json` to add binary tools to your PATH:
|
|
|
81
81
|
|
|
82
82
|
### Quick Reference
|
|
83
83
|
|
|
84
|
-
| Category
|
|
85
|
-
|
|
86
|
-
| **Git**
|
|
87
|
-
| **Submodules**
|
|
88
|
-
| **NPM Scripts**
|
|
89
|
-
| **Package Mgmt** | `yarn-reinstall`, `pkg-resolutions-updater`, `pkg-res-updater`
|
|
90
|
-
| **Node.js Dev**
|
|
91
|
-
| **Process Mgmt** | `kill-process`, `nodekill`, `javakill`, `del-ps`
|
|
92
|
-
| **File System**
|
|
93
|
-
| **Cleanup**
|
|
94
|
-
| **GitHub Actions
|
|
95
|
-
|
|
96
|
-
---
|
|
97
|
-
#### Binary List Generation & Source Code
|
|
98
|
-
|
|
99
|
-
The list of available binaries and utilities is auto-generated by the build script ([`build.mjs`](./build.mjs)).
|
|
100
|
-
- All CLI tools and binaries are collected from the `bin/`, `lib/`, and other relevant folders.
|
|
101
|
-
- The build process updates the `bin` field in `package.json` to reflect all available executables.
|
|
102
|
-
- Source code for utilities is located in the `src/` folder.
|
|
103
|
-
|
|
104
|
-
To update the binary list, run:
|
|
105
|
-
```bash
|
|
106
|
-
yarn run build
|
|
107
|
-
# or
|
|
108
|
-
node build.mjs
|
|
109
|
-
```
|
|
110
|
-
This scans the project and updates `package.json` with all available binaries. The list may change as files are added or removed.
|
|
111
|
-
|
|
112
|
-
See also:
|
|
113
|
-
- [Binary executables](https://github.com/dimaslanjaka/bin/tree/master/bin)
|
|
114
|
-
- [Library modules](https://github.com/dimaslanjaka/bin/tree/master/lib)
|
|
115
|
-
- [Package configuration](https://github.com/dimaslanjaka/bin/blob/master/package.json)
|
|
84
|
+
| Category | Commands | Description |
|
|
85
|
+
|---|---|---|
|
|
86
|
+
| **Git** | `git-purge`, `git-diff`, `git-fix`, `git-reduce-size` | Git repository management and optimization |
|
|
87
|
+
| **Submodules** | `submodule`, `submodule-install`, `submodule-remove`, `submodule-token` | Git submodule operations |
|
|
88
|
+
| **NPM Scripts** | `nrs`, `run-s`, `run-series`, `npm-run-series` | Run npm scripts in series with pattern matching |
|
|
89
|
+
| **Package Mgmt** | `yarn-reinstall`, `pkg-resolutions-updater`, `pkg-res-updater` | Yarn/package resolutions management utilities |
|
|
90
|
+
| **Node.js Dev** | `find-node-modules`, `find-nodemodules`, `dev`, `prod`, `empty` | Node.js development helpers |
|
|
91
|
+
| **Process Mgmt** | `kill-process`, `nodekill`, `javakill`, `del-ps` | Process management and termination |
|
|
92
|
+
| **File System** | `rmfind`, `rmpath`, `rmx`, `print-tree`, `dir-tree` | File system operations |
|
|
93
|
+
| **Cleanup** | `del-nodemodules`, `del-yarncaches`, `del-gradle` | Cache and build directory cleanup |
|
|
94
|
+
| **GitHub Actions** | `clean-github-actions-caches`, `clean-github-actions-cache`, `clear-github-actions-cache`, `clear-github-actions-caches`, `clear-gh-caches` | Remove old GitHub Actions caches, keep only latest |
|
|
116
95
|
|
|
117
96
|
### Git Tools
|
|
118
97
|
|
|
@@ -311,6 +290,26 @@ npx --yes rimraf .git/modules
|
|
|
311
290
|
npx --yes binary-collections@https://raw.githubusercontent.com/dimaslanjaka/bin/master/releases/bin.tgz submodule-install
|
|
312
291
|
```
|
|
313
292
|
|
|
293
|
+
## Binary List Generation & Source Code (Development)
|
|
294
|
+
|
|
295
|
+
The list of available binaries and utilities is auto-generated by the build script ([`build.mjs`](./build.mjs)).
|
|
296
|
+
- All CLI tools and binaries are collected from the `bin/`, `lib/`, and other relevant folders.
|
|
297
|
+
- The build process updates the `bin` field in `package.json` to reflect all available executables.
|
|
298
|
+
- Source code for utilities is located in the `src/` folder.
|
|
299
|
+
|
|
300
|
+
To update the binary list, run:
|
|
301
|
+
```bash
|
|
302
|
+
yarn run build
|
|
303
|
+
# or
|
|
304
|
+
node build.mjs
|
|
305
|
+
```
|
|
306
|
+
This scans the project and updates `package.json` with all available binaries. The list may change as files are added or removed.
|
|
307
|
+
|
|
308
|
+
See also:
|
|
309
|
+
- [Binary executables](https://github.com/dimaslanjaka/bin/tree/master/bin)
|
|
310
|
+
- [Library modules](https://github.com/dimaslanjaka/bin/tree/master/lib)
|
|
311
|
+
- [Package configuration](https://github.com/dimaslanjaka/bin/blob/master/package.json)
|
|
312
|
+
|
|
314
313
|
## Contributing
|
|
315
314
|
|
|
316
315
|
Contributions are welcome! Please feel free to submit a Pull Request.
|
package/releases/readme.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
## Releases
|
|
3
3
|
| version | tarball url |
|
|
4
4
|
| :--- | :--- |
|
|
5
|
-
| latest | https://github.com/dimaslanjaka/bin/raw/
|
|
5
|
+
| latest | https://github.com/dimaslanjaka/bin/raw/6b683c8/releases/bin.tgz |
|
|
6
6
|
| latest | https://github.com/dimaslanjaka/bin/raw/master/releases/bin.tgz |
|
|
7
7
|
|
|
8
8
|
use this tarball with `resolutions`:
|
package/requirements.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
psutil
|