Open-source Astro starter and component library for shipping modern marketing, SaaS, and content websites quickly.
Live site: https://vashonsoftware.com
This is the high-level structure used by the project:
/
├── public/
├── src/
│ ├── components/
│ ├── content/
│ ├── layouts/
│ ├── pages/
│ └── styles/
├── astro.config.mjs
├── package.json
└── wrangler.jsonc
Pages are file-routed from src/pages. Reusable UI and sections live in src/components.
Run commands from the repository root.
| Type | Command | Action |
|---|---|---|
| pnpm | pnpm install | Install dependencies from pnpm-lock.yaml |
| pnpm | pnpm dev | Start local dev server at http://localhost:4321 |
| pnpm | pnpm run build | Build production output to dist |
| pnpm | pnpm run preview | Preview the production build locally |
| pnpm | pnpm run lint | Run ESLint checks |
| pnpm | pnpm run lint:fix | Run ESLint and auto-fix safe issues |
| pnpm | pnpm run format | Format the repository with Prettier |
| pnpm | pnpm run format:check | Check formatting without changing files |
| pnpm | pnpm run lint:md | Lint markdown files |
| pnpm | pnpm run astro -- --help | Show Astro CLI help |
This section separates PowerShell environment commands from pnpm project dependency commands.
Use these to verify or update developer tooling installed on your machine.
node -v
pnpm -v
Update pnpm through Corepack:
corepack enable
corepack prepare pnpm@latest --activate
pnpm -v
Update Node.js using winget (Windows):
winget upgrade OpenJS.NodeJS
If you use Node LTS specifically:
winget upgrade OpenJS.NodeJS.LTS
Use these to update package versions used by this repository.
pnpm update --latest
pnpm install
pnpm run lint
pnpm run build
If you want targeted upgrades instead of all packages:
pnpm up astro @astrojs/svelte @astrojs/sitemap @astrojs/mdx @astrojs/rss --latest
pnpm up tailwindcss @tailwindcss/vite @tailwindcss/typography --latest
pnpm install
pnpm run build
After successful updates, commit both package.json and pnpm-lock.yaml.
This repository uses Cloudflare Pages for deployments and GitHub Actions for CI build checks.
The workflow file .github/workflows/cloudflare-pages-deploy.yml runs on every push and manual dispatch. It:
This validates changes before or alongside Cloudflare Pages builds.
pnpm install
pnpm run lint
pnpm run build
This repository is maintained more as an internal site than a public contribution project. Use these standards for consistent updates:
For the full internal guide, see CONTRIBUTING.md.