diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..9732a70 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,15 @@ +# EditorConfig is awesome: https://EditorConfig.org + +# top-most EditorConfig file +root = true + +[*] +indent_style = space +indent_size = 4 +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +[*.md] +trim_trailing_whitespace = false diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..3c7e4c9 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,41 @@ +name: CI + +on: + pull_request: + push: + branches: + - main + +concurrency: + group: ci-${{ github.ref }} + cancel-in-progress: true + +env: + FORCE_COLOR: 2 + NODE: 24 + +jobs: + ci: + name: Lint, type check & build + runs-on: ubuntu-latest + steps: + - name: Clone repository + uses: actions/checkout@v7 + + - name: Install pnpm and Node.js + uses: pnpm/setup@c9883cc79df532ad1a7b81bf9ab944ceb090d65c # v2.0.0 + with: + runtime: node@${{ env.NODE }} + cache: true + + - name: Install dependencies + run: pnpm install + + - name: Type check + run: pnpm check + + - name: Lint + run: pnpm lint + + - name: Build + run: pnpm build diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml new file mode 100644 index 0000000..5d06a77 --- /dev/null +++ b/.github/workflows/codeql.yml @@ -0,0 +1,40 @@ +name: CodeQL + +on: + push: + branches: + - main + pull_request: + +concurrency: + group: codeql-${{ github.ref }} + cancel-in-progress: true + +jobs: + analyze: + name: Analyze + runs-on: ubuntu-latest + permissions: + actions: read + contents: read + security-events: write + strategy: + fail-fast: false + matrix: + language: + - javascript-typescript + steps: + - name: Checkout repository + uses: actions/checkout@v7 + + - name: Initialize CodeQL + uses: github/codeql-action/init@v3 + with: + languages: ${{ matrix.language }} + queries: security-extended,security-and-quality + + - name: Autobuild + uses: github/codeql-action/autobuild@v3 + + - name: Perform CodeQL analysis + uses: github/codeql-action/analyze@v3 \ No newline at end of file diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 41f4b02..12c4a06 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -38,6 +38,12 @@ jobs: - name: Install dependencies run: pnpm install + - name: Type check + run: pnpm check + + - name: Lint + run: pnpm lint + - name: Build site run: pnpm build diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 22a1505..3a1c9ec 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -1,4 +1,4 @@ { - "recommendations": ["astro-build.astro-vscode"], - "unwantedRecommendations": [] + "recommendations": ["astro-build.astro-vscode"], + "unwantedRecommendations": [] } diff --git a/.vscode/launch.json b/.vscode/launch.json index d642209..230708d 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -1,11 +1,11 @@ { - "version": "0.2.0", - "configurations": [ - { - "command": "./node_modules/.bin/astro dev", - "name": "Development server", - "request": "launch", - "type": "node-terminal" - } - ] + "version": "0.2.0", + "configurations": [ + { + "command": "./node_modules/.bin/astro dev", + "name": "Development server", + "request": "launch", + "type": "node-terminal" + } + ] } diff --git a/AGENTS.md b/AGENTS.md index c5ff429..78ee96e 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -1,3 +1,26 @@ +## Blog publishing workflow — German source, English publication + +Blog articles are written in **German** as local drafts and **published in English +only**. German is NEVER rendered on the website — it only ever lives as source +files outside the content collection. + +- German originals live in `notes/de/.md` **outside this repo** in the + private workspace, tracked in the + workspace backup git repo. They are never part of this (public) repository + and never rendered: the content collection in `content.config.ts` only loads + `src/content/blog/`. The German filename is the **English slug** of the + eventual post (mapping by same basename, 1:1). The German title is the + content's heading, NOT the filename. +- English translations live in `src/content/blog/.md`. Publish states: + - `draft: true` → English translation in progress, visible only in + `astro dev`, excluded from the static build (all routes already filter + `data.draft !== true` in production). + - no `draft` (or `draft: false`) → published. +- Workflow: write DE source in `notes/de/` (workspace) → translate to EN → + create the EN file with `draft: true` in `src/content/blog/` → on approval + remove the `draft` field. +- Renaming an English slug requires renaming the German source file too. + ## Development When starting the dev server, use background mode: diff --git a/astro.config.mjs b/astro.config.mjs index e762ba5..ddff644 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -1,5 +1,15 @@ // @ts-check -import { defineConfig } from 'astro/config'; + +import sitemap from "@astrojs/sitemap"; +import { defineConfig } from "astro/config"; // https://astro.build/config -export default defineConfig({}); +export default defineConfig({ + site: "https://svgforge.github.io", + integrations: [sitemap()], + markdown: { + shikiConfig: { + theme: "github-dark", + }, + }, +}); diff --git a/biome.jsonc b/biome.jsonc new file mode 100644 index 0000000..6502136 --- /dev/null +++ b/biome.jsonc @@ -0,0 +1,27 @@ +{ + "$schema": "https://biomejs.dev/schemas/2.5.13/schema.json", + "vcs": { + "enabled": true, + "clientKind": "git", + "useIgnoreFile": true + }, + "linter": { + "enabled": true, + "rules": { + "preset": "recommended" + } + }, + "overrides": [ + { + "includes": ["**/*.astro"], + "linter": { + "rules": { + "correctness": { + "noUnusedVariables": "off", + "noUnusedImports": "off" + } + } + } + } + ] +} diff --git a/package.json b/package.json index e7a6b24..1f1f1fb 100644 --- a/package.json +++ b/package.json @@ -1,21 +1,29 @@ { - "name": "svgforge.github.io", - "type": "module", - "version": "0.0.1", - "packageManager": "pnpm@11.25.0", - "engines": { - "node": ">=22.12.0" - }, - "scripts": { - "dev": "astro dev", - "build": "astro build", - "preview": "astro preview", - "astro": "astro" - }, - "dependencies": { - "astro": "^7.3.1" - }, - "allowScripts": { - "esbuild": true - } -} \ No newline at end of file + "name": "svgforge.github.io", + "type": "module", + "version": "0.0.1", + "packageManager": "pnpm@11.25.0", + "engines": { + "node": ">=22.12.0" + }, + "scripts": { + "dev": "astro dev", + "build": "astro build", + "check": "astro check", + "lint": "biome ci .", + "preview": "astro preview", + "astro": "astro" + }, + "dependencies": { + "@astrojs/sitemap": "^3.7.4", + "astro": "^7.3.2" + }, + "allowScripts": { + "esbuild": true + }, + "devDependencies": { + "@astrojs/check": "^0.9.10", + "@biomejs/biome": "^2.5.13", + "typescript": "^6.0.3" + } +} diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6b406be..7f3e0e4 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -8,12 +8,31 @@ importers: .: dependencies: + '@astrojs/sitemap': + specifier: ^3.7.4 + version: 3.7.4 astro: - specifier: ^7.3.1 - version: 7.3.1(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.3) + specifier: ^7.3.2 + version: 7.3.2(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.3)(@types/node@24.13.4)(yaml@2.9.0) + devDependencies: + '@astrojs/check': + specifier: ^0.9.10 + version: 0.9.10(prettier@3.9.6)(typescript@6.0.3) + '@biomejs/biome': + specifier: ^2.5.13 + version: 2.5.13 + typescript: + specifier: ^6.0.3 + version: 6.0.3 packages: + '@astrojs/check@0.9.10': + resolution: {integrity: sha512-zgx/UQMozdjOa3bOxjgeCFdtpE3c9rRX6xHwa+2QXvy8z8Akifu2AtubHyv/zzC2znO8dl8fFWL4K+Ba9kS8HQ==} + hasBin: true + peerDependencies: + typescript: ^5.0.0 || ^6.0.0 + '@astrojs/compiler-binding-darwin-arm64@0.4.0': resolution: {integrity: sha512-ZVUwHundaQyFNjE6uoa0usaC0WOCitDCLS/4mdb4rOiJXwVUuKJBMxI5WMzXLWmamsXtK/Z//ifLXvV5Yeh4Hw==} engines: {node: ^20.19.0 || >=22.12.0} @@ -79,20 +98,41 @@ packages: resolution: {integrity: sha512-koVikeon1kreEy+/JzLQRy3vzHHQVOjycs4degg4vFufKApZOwMZvSSAEztYNhmcQVfNVsVZZI4cEge3cexAbQ==} engines: {node: '>=22.12.0'} + '@astrojs/compiler@2.13.1': + resolution: {integrity: sha512-f3FN83d2G/v32ipNClRKgYv30onQlMZX1vCeZMjPsMMPl1mDpmbl0+N5BYo4S/ofzqJyS5hvwacEo0CCVDn/Qg==} + '@astrojs/internal-helpers@0.11.0': resolution: {integrity: sha512-3rzxJ+xbo0+8YyqOzLziIN32wmsHdCjEVz2sGOpRxJ+Ben/KiLph4ItxBy1abEL+E8fkRzqjg0rfXmaHJGw9JA==} - '@astrojs/markdown-satteri@0.4.0': - resolution: {integrity: sha512-wykOOW9KsUVcZweOpY/CeXpdKcCKZy6fQbdcteWFuI75+sQCiqxYM7VKsGa5b+aGl3cYQscFY37rsbbyal5MRw==} + '@astrojs/language-server@2.16.16': + resolution: {integrity: sha512-KuS17AOOqH/M5mHXPmKvtp8L+NNteARC7Xjf395+9R9dtJOBndqdStwU4V+OKzYZpgZ+hliV13knzx/oMtFl7Q==} + hasBin: true + peerDependencies: + prettier: ^3.0.0 + prettier-plugin-astro: '>=0.11.0' + peerDependenciesMeta: + prettier: + optional: true + prettier-plugin-astro: + optional: true + + '@astrojs/markdown-satteri@0.4.1': + resolution: {integrity: sha512-EniHbFNa6SQHDih7JnpPos3NWXO6hdt4raBcOosfGmlfc3gP9CI/sESA3VOf1PgJZ7SFfewlZW9Livn0JugEZg==} '@astrojs/prism@4.0.2': resolution: {integrity: sha512-KTivpmnz6lDsC6o9H4+DNm2SrE/GHzw8cNAvEJwAvUT+eoaEnn/4NtbDNfRRaxaJHdp15gf+tfHAWiXR4wB3BA==} engines: {node: '>=22.12.0'} + '@astrojs/sitemap@3.7.4': + resolution: {integrity: sha512-LbKNC24bdUWcQf/pThB6qLlSqHojxGjZDURIzFocY8rlWnAn2t74nnhnK6S5x0NHriHoAduLEpVjRykmeGiVvA==} + '@astrojs/telemetry@3.3.3': resolution: {integrity: sha512-C1TLn5sPJr0x4vk56piHWKbnqlEB8BKyte5Y45V02U+D7BGO5eMqZDH5aPjnkXQWJggvmsTXxH03QMZ9NgWLzQ==} engines: {node: 18.20.8 || ^20.3.0 || >=22.0.0} + '@astrojs/yaml2ts@0.2.4': + resolution: {integrity: sha512-8oddpOae35pJsXPQXhTkM0ypfKPskVsh2bCxRtbf7e+/Epw2nReakFYpLKjZMEr75CsoF203PMnCocpfz0s69A==} + '@babel/helper-string-parser@7.29.7': resolution: {integrity: sha512-Pb5ijPrZ89GDH8223L4UP8i6QApWxs04RbPQJTeWDV0/keR2E36MeKnyr6LYmUUvqRRI+Iv87SuF1W6ErINzYw==} engines: {node: '>=6.9.0'} @@ -110,6 +150,63 @@ packages: resolution: {integrity: sha512-Vj1jF3cPfxg7OAfoI7QnVKLoILlm2JF9pnVHrX8qx7AHMiYWT+NDAA7jChlNgRS4WTLc/fD1lXLmPixluj+3Gg==} engines: {node: '>=6.9.0'} + '@biomejs/biome@2.5.13': + resolution: {integrity: sha512-+SEC/mFk1a+5mvUANZgbZTaiZXs1nj4iMhL/PHiqDT5TPUEPFIlliEtkKKZB4N862yylHC3UI+/Sj2I0HJEqhA==} + engines: {node: '>=14.21.3'} + hasBin: true + + '@biomejs/cli-darwin-arm64@2.5.13': + resolution: {integrity: sha512-nYSuDJ6zgVqZUkAkJkvhXxsF2PYIrUk/g638K4voCXz7foI9f7b6C2/7+oAihsHQlivZNMUrm/y8ywlcHQtZOw==} + engines: {node: '>=14.21.3'} + cpu: [arm64] + os: [darwin] + + '@biomejs/cli-darwin-x64@2.5.13': + resolution: {integrity: sha512-KVy1ceEDuJ3AzFxjT9kkxbVy+UANw1pjEMUS6lvKfxjJ+fmkRvc7sQn1Xo6ETgseEI7wUQoV03KSga3XfE8YRQ==} + engines: {node: '>=14.21.3'} + cpu: [x64] + os: [darwin] + + '@biomejs/cli-linux-arm64-musl@2.5.13': + resolution: {integrity: sha512-CH32xpep3dNS5EVJpAHlYchkBYznxyVZQrx0b6YYYlPL9u9ZeD2NtqiK/6s64+HFS2a7hGnryLlqqZAOh8ax5g==} + engines: {node: '>=14.21.3'} + cpu: [arm64] + os: [linux] + libc: [musl] + + '@biomejs/cli-linux-arm64@2.5.13': + resolution: {integrity: sha512-VlNMtoxOqs0dUR6drxxHr18SNUvI7xxAuHZlH4s/dstYSf3g6RaqVgo8JRnhcOhKz9afWrvtJTboNG1JuYlIDQ==} + engines: {node: '>=14.21.3'} + cpu: [arm64] + os: [linux] + libc: [glibc] + + '@biomejs/cli-linux-x64-musl@2.5.13': + resolution: {integrity: sha512-F3pmwl+VHoUuVJN/tbNLKeLt0SVK3EIyN1jXlMcNyQGYRQQTVqXF+GgkP0/CjGXFN87e/mv0sBfUnWqWza5PKQ==} + engines: {node: '>=14.21.3'} + cpu: [x64] + os: [linux] + libc: [musl] + + '@biomejs/cli-linux-x64@2.5.13': + resolution: {integrity: sha512-Fi6gIxbUaJ3ZCIXeG3ggIBPF76O2DjDN67WrPX/ODRv54GeXPm2gbEPC96Yb0yrJoiH0Eax1JLx1Pi0XbsNFZQ==} + engines: {node: '>=14.21.3'} + cpu: [x64] + os: [linux] + libc: [glibc] + + '@biomejs/cli-win32-arm64@2.5.13': + resolution: {integrity: sha512-+WD13qshXrr0Icv4BfsAdzm8Fs3TL+nZ59zEQxsYNd8lcgZJ0A5+OrlwsL1PipVCmWeRpxgIPD6DAcEd7smkCQ==} + engines: {node: '>=14.21.3'} + cpu: [arm64] + os: [win32] + + '@biomejs/cli-win32-x64@2.5.13': + resolution: {integrity: sha512-VOofU/nW761XWzUeUNE8zzYNyPrxuMuNFMizL0qz7J75yeV8N7WFheUlk1/K6dOkaFpH9wJ+lDKlwjAbw0346w==} + engines: {node: '>=14.21.3'} + cpu: [x64] + os: [win32] + '@bruits/satteri-darwin-arm64@0.10.5': resolution: {integrity: sha512-27KTVl4TJkVahMy/ohyA7qd4938G5UNneFUz/PsScYfpIhj0IVAS23mpcJXdPF44sa6nva198lmV/cKIb2YPyA==} cpu: [arm64] @@ -163,14 +260,35 @@ packages: resolution: {integrity: sha512-CuNiSqg7+e1cO/GjffyMOm5Tt2jUF9CWHHnvQ/UkqvtkGfHdgwEC0wpmq7fkN3gxwpRnrAN0WzO3vREKmNolMQ==} engines: {node: '>=18'} - '@clack/core@1.4.3': - resolution: {integrity: sha512-/kr3UWNtdJfxZtPgDqUOmG2pvwlmcLGheex5yiZKdwbzZJxhV+HMNR9QNmyY5cGwTNV6LrR7Jtp+KjhUAP1qBQ==} + '@clack/core@1.5.0': + resolution: {integrity: sha512-zNikCcd8BbcEvzzG1sbXFrRHFk5kHPrpwZwksPvf9qyQO1Teb7JaXaOAxXZei9nZLDW0gaZawiuTCji88bTBhw==} engines: {node: '>= 20.12.0'} - '@clack/prompts@1.7.0': - resolution: {integrity: sha512-y7/yvZ2TPAnR9+jnc00klvNNLkJiXFFrQA/hlLCcxA9a2A4zQIOimyFQ9XfwYKiGD1fb5GY8vbKIIgO8d5Tb2A==} + '@clack/prompts@1.8.0': + resolution: {integrity: sha512-PXzLZ8N34rxmuo4dJg3xtOXhcBse94qGjDqsteoEYrFrrZ5FSjIGwMAuOcv64ln8rHVBBD06XeVGr+/JX+plcA==} engines: {node: '>= 20.12.0'} + '@emmetio/abbreviation@2.3.3': + resolution: {integrity: sha512-mgv58UrU3rh4YgbE/TzgLQwJ3pFsHHhCLqY20aJq+9comytTXUDNGG/SMtSeMJdkpxgXSXunBGLD8Boka3JyVA==} + + '@emmetio/css-abbreviation@2.1.8': + resolution: {integrity: sha512-s9yjhJ6saOO/uk1V74eifykk2CBYi01STTK3WlXWGOepyKa23ymJ053+DNQjpFcy1ingpaO7AxCcwLvHFY9tuw==} + + '@emmetio/css-parser@0.4.1': + resolution: {integrity: sha512-2bC6m0MV/voF4CTZiAbG5MWKbq5EBmDPKu9Sb7s7nVcEzNQlrZP6mFFFlIaISM8X6514H9shWMme1fCm8cWAfQ==} + + '@emmetio/html-matcher@1.3.0': + resolution: {integrity: sha512-NTbsvppE5eVyBMuyGfVu2CRrLvo7J4YHb6t9sBFLyY03WYhXET37qA4zOYUjBWFCRHO7pS1B9khERtY0f5JXPQ==} + + '@emmetio/scanner@1.0.4': + resolution: {integrity: sha512-IqRuJtQff7YHHBk4G8YZ45uB9BaAGcwQeVzgj/zj8/UdOhtQpEIupUhSk8dys6spFIWVZVeK20CzGEnqR5SbqA==} + + '@emmetio/stream-reader-utils@0.1.0': + resolution: {integrity: sha512-ZsZ2I9Vzso3Ho/pjZFsmmZ++FWeEd/txqybHTm4OgaZzdS8V9V/YYWQwg5TC38Z7uLWUV1vavpLLbjJtKubR1A==} + + '@emmetio/stream-reader@2.2.0': + resolution: {integrity: sha512-fXVXEyFA5Yv3M3n8sUGT7+fvecGrZP4k6FnWWMSZVQf69kAq0LLpaBQLGcPR30m3zMmKYhECP4k/ZkzvhEW5kw==} + '@emnapi/core@1.11.1': resolution: {integrity: sha512-RSvbQmHzdKzNsLYa/wHrbc3KN4sYLKAdPZxqiM2HATqv/SBk2/ENSHpvXGaLOMcsAyz0poEGqkmmKYG3OWiJEQ==} @@ -504,8 +622,8 @@ packages: '@jridgewell/sourcemap-codec@1.6.0': resolution: {integrity: sha512-T7jf+5zgsZHwNJ4lvQ7/aezbyk0nNX+zJVWpmHA7VYsEx7a7qr5Rg5IbtJFqkgze5Y2sruq1RUY8Q837Od7iFw==} - '@napi-rs/wasm-runtime@1.2.3': - resolution: {integrity: sha512-UMduMbqO5s5zF2NkNacMT/yK5Y5QiKvWr2+50bzIIxFDwVJ2h49b+oyjaCGPhJxd2/gC2x39EHv/gHVuu36x2Q==} + '@napi-rs/wasm-runtime@1.2.4': + resolution: {integrity: sha512-AJxoUD2/15ESHbvpcyjU274nsAPLuOtPHCk0vKJM5pj//Fg/B1FXNWjPnXTT9PymCYYiHo4zPj0ZomXBKhoy7g==} engines: {node: ^20.19.0 || ^22.13.0 || >=23.5.0} peerDependencies: '@emnapi/core': ^1.7.1 || ^2.0.0-alpha.4 @@ -514,101 +632,101 @@ packages: '@oslojs/encoding@1.1.0': resolution: {integrity: sha512-70wQhgYmndg4GCPxPPxPGevRKqTIJ2Nh4OkiMWmDAVYsTQ+Ta7Sq+rPevXyXGdzr30/qZBnyOalCszoMxlyldQ==} - '@oxc-project/types@0.148.0': - resolution: {integrity: sha512-Nm4s/jB+4FpFsPhWGEC4h7rzksesmtnMXomo6rCMcg/b8zLQuOziRgkCS1fxDCXOlJB/6Q8oABOZ/OP6RIPj9A==} + '@oxc-project/types@0.149.0': + resolution: {integrity: sha512-Efcc+iF0j3Bf67YjEqIqWXbX5XddXoK/Mw4K1/JuXwRCZ8N16VR7iT23nlCc9XrveFVh/E5Rqs2StT0V8v9LdA==} - '@rolldown/binding-android-arm-eabi@1.2.7': - resolution: {integrity: sha512-EypzgnYCwyVY4NDHKzGmNJT5b+XaQEBniHxsMdeIQLB/tcCzZnhqrzHpZFbX9iaxx+5RiB8caATBtfvZP7zVxQ==} + '@rolldown/binding-android-arm-eabi@1.2.8': + resolution: {integrity: sha512-tN5aztYkKCte4i5SIrrz5yK/HMjEuCqCSCJa418jOV8tZ1cBY3YF2otxB1ktPxzsLA1BeTqwapK0bfjxNvHJVw==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm] os: [android] - '@rolldown/binding-android-arm64@1.2.7': - resolution: {integrity: sha512-l17HE9EweWaqJZhuUuNBN/FzM62xw+DECVnJyvMsxn8vJFAGLy5QfLDoYAcronkAN8VxKZHezDpulHDPx95vFw==} + '@rolldown/binding-android-arm64@1.2.8': + resolution: {integrity: sha512-dIYTWl9XprMUiQFoc55KUyk/oS8SKYH3zFl0LTR7RT0Xj4hgSVyuJcroH8JUu8RcpF8fTB6E0aOwCkZoYPcDSQ==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [android] - '@rolldown/binding-darwin-arm64@1.2.7': - resolution: {integrity: sha512-8ED8ELFvHXc6OCETIn4gXObPiaR6bckM/ipXtbzlPVDRMBfEGjCKgO90F9YtfdpDatVx/ZQw7aZ1vUMf/+T3Mw==} + '@rolldown/binding-darwin-arm64@1.2.8': + resolution: {integrity: sha512-PCSDQGXD2IyTEFrcgPyBM8jJuGmrbCMuoIOXdbEGVemruKACXoLQJrb+A45Z0L5t1RQkdfJprAYPkikbh7dzdA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [darwin] - '@rolldown/binding-darwin-x64@1.2.7': - resolution: {integrity: sha512-/WPripjtiAIZ2tWY7ddijORT0Ujg87wxWW/qcoFVCKAWVDPhtY0xr7Dj0M3GyNGz60jGwTElhro/mkF9dT7dDQ==} + '@rolldown/binding-darwin-x64@1.2.8': + resolution: {integrity: sha512-Uk7lRsGhPFHVX/sAUC6D5H9Ol30dFHd6iquokll2th3LpdJ3F5CzQB+7DHn0Ri2mG+U7k2zXiPHDrwZenXhwSA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [darwin] - '@rolldown/binding-freebsd-x64@1.2.7': - resolution: {integrity: sha512-14DI4NcqpvbICxSnGLx3PmtDaWqRP/KGSGb6C+JLLVPeZRl6dKdHba3pGsqT3vpdTqhEYIPG0MMQ8c0xYqoJxA==} + '@rolldown/binding-freebsd-x64@1.2.8': + resolution: {integrity: sha512-DjszaTEVogPqA5bYzsEeqDCQxbcp2fexQwKcRspYji2yzR68fCf+e4fx6kBSRDwX5/brZaHw/hWS9+A/+/w9sQ==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [freebsd] - '@rolldown/binding-linux-arm-gnueabihf@1.2.7': - resolution: {integrity: sha512-bxrWIRvHWQvbJwi+VIie/kDJmQxcNE6xxWwZdqF/ExVAigtHkv54WTLQPb+QsZdnFy18fg7JPfWGL0RH6vwIlQ==} + '@rolldown/binding-linux-arm-gnueabihf@1.2.8': + resolution: {integrity: sha512-zmwa7FTmdzB6aaEEuuls18H6Ap5JmJPSoPTuXixeJZV6tG40SyLkApQtz1g8ptZtiEKqj9OM0oNLPh1AgvE31Q==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm] os: [linux] - '@rolldown/binding-linux-arm64-gnu@1.2.7': - resolution: {integrity: sha512-toOY2BChBZyuxU7OYX6Tn389di4IzAqPTycVcci0O7FSfBqzRB3RZn+K5Is6ANf4tmgRd/K1yZTsNTXbkXsnLg==} + '@rolldown/binding-linux-arm64-gnu@1.2.8': + resolution: {integrity: sha512-KdYQDPHwJVnbFwdTGMgxsI9SqblBlz6STGM+w1We/d5B8OWWidYH0MwkU/uA1wM5fIpO2MkOVxXrNzzuZhw9ew==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [linux] libc: [glibc] - '@rolldown/binding-linux-arm64-musl@1.2.7': - resolution: {integrity: sha512-lAIXTH/aiLRLxsTgQvfhjo4K1ydWIp00+V0voOr9beb/9ZmkUFrSIb03dXNFRgMNvkE6oGsF10ioQ6UsI+vS5Q==} + '@rolldown/binding-linux-arm64-musl@1.2.8': + resolution: {integrity: sha512-jFJTifHnNPY+yzOoNZQfSIysrVyXzEQPhPnOUjmD1bcQGHH6s7c8cViKWar8YplQImE5N9JRqMCLrM2CdxOrZA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [linux] libc: [musl] - '@rolldown/binding-linux-ppc64-gnu@1.2.7': - resolution: {integrity: sha512-kdnwS28Pkenp/mZMRwjXXXwxQ7pIsm+bF919LUK93BOyhcLsrVKdP2p9fxpiPNPAbNuch8ypQt0pm2P2LYCAGg==} + '@rolldown/binding-linux-ppc64-gnu@1.2.8': + resolution: {integrity: sha512-FhiOziBDWPBjbcmRzfLyIJnaP7AVMFXT7YCXPjXxj7wKU3vx24RjrCNN/zjvVa+N2vVoHJwCoUBvsrN/DG3zIA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [ppc64] os: [linux] libc: [glibc] - '@rolldown/binding-linux-s390x-gnu@1.2.7': - resolution: {integrity: sha512-516OdsyLdr5E65paF3yBF55t8mfm9+gmtCsK3xI7XKXIT7EfRlHhxL8K/NR6Hu8BWSgF5+1w74lTL0+nxcc8Qw==} + '@rolldown/binding-linux-s390x-gnu@1.2.8': + resolution: {integrity: sha512-WnHfADMzOV2Y55wlx1hzzQnar/wDt/VdvWSD99r18Mz9ylNieIGOkRx3UV21h7m/eJvjySYJkO26VvGNFkwsIQ==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [s390x] os: [linux] libc: [glibc] - '@rolldown/binding-linux-x64-gnu@1.2.7': - resolution: {integrity: sha512-r8/z8n7GFaYRln3xmP1Cxy0HH/HLM0uBUPkEuSVEfKGDA89M0FsZRZJRSwe/tJjRx+fpH/gjorfhB8tmEbSFLA==} + '@rolldown/binding-linux-x64-gnu@1.2.8': + resolution: {integrity: sha512-H9tRr5ibfXFVLxbPOseVewewFpl28zcEdjRDt2FTUZU7odxP0gEv1ki4/kGmcGOh78oRwZuuQllGLZ9zTJp84g==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [linux] libc: [glibc] - '@rolldown/binding-linux-x64-musl@1.2.7': - resolution: {integrity: sha512-pAsE8iiDxUg1xBqdhrTfg45AVDVpirjz00sblEYClGNNcMnDb+e8beQgqIAw6LvauX/APvgxUnwrgun/YYGBhw==} + '@rolldown/binding-linux-x64-musl@1.2.8': + resolution: {integrity: sha512-UefiqfM3D6IVNlZ8tSGs9+Ejjud2T+oxO0IHADU45Y+lyEjD2dVFyZHbkfX0LUb5Zugo/oIv1eCO/KVYhgYJYA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [linux] libc: [musl] - '@rolldown/binding-openharmony-arm64@1.2.7': - resolution: {integrity: sha512-lTcIYmmnQQA8Or/2DatS6oSqcdLHvendjS+zLu+FwgToynWMRSmQdpM65fTANJgIS4mjbMOo5KT2lnT9SAb96w==} + '@rolldown/binding-openharmony-arm64@1.2.8': + resolution: {integrity: sha512-637Ke4kWSy6rp9cxQ9gMOXlxPgIw/c1beASV4M//3+9I4uwBVOOl74G+e3zyU3u19U7RkRl/HuewixZ/Z6+Rjg==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [openharmony] - '@rolldown/binding-win32-arm64-msvc@1.2.7': - resolution: {integrity: sha512-e3Gu3WxbNk/UqQhxqU7YIYO+9ZBvWNz3U+h/qRFosscMFzdRPbXYSaSWgSnklv2fz1TgzBTcti2z35c/7irsHw==} + '@rolldown/binding-win32-arm64-msvc@1.2.8': + resolution: {integrity: sha512-xWBkPOF1Q9k/Gv1nQXnVdLxKu74jXppuOM4Z3mnypVUJJJwLsMl7hNJGRAUJoG8A5MgOI1ACKM+wBFxSJzKy4A==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [win32] - '@rolldown/binding-win32-x64-msvc@1.2.7': - resolution: {integrity: sha512-W/jg5qoRSqjsEv0+dZi4e687mcHqmVuU0P4fK6qS/xjetW2Gmc1W8j//z5nAeNcC8Ttm0hV46IjcYeuVwYhuiw==} + '@rolldown/binding-win32-x64-msvc@1.2.8': + resolution: {integrity: sha512-uz2ZvfgXbxqNwijjjbxrnvALwpyODDcgc1T1N8N3rf/DXKQmaFwmB4LX4yyjggpwN2obdQLb2rgirX5ffCWYng==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [win32] @@ -665,20 +783,94 @@ packages: '@types/nlcst@2.0.3': resolution: {integrity: sha512-vSYNSDe6Ix3q+6Z7ri9lyWqgGhJTmzRjZRqyq15N0Z/1/UnVsno9G/N40NBijoYx2seFDIl0+B2mgAb9mezUCA==} + '@types/node@24.13.4': + resolution: {integrity: sha512-YJ7EqCstVTzIr0fMr7qul/977en+pQHrfmuKIo6Zr9i75Be21dr3MovcfvGtyvi2HAUrRerWps5sMO9I7WaxDw==} + + '@types/sax@1.2.7': + resolution: {integrity: sha512-rO73L89PJxeYM3s3pPPjiPgVVcymqU490g0YO5n5By0k2Erzj6tay/4lr1CHAAU4JyOWd1rpQ8bCf6cZfHU96A==} + '@types/unist@3.0.3': resolution: {integrity: sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q==} '@ungap/structured-clone@1.4.0': resolution: {integrity: sha512-1mEZtMKPM09vDmQt5y7YvmN2+DFTP7Tg0EWXdic8/C6VRnpb33e4ghisCIE3WZjsE2N8mf+QV1Zqh7ZFYLWInQ==} + '@volar/kit@2.4.28': + resolution: {integrity: sha512-cKX4vK9dtZvDRaAzeoUdaAJEew6IdxHNCRrdp5Kvcl6zZOqb6jTOfk3kXkIkG3T7oTFXguEMt5+9ptyqYR84Pg==} + peerDependencies: + typescript: '*' + + '@volar/language-core@2.4.28': + resolution: {integrity: sha512-w4qhIJ8ZSitgLAkVay6AbcnC7gP3glYM3fYwKV3srj8m494E3xtrCv6E+bWviiK/8hs6e6t1ij1s2Endql7vzQ==} + + '@volar/language-server@2.4.28': + resolution: {integrity: sha512-NqcLnE5gERKuS4PUFwlhMxf6vqYo7hXtbMFbViXcbVkbZ905AIVWhnSo0ZNBC2V127H1/2zP7RvVOVnyITFfBw==} + peerDependencies: + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true + + '@volar/language-service@2.4.28': + resolution: {integrity: sha512-Rh/wYCZJrI5vCwMk9xyw/Z+MsWxlJY1rmMZPsxUoJKfzIRjS/NF1NmnuEcrMbEVGja00aVpCsInJfixQTMdvLw==} + peerDependencies: + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true + + '@volar/source-map@2.4.28': + resolution: {integrity: sha512-yX2BDBqJkRXfKw8my8VarTyjv48QwxdJtvRgUpNE5erCsgEUdI2DsLbpa+rOQVAJYshY99szEcRDmyHbF10ggQ==} + + '@volar/typescript@2.4.28': + resolution: {integrity: sha512-Ja6yvWrbis2QtN4ClAKreeUZPVYMARDYZl9LMEv1iQ1QdepB6wn0jTRxA9MftYmYa4DQ4k/DaSZpFPUfxl8giw==} + peerDependencies: + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true + + '@vscode/emmet-helper@2.11.0': + resolution: {integrity: sha512-QLxjQR3imPZPQltfbWRnHU6JecWTF1QSWhx3GAKQpslx7y3Dp6sIIXhKjiUJ/BR9FX8PVthjr9PD6pNwOJfAzw==} + + '@vscode/l10n@0.0.18': + resolution: {integrity: sha512-KYSIHVmslkaCDyw013pphY+d7x1qV8IZupYfeIfzNA+nsaWHbn5uPuQRvdRFsa9zFzGeudPuoGoZ1Op4jrJXIQ==} + + ajv-draft-04@1.0.0: + resolution: {integrity: sha512-mv00Te6nmYbRp5DCwclxtt7yV/joXJPGS7nM+97GdxvuttCOfgI3K4U25zboyeX0O+myI8ERluxQe5wljMmVIw==} + peerDependencies: + ajv: ^8.5.0 + peerDependenciesMeta: + ajv: + optional: true + + ajv-i18n@4.2.0: + resolution: {integrity: sha512-v/ei2UkCEeuKNXh8RToiFsUclmU+G57LO1Oo22OagNMENIw+Yb8eMwvHu7Vn9fmkjJyv6XclhJ8TbuigSglPkg==} + peerDependencies: + ajv: ^8.0.0-beta.0 + + ajv@8.20.0: + resolution: {integrity: sha512-Thbli+OlOj+iMPYFBVBfJ3OmCAnaSyNn4M1vz9T6Gka5Jt9ba/HIR56joy65tY6kx/FCF5VXNB819Y7/GUrBGA==} + am-i-vibing@0.4.0: resolution: {integrity: sha512-MxT4XZL7pzLHpuvhDKdMaQHMGGkJDLluKBLsbstn+8wv9sWcFT6h+0ve9qkml95amVTZtZV83gQe2hY+ojgHLg==} hasBin: true + ansi-regex@6.3.0: + resolution: {integrity: sha512-WpDfL7NO6j7tH88IDBNVdUJxDh9nmCteAVW9dsep846XdwF4naCBK+/tGLX3KJgcpgMRXCFlTM2hKGoK9FsdrQ==} + engines: {node: '>=12'} + + ansi-styles@6.2.3: + resolution: {integrity: sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==} + engines: {node: '>=12'} + anymatch@3.1.3: resolution: {integrity: sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==} engines: {node: '>= 8'} + arg@5.0.2: + resolution: {integrity: sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==} + argparse@2.0.1: resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==} @@ -686,8 +878,8 @@ packages: resolution: {integrity: sha512-COROpnaoap1E2F000S62r6A60uHZnmlvomhfyT2DlTcrY1OrBKn2UhH7qn5wTC9zMvD0AY7csdPSNwKP+7WiQw==} engines: {node: '>= 0.4'} - astro@7.3.1: - resolution: {integrity: sha512-A/bJYHtc6n0UAdROY9W948fW6lX0pnUA+JWKW+IGCXRyDIGN2MsXC0OlS8onZGJjr+sv8htemwOc9W5PBRXCkw==} + astro@7.3.2: + resolution: {integrity: sha512-ysTcdpGP61XZpHoMRYC/CK19DQ94qkBvzXMtXEo0gEqPNkmOU/Tv++CtWmzaI4nF2Ck8RXFdiWvdlTWa2oOr9w==} engines: {node: '>=22.12.0', npm: '>=9.6.5', pnpm: '>=7.1.0'} hasBin: true peerDependencies: @@ -715,6 +907,10 @@ packages: character-entities-legacy@3.0.0: resolution: {integrity: sha512-RpPp0asT/6ufRm//AJVwpViZbGM/MkjQFxJccQRHmISF/22NBtsHqAWmL+/pmkPWoIUJdWyeVleTl1wydHATVQ==} + chokidar@4.0.3: + resolution: {integrity: sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA==} + engines: {node: '>= 14.16.0'} + chokidar@5.0.0: resolution: {integrity: sha512-TQMmc3w+5AxjpL8iIiwebF73dRDF4fBIieAqGn9RGCWaEVwQ6Fb2cGe31Yns0RRIzii5goJ1Y7xbMwo1TxMplw==} engines: {node: '>= 20.19.0'} @@ -723,6 +919,10 @@ packages: resolution: {integrity: sha512-77PSwercCZU2Fc4sX94eF8k8Pxte6JAwL4/ICZLFjJLqegs7kCuAsqqj/70NQF6TvDpgFjkubQB2FW2ZZddvQg==} engines: {node: '>=8'} + cliui@9.0.1: + resolution: {integrity: sha512-k7ndgKhwoQveBL+/1tqGJYNz097I7WOvwbmmU2AR5+magtbjPWQTS1C5vzGkBC8Ym8UWRzfKUzUUqFLypY4Q+w==} + engines: {node: '>=20'} + clsx@2.1.1: resolution: {integrity: sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==} engines: {node: '>=6'} @@ -808,6 +1008,12 @@ packages: resolution: {integrity: sha512-2QF/g9/zTaPDc3BjNcVTGoBbXBgYfMTTceLaYcFJ/W9kggFUkhxD/hMEeuLKbugyef9SqAx8cpgwlIP/jinUTA==} engines: {node: '>=4'} + emmet@2.4.11: + resolution: {integrity: sha512-23QPJB3moh/U9sT4rQzGgeyyGIrcM+GH5uVYg2C6wZIxAIJq7Ng3QLT79tl8FUwDXhyq9SusfknOrofAKqvgyQ==} + + emoji-regex@10.6.0: + resolution: {integrity: sha512-toUI84YS5YmxW219erniWD0CIVOo46xGKColeNQRgOzDorgBi1v4D71/OFzgD9GO2UGKIv1C3Sp8DAn0+j5w7A==} + entities@4.5.0: resolution: {integrity: sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==} engines: {node: '>=0.12'} @@ -820,18 +1026,28 @@ packages: engines: {node: '>=18'} hasBin: true + escalade@3.2.0: + resolution: {integrity: sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==} + engines: {node: '>=6'} + eventemitter3@5.0.4: resolution: {integrity: sha512-mlsTRyGaPBjPedk6Bvw+aqbsXDtoAyAzm5MO7JgU+yVRyMQ5O8bD4Kcci7BS85f93veegeCPkL8R4GLClnjLFw==} extend@3.0.2: resolution: {integrity: sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==} + fast-deep-equal@3.1.3: + resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==} + fast-string-truncated-width@3.0.3: resolution: {integrity: sha512-0jjjIEL6+0jag3l2XWWizO64/aZVtpiGE3t0Zgqxv0DPuxiMjvB3M24fCyhZUO4KomJQPj3LTSUnDP3GpdwC0g==} fast-string-width@3.0.2: resolution: {integrity: sha512-gX8LrtNEI5hq8DVUfRQMbr5lpaS4nMIWV+7XEbXk2b8kiQIizgnlr12B4dA3ZEx3308ze0O4Q1R+cHts8kyUJg==} + fast-uri@3.1.7: + resolution: {integrity: sha512-dOvZVzjdZdz7phd9v6jCbwxrBW3fK6n8Rc0CtdmM4bumzMnxywBYhuph6J819RRw/ku+rLbelwfMunktuzVVHg==} + fast-wrap-ansi@0.2.2: resolution: {integrity: sha512-7F2Fl+TjRSenLqlU3UjSH0iyqopqoZIu7eZVpEirP2g1GtWa2G/ecEmBdgz31+Mxr+ELclgg6sokpSFIQiZ02Q==} @@ -864,6 +1080,14 @@ packages: engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} os: [darwin] + get-caller-file@2.0.5: + resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==} + engines: {node: 6.* || 8.* || >= 10.*} + + get-east-asian-width@1.6.0: + resolution: {integrity: sha512-QRbvDIbx6YklUe6RxeTeleMR0yv3cYH6PsPZHcnVn7xv7zO1BHN8r0XETu8n6Ye3Q+ahtSarc3WgtNWmehIBfA==} + engines: {node: '>=18'} + get-tsconfig@5.0.0-beta.4: resolution: {integrity: sha512-7nF7C9fIPFEMHgEMEfgIlO9wDdZ8CyHw27rWciFZfHvHDReIiPhsYuzPRXsfvBCqFy1l8RRyyWV7QLM+ZhUJsQ==} engines: {node: '>=20.20.0'} @@ -905,9 +1129,19 @@ packages: resolution: {integrity: sha512-SFNOvSJ+Dgf/9An904Yx+CgSlIPCkIpao4qo51lpee25TIRejdH3rhR4EZMGoNx3/TP3O+wzWuiTFl4sqbltzA==} hasBin: true + json-schema-traverse@1.0.0: + resolution: {integrity: sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==} + + jsonc-parser@2.3.1: + resolution: {integrity: sha512-H8jvkz1O50L3dMZCsLqiuB2tA7muqbSg1AtGEkN0leAqGjsUzDJir3Zwr02BhqdcITPg3ei3mZ+HjMocAknhhg==} + jsonc-parser@3.3.1: resolution: {integrity: sha512-HUgH65KyejrUFPvHFPbqOY0rsFip3Bo5wb4ngvdi1EpCYWUQDC5V+Y7mZws+DLkr4M//zQJoanu1SP+87Dv1oQ==} + kleur@4.1.5: + resolution: {integrity: sha512-o+NO+8WrRiQEE4/7nwRJhN1HWpVmJm511pBHUxPLtp0BUISzlBplORYSmTclCnJvQq2tKu/sgl3xVpkc7ZWuQQ==} + engines: {node: '>=6'} + lightningcss-android-arm64@1.33.0: resolution: {integrity: sha512-gEpRTalKdosp4Bb8qWtc2iOgE5SeIHlpS1up9bFq2wAyYhl1UdTObYiHe98zEM9SQvSoqQZ1IQD0JNpg3Ml5pg==} engines: {node: '>= 12.0.0'} @@ -986,8 +1220,8 @@ packages: resolution: {integrity: sha512-4pfM1Ff0x50o0tQwb5ucw/RzNyD0/YJME6IVcStalZuMWxdt3sR3huStTtxz4PUmvZfRguvDejasvQ2kifR11g==} engines: {node: 20 || >=22} - magic-string@1.2.3: - resolution: {integrity: sha512-Bpb0W2TbLKOZ7vJnOUnVRGq3WL2p+ISV29M6hYPL1AFCpyKZpdr5ytiXoTSSxRVhg8YW7f65+6gbG8WG6PCa/g==} + magic-string@1.3.1: + resolution: {integrity: sha512-rm91zr2Ou+XueDTohjQQjdQEcYM6zVi8KVUCG8Ec3vHwUEKrhSdCNyfuIywkA6hcCAteIn0ZOtAHA6eGpiX+Pg==} magicast@0.5.4: resolution: {integrity: sha512-llBEhWm1SacoRwgHUoQJYtwp4PBLF4faQi5TCpIGyGs9n4y5+juI0tDgyKIfpqxckRHaHzouUEph3THklWh03w==} @@ -1020,6 +1254,9 @@ packages: resolution: {integrity: sha512-Y3wQdFg2Va6etvQ5I82yUhGdsKrcYox6p7FfL1LbK2J4V01F9TGlepTIhnK24t7koZibmg82KGglhA1XK5IsLQ==} engines: {node: '>=10'} + muggle-string@0.4.1: + resolution: {integrity: sha512-VNTrAak/KhO2i8dqqnqnAHOa3cYBwXEZe9h+D5h/1ZqFSTEFHdM65lR7RoIqq3tBBYavsOXV84NoHXZ0AkPyqQ==} + nanoid@3.3.18: resolution: {integrity: sha512-DTg4MJbGMWkfi6VZFdNt2/caMbQy4Ou+Op/hJQvGEWcnVfoA1QA+xzRKAzw9jD6+GVOOeYr/mIcuDSdug6F6+w==} engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} @@ -1045,8 +1282,8 @@ packages: nth-check@2.1.1: resolution: {integrity: sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==} - obug@2.1.4: - resolution: {integrity: sha512-4a+OsYv9UktOJKE+l1A4OufDgdRF9PifWj+tJnHURo/P+WOxpG4GzUFL9qCalmWauao6ogiG+QvnCovwPoyAWA==} + obug@2.2.1: + resolution: {integrity: sha512-XrsrhT5sybtKI6wakr2SPOlGZWWYbUXZ7a0jT8/QOeAPau+1X/bSegNe5YR75oJmEZQbKningirmGOEJCIk61Q==} engines: {node: '>=12.20.0'} ofetch@1.5.1: @@ -1076,6 +1313,9 @@ packages: package-manager-detector@1.8.0: resolution: {integrity: sha512-yQA4H19AmPEoMUeavPMDIe1higySl/gH/yaQrkT/s07Qp+7pp2hYz30N3z2l5BkjVkF9Ow6o0wjJamm2y7Sn0A==} + path-browserify@1.0.1: + resolution: {integrity: sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==} + piccolore@0.1.3: resolution: {integrity: sha512-o8bTeDWjE086iwKrROaDf31K0qC/BENdm15/uH9usSC/uZjJOKb2YGiVHfLY4GhwsERiPI1jmwI2XrA7ACOxVw==} @@ -1094,6 +1334,11 @@ packages: resolution: {integrity: sha512-RRuzqDtt5Y9h3quz5hWhK+TPnsmVs6WwSU6LkJMeY4HstUEDuYTG8UJSdawMRzmzAtV+KEoG8N3Qg2qLy5vM/A==} engines: {node: ^10 || ^12 || >=14} + prettier@3.9.6: + resolution: {integrity: sha512-OpN0zzVdiaiAhxpuuj5efpIS4sY9j7bY6uR5mnj5yPzGkdkjNKSJeUThPb60Jw29QuAZgA4o+/iB49kFiaBX6g==} + engines: {node: '>=14'} + hasBin: true + prismjs@1.30.0: resolution: {integrity: sha512-DEvV2ZF2r2/63V+tK8hQvrR2ZGn10srHbXviTlcv7Kpzw8jWiNTqbVgjO3IY8RxrrOUF8VPMQQFysYYYv0YZxw==} engines: {node: '>=6'} @@ -1108,6 +1353,10 @@ packages: radix3@1.1.2: resolution: {integrity: sha512-b484I/7b8rDEdSDKckSSBA8knMpcdsXudlE/LNL639wFoHKwLbEkQFZHWEYwDC0wa0FKUcCY+GAF73Z7wxNVFA==} + readdirp@4.1.2: + resolution: {integrity: sha512-GDhwkLfywWL2s6vEjyhri+eXmfH6j1L7JE27WhqLeYzoh/A3DBaYGEj2H/HFZCn/kMfim73FXxEJTw06WtxQwg==} + engines: {node: '>= 14.18.0'} + readdirp@5.1.1: resolution: {integrity: sha512-Kko+Y5XQ6fM+Ce3dq3m9YGxnacYZYl9cA1wZjaF3Vbry2L3i1qVg8+CAgNPsXRArPMUMCaOR7oa9Nqntc43JKA==} engines: {node: '>= 20.19.0'} @@ -1121,14 +1370,24 @@ packages: regex@6.1.0: resolution: {integrity: sha512-6VwtthbV4o/7+OaAF9I5L5V3llLEsoPyq9P1JVXkedTP33c7MfCG0/5NOPcSJn0TzXcG9YUrR0gQSWioew3LDg==} + request-light@0.5.8: + resolution: {integrity: sha512-3Zjgh+8b5fhRJBQZoy+zbVKpAQGLyka0MPgW3zruTF4dFFJ8Fqcfu9YsAvi/rvdcaTeWG3MkbZv4WKxAn/84Lg==} + + request-light@0.7.0: + resolution: {integrity: sha512-lMbBMrDoxgsyO+yB3sDcrDuX85yYt7sS8BfQd11jtbW/z5ZWgLZRcEGLsLoYw7I0WSUGQBs8CC8ScIxkTX1+6Q==} + + require-from-string@2.0.2: + resolution: {integrity: sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==} + engines: {node: '>=0.10.0'} + resolve-pkg-maps@1.0.0: resolution: {integrity: sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==} retext-smartypants@6.2.0: resolution: {integrity: sha512-kk0jOU7+zGv//kfjXEBjdIryL1Acl4i9XNkHxtM7Tm5lFiCog576fjNC9hjoR7LTKQ0DsPWy09JummSsH1uqfQ==} - rolldown@1.2.7: - resolution: {integrity: sha512-g0EtLvBjTUB7jhyV0S/TCup3v/XSVl45vUIGbOGU4QPiyjTenCe4mKuFvW9fEgYmS2Fo42AUssRmNuMziXdrig==} + rolldown@1.2.8: + resolution: {integrity: sha512-Z67nTmhZe7anqnM/EjI392w5i/ANUinjip7QYsOyN37oayduxt3ksdX0hf5OOamkAd53BiIHfbfSzfUmzKFQqQ==} engines: {node: ^20.19.0 || >=22.12.0} hasBin: true @@ -1160,6 +1419,11 @@ packages: sisteransi@1.0.5: resolution: {integrity: sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==} + sitemap@9.0.1: + resolution: {integrity: sha512-S6hzjGJSG3d6if0YoF5kTyeRJvia6FSTBroE5fQ0bu1QNxyJqhhinfUsXi9fH3MgtXODWvwo2BDyQSnhPQ88uQ==} + engines: {node: '>=20.19.5', npm: '>=10.8.2'} + hasBin: true + smol-toml@1.8.0: resolution: {integrity: sha512-kCZr2V3ch9i00x8zXRhjUNVcjG9ijES5dDudkXvUVCT5QlJNQWElSJdZqyPemffHoLNUYwOcou0Fy+ojN0uHSQ==} engines: {node: '>= 18'} @@ -1171,9 +1435,21 @@ packages: space-separated-tokens@2.0.2: resolution: {integrity: sha512-PEGlAwrG8yXGXRjW32fGbg66JAlOAwbObuqVoJpv/mRgoWDQfgH1wDPvtzWyUSNAXBGSk8h755YDbbcEy3SH2Q==} + string-width@7.2.0: + resolution: {integrity: sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ==} + engines: {node: '>=18'} + + string-width@8.2.2: + resolution: {integrity: sha512-GaPUh5gfdrYzqeVNZvUfT23vYYxXzKYidUcnMtJg/3rxRV63EFZy3k6xfKlmfeJD0176lnUV/Usr3XcwSvFzpg==} + engines: {node: '>=20'} + stringify-entities@4.0.4: resolution: {integrity: sha512-IwfBptatlO+QCJUo19AqvrPNqlVMpW9YEL2LIVY+Rpv2qsjCGxaDLNRgeGsQWJhfItebuJhsGSLjaBbNSQ+ieg==} + strip-ansi@7.2.0: + resolution: {integrity: sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w==} + engines: {node: '>=12'} + svgo@4.1.0: resolution: {integrity: sha512-bkxnTg1kSU0guhIBmibA6UUhrQmPVA1XsQLN+ylCd+UWzbnLkySOcXpyk1mrl05f+pcaCx2eHb+sp6BgMZWX+Q==} engines: {node: '>=16'} @@ -1203,6 +1479,17 @@ packages: tslib@2.8.1: resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==} + typesafe-path@0.2.2: + resolution: {integrity: sha512-OJabfkAg1WLZSqJAJ0Z6Sdt3utnbzr/jh+NAHoyWHJe8CMSy79Gm085094M9nvTPy22KzTVn5Zq5mbapCI/hPA==} + + typescript-auto-import-cache@0.3.6: + resolution: {integrity: sha512-RpuHXrknHdVdK7wv/8ug3Fr0WNsNi5l5aB8MYYuXhq2UH5lnEB1htJ1smhtD5VeCsGr2p8mUDtd83LCQDFVgjQ==} + + typescript@6.0.3: + resolution: {integrity: sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw==} + engines: {node: '>=14.17'} + hasBin: true + ufo@1.6.4: resolution: {integrity: sha512-JFNbkD1Svwe0KvGi8GOeLcP4kAWQ609twvCdcHxq1oSL8svv39ZuSvajcD8B+5D0eL4+s1Is2D/O6KN3qcTeRA==} @@ -1212,8 +1499,11 @@ packages: uncrypto@0.1.3: resolution: {integrity: sha512-Ql87qFHB3s/De2ClA9e0gsnS6zXG27SkTiSJwjCc9MebbfapQfuPzumMIUMi38ezPZVNFcHI9sUIepeQfw8J8Q==} - undici@8.10.1: - resolution: {integrity: sha512-YQ3WlbqjYMmNpdvDH64jAgLjxuAR9+649calDWhbshYaeQGO2bR4nI94ORJmwI3J9YhoKQnpyGOK+0zlWS5N5Q==} + undici-types@7.18.2: + resolution: {integrity: sha512-AsuCzffGHJybSaRrmr5eHr81mwJU3kjw6M+uprWvCXiNeN9SOGwQ3Jn8jb8m3Z6izVgknn1R0FTCEAP2QrLY/w==} + + undici@8.10.2: + resolution: {integrity: sha512-/y4/bH9YNU5hi9NIrpOuvGXFcxrj3CMrV+/AYpowAYTpHn8gX/XPFjNy766FPoYY0miQhdW977JFWKGNhBdwyQ==} engines: {node: '>=22.19.0'} unified@11.0.5: @@ -1305,13 +1595,13 @@ packages: vfile@6.0.3: resolution: {integrity: sha512-KzIbH/9tXat2u30jf+smMwFCsno4wHVdNmzFyL+T/L3UGqqk6JKfVqOFOZEpZSHADH1k40ab6NUIXZq422ov3Q==} - vite@8.2.2: - resolution: {integrity: sha512-cFKLV/PRgAUlIRm5WjMjJ86jrftzpqcgH+Us+DS8mI3CDNiH30Whrz8uHL3+MOLPAgqbMBAqWdAHAphOAM+z/Q==} + vite@8.3.0: + resolution: {integrity: sha512-lhZBVvEHefgE+HQZC9O7EBJgCU/nVzFNl7vkS4RE0APtWLP02/8QVIkQtzBxPquh7lq5/78NHipTj7ODQ6XuyQ==} engines: {node: ^20.19.0 || >=22.12.0} hasBin: true peerDependencies: '@types/node': ^20.19.0 || >=22.12.0 - '@vitejs/devtools': ^0.4.0 || ^0.5.0 + '@vitejs/devtools': ^0.7.1 esbuild: ^0.27.0 || ^0.28.0 jiti: '>=1.21.0' less: ^4.0.0 @@ -1356,25 +1646,170 @@ packages: vite: optional: true + volar-service-css@0.0.71: + resolution: {integrity: sha512-wRRFt9BpjMKCazcgOh67MSjUjiWUCAh99DyYSDIOTuxaRjEtDC7PpB0k1Y1wbJIW/pVtMUSVbpPo3UGSm0Byxw==} + peerDependencies: + '@volar/language-service': ~2.4.0 + peerDependenciesMeta: + '@volar/language-service': + optional: true + + volar-service-emmet@0.0.71: + resolution: {integrity: sha512-zqjzt6bN95e3CUstBm0PBFAJnrfz0ZAARka87fart46/gNCLLuP3Vujy8V/J8HEziTFLnfkgIASLFYPUhonJcA==} + peerDependencies: + '@volar/language-service': ~2.4.0 + peerDependenciesMeta: + '@volar/language-service': + optional: true + + volar-service-html@0.0.71: + resolution: {integrity: sha512-e8tHPhgQ7ooLfudAEIku+kgd9pWkq3SSz8RbnQDI1+Eb8wbenkLGHqoirLqz5ORLV6wIMr2Iv08RWBG5eOcgpw==} + peerDependencies: + '@volar/language-service': ~2.4.0 + peerDependenciesMeta: + '@volar/language-service': + optional: true + + volar-service-prettier@0.0.71: + resolution: {integrity: sha512-Rz7JVH3qD108UCdmIEiZvOBNljMt2nLFdbN8AXcDfn7xD9F5I2aCIsDVqBbXw21PsnxG0b7MfwtNF+zPS/NKUg==} + peerDependencies: + '@volar/language-service': ~2.4.0 + prettier: ^2.2 || ^3.0 + peerDependenciesMeta: + '@volar/language-service': + optional: true + prettier: + optional: true + + volar-service-typescript-twoslash-queries@0.0.71: + resolution: {integrity: sha512-9K2k72s4n7rV9s4bX0MyjbX9iBribvKZbBJKuEmTCZfeWJXs6Yh7bGpY4eoc7UufAjvpheBqwyZCOIPBvxCv0A==} + peerDependencies: + '@volar/language-service': ~2.4.0 + typescript: '*' + peerDependenciesMeta: + '@volar/language-service': + optional: true + typescript: + optional: true + + volar-service-typescript@0.0.71: + resolution: {integrity: sha512-yTtM/BVT6hoyEYnDtaCyAtNhdNeS/mhTTABlBOdw3NNiRBUin3IznFJpgfjer4c6RYopiPjjQjc9VFhxVl1mLw==} + peerDependencies: + '@volar/language-service': ~2.4.0 + typescript: '*' + peerDependenciesMeta: + '@volar/language-service': + optional: true + typescript: + optional: true + + volar-service-yaml@0.0.71: + resolution: {integrity: sha512-qYGWGuVpUTnZGu5P/CR4KLK4aIR8RrcVnmfZ2eRcj9q/I8VZCoC5yy9FtEvfNvnDp4MU17yhdJcvpQPIqhJS2Q==} + peerDependencies: + '@volar/language-service': ~2.4.0 + peerDependenciesMeta: + '@volar/language-service': + optional: true + + vscode-css-languageservice@6.3.10: + resolution: {integrity: sha512-eq5N9Er3fC4vA9zd9EFhyBG90wtCCuXgRSpAndaOgXMh1Wgep5lBgRIeDgjZBW9pa+332yC9+49cZMW8jcL3MA==} + + vscode-html-languageservice@5.6.2: + resolution: {integrity: sha512-ulCrSnFnfQ16YzvwnYUgEbUEl/ZG7u2eV27YhvLObSHKkb8fw1Z9cgsnUwjTEeDIdJDoTDTDpxuhQwoenoLNMg==} + + vscode-json-languageservice@4.1.8: + resolution: {integrity: sha512-0vSpg6Xd9hfV+eZAaYN63xVVMOTmJ4GgHxXnkLCh+9RsQBkWKIghzLhW2B9ebfG+LQQg8uLtsQ2aUKjTgE+QOg==} + engines: {npm: '>=7.0.0'} + + vscode-jsonrpc@8.2.0: + resolution: {integrity: sha512-C+r0eKJUIfiDIfwJhria30+TYWPtuHJXHtI7J0YlOmKAo7ogxP20T0zxB7HZQIFhIyvoBPwWskjxrvAtfjyZfA==} + engines: {node: '>=14.0.0'} + + vscode-jsonrpc@9.0.2: + resolution: {integrity: sha512-SbQSV9yRemARxeXw6LU5sS6Zq0e9/DgCCX5yelH263ZQWukbTk8EF8fjTrr1dziasf4GwlJbvTwFnTrnQFWZXQ==} + engines: {node: '>=14.0.0'} + + vscode-languageserver-protocol@3.17.5: + resolution: {integrity: sha512-mb1bvRJN8SVznADSGWM9u/b07H7Ecg0I3OgXDuLdn307rl/J3A9YD6/eYOssqhecL27hK1IPZAsaqh00i/Jljg==} + + vscode-languageserver-protocol@3.18.3: + resolution: {integrity: sha512-DF49+WeV5py4zO5hhobp60jjsDSK0lAqA0OuKBLBvp423HPWQcCbhZz3JgyfIewsEz2f8U+X75xNIFHdiXZm2w==} + + vscode-languageserver-textdocument@1.0.14: + resolution: {integrity: sha512-EQyqJMi552E4ZTf46izQ4Fj6XquqxCySR3J5ZSD1SisMf6RfpeOWHxGBE8Gr6V0/3GHIGdAzDn8F8+1nTGCnoQ==} + + vscode-languageserver-types@3.17.5: + resolution: {integrity: sha512-Ld1VelNuX9pdF39h2Hgaeb5hEZM2Z3jUrrMgWQAu82jMtZp7p3vJT3BzToKtZI7NgQssZje5o0zryOrhQvzQAg==} + + vscode-languageserver-types@3.18.3: + resolution: {integrity: sha512-XIlzJ7Qp/jzSI1ds7/FwPAWrPeTZA7pAtlW4hdJ1J6xXWJL6dR9QYnDhJOdLzdKhUQ5Mm6mvUMw+3DcOQQasPw==} + + vscode-languageserver@9.0.1: + resolution: {integrity: sha512-woByF3PDpkHFUreUa7Hos7+pUWdeWMXRd26+ZX2A8cFx6v/JPTtd4/uN0/jB6XQHYaOlHbio03NTHCqrgG5n7g==} + hasBin: true + + vscode-nls@5.2.0: + resolution: {integrity: sha512-RAaHx7B14ZU04EU31pT+rKz2/zSl7xMsfIZuo8pd+KZO6PXtQmpevpq3vxvWNcrGbdmhM/rr5Uw5Mz+NBfhVng==} + + vscode-uri@3.2.0: + resolution: {integrity: sha512-m2gXo3bn0G1kT9InzMf07fTbqMbGtyckj3bH5ktLO+1Ssv+yiATZ4dhwaQv9UZWxJh6E9IFGnQyjgWVDWVBDrg==} + + wrap-ansi@9.0.2: + resolution: {integrity: sha512-42AtmgqjV+X1VpdOfyTGOYRi0/zsoLqtXQckTmqTeybT+BDIbM/Guxo7x3pE2vtpr1ok6xRqM9OpBe+Jyoqyww==} + engines: {node: '>=18'} + xxhash-wasm@1.1.0: resolution: {integrity: sha512-147y/6YNh+tlp6nd/2pWq38i9h6mz/EuQ6njIrmW8D1BS5nCqs0P6DG+m6zTGnNz5I+uhZ0SHxBs9BsPrwcKDA==} + y18n@5.0.8: + resolution: {integrity: sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==} + engines: {node: '>=10'} + + yaml-language-server@1.23.0: + resolution: {integrity: sha512-3qVyCOexLCWw06PQa5kRPwvMWMZ/eZeCRWUvgD6a0OkqL/4iCnxy2WumbWifa937Uo5xhyWJ0uxlU39ljhNh7A==} + hasBin: true + + yaml@2.8.3: + resolution: {integrity: sha512-AvbaCLOO2Otw/lW5bmh9d/WEdcDFdQp2Z2ZUH3pX9U2ihyUY0nvLv7J6TrWowklRGPYbB/IuIMfYgxaCPg5Bpg==} + engines: {node: '>= 14.6'} + hasBin: true + + yaml@2.9.0: + resolution: {integrity: sha512-2AvhNX3mb8zd6Zy7INTtSpl1F15HW6Wnqj0srWlkKLcpYl/gMIMJiyuGq2KeI2YFxUPjdlB+3Lc10seMLtL4cA==} + engines: {node: '>= 14.6'} + hasBin: true + yargs-parser@22.0.0: resolution: {integrity: sha512-rwu/ClNdSMpkSrUb+d6BRsSkLUq1fmfsY6TOpYzTwvwkg1/NRG85KBy3kq++A8LKQwX6lsu+aWad+2khvuXrqw==} engines: {node: ^20.19.0 || ^22.12.0 || >=23} + yargs@18.1.0: + resolution: {integrity: sha512-2rAgRKu54VsHkqI0/tYkmluGXHD4KW7yZoycuqDQ15QOTnc2VVfy0nN/1eMhnQLO00A+dwtK20xuCnc1YGeUyg==} + engines: {node: ^20.19.0 || ^22.12.0 || >=23} + yocto-queue@1.2.2: resolution: {integrity: sha512-4LCcse/U2MHZ63HAJVE+v71o7yOdIe4cZ70Wpf8D/IyjDKYQLV5GD46B+hSTjJsvV5PztjvHoU580EftxjDZFQ==} engines: {node: '>=12.20'} - zod@4.5.4: - resolution: {integrity: sha512-sC95tT5iHHH9gtpj6A81kh+NEaRAUFN+qlUPDUbRfOMvNf5QCBqsb3WgvnpVtK5Y+4UfA6KqufotuTvMGiTlsA==} + zod@4.6.1: + resolution: {integrity: sha512-341aRWQsve0rvronKNTqZpjmzdbUDlFuzHaI/XLg/Ej82qffDJRRfBTCuv7+9q/rMjB6LSLyEBnW4InJeMtt/Q==} zwitch@2.0.4: resolution: {integrity: sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==} snapshots: + '@astrojs/check@0.9.10(prettier@3.9.6)(typescript@6.0.3)': + dependencies: + '@astrojs/language-server': 2.16.16(prettier@3.9.6)(typescript@6.0.3) + chokidar: 4.0.3 + kleur: 4.1.5 + typescript: 6.0.3 + yargs: 18.1.0 + transitivePeerDependencies: + - prettier + - prettier-plugin-astro + '@astrojs/compiler-binding-darwin-arm64@0.4.0': optional: true @@ -1395,7 +1830,7 @@ snapshots: '@astrojs/compiler-binding-wasm32-wasi@0.4.0(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.3)': dependencies: - '@napi-rs/wasm-runtime': 1.2.3(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.3) + '@napi-rs/wasm-runtime': 1.2.4(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.3) transitivePeerDependencies: - '@emnapi/core' - '@emnapi/runtime' @@ -1429,6 +1864,8 @@ snapshots: - '@emnapi/core' - '@emnapi/runtime' + '@astrojs/compiler@2.13.1': {} + '@astrojs/internal-helpers@0.11.0': dependencies: '@types/hast': 3.0.5 @@ -1440,7 +1877,32 @@ snapshots: smol-toml: 1.8.0 unified: 11.0.5 - '@astrojs/markdown-satteri@0.4.0': + '@astrojs/language-server@2.16.16(prettier@3.9.6)(typescript@6.0.3)': + dependencies: + '@astrojs/compiler': 2.13.1 + '@astrojs/yaml2ts': 0.2.4 + '@jridgewell/sourcemap-codec': 1.6.0 + '@volar/kit': 2.4.28(typescript@6.0.3) + '@volar/language-core': 2.4.28 + '@volar/language-server': 2.4.28(typescript@6.0.3) + '@volar/language-service': 2.4.28(typescript@6.0.3) + muggle-string: 0.4.1 + tinyglobby: 0.2.17 + volar-service-css: 0.0.71(@volar/language-service@2.4.28(typescript@6.0.3)) + volar-service-emmet: 0.0.71(@volar/language-service@2.4.28(typescript@6.0.3)) + volar-service-html: 0.0.71(@volar/language-service@2.4.28(typescript@6.0.3)) + volar-service-prettier: 0.0.71(@volar/language-service@2.4.28(typescript@6.0.3))(prettier@3.9.6) + volar-service-typescript: 0.0.71(@volar/language-service@2.4.28(typescript@6.0.3))(typescript@6.0.3) + volar-service-typescript-twoslash-queries: 0.0.71(@volar/language-service@2.4.28(typescript@6.0.3))(typescript@6.0.3) + volar-service-yaml: 0.0.71(@volar/language-service@2.4.28(typescript@6.0.3)) + vscode-html-languageservice: 5.6.2 + vscode-uri: 3.2.0 + optionalDependencies: + prettier: 3.9.6 + transitivePeerDependencies: + - typescript + + '@astrojs/markdown-satteri@0.4.1': dependencies: '@astrojs/internal-helpers': 0.11.0 '@astrojs/prism': 4.0.2 @@ -1451,6 +1913,11 @@ snapshots: dependencies: prismjs: 1.30.0 + '@astrojs/sitemap@3.7.4': + dependencies: + sitemap: 9.0.1 + zod: 4.6.1 + '@astrojs/telemetry@3.3.3': dependencies: ci-info: 4.4.0 @@ -1458,6 +1925,10 @@ snapshots: is-docker: 4.0.0 package-manager-detector: 1.8.0 + '@astrojs/yaml2ts@0.2.4': + dependencies: + yaml: 2.9.0 + '@babel/helper-string-parser@7.29.7': {} '@babel/helper-validator-identifier@7.29.7': {} @@ -1471,6 +1942,41 @@ snapshots: '@babel/helper-string-parser': 7.29.7 '@babel/helper-validator-identifier': 7.29.7 + '@biomejs/biome@2.5.13': + optionalDependencies: + '@biomejs/cli-darwin-arm64': 2.5.13 + '@biomejs/cli-darwin-x64': 2.5.13 + '@biomejs/cli-linux-arm64': 2.5.13 + '@biomejs/cli-linux-arm64-musl': 2.5.13 + '@biomejs/cli-linux-x64': 2.5.13 + '@biomejs/cli-linux-x64-musl': 2.5.13 + '@biomejs/cli-win32-arm64': 2.5.13 + '@biomejs/cli-win32-x64': 2.5.13 + + '@biomejs/cli-darwin-arm64@2.5.13': + optional: true + + '@biomejs/cli-darwin-x64@2.5.13': + optional: true + + '@biomejs/cli-linux-arm64-musl@2.5.13': + optional: true + + '@biomejs/cli-linux-arm64@2.5.13': + optional: true + + '@biomejs/cli-linux-x64-musl@2.5.13': + optional: true + + '@biomejs/cli-linux-x64@2.5.13': + optional: true + + '@biomejs/cli-win32-arm64@2.5.13': + optional: true + + '@biomejs/cli-win32-x64@2.5.13': + optional: true + '@bruits/satteri-darwin-arm64@0.10.5': optional: true @@ -1493,7 +1999,7 @@ snapshots: dependencies: '@emnapi/core': 1.11.1 '@emnapi/runtime': 1.11.1 - '@napi-rs/wasm-runtime': 1.2.3(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.1) + '@napi-rs/wasm-runtime': 1.2.4(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.1) optional: true '@bruits/satteri-win32-arm64-msvc@0.10.5': @@ -1506,18 +2012,41 @@ snapshots: dependencies: fontkitten: 1.0.3 - '@clack/core@1.4.3': + '@clack/core@1.5.0': dependencies: fast-wrap-ansi: 0.2.2 sisteransi: 1.0.5 - '@clack/prompts@1.7.0': + '@clack/prompts@1.8.0': dependencies: - '@clack/core': 1.4.3 + '@clack/core': 1.5.0 fast-string-width: 3.0.2 fast-wrap-ansi: 0.2.2 sisteransi: 1.0.5 + '@emmetio/abbreviation@2.3.3': + dependencies: + '@emmetio/scanner': 1.0.4 + + '@emmetio/css-abbreviation@2.1.8': + dependencies: + '@emmetio/scanner': 1.0.4 + + '@emmetio/css-parser@0.4.1': + dependencies: + '@emmetio/stream-reader': 2.2.0 + '@emmetio/stream-reader-utils': 0.1.0 + + '@emmetio/html-matcher@1.3.0': + dependencies: + '@emmetio/scanner': 1.0.4 + + '@emmetio/scanner@1.0.4': {} + + '@emmetio/stream-reader-utils@0.1.0': {} + + '@emmetio/stream-reader@2.2.0': {} + '@emnapi/core@1.11.1': dependencies: '@emnapi/wasi-threads': 1.2.2 @@ -1726,14 +2255,14 @@ snapshots: '@jridgewell/sourcemap-codec@1.6.0': {} - '@napi-rs/wasm-runtime@1.2.3(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.1)': + '@napi-rs/wasm-runtime@1.2.4(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.1)': dependencies: '@emnapi/core': 1.11.1 '@emnapi/runtime': 1.11.1 '@tybys/wasm-util': 0.10.3 optional: true - '@napi-rs/wasm-runtime@1.2.3(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.3)': + '@napi-rs/wasm-runtime@1.2.4(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.3)': dependencies: '@emnapi/core': 1.11.1 '@emnapi/runtime': 1.11.3 @@ -1742,51 +2271,51 @@ snapshots: '@oslojs/encoding@1.1.0': {} - '@oxc-project/types@0.148.0': {} + '@oxc-project/types@0.149.0': {} - '@rolldown/binding-android-arm-eabi@1.2.7': + '@rolldown/binding-android-arm-eabi@1.2.8': optional: true - '@rolldown/binding-android-arm64@1.2.7': + '@rolldown/binding-android-arm64@1.2.8': optional: true - '@rolldown/binding-darwin-arm64@1.2.7': + '@rolldown/binding-darwin-arm64@1.2.8': optional: true - '@rolldown/binding-darwin-x64@1.2.7': + '@rolldown/binding-darwin-x64@1.2.8': optional: true - '@rolldown/binding-freebsd-x64@1.2.7': + '@rolldown/binding-freebsd-x64@1.2.8': optional: true - '@rolldown/binding-linux-arm-gnueabihf@1.2.7': + '@rolldown/binding-linux-arm-gnueabihf@1.2.8': optional: true - '@rolldown/binding-linux-arm64-gnu@1.2.7': + '@rolldown/binding-linux-arm64-gnu@1.2.8': optional: true - '@rolldown/binding-linux-arm64-musl@1.2.7': + '@rolldown/binding-linux-arm64-musl@1.2.8': optional: true - '@rolldown/binding-linux-ppc64-gnu@1.2.7': + '@rolldown/binding-linux-ppc64-gnu@1.2.8': optional: true - '@rolldown/binding-linux-s390x-gnu@1.2.7': + '@rolldown/binding-linux-s390x-gnu@1.2.8': optional: true - '@rolldown/binding-linux-x64-gnu@1.2.7': + '@rolldown/binding-linux-x64-gnu@1.2.8': optional: true - '@rolldown/binding-linux-x64-musl@1.2.7': + '@rolldown/binding-linux-x64-musl@1.2.8': optional: true - '@rolldown/binding-openharmony-arm64@1.2.7': + '@rolldown/binding-openharmony-arm64@1.2.8': optional: true - '@rolldown/binding-win32-arm64-msvc@1.2.7': + '@rolldown/binding-win32-arm64-msvc@1.2.8': optional: true - '@rolldown/binding-win32-x64-msvc@1.2.7': + '@rolldown/binding-win32-x64-msvc@1.2.8': optional: true '@rolldown/pluginutils@1.0.1': {} @@ -1854,31 +2383,116 @@ snapshots: dependencies: '@types/unist': 3.0.3 + '@types/node@24.13.4': + dependencies: + undici-types: 7.18.2 + + '@types/sax@1.2.7': + dependencies: + '@types/node': 24.13.4 + '@types/unist@3.0.3': {} '@ungap/structured-clone@1.4.0': {} + '@volar/kit@2.4.28(typescript@6.0.3)': + dependencies: + '@volar/language-service': 2.4.28(typescript@6.0.3) + '@volar/typescript': 2.4.28(typescript@6.0.3) + typesafe-path: 0.2.2 + typescript: 6.0.3 + vscode-languageserver-textdocument: 1.0.14 + vscode-uri: 3.2.0 + + '@volar/language-core@2.4.28': + dependencies: + '@volar/source-map': 2.4.28 + + '@volar/language-server@2.4.28(typescript@6.0.3)': + dependencies: + '@volar/language-core': 2.4.28 + '@volar/language-service': 2.4.28(typescript@6.0.3) + '@volar/typescript': 2.4.28(typescript@6.0.3) + path-browserify: 1.0.1 + request-light: 0.7.0 + vscode-languageserver: 9.0.1 + vscode-languageserver-protocol: 3.18.3 + vscode-languageserver-textdocument: 1.0.14 + vscode-uri: 3.2.0 + optionalDependencies: + typescript: 6.0.3 + + '@volar/language-service@2.4.28(typescript@6.0.3)': + dependencies: + '@volar/language-core': 2.4.28 + vscode-languageserver-protocol: 3.18.3 + vscode-languageserver-textdocument: 1.0.14 + vscode-uri: 3.2.0 + optionalDependencies: + typescript: 6.0.3 + + '@volar/source-map@2.4.28': {} + + '@volar/typescript@2.4.28(typescript@6.0.3)': + dependencies: + '@volar/language-core': 2.4.28 + path-browserify: 1.0.1 + vscode-uri: 3.2.0 + optionalDependencies: + typescript: 6.0.3 + + '@vscode/emmet-helper@2.11.0': + dependencies: + emmet: 2.4.11 + jsonc-parser: 2.3.1 + vscode-languageserver-textdocument: 1.0.14 + vscode-languageserver-types: 3.18.3 + vscode-uri: 3.2.0 + + '@vscode/l10n@0.0.18': {} + + ajv-draft-04@1.0.0(ajv@8.20.0): + optionalDependencies: + ajv: 8.20.0 + + ajv-i18n@4.2.0(ajv@8.20.0): + dependencies: + ajv: 8.20.0 + + ajv@8.20.0: + dependencies: + fast-deep-equal: 3.1.3 + fast-uri: 3.1.7 + json-schema-traverse: 1.0.0 + require-from-string: 2.0.2 + am-i-vibing@0.4.0: dependencies: process-ancestry: 0.1.0 + ansi-regex@6.3.0: {} + + ansi-styles@6.2.3: {} + anymatch@3.1.3: dependencies: normalize-path: 3.0.0 picomatch: 2.3.2 + arg@5.0.2: {} + argparse@2.0.1: {} aria-query@5.3.2: {} - astro@7.3.1(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.3): + astro@7.3.2(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.3)(@types/node@24.13.4)(yaml@2.9.0): dependencies: '@astrojs/compiler-rs': 0.4.0(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.3) '@astrojs/internal-helpers': 0.11.0 - '@astrojs/markdown-satteri': 0.4.0 + '@astrojs/markdown-satteri': 0.4.1 '@astrojs/telemetry': 3.3.3 '@capsizecss/unpack': 4.0.1 - '@clack/prompts': 1.7.0 + '@clack/prompts': 1.8.0 '@oslojs/encoding': 1.1.0 am-i-vibing: 0.4.0 aria-query: 5.3.2 @@ -1901,11 +2515,11 @@ snapshots: http-cache-semantics: 4.2.0 js-yaml: 4.3.2 jsonc-parser: 3.3.1 - magic-string: 1.2.3 + magic-string: 1.3.1 magicast: 0.5.4 mrmime: 2.0.1 neotraverse: 1.0.1 - obug: 2.1.4 + obug: 2.2.1 p-limit: 7.3.2 p-queue: 9.3.3 package-manager-detector: 1.8.0 @@ -1921,13 +2535,13 @@ snapshots: ultrahtml: 1.7.0 unifont: 0.7.5 unstorage: 1.17.5 - vite: 8.2.2(esbuild@0.28.2) - vitefu: 1.1.3(vite@8.2.2(esbuild@0.28.2)) + vite: 8.3.0(@types/node@24.13.4)(esbuild@0.28.2)(yaml@2.9.0) + vitefu: 1.1.3(vite@8.3.0(@types/node@24.13.4)(esbuild@0.28.2)(yaml@2.9.0)) xxhash-wasm: 1.1.0 yargs-parser: 22.0.0 - zod: 4.5.4 + zod: 4.6.1 optionalDependencies: - sharp: 0.35.4 + sharp: 0.35.4(@types/node@24.13.4) transitivePeerDependencies: - '@azure/app-configuration' - '@azure/cosmos' @@ -1974,12 +2588,22 @@ snapshots: character-entities-legacy@3.0.0: {} + chokidar@4.0.3: + dependencies: + readdirp: 4.1.2 + chokidar@5.0.0: dependencies: readdirp: 5.1.1 ci-info@4.4.0: {} + cliui@9.0.1: + dependencies: + string-width: 7.2.0 + strip-ansi: 7.2.0 + wrap-ansi: 9.0.2 + clsx@2.1.1: {} comma-separated-tokens@2.0.3: {} @@ -2056,6 +2680,13 @@ snapshots: dset@3.1.4: {} + emmet@2.4.11: + dependencies: + '@emmetio/abbreviation': 2.3.3 + '@emmetio/css-abbreviation': 2.1.8 + + emoji-regex@10.6.0: {} + entities@4.5.0: {} es-module-lexer@2.3.2: {} @@ -2089,16 +2720,22 @@ snapshots: '@esbuild/win32-ia32': 0.28.2 '@esbuild/win32-x64': 0.28.2 + escalade@3.2.0: {} + eventemitter3@5.0.4: {} extend@3.0.2: {} + fast-deep-equal@3.1.3: {} + fast-string-truncated-width@3.0.3: {} fast-string-width@3.0.2: dependencies: fast-string-truncated-width: 3.0.3 + fast-uri@3.1.7: {} + fast-wrap-ansi@0.2.2: dependencies: fast-string-width: 3.0.2 @@ -2122,6 +2759,10 @@ snapshots: fsevents@2.3.3: optional: true + get-caller-file@2.0.5: {} + + get-east-asian-width@1.6.0: {} + get-tsconfig@5.0.0-beta.4: dependencies: resolve-pkg-maps: 1.0.0 @@ -2174,8 +2815,14 @@ snapshots: dependencies: argparse: 2.0.1 + json-schema-traverse@1.0.0: {} + + jsonc-parser@2.3.1: {} + jsonc-parser@3.3.1: {} + kleur@4.1.5: {} + lightningcss-android-arm64@1.33.0: optional: true @@ -2227,7 +2874,7 @@ snapshots: lru-cache@11.5.2: {} - magic-string@1.2.3: + magic-string@1.3.1: dependencies: '@jridgewell/sourcemap-codec': 1.6.0 @@ -2272,6 +2919,8 @@ snapshots: mrmime@2.0.1: {} + muggle-string@0.4.1: {} + nanoid@3.3.18: {} neotraverse@1.0.1: {} @@ -2290,7 +2939,7 @@ snapshots: dependencies: boolbase: 1.0.0 - obug@2.1.4: {} + obug@2.2.1: {} ofetch@1.5.1: dependencies: @@ -2321,6 +2970,8 @@ snapshots: package-manager-detector@1.8.0: {} + path-browserify@1.0.1: {} + piccolore@0.1.3: {} picocolors@1.1.1: {} @@ -2335,6 +2986,8 @@ snapshots: picocolors: 1.1.1 source-map-js: 1.2.1 + prettier@3.9.6: {} + prismjs@1.30.0: {} process-ancestry@0.1.0: {} @@ -2343,6 +2996,8 @@ snapshots: radix3@1.1.2: {} + readdirp@4.1.2: {} + readdirp@5.1.1: {} regex-recursion@6.0.2: @@ -2355,6 +3010,12 @@ snapshots: dependencies: regex-utilities: 2.3.0 + request-light@0.5.8: {} + + request-light@0.7.0: {} + + require-from-string@2.0.2: {} + resolve-pkg-maps@1.0.0: {} retext-smartypants@6.2.0: @@ -2363,26 +3024,26 @@ snapshots: nlcst-to-string: 4.0.0 unist-util-visit: 5.1.0 - rolldown@1.2.7: + rolldown@1.2.8: dependencies: - '@oxc-project/types': 0.148.0 + '@oxc-project/types': 0.149.0 '@rolldown/pluginutils': 1.0.1 optionalDependencies: - '@rolldown/binding-android-arm-eabi': 1.2.7 - '@rolldown/binding-android-arm64': 1.2.7 - '@rolldown/binding-darwin-arm64': 1.2.7 - '@rolldown/binding-darwin-x64': 1.2.7 - '@rolldown/binding-freebsd-x64': 1.2.7 - '@rolldown/binding-linux-arm-gnueabihf': 1.2.7 - '@rolldown/binding-linux-arm64-gnu': 1.2.7 - '@rolldown/binding-linux-arm64-musl': 1.2.7 - '@rolldown/binding-linux-ppc64-gnu': 1.2.7 - '@rolldown/binding-linux-s390x-gnu': 1.2.7 - '@rolldown/binding-linux-x64-gnu': 1.2.7 - '@rolldown/binding-linux-x64-musl': 1.2.7 - '@rolldown/binding-openharmony-arm64': 1.2.7 - '@rolldown/binding-win32-arm64-msvc': 1.2.7 - '@rolldown/binding-win32-x64-msvc': 1.2.7 + '@rolldown/binding-android-arm-eabi': 1.2.8 + '@rolldown/binding-android-arm64': 1.2.8 + '@rolldown/binding-darwin-arm64': 1.2.8 + '@rolldown/binding-darwin-x64': 1.2.8 + '@rolldown/binding-freebsd-x64': 1.2.8 + '@rolldown/binding-linux-arm-gnueabihf': 1.2.8 + '@rolldown/binding-linux-arm64-gnu': 1.2.8 + '@rolldown/binding-linux-arm64-musl': 1.2.8 + '@rolldown/binding-linux-ppc64-gnu': 1.2.8 + '@rolldown/binding-linux-s390x-gnu': 1.2.8 + '@rolldown/binding-linux-x64-gnu': 1.2.8 + '@rolldown/binding-linux-x64-musl': 1.2.8 + '@rolldown/binding-openharmony-arm64': 1.2.8 + '@rolldown/binding-win32-arm64-msvc': 1.2.8 + '@rolldown/binding-win32-x64-msvc': 1.2.8 satteri@0.10.5: dependencies: @@ -2405,7 +3066,7 @@ snapshots: semver@7.8.5: {} - sharp@0.35.4: + sharp@0.35.4(@types/node@24.13.4): dependencies: '@img/colour': 1.1.0 detect-libc: 2.1.2 @@ -2436,6 +3097,7 @@ snapshots: '@img/sharp-win32-arm64': 0.35.4 '@img/sharp-win32-ia32': 0.35.4 '@img/sharp-win32-x64': 0.35.4 + '@types/node': 24.13.4 optional: true shiki@4.4.3: @@ -2451,17 +3113,39 @@ snapshots: sisteransi@1.0.5: {} + sitemap@9.0.1: + dependencies: + '@types/node': 24.13.4 + '@types/sax': 1.2.7 + arg: 5.0.2 + sax: 1.6.1 + smol-toml@1.8.0: {} source-map-js@1.2.1: {} space-separated-tokens@2.0.2: {} + string-width@7.2.0: + dependencies: + emoji-regex: 10.6.0 + get-east-asian-width: 1.6.0 + strip-ansi: 7.2.0 + + string-width@8.2.2: + dependencies: + get-east-asian-width: 1.6.0 + strip-ansi: 7.2.0 + stringify-entities@4.0.4: dependencies: character-entities-html4: 2.1.0 character-entities-legacy: 3.0.0 + strip-ansi@7.2.0: + dependencies: + ansi-regex: 6.3.0 + svgo@4.1.0: dependencies: commander: 11.1.0 @@ -2490,13 +3174,23 @@ snapshots: tslib@2.8.1: optional: true + typesafe-path@0.2.2: {} + + typescript-auto-import-cache@0.3.6: + dependencies: + semver: 7.8.5 + + typescript@6.0.3: {} + ufo@1.6.4: {} ultrahtml@1.7.0: {} uncrypto@0.1.3: {} - undici@8.10.1: {} + undici-types@7.18.2: {} + + undici@8.10.2: {} unified@11.0.5: dependencies: @@ -2512,7 +3206,7 @@ snapshots: dependencies: css-tree: 3.2.1 ohash: 2.0.12 - undici: 8.10.1 + undici: 8.10.2 unist-util-is@6.0.1: dependencies: @@ -2558,27 +3252,173 @@ snapshots: '@types/unist': 3.0.3 vfile-message: 4.0.3 - vite@8.2.2(esbuild@0.28.2): + vite@8.3.0(@types/node@24.13.4)(esbuild@0.28.2)(yaml@2.9.0): dependencies: lightningcss: 1.33.0 picomatch: 4.0.7 postcss: 8.5.28 - rolldown: 1.2.7 + rolldown: 1.2.8 tinyglobby: 0.2.17 optionalDependencies: + '@types/node': 24.13.4 esbuild: 0.28.2 fsevents: 2.3.3 + yaml: 2.9.0 - vitefu@1.1.3(vite@8.2.2(esbuild@0.28.2)): + vitefu@1.1.3(vite@8.3.0(@types/node@24.13.4)(esbuild@0.28.2)(yaml@2.9.0)): optionalDependencies: - vite: 8.2.2(esbuild@0.28.2) + vite: 8.3.0(@types/node@24.13.4)(esbuild@0.28.2)(yaml@2.9.0) + + volar-service-css@0.0.71(@volar/language-service@2.4.28(typescript@6.0.3)): + dependencies: + vscode-css-languageservice: 6.3.10 + vscode-languageserver-textdocument: 1.0.14 + vscode-uri: 3.2.0 + optionalDependencies: + '@volar/language-service': 2.4.28(typescript@6.0.3) + + volar-service-emmet@0.0.71(@volar/language-service@2.4.28(typescript@6.0.3)): + dependencies: + '@emmetio/css-parser': 0.4.1 + '@emmetio/html-matcher': 1.3.0 + '@vscode/emmet-helper': 2.11.0 + vscode-uri: 3.2.0 + optionalDependencies: + '@volar/language-service': 2.4.28(typescript@6.0.3) + + volar-service-html@0.0.71(@volar/language-service@2.4.28(typescript@6.0.3)): + dependencies: + vscode-html-languageservice: 5.6.2 + vscode-languageserver-textdocument: 1.0.14 + vscode-uri: 3.2.0 + optionalDependencies: + '@volar/language-service': 2.4.28(typescript@6.0.3) + + volar-service-prettier@0.0.71(@volar/language-service@2.4.28(typescript@6.0.3))(prettier@3.9.6): + dependencies: + vscode-uri: 3.2.0 + optionalDependencies: + '@volar/language-service': 2.4.28(typescript@6.0.3) + prettier: 3.9.6 + + volar-service-typescript-twoslash-queries@0.0.71(@volar/language-service@2.4.28(typescript@6.0.3))(typescript@6.0.3): + dependencies: + vscode-uri: 3.2.0 + optionalDependencies: + '@volar/language-service': 2.4.28(typescript@6.0.3) + typescript: 6.0.3 + + volar-service-typescript@0.0.71(@volar/language-service@2.4.28(typescript@6.0.3))(typescript@6.0.3): + dependencies: + path-browserify: 1.0.1 + semver: 7.8.5 + typescript-auto-import-cache: 0.3.6 + vscode-languageserver-textdocument: 1.0.14 + vscode-nls: 5.2.0 + vscode-uri: 3.2.0 + optionalDependencies: + '@volar/language-service': 2.4.28(typescript@6.0.3) + typescript: 6.0.3 + + volar-service-yaml@0.0.71(@volar/language-service@2.4.28(typescript@6.0.3)): + dependencies: + vscode-uri: 3.2.0 + yaml-language-server: 1.23.0 + optionalDependencies: + '@volar/language-service': 2.4.28(typescript@6.0.3) + + vscode-css-languageservice@6.3.10: + dependencies: + '@vscode/l10n': 0.0.18 + vscode-languageserver-textdocument: 1.0.14 + vscode-languageserver-types: 3.17.5 + vscode-uri: 3.2.0 + + vscode-html-languageservice@5.6.2: + dependencies: + '@vscode/l10n': 0.0.18 + vscode-languageserver-textdocument: 1.0.14 + vscode-languageserver-types: 3.18.3 + vscode-uri: 3.2.0 + + vscode-json-languageservice@4.1.8: + dependencies: + jsonc-parser: 3.3.1 + vscode-languageserver-textdocument: 1.0.14 + vscode-languageserver-types: 3.18.3 + vscode-nls: 5.2.0 + vscode-uri: 3.2.0 + + vscode-jsonrpc@8.2.0: {} + + vscode-jsonrpc@9.0.2: {} + + vscode-languageserver-protocol@3.17.5: + dependencies: + vscode-jsonrpc: 8.2.0 + vscode-languageserver-types: 3.17.5 + + vscode-languageserver-protocol@3.18.3: + dependencies: + vscode-jsonrpc: 9.0.2 + vscode-languageserver-types: 3.18.3 + + vscode-languageserver-textdocument@1.0.14: {} + + vscode-languageserver-types@3.17.5: {} + + vscode-languageserver-types@3.18.3: {} + + vscode-languageserver@9.0.1: + dependencies: + vscode-languageserver-protocol: 3.17.5 + + vscode-nls@5.2.0: {} + + vscode-uri@3.2.0: {} + + wrap-ansi@9.0.2: + dependencies: + ansi-styles: 6.2.3 + string-width: 7.2.0 + strip-ansi: 7.2.0 xxhash-wasm@1.1.0: {} + y18n@5.0.8: {} + + yaml-language-server@1.23.0: + dependencies: + '@vscode/l10n': 0.0.18 + ajv: 8.20.0 + ajv-draft-04: 1.0.0(ajv@8.20.0) + ajv-i18n: 4.2.0(ajv@8.20.0) + prettier: 3.9.6 + request-light: 0.5.8 + vscode-json-languageservice: 4.1.8 + vscode-languageserver: 9.0.1 + vscode-languageserver-textdocument: 1.0.14 + vscode-languageserver-types: 3.18.3 + vscode-uri: 3.2.0 + yaml: 2.8.3 + + yaml@2.8.3: {} + + yaml@2.9.0: {} + yargs-parser@22.0.0: {} + yargs@18.1.0: + dependencies: + cliui: 9.0.1 + escalade: 3.2.0 + get-caller-file: 2.0.5 + string-width: 8.2.2 + y18n: 5.0.8 + yargs-parser: 22.0.0 + yocto-queue@1.2.2: {} - zod@4.5.4: {} + zod@4.6.1: {} zwitch@2.0.4: {} diff --git a/public/fonts/Cabin-Italic-VF.ttf b/public/fonts/Cabin-Italic-VF.ttf new file mode 100644 index 0000000..5b2a682 Binary files /dev/null and b/public/fonts/Cabin-Italic-VF.ttf differ diff --git a/public/fonts/Cabin-Italic-VF.woff2 b/public/fonts/Cabin-Italic-VF.woff2 new file mode 100644 index 0000000..fa4f45a Binary files /dev/null and b/public/fonts/Cabin-Italic-VF.woff2 differ diff --git a/public/fonts/Cabin-VF.ttf b/public/fonts/Cabin-VF.ttf new file mode 100644 index 0000000..27f71b3 Binary files /dev/null and b/public/fonts/Cabin-VF.ttf differ diff --git a/public/fonts/Cabin-VF.woff2 b/public/fonts/Cabin-VF.woff2 new file mode 100644 index 0000000..8ffa4ca Binary files /dev/null and b/public/fonts/Cabin-VF.woff2 differ diff --git a/public/github-release-worker.js b/public/github-release-worker.js new file mode 100644 index 0000000..f307d52 --- /dev/null +++ b/public/github-release-worker.js @@ -0,0 +1,127 @@ +const CACHE_NAME = "github-release"; +const TTL = 24 * 60 * 60 * 1000; // 24h +const cache = new Map(); +const inflight = new Map(); + +function isFresh(entry) { + return Boolean(entry) && Date.now() - entry.cachedAt < TTL; +} + +async function getPersisted(url) { + try { + const store = await caches.open(CACHE_NAME); + const response = await store.match(url); + if (!response) return null; + return await response.json(); + } catch { + return null; + } +} + +async function putPersisted(url, entry) { + try { + const store = await caches.open(CACHE_NAME); + await store.put( + url, + new Response(JSON.stringify(entry), { + headers: { "content-type": "application/json" }, + }), + ); + } catch { + // ignore storage failures and fall back to in-memory cache + } +} + +function remember(url, data) { + const entry = { data, cachedAt: Date.now() }; + cache.set(url, entry); + putPersisted(url, entry); + return entry; +} + +async function load(url) { + let response = await fetch(url); + if ( + response.status === 404 && + !url.includes("?") && + url.endsWith("/latest") + ) { + response = await fetch(url.replace(/\/latest$/, "/releases?per_page=1")); + } + if (!response.ok) throw new Error(`HTTP ${response.status}`); + const data = await response.json(); + const item = Array.isArray(data) ? data[0] : data; + if (!item?.tag_name) throw new Error("no release found"); + return { + tagName: item.tag_name, + htmlUrl: item.html_url, + publishedAt: item.published_at || null, + }; +} + +function reply(port, url, payload) { + port.postMessage(Object.assign({ url }, payload)); +} + +function refresh(url) { + const request = load(url) + .then((data) => { + remember(url, data); + return data; + }) + .catch(() => { + // keep the stale copy when the network fails (e.g. rate limit) + }); + inflight.set(url, request); + request.finally(() => inflight.delete(url)); +} + +self.onconnect = (event) => { + const port = event.ports[0]; + port.onmessage = (message) => { + const url = String(message.data?.url || ""); + if (!url) return; + + const mem = cache.get(url); + if (isFresh(mem)) return reply(port, url, { data: mem.data }); + + if (inflight.has(url)) { + const pending = inflight.get(url); + pending.then( + (data) => reply(port, url, { data }), + (err) => reply(port, url, { error: String(err) }), + ); + return; + } + + getPersisted(url).then((persisted) => { + if (persisted?.data) { + cache.set(url, persisted); + if (isFresh(persisted)) { + reply(port, url, { data: persisted.data }); + return; + } + // stale: serve immediately, revalidate in the background + reply(port, url, { data: persisted.data }); + refresh(url); + return; + } + + const request = load(url) + .then((data) => { + remember(url, data); + return data; + }) + .catch((err) => { + throw err; + }); + inflight.set(url, request); + request + .then( + (data) => reply(port, url, { data }), + (err) => reply(port, url, { error: String(err) }), + ) + .finally(() => inflight.delete(url)); + }); + }; +}; diff --git a/public/robots.txt b/public/robots.txt new file mode 100644 index 0000000..38ae6ec --- /dev/null +++ b/public/robots.txt @@ -0,0 +1,13 @@ +User-agent: GPTBot +User-agent: ChatGPT-User +User-agent: OAI-SearchBot +User-agent: ClaudeBot +User-agent: Claude-User +User-agent: PerplexityBot +User-agent: Google-Extended +Allow: / + +User-agent: * +Allow: / + +Sitemap: https://svgforge.github.io/sitemap-index.xml \ No newline at end of file diff --git a/src/components/GitHubRelease.astro b/src/components/GitHubRelease.astro new file mode 100644 index 0000000..8330a11 --- /dev/null +++ b/src/components/GitHubRelease.astro @@ -0,0 +1,165 @@ +--- +interface Props { + repo: string; + proxy?: string; +} + +const { repo, proxy } = Astro.props; + +const [owner, name] = repo.split("/"); +const fallbackUrl = `https://github.com/${owner}/${name}/releases`; +const apiUrl = `https://api.github.com/repos/${repo}/releases/latest`; +const endpoint = proxy + ? `${proxy}${proxy.includes("?") ? "&" : "?"}url=${encodeURIComponent(apiUrl)}` + : apiUrl; +--- + + + + Loading… + + — + Release notes ↗ + + + + + \ No newline at end of file diff --git a/src/components/JsonLd.astro b/src/components/JsonLd.astro new file mode 100644 index 0000000..ec96195 --- /dev/null +++ b/src/components/JsonLd.astro @@ -0,0 +1,12 @@ +--- +interface Props { + data: Record | Record[]; +} + +const { data } = Astro.props; +const items = Array.isArray(data) ? data : [data]; +--- + +{items.map((item) => ( + +))} \ No newline at end of file diff --git a/src/components/Navigation.astro b/src/components/Navigation.astro new file mode 100644 index 0000000..06f2dae --- /dev/null +++ b/src/components/Navigation.astro @@ -0,0 +1,134 @@ +--- +const links = [ + { href: "/", label: "Home" }, + { href: "/blog", label: "Blog" }, + { href: "/releases", label: "Releases" }, +]; + +const current = Astro.url.pathname; +const isActive = (href: string) => + href === "/" + ? current === "/" + : current === href || current.startsWith(`${href}/`); +--- + + + + + + \ No newline at end of file diff --git a/src/content.config.ts b/src/content.config.ts new file mode 100644 index 0000000..3953139 --- /dev/null +++ b/src/content.config.ts @@ -0,0 +1,18 @@ +import { defineCollection } from "astro:content"; +import { glob } from "astro/loaders"; +import { z } from "astro/zod"; + +const blog = defineCollection({ + loader: glob({ base: "./src/content/blog", pattern: "**/*.{md,mdx}" }), + schema: z.object({ + title: z.string(), + description: z.string().default(""), + pubDate: z.coerce.date(), + updatedDate: z.coerce.date().optional(), + heroImage: z.string().optional(), + tags: z.array(z.string()).default([]), + draft: z.boolean().default(false), + }), +}); + +export const collections = { blog }; diff --git a/src/content/blog/defs-vs-symbol-sprites.md b/src/content/blog/defs-vs-symbol-sprites.md new file mode 100644 index 0000000..13d2b7a --- /dev/null +++ b/src/content/blog/defs-vs-symbol-sprites.md @@ -0,0 +1,217 @@ +--- +title: defs vs symbol sprites +description: When should you choose and when ? Both are inline sprite techniques — this post explains the differences based on the SVG spec. +pubDate: 2026-03-10 +tags: + - tutorial + - svg +--- + +When should you choose `` and when ``? + +This post compares both inline sprite approaches — and yes, the two are *not* +interchangeable. `` and `` are siblings from the same family of +[structural elements](https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element#structural_elements), +but they serve different purposes, defined by the specification itself. + +## The spec background + +Both elements have been part of SVG since the very beginning and are covered in +both the [SVG 1.1 spec](https://www.w3.org/TR/SVG11/struct.html) and the +[SVG 2 draft](https://www.w3.org/TR/SVG2/struct.html): + +| Element | SVG 1.1 | SVG 2 | MDN reference | +| --- | --- | --- | --- | +| `` | [The defs element](https://www.w3.org/TR/SVG11/struct.html#DefsElement) | [The defs element](https://www.w3.org/TR/SVG2/struct.html#DefsElement) | [MDN ``](https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/defs) | +| `` | [The symbol element](https://www.w3.org/TR/SVG11/struct.html#SymbolElement) | [The symbol element](https://www.w3.org/TR/SVG2/struct.html#SymbolElement) | [MDN ``](https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/symbol) | +| `` | [The use element](https://www.w3.org/TR/SVG11/struct.html#UseElement) | [The use element](https://www.w3.org/TR/SVG2/struct.html#UseElement) | [MDN ``](https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/use) | + +## What `` is + +The specification describes `` as a **reference container**: a place to +store objects that are *not rendered directly* but **referenced from +elsewhere**. Elements inside `` have an implicit `display:none` — they +exist in the document tree, but nothing is drawn until something points at +them via an IRI reference (`url(#id)`, ``, …). + +```html + + + + + + + + + +``` + +That is the *primary* use case of ``: it hosts **helper objects** +(gradients, patterns, filters, masks, markers, clip paths) that other +elements pull in. It is not designed as an "icon library" element — it +simply happens to work for that, because any element, including an `` +with an ID, can be placed inside and later cloned via ``. + +## What `` is + +`` is fundamentally different: it is a **graphical template object** +that is *instantiated* by ``. + +> The `symbol` element is used to define graphical template objects which +> can be instantiated by a `use` element. +> — [SVG 1.1, 5.11](https://www.w3.org/TR/SVG11/struct.html#SymbolElement) + +A `` itself is also never rendered, but unlike `` it brings a +set of **view-port attributes** along: + +- [`viewBox`](https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Attribute/viewBox) + — the symbol defines its own coordinate system, +- [`preserveAspectRatio`](https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Attribute/preserveAspectRatio) + — how the symbol's content fits into the viewport of the referencing ``, +- [`x`, `y`, `width`, `height`](https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Attribute/x) + — position and size defaults, plus +- [`refX` / `refY`](https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/symbol#refx_and_refy) + — a reference point, which is why `` is also used for markers. + +This matters because of how `` renders its target: + +> The referenced `symbol` and its contents are deep-cloned into the +> generated tree, with the exception that the `symbol` is replaced by an +> `svg`. +> — [SVG 1.1, 5.6](https://www.w3.org/TR/SVG11/struct.html#UseElement) + +When a `` instantiates a ``, the symbol becomes an inner +`` — and that inner `` *inherits the symbol's `viewBox`*. The +icon thus gets proper, aspect-ratio-aware scaling for free. You do **not** +need to repeat the `viewBox` on the `` wrapper: + +```html + + + + + + +``` + +That single difference — **the `` carries its own `viewBox`** — is the +whole story behind the "defs vs symbol" debate. + +## Deep dive: the reference mechanics + +Both techniques build a sprite the same way: one file with many named icons, +each shown by pointing a `` at an ID. The current spec also allows the +modern `href` attribute directly (no more `xlink:href` needed) — see the +[SVG 2 `` element](https://www.w3.org/TR/SVG2/struct.html#UseElement). + +A `` can reference either +[an element in the same document](https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Element/use#notes_about_use) +(``) or +[an external SVG file](https://caniuse.com/mdn-svg_elements_use_external_uri) +(``). Both work for `` and `` alike — +*because* both are just ID-targets. + +There is a catch, though: an external `` reference creates a **separate +DOM** (see [CSS-Tricks, "SVG use with external reference"](https://css-tricks.com/svg-use-with-external-reference-take-2)). +That means: + +- you can style the `href` target from outside CSS, but **not** individual + shapes inside the sprite (`#icon .path-1` won't match), +- references *inside* the sprite file (e.g. a gradient `fill="url(#grad)"`) + may not resolve in Chrome when the sprite is loaded externally. + +Whether you inline the sprite or fetch it externally, `` and +`` behave identically — this is exactly what the +[CSS-Tricks sprite articles](https://css-tricks.com/svg-use-external-source/) +describe. + +## `` and `` in svgforge + +svgforge's `defs` and `symbol` modes generate sprites that differ only in the +container element around each icon — and both are consumed identically: + +```html + + + + … + + + + + + … + +``` + +Consuming them: + +```html + + + + + +``` + +Enable them in your config and get both variants: + +```json +{ + "dest": "out", + "mode": { + "defs": { + "sprite": "svg/sprite.defs.svg", + "example": true + }, + "symbol": { + "sprite": "svg/sprite.symbol.svg", + "example": true + } + } +} +``` + +Run with: + +```bash +svgforge --config sprite.config.json 'assets/**/*.svg' +``` + +## Which one should you use? + +**Use ``** for new icon systems. The spec gives it three advantages +over ``: + +1. **No `viewBox` duplication.** The symbol defines the coordinate system, so + your `` wrappers stay tiny and clean. +2. **Scaling semantics built in.** `viewBox` + `preserveAspectRatio` even let + a single icon render at different sizes and aspect ratios from one + definition — impossible with a plain `` or `` in ``. +3. **Clearer semantics.** `` is *made for* reusable graphical + templates; `` is meant for helper objects. + +**Use ``** when your icons are not self-contained units but *parts that +other icons reference* — shared gradients, filters, masks, or clip paths that +several symbols pull in. In a hybrid setup it is perfectly normal to wrap every +icon in `` and put the shared helpers in a `` above them. + +In short (mirroring the svgforge docs): **`defs` and `symbol` are two flavours +of the same inline `` technique — if you can only keep one, choose +`symbol`, the modern variant.** + +## When neither is the right choice + +``-based sprites render as inline SVG. That means they are **not** +usable as `` or as CSS `background-image`. For those, fragment +identifiers are the way to go — which is what svgforge's +[`stack`](https://css-tricks.com/svg-fragment-identifiers-work/) and +[`view`](https://css-tricks.com/svg-fragment-identifiers-work/) modes produce +(``). A quick decision guide: + +| Need | Mode | +| --- | --- | +| Inline icons, styleable with CSS/`currentColor`, reusable many times | `symbol` (or `defs`) | +| Stylesheet-driven icons with cacheable, externally referenced sprites | `symbol` + `render: {css: true}` | +| `` or `background-image` icons | `stack` | +| Foreground images with browser-native slicing | `view` | \ No newline at end of file diff --git a/src/content/blog/optimizing-svg-files.md b/src/content/blog/optimizing-svg-files.md new file mode 100644 index 0000000..f2a0773 --- /dev/null +++ b/src/content/blog/optimizing-svg-files.md @@ -0,0 +1,265 @@ +--- +title: Optimizing SVG files +description: How to customize the built-in SVGO v4 optimization in svgforge-cli with the shape.transform config. +pubDate: 2026-02-18 +tags: + - tips + - svg + - svgo +--- + +A few practical tips for shrinking SVG files before they are baked into sprites. +svgforge-cli runs [SVGO v4](https://svgo.dev/) under the hood, so every shape +gets optimized automatically. All you need to know is how to steer it. + +## What SVGO does + +SVG files exported from vector editors (Figma, Illustrator, Sketch) carry a lot +of baggage: editor metadata, comments, hidden layers, default attributes, and +verbose path data. SVGO strips that dead weight in a deterministic pipeline of +plugins — each one responsible for a single optimization task. The result is +typically 30–70 % smaller files with no visible change. + +## The default behavior + +By default, svgforge-cli runs SVGO with `preset-default` plus two extra plugins: + +```js +{ + plugins: [ + 'preset-default', + { name: 'removeViewBox' }, + { name: 'removeTitle' }, + ], +} +``` + +The `preset-default` bundle alone enables over 20 plugins (merge paths, collapse +groups, convert colors, minify path data …). `removeViewBox` and `removeTitle` +are added because svgforge's sprite and dimensions pipeline relies on them being +stripped. + +That default is usually enough — but sometimes you need more control. + +## Customizing SVGO via the config file + +Create a JSON config file and point the CLI at it with `--config`: + +```json +{ + "dest": "out", + "shape": { + "transform": [ + { + "svgo": { + "plugins": [ + "preset-default", + { "name": "removeViewBox" }, + { "name": "removeTitle" }, + { "name": "removeXMLProcInst" }, + { "name": "removeDoctype" } + ] + } + } + ] + }, + "mode": { + "view": { + "sprite": "svg/sprite.view.svg", + "example": true + } + } +} +``` + +Run it with: + +```bash +svgforge --config svgo.config.json 'assets/**/*.svg' +``` + +The key is `shape.transform`: an array of transformation steps that are applied +to every shape in order. The shorthand `["svgo"]` is equivalent to +`[{ "svgo": {} }]`. When you pass an explicit `plugins` array, it **replaces** +the built-in defaults entirely. + +## Disabling specific plugins + +More often than you want to add plugins, you want to turn one *off*. Use +`preset-default` with `overrides`: + +```json +{ + "shape": { + "transform": [ + { + "svgo": { + "plugins": [ + { + "name": "preset-default", + "params": { + "overrides": { + "cleanupIds": false, + "removeHiddenElems": false + } + } + }, + { "name": "removeViewBox" }, + { "name": "removeTitle" } + ] + } + } + ] + } +} +``` + +This is useful when your SVGs rely on hand-crafted element IDs (e.g. for +JavaScript targeting) or when hidden elements carry meaning (e.g. a toggle +state). + +## Common recipes + +### Keep dimensions on the shape + +Some sprite modes benefit from having `width` and `height` attributes on +individual shapes. Remove the `removeDimensions` plugin: + +```json +{ + "shape": { + "transform": [ + { + "svgo": { + "plugins": [ + { + "name": "preset-default", + "params": { + "overrides": { + "removeDimensions": false + } + } + }, + { "name": "removeViewBox" }, + { "name": "removeTitle" } + ] + } + } + ] + } +} +``` + +### Preserve metadata for accessibility + +If your SVGs carry ``, `<desc>`, or `aria-*` attributes for +accessibility, turn off the relevant plugins: + +```json +{ + "name": "preset-default", + "params": { + "overrides": { + "removeTitle": false, + "removeDesc": false + } + } +} +``` + +Note: when you override `removeTitle` or `removeDesc` inside `preset-default` +you should **not** also list `{ "name": "removeTitle" }` as a standalone +plugin — that would re-enable it. + +### Aggressive cleanup for maximum compression + +When output size is everything, add extra plugins beyond the default: + +```json +{ + "shape": { + "transform": [ + { + "svgo": { + "plugins": [ + "preset-default", + { "name": "removeViewBox" }, + { "name": "removeTitle" }, + { "name": "removeDimensions" }, + { "name": "removeStyleElement" }, + { "name": "removeScriptElement" } + ] + } + } + ] + } +} +``` + +### Convert inline styles to attributes + +Some sprite workflows work better when CSS is expressed as presentation +attributes rather than `<style>` blocks: + +```json +{ + "shape": { + "transform": [ + { + "svgo": { + "plugins": [ + "preset-default", + { "name": "convertStyleToAttrs" }, + { "name": "removeViewBox" }, + { "name": "removeTitle" } + ] + } + } + ] + } +} +``` + +## CLI-only: the `--shape-transform` flag + +For quick one-offs you can skip the config file and pass the transform +shorthand directly: + +```bash +svgforge --view --shape-transform=svgo 'assets/**/*.svg' +``` + +To point a named transform at an external JSON config file, use the +`--shape-transform-*` pattern. For example, create a file `svgo-config.json` +containing the SVGO plugin configuration, then: + +```bash +svgforge --view --shape-transform=svgo --shape-transform-svgo=svgo-config.json 'assets/**/*.svg' +``` + +This is handy in npm scripts where the config lives alongside `package.json`. + +## How it fits into the pipeline + +The transform runs on each shape **before** it is combined into the sprite. +The order is: + +1. Read source SVG +2. Apply `shape.transform` steps (SVGO, custom callbacks …) +3. Optional: namespace IDs, apply alignment / meta data +4. Compose the final sprite SVG + +This means SVGO operates on clean, individual SVG fragments — not on the +finished sprite — which makes its optimizations more predictable and +debuggable. + +## Tips + +- Run `svgforge --log=debug` to see how many bytes SVGO saved per shape. +- Start with the defaults. Only add custom config when you have a concrete + reason. +- If you need *completely* unmodified SVGs, set `transform: []` to disable + all optimizations. +- The `multipass` option of SVGO is not wired through svgforge — each + shape is optimized in a single pass. This is fine: the shapes are small + enough that multipass rarely helps. diff --git a/src/content/blog/svg-intro.md b/src/content/blog/svg-intro.md new file mode 100644 index 0000000..c55d847 --- /dev/null +++ b/src/content/blog/svg-intro.md @@ -0,0 +1,338 @@ +--- +title: Why SVG? History, Basics, and SVG Fragments +pubDate: 2026-02-18 +tags: + - tips + - svg +--- + +**SVG** stands for *Scalable Vector Graphics* and is an XML-based description language for two-dimensional graphics on the web. + +Unlike PNG or JPEG, SVG does not store individual pixels. Instead, it describes geometric shapes, paths, colors, and transformations. The browser recalculates the graphic at every display size. + +## A Brief History of SVG + +The development of SVG began in the late 1990s at the World Wide Web Consortium (W3C). Ideas from various vector graphics concepts, such as VML and PGML, influenced its development. + +The first official SVG version, SVG 1.0, became a W3C Recommendation on **September 4, 2001**. SVG 1.1 followed on **January 14, 2003** and became the most important foundation for SVG on the web for many years. + +In the early years, a plug-in such as the Adobe SVG Viewer was often required. Native browser support was introduced gradually: + +- Firefox and Safari supported SVG at an early stage. +- Chrome integrated SVG support in early versions of its browser engine. +- Internet Explorer supported SVG starting with version 9, released in 2011. +- By around 2011, SVG could generally be used in the major modern browsers without a plug-in. + +## Basic Structure of an SVG File + +```xml +<svg + xmlns="http://www.w3.org/2000/svg" + viewBox="0 0 300 200" + role="img" + aria-labelledby="title"> + + <title id="title">A red circle + + + +``` + +The `viewBox` attribute defines the internal coordinate system. This allows the graphic to be scaled independently of its actual output size. + +```html + + ... + +``` + +In this example, the graphic is scaled from an internal area of `300 × 200` to an output size of `600 × 400`. + +## Basic SVG Elements + +### Rectangle with `` + +```xml + +``` + +### Circle with `` + +```xml + +``` + +### Ellipse with `` + +```xml + +``` + +### Line with `` + +```xml + +``` + +### Polygon with `` + +```xml + +``` + +### Freeform Paths with `` + +```xml + +``` + +Important commands used inside the `d` attribute include: + +- `M` – move to a position +- `L` – draw a line +- `C` – cubic Bézier curve +- `Q` – quadratic Bézier curve +- `A` – arc +- `Z` – close the path + +## Advantages of SVG + +### Resolution Independence + +SVG graphics can be enlarged or reduced without losing quality. This is particularly important for responsive websites and high-resolution displays. + +### Structured Content + +SVG consists of individual elements and attributes. For example, a circle remains a circle instead of being converted into pixels. + +### CSS and JavaScript + +SVG elements can be styled with CSS and modified with JavaScript. This makes animations, interactions, and dynamic diagrams possible. + +### Reusability + +Elements can be reused with `` and ``. This is the foundation of many SVG icon sprites. + +### Accessibility + +SVG can contain text, titles, and descriptions. However, a graphic is not automatically accessible. Informative graphics should be described semantically, while decorative graphics can be hidden from assistive technologies with `aria-hidden="true"`. + +## What Is an SVG Fragment? + +A fragment is the part of a URL that comes after the `#` character: + +```text +graphic.svg#my-fragment +``` + +In SVG, a fragment can reference a specific view or element within an SVG file. + +It is important to understand the following: + +> An SVG fragment does not automatically mean that only part of the file is downloaded from the server. + +Normally, the SVG file is loaded first. The browser then uses the fragment identifier to determine which view or element should be displayed. + +## SVG Fragments with `` + +The `` element can be used to define named views within an SVG file: + +```xml + + + + + + + + + + + + + + +``` + +The views can then be referenced by their IDs: + +```html +Red rectangle +Yellow circle +Blue triangle +``` + +Another supported syntax is: + +```html +Yellow circle +``` + +## SVG Sprites with `` and `` + +Reusable icons are often stored in an SVG sprite: + +```xml + + + + + +``` + +The symbol can then be used inside another SVG document: + +```html + +``` + +The modern attribute is `href`. The older syntax, `xlink:href`, is still found in older projects but is considered deprecated: + +```html + +``` + +## External SVG Fragments + +The sprite can also be stored in a separate file: + +```html + +``` + +The URL consists of two parts: + +```text +/assets/icons.svg#icon-home +└──────────────┘ └─────────┘ + SVG file Fragment ID +``` + +When using external references, the following points are particularly important: + +- The external file must be accessible. +- The referenced element must have the specified ID. +- Same-origin rules and CORS can affect whether the reference works. +- CSS rules are not always inherited in the same way as they are with inline SVG. +- External references should be tested in the browsers that the application needs to support. + +## Browser Support for SVG Fragments + +SVG fragment identifiers have been part of the SVG 1.1 specification for a long time. However, practical support varied between browsers and embedding methods. + +A rough historical overview looks like this: + +| Browser | Support | +|---|---| +| Firefox | Important support starting with Firefox 15, around 2012 | +| Internet Explorer | SVG support starting with IE9; better fragment support in later versions | +| Chrome | Initially partial support; considerably more stable from around Chrome 50 | +| Safari | Partial support; broader support from Safari 11.1 | +| Modern browsers | Generally well supported | + +A distinction must be made between different use cases: + +```html + + + + + + + +City center +``` + +These three variants are related, but they do not behave exactly the same way. + +## SVG Fragments and Performance + +SVG fragments primarily improve the organization and reuse of graphics. They do not automatically guarantee lower data transfer. + +If a large SVG file is loaded as a sprite, the browser may initially download the entire file. The fragment identifier then determines which part is displayed. Caching, Brotli or GZIP compression, and a sensible file structure can still improve overall performance. + +## Conclusion + +SVG is a structured, scalable graphics technology for the web. Elements such as ``, ``, ``, and `` can be used to create simple and complex graphics. + +SVG fragments extend this concept with addressable views and reusable parts. The `` element can define specific sections of an SVG file, while `` and `` can be used to create SVG icon sprites: + +```html + +``` + +SVG fragments and external `` references are generally well supported in modern browsers. However, production applications should still take CORS, browser compatibility, CSS inheritance, accessibility, and the actual file size into account. diff --git a/src/content/blog/welcome.md b/src/content/blog/welcome.md new file mode 100644 index 0000000..a0873d7 --- /dev/null +++ b/src/content/blog/welcome.md @@ -0,0 +1,20 @@ +--- +title: Welcome to the svgforge blog +description: A quick introduction to this blog and what you can expect to find here. +pubDate: 2026-01-15 +tags: + - news + - svgforge +--- + +This is the first post on the svgforge blog. Here we will write about SVG +sprites, the `svgforge` module and its command line interface, and everything +surrounding them. + +## What to expect + +- Tips and tricks for working with SVG sprites and stacks +- Release notes for `svgforge` and `svgforge-cli` +- Deep dives into the internals of the spriter + +Stay tuned! \ No newline at end of file diff --git a/src/layouts/SiteLayout.astro b/src/layouts/SiteLayout.astro new file mode 100644 index 0000000..532d8ed --- /dev/null +++ b/src/layouts/SiteLayout.astro @@ -0,0 +1,445 @@ +--- +import Nav from "../components/Navigation.astro"; + +interface Props { + title: string; + description?: string; +} + +const { title, description } = Astro.props; +const pageTitle = title.startsWith("svgforge") ? title : `${title} — svgforge`; +const siteUrl = new URL(Astro.url.pathname, Astro.site); +--- + + + + + + + + + {pageTitle} + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + \ No newline at end of file diff --git a/src/lib/excerpt.ts b/src/lib/excerpt.ts new file mode 100644 index 0000000..5c83948 --- /dev/null +++ b/src/lib/excerpt.ts @@ -0,0 +1,32 @@ +export function markdownToText(markdown: string): string { + return markdown + .replace(/```[\s\S]*?```/g, " ") + .replace(/`([^`]*)`/g, "$1") + .replace(/!\[([^\]]*)\]\([^)]*\)/g, "") + .replace(/\[([^\]]*)\]\([^)]*\)/g, "$1") + .replace(/^#{1,6}\s+/gm, "") + .replace(/^\s*(?:[-*+]|\d+\.)\s+/gm, "") + .replace(/^>\s?/gm, "") + .replace(/(\*\*|__)(.*?)\1/g, "$2") + .replace(/(\*|_)(.*?)\1/g, "$2") + .replace(/[#>*]/g, "") + .replace(/<[^>]+>/g, " ") + .replace(/\s+/g, " ") + .trim(); +} + +export function truncate(text: string, maxLength = 160): string { + if (text.length <= maxLength) return text; + const cut = text.slice(0, maxLength); + const lastSpace = cut.lastIndexOf(" "); + return `${lastSpace > 40 ? cut.slice(0, lastSpace) : cut}…`; +} + +export function getExcerpt( + entry: { body?: string; data: { description?: string } }, + maxLength = 160, +): string { + if (entry.data.description) return entry.data.description; + if (!entry.body) return ""; + return truncate(markdownToText(entry.body), maxLength); +} diff --git a/src/lib/seo.ts b/src/lib/seo.ts new file mode 100644 index 0000000..512bc87 --- /dev/null +++ b/src/lib/seo.ts @@ -0,0 +1,24 @@ +export const SITE_URL = "https://svgforge.github.io"; + +export const SITE_AUTHOR = { + "@type": "Person", + name: "Felix Müller", + url: "https://github.com/joeda1", +} as const; + +export function siteUrl(path = "/") { + return new URL(path, SITE_URL).href; +} + +export function breadcrumbList(items: { name: string; path: string }[]) { + return { + "@context": "https://schema.org", + "@type": "BreadcrumbList", + itemListElement: items.map((item, index) => ({ + "@type": "ListItem", + position: index + 1, + name: item.name, + item: siteUrl(item.path), + })), + }; +} diff --git a/src/pages/blog/[...page].astro b/src/pages/blog/[...page].astro new file mode 100644 index 0000000..38ef97f --- /dev/null +++ b/src/pages/blog/[...page].astro @@ -0,0 +1,111 @@ +--- +import type { CollectionEntry } from "astro:content"; +import { getCollection } from "astro:content"; +import type { GetStaticPaths, Page } from "astro"; +import JsonLd from "../../components/JsonLd.astro"; +import SiteLayout from "../../layouts/SiteLayout.astro"; +import { getExcerpt } from "../../lib/excerpt"; +import { breadcrumbList, siteUrl } from "../../lib/seo"; + +export const getStaticPaths = (async ({ paginate }) => { + const POSTS_PER_PAGE = 5; + const posts = ( + await getCollection("blog", ({ data }) => + import.meta.env.PROD ? data.draft !== true : true, + ) + ).sort((a, b) => b.data.pubDate.valueOf() - a.data.pubDate.valueOf()); + return paginate(posts, { pageSize: POSTS_PER_PAGE }); +}) satisfies GetStaticPaths; + +interface Props { + page: Page>; +} + +const { page } = Astro.props; + +const allTags = [ + ...new Set(page.data.flatMap((post) => post.data.tags)), +].sort(); + +const blogTitle = + page.currentPage === 1 ? "Blog" : `Blog — page ${page.currentPage}`; +const blogUrl = siteUrl(Astro.url.pathname); + +const jsonLd = [ + { + "@context": "https://schema.org", + "@type": "CollectionPage", + "@id": blogUrl, + name: blogTitle, + url: blogUrl, + description: "News, tutorials and release notes around svgforge.", + inLanguage: "en", + mainEntity: { + "@type": "ItemList", + itemListElement: page.data.map((post, index) => ({ + "@type": "ListItem", + position: (page.currentPage - 1) * 5 + index + 1, + name: post.data.title, + url: siteUrl(`/blog/posts/${post.id}/`), + })), + }, + }, + breadcrumbList( + page.currentPage === 1 + ? [ + { name: "Home", path: "/" }, + { name: "Blog", path: "/blog/" }, + ] + : [ + { name: "Home", path: "/" }, + { name: "Blog", path: "/blog/" }, + { name: `Page ${page.currentPage}`, path: Astro.url.pathname }, + ], + ), +]; +--- + + + +

