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.
Files changed (165) hide show
  1. package/.puppeterrc.cjs +25 -0
  2. package/binaries/binary-executor.cjs +138 -3
  3. package/binaries/clean-nodemodule.cjs +138 -3
  4. package/binaries/clean-nodemodules.cjs +138 -3
  5. package/binaries/dev.cjs +138 -3
  6. package/binaries/empty.cjs +138 -3
  7. package/binaries/git-reduce-size.cjs +138 -3
  8. package/binaries/javakill.cjs +138 -3
  9. package/binaries/kill-night-crows.bat +7 -0
  10. package/binaries/kill-night-crows.ps1 +172 -0
  11. package/binaries/kill-process.cjs +138 -3
  12. package/binaries/nodekill.cjs +138 -3
  13. package/binaries/prod.cjs +138 -3
  14. package/binaries/py +111 -0
  15. package/binaries/py.cjs +178 -0
  16. package/binaries/py.cmd +49 -0
  17. package/binaries/rmfind.cjs +138 -3
  18. package/binaries/rmx.cjs +138 -3
  19. package/binaries/submodule-token.cjs +138 -3
  20. package/binaries/test-cjs +10 -0
  21. package/binaries/test-cjs.cjs +178 -0
  22. package/binaries/test-cjs.cmd +11 -0
  23. package/binaries/yarn-clean +32 -0
  24. package/binaries/yarn-clean.cjs +178 -0
  25. package/binaries/yarn-clean.cmd +30 -0
  26. package/binaries/yarn-clean.py +148 -0
  27. package/lib/binary-collections-config.cjs +1 -1
  28. package/lib/binary-collections-config.mjs +1 -1
  29. package/lib/binary-collections.cjs +167 -106
  30. package/lib/binary-collections.mjs +108 -94
  31. package/lib/changelog.cjs +61 -13
  32. package/lib/changelog.mjs +1 -1
  33. package/lib/{chunk-AI4CVPJ7.mjs → chunk-2CBJCW7E.mjs} +4 -4
  34. package/lib/chunk-34IQDTLZ.mjs +27 -0
  35. package/lib/chunk-3HFFECCI.mjs +27 -0
  36. package/lib/{chunk-SBNDSKG5.mjs → chunk-4UHL4WVN.mjs} +1 -1
  37. package/lib/chunk-7XTEJHOE.mjs +193 -0
  38. package/lib/chunk-AJDD5DZM.mjs +109 -0
  39. package/lib/chunk-BZWVHODJ.mjs +62 -0
  40. package/lib/{chunk-BEZKJ25G.mjs → chunk-FCDQGYBF.mjs} +5 -9
  41. package/lib/chunk-GEYA2USY.mjs +207 -0
  42. package/lib/chunk-ID2WBTE2.mjs +80 -0
  43. package/lib/chunk-JXFOHKDM.mjs +239 -0
  44. package/lib/{chunk-DI5MDPSN.mjs → chunk-N436BNBK.mjs} +192 -64
  45. package/lib/chunk-NCXAP7AA.mjs +31 -0
  46. package/lib/chunk-PDN26I7O.mjs +188 -0
  47. package/lib/{chunk-E6FDDAOO.mjs → chunk-RWLXRTYP.mjs} +1 -1
  48. package/lib/{chunk-BDCHCWHD.mjs → chunk-TOIVAQF7.mjs} +4 -4
  49. package/lib/chunk-V5SKYJUB.mjs +136 -0
  50. package/lib/{chunk-HMRMTYZM.mjs → chunk-WSRETQCA.mjs} +21 -2
  51. package/lib/chunk-XA3SNBPA.mjs +184 -0
  52. package/lib/chunk-YYLIQQKF.mjs +31 -0
  53. package/lib/{chunk-V3N3JEUF.mjs → chunk-Z6JLYU2J.mjs} +60 -13
  54. package/lib/{chunk-O6SWBEOQ.mjs → chunk-ZDMWBSYF.mjs} +2 -2
  55. package/lib/clean-github-actions-caches.cjs +63 -15
  56. package/lib/clean-github-actions-caches.mjs +3 -3
  57. package/lib/del-gradle.cjs +61 -13
  58. package/lib/del-gradle.js +1 -0
  59. package/lib/del-gradle.mjs +1 -1
  60. package/lib/del-node-modules.cjs +143 -148
  61. package/lib/del-node-modules.js +210 -14
  62. package/lib/del-node-modules.mjs +148 -17
  63. package/lib/del-ps.cjs +61 -13
  64. package/lib/del-ps.js +1 -0
  65. package/lib/del-ps.mjs +1 -1
  66. package/lib/del-yarn-caches.cjs +61 -13
  67. package/lib/del-yarn-caches.mjs +1 -1
  68. package/lib/find-node-modules-cli.js +1 -0
  69. package/lib/free-chatgpt.cjs +253 -47
  70. package/lib/free-chatgpt.mjs +2 -2
  71. package/lib/git/gitattributes.cjs +1 -0
  72. package/lib/git/gitattributes.d.cts +7 -2
  73. package/lib/git/gitattributes.mjs +1 -1
  74. package/lib/git/line-endings.cjs +2 -1
  75. package/lib/git/line-endings.mjs +2 -2
  76. package/lib/git/undo-commit-cli.cjs +110 -0
  77. package/lib/git/undo-commit-cli.d.ts +1 -0
  78. package/lib/git/undo-commit-cli.js +4 -0
  79. package/lib/git/undo-commit-cli.mjs +14 -0
  80. package/lib/git/undo-commit.cjs +81 -0
  81. package/lib/git/undo-commit.d.cts +1 -0
  82. package/lib/git/undo-commit.mjs +7 -0
  83. package/lib/git/undo-staged-cli.cjs +110 -0
  84. package/lib/git/undo-staged-cli.d.ts +1 -0
  85. package/lib/git/undo-staged-cli.js +4 -0
  86. package/lib/git/undo-staged-cli.mjs +14 -0
  87. package/lib/git/undo-staged.cjs +81 -0
  88. package/lib/git/undo-staged.d.cts +1 -0
  89. package/lib/git/undo-staged.mjs +7 -0
  90. package/lib/git/user-config.cjs +61 -14
  91. package/lib/git/user-config.mjs +2 -2
  92. package/lib/git-diff-cli.cjs +255 -49
  93. package/lib/git-diff-cli.d.ts +1 -0
  94. package/lib/git-diff-cli.js +1 -0
  95. package/lib/git-diff-cli.mjs +5 -4
  96. package/lib/git-diff.cjs +254 -49
  97. package/lib/git-diff.mjs +4 -4
  98. package/lib/git-fix.cjs +64 -16
  99. package/lib/git-fix.mjs +10 -10
  100. package/lib/git-purge.cjs +61 -13
  101. package/lib/git-purge.mjs +1 -1
  102. package/lib/kill-night-crows.cjs +87 -0
  103. package/lib/kill-night-crows.d.mts +1 -0
  104. package/lib/kill-night-crows.mjs +65 -0
  105. package/lib/npm-run-series.cjs +60 -13
  106. package/lib/npm-run-series.mjs +1 -1
  107. package/lib/package-resolutions-updater-cli.cjs +560 -0
  108. package/lib/package-resolutions-updater-cli.d.mts +1 -0
  109. package/lib/package-resolutions-updater-cli.mjs +124 -0
  110. package/lib/package-resolutions-updater.cjs +174 -154
  111. package/lib/package-resolutions-updater.d.mts +32 -1
  112. package/lib/package-resolutions-updater.mjs +16 -294
  113. package/lib/php-cs-fixer-staged.cjs +105 -0
  114. package/lib/php-cs-fixer-staged.d.cts +2 -0
  115. package/lib/php-cs-fixer-staged.mjs +117 -0
  116. package/lib/print-directory-tree.cjs +62 -14
  117. package/lib/print-directory-tree.mjs +2 -2
  118. package/lib/ps/connected-domain.d.ts +1 -1
  119. package/lib/ps/index.js +1 -0
  120. package/lib/remove-module.cjs +61 -13
  121. package/lib/remove-module.mjs +1 -1
  122. package/lib/rmpath.cjs +63 -15
  123. package/lib/rmpath.mjs +2 -2
  124. package/lib/submodule-install.cjs +62 -15
  125. package/lib/submodule-install.mjs +3 -3
  126. package/lib/submodule-remove-cli.cjs +5 -1
  127. package/lib/submodule-remove-cli.mjs +1 -1
  128. package/lib/submodule-remove.cjs +4 -1
  129. package/lib/submodule-remove.mjs +1 -1
  130. package/lib/utils/chatgpt.cjs +192 -34
  131. package/lib/utils/chatgpt.js +210 -43
  132. package/lib/utils/chatgpt.mjs +1 -1
  133. package/lib/utils/findEnvFiles.cjs +107 -0
  134. package/lib/utils/findEnvFiles.d.ts +8 -0
  135. package/lib/utils/findEnvFiles.js +121 -0
  136. package/lib/utils/findEnvFiles.mjs +8 -0
  137. package/lib/utils/findWorkspaceRoot.cjs +70 -0
  138. package/lib/utils/findWorkspaceRoot.d.ts +9 -0
  139. package/lib/utils/findWorkspaceRoot.js +57 -0
  140. package/lib/utils/findWorkspaceRoot.mjs +40 -0
  141. package/lib/utils/index.cjs +60 -13
  142. package/lib/utils/index.mjs +1 -1
  143. package/lib/utils/isGithubTokenValid.cjs +64 -0
  144. package/lib/utils/isGithubTokenValid.d.ts +7 -0
  145. package/lib/utils/isGithubTokenValid.js +48 -0
  146. package/lib/utils/isGithubTokenValid.mjs +36 -0
  147. package/lib/yarn-reinstall.cjs +61 -13
  148. package/lib/yarn-reinstall.mjs +1 -1
  149. package/package.json +107 -93
  150. package/readme.md +33 -34
  151. package/releases/readme.md +1 -1
  152. package/requirements.txt +1 -0
  153. package/lib/chunk-4EWQC6GZ.mjs +0 -382
  154. package/lib/chunk-4ZI7BQKQ.mjs +0 -381
  155. package/lib/chunk-5J2BEPY5.mjs +0 -83
  156. package/lib/chunk-AGZYRDC2.mjs +0 -323
  157. package/lib/chunk-HN52G2YL.mjs +0 -305
  158. package/lib/chunk-HO6GHCOB.mjs +0 -385
  159. package/lib/chunk-LEM5OMRP.mjs +0 -384
  160. package/lib/chunk-RCP7DHVY.mjs +0 -190
  161. package/lib/chunk-U6SO4QEV.mjs +0 -320
  162. package/lib/chunk-XD6BJK6Q.mjs +0 -351
  163. package/lib/chunk-YXSFGA2D.mjs +0 -383
  164. package/lib/git/gitattributes.d.ts +0 -33
  165. 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.10",
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.11.0",
116
- "dotenv": "^17.2.1",
117
- "execa": "^9.6.0",
118
- "fs-extra": "^11.3.1",
119
- "git-command-helper": "^2.1.0",
120
- "glob": "^11.0.3",
121
- "minimatch": "^10.0.3",
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.17.0",
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.10",
129
- "upath": "^2.0.1",
130
- "yaml": "^2.8.1",
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.28.3",
135
- "@babel/preset-env": "^7.28.3",
136
- "@babel/preset-typescript": "^7.27.1",
137
- "@eslint/eslintrc": "^3.3.1",
138
- "@eslint/js": "^9.34.0",
139
- "@rollup/plugin-babel": "^6.0.4",
140
- "@rollup/plugin-commonjs": "^28.0.6",
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.1",
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": "^24.3.0",
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.40.0",
154
- "@typescript-eslint/parser": "^8.40.0",
155
- "babel-jest": "^30.0.5",
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.0.0",
158
- "cross-spawn": "https://github.com/dimaslanjaka/node-cross-spawn/raw/private/release/cross-spawn.tgz",
159
- "eslint": "^9.34.0",
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.4",
162
- "globals": "^16.3.0",
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.0.5",
166
- "lint-staged": "^16.1.5",
167
- "marked": "^16.2.0",
168
- "prettier": "^3.6.2",
169
- "rimraf": "^6.0.1",
170
- "rollup": "^4.48.1",
171
- "ts-jest": "^29.4.1",
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.0",
174
- "typedoc": "^0.28.11",
175
- "typedoc-plugin-ga": "^1.0.5",
176
- "typescript": "^5.9.2"
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/47133aa918c1292c15949c7f190be9cb302cd6f4/release/git-command-helper.tgz",
189
- "sbg-utility": "https://github.com/dimaslanjaka/static-blog-generator/raw/f58af787eab404891d8394fe0570ce603e0d7308/packages/sbg-utility/release/sbg-utility.tgz"
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
- ## VS Code Setup
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 | 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 |
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.
@@ -2,7 +2,7 @@
2
2
  ## Releases
3
3
  | version | tarball url |
4
4
  | :--- | :--- |
5
- | latest | https://github.com/dimaslanjaka/bin/raw/742c8ff/releases/bin.tgz |
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`:
@@ -0,0 +1 @@
1
+ psutil