@theholocron/cli 2.0.0-alpha.24 → 2.0.0-alpha.26
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/dist/cli.mjs +32 -0
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -3588,6 +3588,31 @@ const ALEX_CONFIG = JSON.stringify({ allow: [
|
|
|
3588
3588
|
"husky",
|
|
3589
3589
|
"period"
|
|
3590
3590
|
] }, null, 2) + "\n";
|
|
3591
|
+
function labelerConfig() {
|
|
3592
|
+
return [
|
|
3593
|
+
`# AUTO-GENERATED — do not edit directly.`,
|
|
3594
|
+
`# Source: theholocron/holocron · packages/cli/src/commands/setup.ts`,
|
|
3595
|
+
`# Synced: ${(/* @__PURE__ */ new Date()).toISOString()}`,
|
|
3596
|
+
`# Tool: holocron setup`,
|
|
3597
|
+
`# Changes: run \`holocron setup\` to regenerate.`,
|
|
3598
|
+
``,
|
|
3599
|
+
`bug:`,
|
|
3600
|
+
` - '^fix'`,
|
|
3601
|
+
``,
|
|
3602
|
+
`dependencies:`,
|
|
3603
|
+
` - '^chore\\(deps'`,
|
|
3604
|
+
``,
|
|
3605
|
+
`documentation:`,
|
|
3606
|
+
` - '^docs'`,
|
|
3607
|
+
``,
|
|
3608
|
+
`enhancement:`,
|
|
3609
|
+
` - '^feat'`,
|
|
3610
|
+
``,
|
|
3611
|
+
`github_actions:`,
|
|
3612
|
+
` - '^ci'`,
|
|
3613
|
+
``
|
|
3614
|
+
].join("\n");
|
|
3615
|
+
}
|
|
3591
3616
|
const DEPENDABOT_CONFIG = `\
|
|
3592
3617
|
# AUTO-GENERATED by holocron — run \`holocron setup\` to regenerate.
|
|
3593
3618
|
version: 2
|
|
@@ -3814,6 +3839,13 @@ async function runSetup(input) {
|
|
|
3814
3839
|
print(formatStep(steps[steps.length - 1]));
|
|
3815
3840
|
}
|
|
3816
3841
|
}
|
|
3842
|
+
if (loader.has("source") && (config.project.workflows ?? []).map((e) => typeof e === "string" ? e : e.name).includes("bookkeeping-pr")) {
|
|
3843
|
+
const source = loader.get("source");
|
|
3844
|
+
steps.push(await runStep("source", "write .github/labeler.yml", dryRun, async () => {
|
|
3845
|
+
await source.writeRepoFile(".github/labeler.yml", labelerConfig());
|
|
3846
|
+
}));
|
|
3847
|
+
print(formatStep(steps[steps.length - 1]));
|
|
3848
|
+
}
|
|
3817
3849
|
if (loader.has("source") && config.project.repoPolicy?.preset !== "none") {
|
|
3818
3850
|
const source = loader.get("source");
|
|
3819
3851
|
steps.push(await runStep("source", "write .github/dependabot.yml", dryRun, async () => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theholocron/cli",
|
|
3
|
-
"version": "2.0.0-alpha.
|
|
3
|
+
"version": "2.0.0-alpha.26",
|
|
4
4
|
"description": "The Holocron CLI — a pluggable, capability-based orchestrator for spinning up and operating software projects.",
|
|
5
5
|
"homepage": "https://github.com/theholocron/holocron/tree/main/packages/cli#readme",
|
|
6
6
|
"bugs": "https://github.com/theholocron/holocron/issues",
|