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
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ jobs:
- name: Run Linting
run: npm run lint

- name: Type Check (TypeScript 7)
run: npm run typecheck

- name: Run Unit Tests
run: npm run test:unit

Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
24.15.0
24.18.0
16 changes: 13 additions & 3 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,19 @@ Some key commands are:

## Key Technical Decisions

- **Framework**: Astro with React integration
- **Styling**: Tailwind CSS with Typography plugin
- **Content**: MDX support for enhanced markdown
- **Framework**: Astro 7 with React integration
- **Styling**: Tailwind CSS v3 (Typography plugin), wired through `postcss.config.mjs`.
The old `@astrojs/tailwind` integration is gone (unsupported on Astro 7); PostCSS
runs `tailwindcss` + `autoprefixer` exactly as that integration did.
- **Content**: Content Layer collections (`src/content.config.ts`, `glob()` loaders);
MDX support for enhanced markdown
- **TypeScript**: TypeScript 7. The **native compiler** (`tsgo`, from
`@typescript/native-preview`) does the type-checking — `npm run typecheck`. Classic
`typescript@6` is still installed because the native compiler doesn't yet expose the
programmatic API that `astro check` and `typescript-eslint` rely on; those tools run
on 6.x. Keep the dated native-preview snapshot pinned and its lockfile entry refreshed
until TypeScript 7 is stable; remove `typescript@6` once those tools support the native
compiler.
- **Build**: Static site generation to `dist/` folder
- **Deployment**: GitHub Actions workflow deploys to GitHub Pages
- **Site URL**: https://plx.github.io
Expand Down
4 changes: 2 additions & 2 deletions astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
import { defineConfig } from "astro/config";
import mdx from "@astrojs/mdx";
import sitemap from "@astrojs/sitemap";
import tailwind from "@astrojs/tailwind";

import react from "@astrojs/react";

import expressiveCode from "astro-expressive-code";

import rehypeSidenotes from "./src/lib/rehype-sidenotes.mjs";

// Tailwind CSS is wired through PostCSS (postcss.config.mjs) rather than the
// former @astrojs/tailwind integration, which does not support Astro 7.
export default defineConfig({
site: "https://plx.github.io",
markdown: {
Expand All @@ -18,7 +19,6 @@ export default defineConfig({
},
integrations: [
sitemap(),
tailwind(),
react(),
expressiveCode({
themes: ["github-dark", "github-light"]
Expand Down
Loading
Loading