@theholocron/cli 2.0.0-alpha.25 → 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 +26 -18
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -3588,23 +3588,31 @@ const ALEX_CONFIG = JSON.stringify({ allow: [
|
|
|
3588
3588
|
"husky",
|
|
3589
3589
|
"period"
|
|
3590
3590
|
] }, null, 2) + "\n";
|
|
3591
|
-
|
|
3592
|
-
|
|
3593
|
-
|
|
3594
|
-
|
|
3595
|
-
|
|
3596
|
-
|
|
3597
|
-
|
|
3598
|
-
|
|
3599
|
-
|
|
3600
|
-
- '^
|
|
3601
|
-
|
|
3602
|
-
|
|
3603
|
-
- '^
|
|
3604
|
-
|
|
3605
|
-
|
|
3606
|
-
- '^
|
|
3607
|
-
|
|
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
|
+
}
|
|
3608
3616
|
const DEPENDABOT_CONFIG = `\
|
|
3609
3617
|
# AUTO-GENERATED by holocron — run \`holocron setup\` to regenerate.
|
|
3610
3618
|
version: 2
|
|
@@ -3834,7 +3842,7 @@ async function runSetup(input) {
|
|
|
3834
3842
|
if (loader.has("source") && (config.project.workflows ?? []).map((e) => typeof e === "string" ? e : e.name).includes("bookkeeping-pr")) {
|
|
3835
3843
|
const source = loader.get("source");
|
|
3836
3844
|
steps.push(await runStep("source", "write .github/labeler.yml", dryRun, async () => {
|
|
3837
|
-
await source.writeRepoFile(".github/labeler.yml",
|
|
3845
|
+
await source.writeRepoFile(".github/labeler.yml", labelerConfig());
|
|
3838
3846
|
}));
|
|
3839
3847
|
print(formatStep(steps[steps.length - 1]));
|
|
3840
3848
|
}
|
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",
|