@theholocron/cli 2.0.0-alpha.33 → 2.0.0-alpha.35
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 +38 -28
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -3581,33 +3581,43 @@ function vaultProviderName(loader) {
|
|
|
3581
3581
|
}
|
|
3582
3582
|
//#endregion
|
|
3583
3583
|
//#region src/commands/setup.ts
|
|
3584
|
-
|
|
3585
|
-
|
|
3586
|
-
|
|
3587
|
-
|
|
3588
|
-
|
|
3589
|
-
|
|
3590
|
-
|
|
3591
|
-
|
|
3592
|
-
|
|
3593
|
-
|
|
3594
|
-
|
|
3595
|
-
|
|
3596
|
-
|
|
3597
|
-
|
|
3598
|
-
|
|
3599
|
-
|
|
3600
|
-
|
|
3601
|
-
|
|
3602
|
-
|
|
3603
|
-
|
|
3604
|
-
|
|
3605
|
-
|
|
3606
|
-
|
|
3607
|
-
|
|
3608
|
-
|
|
3609
|
-
|
|
3610
|
-
|
|
3584
|
+
function editorconfigContent() {
|
|
3585
|
+
return [
|
|
3586
|
+
`# AUTO-GENERATED — do not edit directly.`,
|
|
3587
|
+
`# Source: theholocron/holocron · packages/cli/src/commands/setup.ts`,
|
|
3588
|
+
`# Synced: ${(/* @__PURE__ */ new Date()).toISOString()}`,
|
|
3589
|
+
`# Tool: holocron setup`,
|
|
3590
|
+
`# Changes: run \`holocron setup\` to regenerate.`,
|
|
3591
|
+
``,
|
|
3592
|
+
`root = true`,
|
|
3593
|
+
``,
|
|
3594
|
+
`[*]`,
|
|
3595
|
+
`end_of_line = lf`,
|
|
3596
|
+
`charset = utf-8`,
|
|
3597
|
+
`trim_trailing_whitespace = true`,
|
|
3598
|
+
`insert_final_newline = true`,
|
|
3599
|
+
`indent_style = tab`,
|
|
3600
|
+
`indent_size = 4`,
|
|
3601
|
+
``,
|
|
3602
|
+
`[.gitattributes]`,
|
|
3603
|
+
`indent_style = space`,
|
|
3604
|
+
`indent_size = 2`,
|
|
3605
|
+
``,
|
|
3606
|
+
`[*.{json,yml,yaml}]`,
|
|
3607
|
+
`indent_style = space`,
|
|
3608
|
+
`indent_size = 2`,
|
|
3609
|
+
``,
|
|
3610
|
+
`[*.md]`,
|
|
3611
|
+
`trim_trailing_whitespace = false`,
|
|
3612
|
+
`indent_style = space`,
|
|
3613
|
+
`indent_size = 2`,
|
|
3614
|
+
``,
|
|
3615
|
+
`[.*{rc,ignore}]`,
|
|
3616
|
+
`indent_style = space`,
|
|
3617
|
+
`indent_size = 2`,
|
|
3618
|
+
``
|
|
3619
|
+
].join("\n");
|
|
3620
|
+
}
|
|
3611
3621
|
const EDITORCONFIG_CHECKER_CONFIG = JSON.stringify({
|
|
3612
3622
|
Version: "v3.7.0",
|
|
3613
3623
|
Verbose: false,
|
|
@@ -3909,7 +3919,7 @@ async function runSetup(input) {
|
|
|
3909
3919
|
}));
|
|
3910
3920
|
print(formatStep(steps[steps.length - 1]));
|
|
3911
3921
|
steps.push(await runStep("source", "write .editorconfig", dryRun, async () => {
|
|
3912
|
-
await source.writeRepoFile(".editorconfig",
|
|
3922
|
+
await source.writeRepoFile(".editorconfig", editorconfigContent());
|
|
3913
3923
|
}));
|
|
3914
3924
|
print(formatStep(steps[steps.length - 1]));
|
|
3915
3925
|
steps.push(await runStep("source", "write .editorconfig-checker.json", 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.35",
|
|
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",
|