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
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ jobs:
with:
version: 8

- name: Use Node.js ${{ matrix.node-version }}
- name: Setup Node.js with pnpm cache
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
node-version: 24
cache: "pnpm"

- name: Install dependencies
Expand All @@ -55,10 +55,10 @@ jobs:
with:
version: 8

- name: Use Node.js ${{ matrix.node-version }}
- name: Setup Node.js with pnpm cache
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
node-version: 24
cache: "pnpm"

- name: Install dependencies
Expand Down Expand Up @@ -93,10 +93,10 @@ jobs:
with:
version: 8

- name: Use Node.js ${{ matrix.node-version }}
- name: Setup Node.js with pnpm cache
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
node-version: 24
cache: "pnpm"

- name: Install dependencies
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ dist/
*.tsbuildinfo
.vercel
.netlify
.wrangler
_site/

# Logs
Expand Down
1 change: 0 additions & 1 deletion .nvmrc

This file was deleted.

65 changes: 34 additions & 31 deletions astro.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import db from "@astrojs/db";
import { rehypeHeadingIds } from "@astrojs/markdown-remark";
import { rehypeHeadingIds, unified } from "@astrojs/markdown-remark";
import mdx from "@astrojs/mdx";
import netlify from "@astrojs/netlify";
import react from "@astrojs/react";
Expand Down Expand Up @@ -30,8 +30,13 @@ export default defineConfig({
trailingSlash: "never",
adapter: netlify(),
markdown: {
rehypePlugins: [rehypeHeadingIds, [rehypeAutolinkHeadings, autolinkConfig]],
remarkPlugins: [imgAttr],
processor: unified({
rehypePlugins: [
rehypeHeadingIds,
[rehypeAutolinkHeadings, autolinkConfig],
],
remarkPlugins: [imgAttr],
}),
},
vite: {
optimizeDeps: {
Expand All @@ -46,36 +51,34 @@ export default defineConfig({
devToolbar: {
enabled: false,
},
experimental: {
fonts: [
{
provider: fontProviders.local(),
name: "HEX Franklin",
cssVariable: "--font-sans",
fallbacks: ["sans-serif"],
options: {
variants: [
{
src: ["./src/fonts/HEX_Franklin_v0.3_Variable.woff2"],
},
],
},
fonts: [
{
provider: fontProviders.local(),
name: "HEX Franklin",
cssVariable: "--font-sans",
fallbacks: ["sans-serif"],
options: {
variants: [
{
src: ["./src/fonts/HEX_Franklin_v0.3_Variable.woff2"],
},
],
},
{
provider: fontProviders.local(),
name: "MonoLisa",
cssVariable: "--font-mono",
fallbacks: ["monospace"],
options: {
variants: [
{
src: ["./src/fonts/MonoLisaVariableNormal.woff2"],
},
],
},
},
{
provider: fontProviders.local(),
name: "MonoLisa",
cssVariable: "--font-mono",
fallbacks: ["monospace"],
options: {
variants: [
{
src: ["./src/fonts/MonoLisaVariableNormal.woff2"],
},
],
},
],
},
},
],
redirects: {
"/garden": "/",
"/projects": "/",
Expand Down
3 changes: 2 additions & 1 deletion biome.jsonc
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
{
"$schema": "https://biomejs.dev/schemas/2.4.15/schema.json",
"$schema": "https://biomejs.dev/schemas/2.4.16/schema.json",
"files": {
"includes": [
"**",
"!pnpm-lock.yaml",
"!**/build",
"!**/dist",
"!**/node_modules",
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": true,
"type": "module",
"engines": {
"node": ">=18.17.1"
"node": ">=24.14.0"
},
"scripts": {
"preinstall": "npx only-allow pnpm",
Expand All @@ -30,15 +30,15 @@
"@astrojs/check": "^0.9.9",
"@astrojs/db": "0.21.2",
"@astrojs/markdown-remark": "^7.2.0",
"@astrojs/mdx": "^4.3.14",
"@astrojs/netlify": "^6.6.5",
"@astrojs/mdx": "^5.0.3",
"@astrojs/netlify": "^7.0.6",
"@astrojs/react": "^5.0.7",
"@astrojs/rss": "^4.0.18",
"@astrojs/sitemap": "^3.7.3",
"@nanostores/react": "^1.1.0",
"@types/react": "^19.2.17",
"@types/react-dom": "^19.2.3",
"astro": "^5.18.2",
"astro": "^6.1.6",
"astro-expressive-code": "^0.43.0",
"autoprefixer": "^10.5.0",
"classnames": "^2.5.1",
Expand Down
Loading