@theholocron/cli 5.0.0-alpha.260 → 5.0.0-alpha.262
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/README.md +12 -2
- package/dist/cli.mjs +887 -409
- package/dist/cli.mjs.map +1 -1
- package/dist/{index-BD9zG_5Z.d.mts → index-BGZ_6iES.d.mts} +31 -1
- package/dist/{index-CdeSuXXV.d.mts → index-D0d--U7u.d.mts} +1 -1
- package/dist/index.d.mts +3 -3
- package/dist/plugin/capabilities.d.mts +2 -2
- package/dist/presets.d.mts +1 -1
- package/package.json +10 -10
package/README.md
CHANGED
|
@@ -111,7 +111,7 @@ Every command is tagged with how much of a repo it needs:
|
|
|
111
111
|
| ------------ | -------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
|
|
112
112
|
| `global` | the CLI binary alone | `version`, `clone`, `new repo` / `plugin`, `repo upgrade …`, `auth set` / `check`, `package …`, `run lint commit-msg`, `skills …` |
|
|
113
113
|
| `repo-aware` | `./holocron.config`, walking up from cwd, no plugins | `run`, `run ci`, `config show`, `repo sync readme`, `deploy on-release` |
|
|
114
|
-
| `workspace` | the `@theholocron/holocron-plugin-*` packages resolvable | `doctor`, `repo setup`, `repo sync`, `secrets …`, `deploy`, `sync github`
|
|
114
|
+
| `workspace` | the `@theholocron/holocron-plugin-*` packages resolvable | `doctor`, `repo setup`, `repo sync`, `repo cleanup branches`, `secrets …`, `deploy`, `sync github` |
|
|
115
115
|
|
|
116
116
|
A `workspace` command run from a bare global install (no plugins next to the
|
|
117
117
|
CLI) fails with one actionable line — install the plugins as devDependencies or
|
|
@@ -589,6 +589,16 @@ Provider credentials for Discord: `discord.holonet` is the **bot token** (Bot
|
|
|
589
589
|
|
|
590
590
|
See the [command pages](https://theholocron.dev/holocron/commands/notifications-setup/) for each command's options.
|
|
591
591
|
|
|
592
|
+
## Cleaning up
|
|
593
|
+
|
|
594
|
+
- **`holocron repo cleanup branches [--local | --remote]`** — lists the branches whose pull request is merged,
|
|
595
|
+
grouped, each saying whether it lives locally, on the remote or both; then asks, and offers a checklist with the
|
|
596
|
+
proven-merged ones ticked. Proven merged means an ancestor of `origin/alpha` or `origin/main`, or the head (or an
|
|
597
|
+
ancestor, or one of the commits) of a merged pull request. Branches with more commits than their merged PR, with
|
|
598
|
+
an open PR, checked out (here or in a worktree), or never merged are listed unticked. `--dry-run` only lists;
|
|
599
|
+
`--yes` deletes every proven-merged branch without asking. Pull requests and remote branches come from the
|
|
600
|
+
`source` provider (`Source.listPullRequests`, `listPullRequestCommits`, `listBranches`, `deleteBranch`).
|
|
601
|
+
|
|
592
602
|
## Upgrading
|
|
593
603
|
|
|
594
604
|
- **`holocron repo upgrade node <to>`** — patches every Node.js version pin
|
|
@@ -719,7 +729,7 @@ same paths in `holocron.config`'s `eslint.browserPackages`:
|
|
|
719
729
|
```ts
|
|
720
730
|
export default defineConfig({
|
|
721
731
|
eslint: {
|
|
722
|
-
browserPackages: ["
|
|
732
|
+
browserPackages: ["clients/github-client/src/app-auth"],
|
|
723
733
|
},
|
|
724
734
|
});
|
|
725
735
|
```
|