{blogTitle}

+ {page.data.length > 0 ? ( + page.data.map((post) => { + const excerpt = getExcerpt(post); + return ( +
+ +

{post.data.title}

+ {excerpt &&

{excerpt}

} + {post.data.tags.length > 0 && ( + + )} +
+ ); + }) + ) : ( +

No posts yet.

+ )} + + {page.lastPage > 1 && ( + + )} + + {allTags.length > 0 && ( +
+ Browse by tag + {allTags.map((tag) => #{tag})} +
+ )} +
\ No newline at end of file diff --git a/src/pages/blog/posts/[id].astro b/src/pages/blog/posts/[id].astro new file mode 100644 index 0000000..eb2c1ed --- /dev/null +++ b/src/pages/blog/posts/[id].astro @@ -0,0 +1,83 @@ +--- +import type { CollectionEntry } from "astro:content"; +import { getCollection, render } from "astro:content"; +import JsonLd from "../../../components/JsonLd.astro"; +import SiteLayout from "../../../layouts/SiteLayout.astro"; +import { getExcerpt } from "../../../lib/excerpt"; +import { breadcrumbList, SITE_AUTHOR, siteUrl } from "../../../lib/seo"; + +export async function getStaticPaths() { + const posts = await getCollection("blog", ({ data }) => + import.meta.env.PROD ? data.draft !== true : true, + ); + return posts.map((post) => ({ + params: { id: post.id }, + props: { post }, + })); +} + +interface Props { + post: CollectionEntry<"blog">; +} + +const { post } = Astro.props; +const { Content } = await render(post); + +const date = post.data.updatedDate ?? post.data.pubDate; +const description = post.data.description || getExcerpt(post); +const canonical = siteUrl(`/blog/posts/${post.id}/`); + +const jsonLd = [ + { + "@context": "https://schema.org", + "@type": "BlogPosting", + "@id": canonical, + mainEntityOfPage: { "@type": "WebPage", "@id": canonical }, + headline: post.data.title, + description, + datePublished: post.data.pubDate.toISOString(), + dateModified: (post.data.updatedDate ?? post.data.pubDate).toISOString(), + keywords: post.data.tags.join(", "), + inLanguage: "en", + author: SITE_AUTHOR, + publisher: { + "@type": "Organization", + name: "svgforge", + url: siteUrl(), + }, + }, + breadcrumbList([ + { name: "Home", path: "/" }, + { name: "Blog", path: "/blog/" }, + { name: post.data.title, path: `/blog/posts/${post.id}/` }, + ]), +]; +--- + + + +

{post.data.title}

+
+ + {post.data.updatedDate && ( + · Updated + )} +
+ +
+ +
+ + +
\ No newline at end of file diff --git a/src/pages/blog/tags/[tag].astro b/src/pages/blog/tags/[tag].astro new file mode 100644 index 0000000..ba1bc38 --- /dev/null +++ b/src/pages/blog/tags/[tag].astro @@ -0,0 +1,70 @@ +--- +import { getCollection } from "astro:content"; +import JsonLd from "../../../components/JsonLd.astro"; +import SiteLayout from "../../../layouts/SiteLayout.astro"; +import { getExcerpt } from "../../../lib/excerpt"; +import { siteUrl } from "../../../lib/seo"; + +export async function getStaticPaths() { + const posts = await getCollection("blog", ({ data }) => + import.meta.env.PROD ? data.draft !== true : true, + ); + const tags = [...new Set(posts.flatMap((post) => post.data.tags))].sort(); + return tags.map((tag) => ({ params: { tag } })); +} + +const { tag } = Astro.params; + +const posts = ( + await getCollection("blog", ({ data }) => + import.meta.env.PROD ? data.draft !== true : data.tags.includes(tag), + ) +).sort((a, b) => b.data.pubDate.valueOf() - a.data.pubDate.valueOf()); + +const title = `Tag: ${tag}`; +const tagUrl = siteUrl(`/blog/tags/${tag}/`); + +const jsonLd = { + "@context": "https://schema.org", + "@type": "CollectionPage", + "@id": tagUrl, + name: title, + url: tagUrl, + description: `All blog posts tagged with "${tag}".`, + inLanguage: "en", + mainEntity: { + "@type": "ItemList", + itemListElement: posts.map((post, index) => ({ + "@type": "ListItem", + position: index + 1, + name: post.data.title, + url: siteUrl(`/blog/posts/${post.id}/`), + })), + }, +}; +--- + + + +

{title}

+ {posts.length > 0 ? ( + posts.map((post) => { + const excerpt = getExcerpt(post); + return ( +
+ +

{post.data.title}

+ {excerpt &&

{excerpt}

} +
+ ); + }) + ) : ( +

No posts found for this tag.

+ )} + +

All tags · Back to the blog

+
\ No newline at end of file diff --git a/src/pages/blog/tags/index.astro b/src/pages/blog/tags/index.astro new file mode 100644 index 0000000..57cdc6c --- /dev/null +++ b/src/pages/blog/tags/index.astro @@ -0,0 +1,53 @@ +--- +import { getCollection } from "astro:content"; +import JsonLd from "../../../components/JsonLd.astro"; +import SiteLayout from "../../../layouts/SiteLayout.astro"; +import { siteUrl } from "../../../lib/seo"; + +const posts = await getCollection("blog", ({ data }) => + import.meta.env.PROD ? data.draft !== true : true, +); + +const tagCounts = new Map(); +for (const post of posts) { + for (const tag of post.data.tags) { + tagCounts.set(tag, (tagCounts.get(tag) ?? 0) + 1); + } +} +const tags = [...tagCounts.entries()].sort(([a], [b]) => a.localeCompare(b)); + +const jsonLd = { + "@context": "https://schema.org", + "@type": "CollectionPage", + "@id": siteUrl("/blog/tags/"), + name: "Blog Tags", + url: siteUrl("/blog/tags/"), + description: "All tags used on the svgforge blog.", + inLanguage: "en", + mainEntity: { + "@type": "ItemList", + itemListElement: tags.map(([tag], index) => ({ + "@type": "ListItem", + position: index + 1, + name: tag, + url: siteUrl(`/blog/tags/${tag}/`), + })), + }, +}; +--- + + + +

Blog Tags

+ {tags.length > 0 ? ( +

+ {tags.map(([tag, count]) => ( + #{tag} ({count}) + ))} +

+ ) : ( +

No tags yet.

+ )} + +

Back to the blog

+
\ No newline at end of file diff --git a/src/pages/index.astro b/src/pages/index.astro index 47f2c94..918f22e 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -1,137 +1,169 @@ --- -const repos = [ - {name: 'svgforge', url: 'https://github.com/svgforge/svgforge', description: 'Low-level Node.js module — takes a bunch of SVG files, optimizes and bakes them into SVG sprites'}, - {name: 'svgforge-cli', url: 'https://github.com/svgforge/svgforge-cli', description: 'Command line interface for svgforge'}, +import JsonLd from "../components/JsonLd.astro"; +import SiteLayout from "../layouts/SiteLayout.astro"; +import { SITE_AUTHOR, SITE_URL } from "../lib/seo"; + +const description = + "A low-level Node.js module that takes a bunch of SVG files, optimizes them and bakes them into SVG sprites and stacks."; + +const jsonLd = [ + { + "@context": "https://schema.org", + "@type": "WebSite", + name: "svgforge", + url: SITE_URL, + description, + inLanguage: "en", + author: SITE_AUTHOR, + }, + { + "@context": "https://schema.org", + "@type": "SoftwareSourceCode", + name: "svgforge", + url: "https://github.com/svgforge/svgforge", + codeRepository: "https://github.com/svgforge/svgforge", + programmingLanguage: "JavaScript", + author: SITE_AUTHOR, + }, ]; const modes = [ - {name: 'view', text: 'tiled sprites with pre-defined <view> elements, useful for foreground images via SVG fragment identifiers'}, - {name: 'defs', text: 'inline sprites using the <defs> element'}, - {name: 'symbol', text: 'inline sprites using the <symbol> element'}, - {name: 'stack', text: 'SVG stacks — icons as background-image via url(icon.svg#ID)'}, + { + name: "view", + text: "tiled sprites with pre-defined <view> elements, useful for foreground images via SVG fragment identifiers", + }, + { + name: "defs", + text: "inline sprites using the <defs> element", + }, + { + name: "symbol", + text: "inline sprites using the <symbol> element", + }, + { + name: "stack", + text: "SVG stacks — icons as background-image via url(icon.svg#ID)", + }, ]; -const cliDocs = 'https://github.com/svgforge/svgforge-cli/blob/main/docs/command-line.md'; -const apiDocs = 'https://github.com/svgforge/svgforge/blob/main/docs/api.md'; +const cliDocs = + "https://github.com/svgforge/svgforge-cli/blob/main/docs/command-line.md"; +const apiDocs = "https://github.com/svgforge/svgforge/blob/main/docs/api.md"; const examples = [ - {cmd: 'svgforge --view --view-example --dest=out assets/*.svg', text: 'Create a «view» sprite plus an example HTML document.'}, - {cmd: 'svgforge --defs --defs-render-css --defs-example --dest=out assets/*.svg', text: 'Create a «defs» sprite with a CSS stylesheet and an example document.'}, - {cmd: 'svgforge -S -p 10 assets/*.svg', text: 'Create a «stack» sprite with 10px padding around all shapes.'}, - {cmd: "svgforge --config config.json 'assets/**/*.svg'", text: 'Use a config file and recursive globbing.'}, + { + cmd: "svgforge --view --view-example --dest=out assets/*.svg", + text: "Create a «view» sprite plus an example HTML document.", + }, + { + cmd: "svgforge --defs --defs-render-css --defs-example --dest=out assets/*.svg", + text: "Create a «defs» sprite with a CSS stylesheet and an example document.", + }, + { + cmd: "svgforge -S -p 10 assets/*.svg", + text: "Create a «stack» sprite with 10px padding around all shapes.", + }, + { + cmd: "svgforge --config config.json 'assets/**/*.svg'", + text: "Use a config file and recursive globbing.", + }, ]; --- - - - - - - - svgforge — SVG Sprites & Stacks - - - -
-

svgforge

-

A low-level Node.js module that takes a bunch of SVG files, optimizes them and bakes them into SVG sprites.

-
- -
-
-

Sprite modes

-
    - {modes.map((mode) => ( -
  • - {mode.name} -

    -

  • - ))} -
-
- -
-

API

-

The SVGSpriter module is a low-level building block: register SVG source files, compile, and write the resulting files yourself. See the full API documentation (markdown) for details, or continue below for the command line way.

-
+ + +

SVG sprites & stacks

+
+

Sprite modes

+
    + {modes.map((mode) => ( +
  • + {mode.name} +

    +

  • + ))} +
+
-
-

Command line

-

Install the CLI globally, then use the svgforge command:

-
npm install svgforge-cli -g
- {examples.map((example) => ( -
-
{example.cmd}
-

{example.text}

-
- ))} -

Full command line documentation (markdown)

-
+
+

API

+

+ The SVGSpriter module is a low-level building block: register SVG + source files, compile, and write the resulting files yourself. See the{" "} + full API documentation (markdown) for details, or continue + below for the command line way. +

+
-
-

Repositories

-
    - {repos.map((repo) => ( -
  • - {repo.name} -

    {repo.description}

    -
  • - ))} -
-
-
+
+

Command line

+

Install the CLI globally, then use the svgforge command:

+
npm install svgforge-cli -g
+ {examples.map((example) => ( +
+
{example.cmd}
+

{example.text}

+
+ ))} +

Full command line documentation (markdown)

+
+ - - - \ No newline at end of file + \ No newline at end of file diff --git a/src/pages/llms.txt.ts b/src/pages/llms.txt.ts new file mode 100644 index 0000000..dd447e5 --- /dev/null +++ b/src/pages/llms.txt.ts @@ -0,0 +1,31 @@ +import { getCollection } from "astro:content"; + +export async function GET() { + const posts = ( + await getCollection("blog", ({ data }) => + import.meta.env.PROD ? data.draft !== true : true, + ) + ).sort((a, b) => b.data.pubDate.valueOf() - a.data.pubDate.valueOf()); + + const lines = [ + "# svgforge", + "", + "> A low-level Node.js module that takes a bunch of SVG files, optimizes them and bakes them into SVG sprites and stacks.", + "", + "## Blog posts", + ...posts.map((post) => { + const description = post.data.description || "Blog post about svgforge."; + return `- [${post.data.title}](https://svgforge.github.io/blog/posts/${post.id}/): ${description}`; + }), + "", + "## More", + "- [Releases](https://svgforge.github.io/releases/): Latest GitHub releases of svgforge.", + "- [All tags](https://svgforge.github.io/blog/tags/): Browse blog posts by tag.", + "- [svgforge on GitHub](https://github.com/svgforge/svgforge): Source code and API documentation.", + "- [svgforge-cli on GitHub](https://github.com/svgforge/svgforge-cli): Source code and command line documentation.", + ]; + + return new Response(`${lines.join("\n")}\n`, { + headers: { "Content-Type": "text/plain; charset=utf-8" }, + }); +} diff --git a/src/pages/releases.astro b/src/pages/releases.astro new file mode 100644 index 0000000..851a389 --- /dev/null +++ b/src/pages/releases.astro @@ -0,0 +1,37 @@ +--- +import GitHubRelease from "../components/GitHubRelease.astro"; +import SiteLayout from "../layouts/SiteLayout.astro"; + +const releases = [ + { + repo: "svgforge/svgforge", + description: + "Low-level Node.js module — takes a bunch of SVG files, optimizes and bakes them into SVG sprites.", + }, + { + repo: "svgforge/svgforge-cli", + description: "Command line interface for svgforge.", + }, + { + repo: "svgforge/icon-library", + description: + "A Wordpress plugin for managing SVG icons. You can upload your generated SVG sprite and use it in Gutenberg editor.", + }, +]; +--- + + +

Releases

+ {releases.map((item) => { + const [owner, name] = item.repo.split('/'); + const repoUrl = `https://github.com/${item.repo}`; + return ( +
+ +

{name}

+

{item.description}

+ +
+ ); + })} +
diff --git a/tsconfig.json b/tsconfig.json index 8bf91d3..a9210e6 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "astro/tsconfigs/strict", - "include": [".astro/types.d.ts", "**/*"], - "exclude": ["dist"] + "extends": "astro/tsconfigs/strict", + "include": [".astro/types.d.ts", "**/*"], + "exclude": ["dist"] }