@osdlc/repo-cleaner 0.5.2 → 0.6.1
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/CHANGELOG.md +18 -0
- package/README.md +1 -0
- package/bin/repo-cleaner.js +2 -1
- package/dist/version.generated.d.ts +2 -0
- package/dist/version.generated.js +3 -0
- package/package.json +5 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @osdlc/repo-cleaner
|
|
2
2
|
|
|
3
|
+
## 0.6.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [a4ca07d]
|
|
8
|
+
- @osdlc/typed-gh@0.12.0
|
|
9
|
+
|
|
10
|
+
## 0.6.0
|
|
11
|
+
|
|
12
|
+
### Minor Changes
|
|
13
|
+
|
|
14
|
+
- bb61f10: `--version` prints the package version and exits 0.
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- Updated dependencies [bb61f10]
|
|
19
|
+
- @osdlc/cli-tool@0.11.0
|
|
20
|
+
|
|
3
21
|
## 0.5.2
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -187,6 +187,7 @@ one that says which it could not find.
|
|
|
187
187
|
| `--branch <name\|HEAD>` | Sweep one branch of this repository: its worktree, local and remote branch. Refuses the default branch |
|
|
188
188
|
| `--write-plan` | Write the deletable rows as a plan for `apply` |
|
|
189
189
|
| `--plan-out <path>` | Write the plan here; implies `--write-plan` |
|
|
190
|
+
| `--version` | Print `repo-cleaner <version>` and exit; it must be the first argument |
|
|
190
191
|
|
|
191
192
|
A checkout directory named `apply` is swept as `./apply`.
|
|
192
193
|
|
package/bin/repo-cleaner.js
CHANGED
|
@@ -4,5 +4,6 @@
|
|
|
4
4
|
// (`pnpm run build`).
|
|
5
5
|
import { runMain } from '@osdlc/cli-tool'
|
|
6
6
|
import { main } from '../dist/cli.js'
|
|
7
|
+
import { VERSION } from '../dist/version.generated.js'
|
|
7
8
|
|
|
8
|
-
await runMain(main, { name: 'repo-cleaner' })
|
|
9
|
+
await runMain(main, { name: 'repo-cleaner', version: VERSION })
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@osdlc/repo-cleaner",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.1",
|
|
4
4
|
"description": "What has been merged into the default branch, and what can go away. Inventories local branches, worktrees and remote branches across one repository or many, classifying each with the evidence behind the verdict and the command that would act on it. Plans and applies approved deletes, compare-and-swap.",
|
|
5
5
|
"license": "MIT OR Apache-2.0",
|
|
6
6
|
"author": "sksizer",
|
|
@@ -49,12 +49,12 @@
|
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"zod": "4.4.3",
|
|
52
|
-
"@osdlc/cli-tool": "^0.10.1",
|
|
53
52
|
"@osdlc/command-seam": "^0.14.0",
|
|
53
|
+
"@osdlc/cli-tool": "^0.11.0",
|
|
54
54
|
"@osdlc/path-guard": "^0.3.1",
|
|
55
55
|
"@osdlc/config-layers": "^0.8.0",
|
|
56
56
|
"@osdlc/typed-git": "^0.10.0",
|
|
57
|
-
"@osdlc/typed-gh": "^0.
|
|
57
|
+
"@osdlc/typed-gh": "^0.12.0"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
60
|
"@types/node": "^26.1.0",
|
|
@@ -67,7 +67,8 @@
|
|
|
67
67
|
"@osdlc/tsconfig": "^0.4.1"
|
|
68
68
|
},
|
|
69
69
|
"scripts": {
|
|
70
|
-
"build": "tsc -p tsconfig.build.json",
|
|
70
|
+
"build": "cli-tool-stamp-version && tsc -p tsconfig.build.json",
|
|
71
|
+
"stamp-version": "cli-tool-stamp-version",
|
|
71
72
|
"clean": "node -e \"require('node:fs').rmSync('dist', { recursive: true, force: true })\"",
|
|
72
73
|
"test": "vitest run",
|
|
73
74
|
"smoke": "node tests/smoke.mjs",
|