@theholocron/cli 5.0.0-alpha.517 → 5.0.0-alpha.519
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 +6 -1
- package/dist/cli.mjs +596 -49
- package/dist/cli.mjs.map +1 -1
- package/dist/{config-system-CHEJvjlB.mjs → config-system-WSiPSdwj.mjs} +88 -5
- package/dist/{index-BUyUasR6.d.mts → index-DFp_iLFu.d.mts} +75 -3
- package/dist/index.d.mts +85 -8
- package/dist/index.mjs +278 -86
- package/dist/plugin/capabilities.d.mts +2 -2
- package/dist/presets.d.mts +1 -1
- package/dist/presets.mjs +1 -1
- package/package.json +10 -10
package/README.md
CHANGED
|
@@ -255,7 +255,7 @@ and in the file is an error that names both (`vercel.teamId is set in providers.
|
|
|
255
255
|
provider the config does not use is ignored. The org area is shared: a config in a subdirectory (`apps/sentinel`)
|
|
256
256
|
also reads the repository root's `.holocron/org.ts` (the nearest ancestor with a `.git`), and its own
|
|
257
257
|
`.holocron/org.ts` wins for a key set in both, option by option; that is not an error, so an identifier written in the
|
|
258
|
-
root file needs no copy in the app. The other areas (`repo`, `notifications`) describe the repository and are not
|
|
258
|
+
root file needs no copy in the app. `issueTypes` (#2512) is a top-level list in the same file, `[{ name, description?, color?, enabled?, label?, commit? }]`: the organization's issue Types, which `--type` on `new issue`, `update issue`, `new work`, `update work` and `start work` accepts as lower-case kinds beside `bug`, `feature` and `task` (`commit` is the commit type `start work` uses, `label` the Linear label); it is validated when the config loads and a subdirectory's own list replaces the root's. The other areas (`repo`, `notifications`) describe the repository and are not
|
|
259
259
|
shared. Anything CI needs (`HOLOCRON_CLOUDFLARE_ACCOUNT_ID`,
|
|
260
260
|
`HOLOCRON_TURBO_TEAM`, `HOLOCRON_AXIOM_DATASET`) stays out: it lives in 1Password and syncs to a GitHub variable (`repo.variables.sync`),
|
|
261
261
|
and nothing else carries a copy. `.holocron/org.md` (the agent contract the CLI embeds) is not an area: only
|
|
@@ -796,6 +796,11 @@ See the [command pages](https://theholocron.dev/holocron/commands/setup-notifica
|
|
|
796
796
|
custom property does not allow yet (`holocron doctor repo` names them). The allowed values are organization-wide, so it
|
|
797
797
|
asks first (`--yes` skips the question; `--dry-run` only reads). It only adds values: nothing is removed or reordered
|
|
798
798
|
and the rest of the definition is kept. It needs a token with the organization's Custom properties: admin.
|
|
799
|
+
- **`holocron apply issue-types [--update] [--yes]`** — makes the organization's issue Types match the `issueTypes` the
|
|
800
|
+
org area declares: creates the missing ones in declaration order and, with `--update`, sets a differing description or
|
|
801
|
+
colour. It never deletes, renames or turns a Type on or off, asks first (`--yes` skips the question; `--dry-run` only
|
|
802
|
+
reads), refuses to write when existing plus new Types would pass GitHub's 25, and needs the organization permission
|
|
803
|
+
Issue types: write (`HOLOCRON_ORG_TOKEN`) and an organization admin.
|
|
799
804
|
- **`holocron cleanup branches [--local | --remote]`** — lists the branches whose pull request is merged,
|
|
800
805
|
grouped, each saying whether it lives locally, on the remote or both; then asks, and offers a checklist with the
|
|
801
806
|
proven-merged ones ticked. Proven merged means an ancestor of `origin/alpha` or `origin/main`, or the head (or an
|