Skip to content

Commit 4ffc941

Browse files
authored
chore: 🔧 ⬆️ adopt nodeDocs() preset from @theholocron/holocron-config@7.26.0 (#178)
Replaces node() with the appropriate preset. requiredChecks now spreads the preset's stable Conclusion+codecov checks and adds only per-repo entries. Signed-off-by: Newton <5769156+iamnewton@users.noreply.github.com>
1 parent a304c3b commit 4ffc941

3 files changed

Lines changed: 14 additions & 18 deletions

File tree

‎holocron.config.ts‎

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
import { defineConfig } from "@theholocron/cli";
2-
import { node } from "@theholocron/holocron-config";
2+
import { nodeDocs } from "@theholocron/holocron-config";
33

4-
const { repo, workflows, providers } = node();
4+
const { repo, workflows, providers, org, domain, docs } = nodeDocs();
55
export default defineConfig({
66
description:
77
"A modern NodeJS template with pre-configured tools, best practices, and CI/CD setup for rapid project development.",
88
homepage: "https://docs.theholocron.dev/node-template/",
9+
org,
10+
domain,
11+
docs,
912
repo: {
1013
name: "theholocron/node-template",
1114
teams: [{ slug: "gatekeepers", permission: "maintain" }],
1215
topics: ["nodejs", "template", "typescript", "library"],
1316
...repo,
14-
protection: "strict",
15-
requiredChecks: ["audit / Knip", "audit / Audit the bundle size", "codecov/patch", "codecov/project"],
17+
requiredChecks: [...repo.requiredChecks, "audit / Audit the bundle size"],
1618
properties: {
1719
...repo.properties,
18-
runtime_environment: "node",
19-
open_source: true,
2020
uses_external_packages: false,
2121
},
2222
},
@@ -27,11 +27,7 @@ export default defineConfig({
2727
"sync",
2828
{ name: "deploy", with: { type: "docs", name: "node-template" }, paths: ["docs/**"] },
2929
],
30-
providers: {
31-
...providers,
32-
secrets: "github",
33-
},
34-
docs: { build: "workflow", https: true },
30+
providers: { ...providers, secrets: "github" },
3531
agent: "claude",
3632
skills: ["git-safety", "pr-workflow", "commit-standards", "security-review"],
3733
});

‎pnpm-lock.yaml‎

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎pnpm-workspace.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ catalogs:
3737
'@theholocron/astro-config': ^7.22.2
3838
'@theholocron/commitlint-config': ^7.19.1
3939
'@theholocron/eslint-config': ^7.24.1
40-
'@theholocron/holocron-config': ^7.19.1
40+
'@theholocron/holocron-config': ^7.26.0
4141
'@theholocron/lint-staged-config': ^7.19.1
4242
'@theholocron/prettier-config': ^7.19.1
4343
'@theholocron/semantic-release-config': ^7.19.1

0 commit comments

Comments
 (0)