Skip to content

refactor(docs): move astro config to root, shim docs/package.json, adopt @theholocron/astro-config - #155

Merged
iamnewton merged 2 commits into
mainfrom
refactor/docs-structure
Aug 15, 2026
Merged

refactor(docs): move astro config to root, shim docs/package.json, adopt @theholocron/astro-config#155
iamnewton merged 2 commits into
mainfrom
refactor/docs-structure

Conversation

@iamnewton

Copy link
Copy Markdown
Collaborator

Summary

  • Moves docs/astro.config.ts → root astro.config.ts and converts to @theholocron/astro-config's defineConfig (matching the pattern used in clients, react-template, themes)
  • Replaces docs/package.json with a minimal shim (astro build/dev/preview --root ..) — astro deps move to root
  • Updates docs/tsconfig.json to extend @theholocron/tsconfig/astro with includes pointing to parent astro.config.ts
  • Adds n/no-extraneous-import: off for docs/src/** in eslint.config.ts (imports resolve via root package.json)
  • Adds @astrojs/starlight, @theholocron/astro-config, @theholocron/docs-theme, astro to root package.json / pnpm-workspace.yaml

…opt @theholocron/astro-config

Signed-off-by: Newton <5769156+iamnewton@users.noreply.github.com>
@iamnewton
iamnewton requested a review from a team as a code owner August 15, 2026 05:19
…olve tsconfig from shim docs/

Signed-off-by: Newton <5769156+iamnewton@users.noreply.github.com>
@iamnewton
iamnewton merged commit 776954b into main Aug 15, 2026
27 checks passed
@iamnewton
iamnewton deleted the refactor/docs-structure branch August 15, 2026 05:28
@iamnewton

Copy link
Copy Markdown
Collaborator Author

🎉 This PR is included in version 1.4.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@iamnewton iamnewton added the released Included in a release label Aug 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

released Included in a release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant