@theholocron/cli 3.18.4 → 3.18.5
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 +8 -1
- package/dist/cli.mjs.map +1 -1
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -2723,6 +2723,13 @@ function workflowHeader(source = "packages/cli/src/commands/setup-workflows.ts")
|
|
|
2723
2723
|
``
|
|
2724
2724
|
].join("\n");
|
|
2725
2725
|
}
|
|
2726
|
+
function scaffoldHeader(source = "packages/cli/src/commands/setup.ts") {
|
|
2727
|
+
return [
|
|
2728
|
+
`# Scaffolded by holocron setup — edit this file freely.`,
|
|
2729
|
+
`# Source: theholocron/holocron · ${source}`,
|
|
2730
|
+
``
|
|
2731
|
+
].join("\n");
|
|
2732
|
+
}
|
|
2726
2733
|
const WORKFLOW_TEMPLATES = {
|
|
2727
2734
|
lint: lint_default$1,
|
|
2728
2735
|
test: test_default$1,
|
|
@@ -2861,7 +2868,7 @@ function mergeCodecovComponents(existing, packages) {
|
|
|
2861
2868
|
}
|
|
2862
2869
|
function codecovContent(packages) {
|
|
2863
2870
|
return [
|
|
2864
|
-
|
|
2871
|
+
scaffoldHeader(),
|
|
2865
2872
|
`codecov:`,
|
|
2866
2873
|
` require_ci_to_pass: true`,
|
|
2867
2874
|
``,
|