Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# AUTO-GENERATED — do not edit directly.
# Source: theholocron/holocron · packages/cli/src/commands/setup-workflows.ts
# Tool: holocron setup
# Changes: run `holocron setup` to regenerate.
name: Deploy Docs
# Tool: holocron sync-github
# Changes: edit source in theholocron/holocron and push to alpha or main.
name: Deploy

on: # yamllint disable-line rule:truthy
push:
Expand All @@ -21,10 +21,9 @@ permissions:
id-token: write

jobs:
deploy-docs:
name: Deploy Docs
uses: theholocron/.github/.github/workflows/deploy-docs.yml@main
deploy:
name: Deploy
uses: theholocron/.github/.github/workflows/deploy.yml@main
with:
name: cli-template
use-turbo: false
type: docs
secrets: inherit
19 changes: 19 additions & 0 deletions astro.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import starlight from "@astrojs/starlight";
import { defineConfig } from "@theholocron/astro-config";
import { docsTheme } from "@theholocron/docs-theme";

export default defineConfig({
docs: {
name: "CLI Template",
github: "cli-template",
sidebar: [
{ label: "Overview", slug: "" },
{ label: "Telemetry", slug: "telemetry" },
],
},
starlight,
docsTheme,
srcDir: "./docs/src",
outDir: "./docs/dist",
publicDir: "./docs/public",
});
22 changes: 0 additions & 22 deletions docs/astro.config.ts

This file was deleted.

19 changes: 3 additions & 16 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,9 @@
"name": "@theholocron/cli-template-site",
"version": "0.0.0",
"private": true,
"description": "Docs site for cli-template",
"scripts": {
"build": "astro build",
"dev": "astro dev",
"preview": "astro preview"
},
"dependencies": {
"@astrojs/starlight": "^0.41.5",
"@theholocron/docs-theme": "^1.3.0",
"astro": "^7.1.5"
},
"devDependencies": {
"@types/node": "^26.1.2",
"typescript": "^5.8.3"
},
"engines": {
"node": ">=22.0.0"
"build": "astro build --root ..",
"dev": "astro dev --root ..",
"preview": "astro preview --root .."
}
}
6 changes: 3 additions & 3 deletions docs/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "astro/tsconfigs/strict",
"include": [".astro/types.d.ts", "**/*"],
"exclude": ["dist", "node_modules"]
"extends": "@theholocron/tsconfig/astro",
"include": [".astro/types.d.ts", "../astro.config.ts", "src/**/*"],
"exclude": ["dist"]
}
2 changes: 1 addition & 1 deletion eslint.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { nodeApp } from "@theholocron/eslint-config/bundles/node-app";
import type { Linter } from "eslint";

const config: Linter.Config[] = [...nodeApp(), { ignores: ["dist/**", "coverage/**"] }];
const config: Linter.Config[] = [...nodeApp(), { ignores: ["docs/**", "dist/**", "coverage/**"] }];

export default config;
26 changes: 15 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,29 +42,33 @@
"yargs": "^18.1.0"
},
"devDependencies": {
"@astrojs/starlight": "^0.41.5",
"@commitlint/cli": "^21.2.1",
"@eslint/js": "^10.0.1",
"@semantic-release/changelog": "^7.0.0",
"@semantic-release/exec": "^7.1.0",
"@semantic-release/git": "^11.0.1",
"@semantic-release/github": "^12.0.9",
"@theholocron/cli": "^3.17.0",
"@theholocron/commitlint-config": "^7.15.0",
"@theholocron/eslint-config": "^7.15.0",
"@theholocron/holocron-config": "^7.15.0",
"@theholocron/holocron-plugin-github": "^3.17.0",
"@theholocron/lint-staged-config": "^7.15.0",
"@theholocron/prettier-config": "^7.15.0",
"@theholocron/semantic-release-config": "^7.15.0",
"@theholocron/astro-config": "^7.19.1",
"@theholocron/cli": "^3.24.4",
"@theholocron/commitlint-config": "^7.19.1",
"@theholocron/docs-theme": "^1.3.0",
"@theholocron/eslint-config": "^7.19.1",
"@theholocron/holocron-config": "^7.19.1",
"@theholocron/holocron-plugin-github": "^3.24.4",
"@theholocron/lint-staged-config": "^7.19.1",
"@theholocron/prettier-config": "^7.19.1",
"@theholocron/semantic-release-config": "^7.19.1",
"@theholocron/skills": "^1.3.2",
"@theholocron/tsconfig": "^7.15.0",
"@theholocron/tsdown-config": "^7.15.0",
"@theholocron/vitest-config": "^7.15.0",
"@theholocron/tsconfig": "^7.19.1",
"@theholocron/tsdown-config": "^7.19.1",
"@theholocron/vitest-config": "^7.19.1",
"@types/update-notifier": "^6.0.8",
"@types/yargs": "^17.0.35",
"@vitest/coverage-v8": "^4.1.10",
"@vitest/eslint-plugin": "^1.6.26",
"alex": "^11.0.1",
"astro": "^7.1.5",
"conventional-changelog-conventionalcommits": "^10.2.1",
"eslint": "^10.8.0",
"eslint-plugin-n": "^18.2.2",
Expand Down
Loading
Loading