Skip to content

refactor(infra): modernize stack with Astro 6 / Tailwind v4 / Biome / OpenSpec#81

Merged
ceynri merged 34 commits into
mainfrom
refactor/infra
Jun 26, 2026
Merged

refactor(infra): modernize stack with Astro 6 / Tailwind v4 / Biome / OpenSpec#81
ceynri merged 34 commits into
mainfrom
refactor/infra

Conversation

@ceynri

@ceynri ceynri commented Jun 25, 2026

Copy link
Copy Markdown
Owner
  • Toolchain: Astro 6, mise (node 24 / pnpm 11), ESLint → Biome
  • Styling: Tailwind v4 CSS-first, @theme inline semantic tokens, drop Sass
  • CI: 4-step gate (astro check → biome ci → build → dead-link), GH_PAT, pnpm 11
  • Content assets: dev/build pipeline serving from CONTENT_BASE, migrate markdown plugins to unified(), fix cross-origin CSS 403
  • Specs & rules: consolidate into AGENTS.md, remove .cursor/rules, init OpenSpec + knowledge index
  • Misc: RSS publishedAt, flow-field drops grayscale, replace any types, feed.xml → TS

Breaking: Sass/tailwind.config/eslint removed; content images served via pipeline, not public/images symlink.

ceynri added 30 commits June 20, 2026 01:36
- Tool version management: nvm → mise (node 24 + pnpm 11), delete .npmrc use-node-version
- Astro 6.4.8 + integrated upgrade (mdx 6, sitemap 3.7, rss 4, check 0.9.9)
- Responsive image configuration stabilization: experimentalLayout/Breakpoints → layout/breakpoints
-z import from astro/zod (Astro 6 canonical path)
- Added new upstream field to blog schema (summary/createAt/status/cost/related)
- Added poems content collection
- vite-plugin-static-copy upgraded to 4.x (compatible with Vite 7)
- pnpm-workspace.yaml declares build script whitelist
- Content submodule is synchronized to the latest (including new directories such as poems/career/daily)
- task.md updates upgrade status
Set up OpenSpec spec-driven workflow with a seed spec for blog-content derived from content.config.ts, plus the modernize-infra change scaffold ready for implementation.
…dd CI quality gate

- Tailwind 3→4: CSS-first @theme via @tailwindcss/vite, remove Sass entirely
- Biome replaces ESLint: single tool for lint+format with biome.json
- Migrate lucide-astro to @lucide/astro (deprecated package)
- Add CI quality gate: astro check + biome ci + astro build + lychee dead links
- Update AGENTS.md tech stack conventions; streamline task.md to intent-level backlog
- Align engines to node 24 / pnpm 11
- Add content asset resolver with contentUri/sourcePath/outputUrl triples
- Replace remark-relate-image-links with remarkContentAssets plugin
- Add in-memory asset manifest with dedup by outputUrl
- Add dev middleware and build plugin for asset serving/copying
- Add resolveContentBase utility for CONTENT_BASE env var resolution
- Add Vitest test framework with fixture tests
- Add OpenSpec change artifacts for content-asset-pipeline
- Update AGENTS.md with upstream/downstream relationship docs
…zation

- Stop rewriting Markdown image node URLs; let Astro handle optimization
- remarkContentAssets → remarkContentImageLinks, only converts link nodes
- Merge contentAssetBuildIntegration + contentAssetDevServer → contentAssetsIntegration
- Remove manifest.ts; build assets are determined by final dist HTML references
- Rename resolver fields: isLocalImageAssetUrl, resolveContentAssetReference, publicUrl
- Remove inline dev server from astro.config.ts
- Create knowledge/ with architecture doc for content image asset pipeline
- Sync openspec/specs/content-assets/spec.md to current implementation
- Add knowledge library hook to AGENTS.md
- Install knowledge-manager skill
…4 migration bugs

- Fix transition-property: transform no longer applies to v4's independent translate/rotate/scale properties
- Fix sparklable-text hover broken by @layer priority (components < utilities)
- Register 10 semantic color variables in @theme inline, replace 22+ arbitrary value utilities with token classes (bg-prose-bg, text-title, etc.)
- Deduplicate sparkle hover logic: prose a / summary / sparklable-text now share single source via @apply
- Move sparkle-text alongside sparklable-text as paired @Utility twins in main.css
- Add prose/typography layer documentation and modular scale comment
- Delete unused --transition-duration-* dead code
- Sync AGENTS.md color convention
ceynri added 4 commits June 26, 2026 13:04
- Add concurrency control to cancel outdated CI runs
- Add minimal permissions and Astro build cache
- Use check-latest and --prefer-offline for reliability
- Fix lychee --base → --root-dir (base requires absolute path/URL)
@ceynri ceynri changed the title refactor: upgrade to Astro 6 and enhance content asset pipeline refactor(infra): modernize stack with Astro 6 / Tailwind v4 / Biome / OpenSpec Jun 26, 2026
@ceynri ceynri self-assigned this Jun 26, 2026
@ceynri ceynri added the enhancement New feature or request label Jun 26, 2026
@ceynri ceynri added this to the v3 milestone Jun 26, 2026
@ceynri ceynri merged commit e1c8a4a into main Jun 26, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant