diff --git a/package.json b/package.json index e5214a5..9aa5184 100644 --- a/package.json +++ b/package.json @@ -20,8 +20,8 @@ "@astrojs/sitemap": "3.0.4", "@astrojs/tailwind": "5.1.0", "@orama/plugin-astro": "2.0.0-beta.12", - "astro": "4.1.2", - "astro-expressive-code": "0.31.0", + "astro": "4.2.3", + "astro-expressive-code": "0.32.2", "astro-icon": "1.0.2", "astro-seo": "0.8.0", "clsx": "2.1.0", @@ -29,7 +29,7 @@ "elevenlabs-node": "2.0.3", "mdast-util-to-string": "4.0.0", "reading-time": "1.5.0", - "sharp": "0.33.1", + "sharp": "0.33.0", "tailwind-merge": "2.2.0", "tailwindcss": "3.4.1", "typescript": "5.3.3" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6e4388f..65808df 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -16,16 +16,16 @@ dependencies: version: 3.0.4 '@astrojs/tailwind': specifier: 5.1.0 - version: 5.1.0(astro@4.1.2)(tailwindcss@3.4.1) + version: 5.1.0(astro@4.2.3)(tailwindcss@3.4.1) '@orama/plugin-astro': specifier: 2.0.0-beta.12 - version: 2.0.0-beta.12(astro@4.1.2) + version: 2.0.0-beta.12(astro@4.2.3) astro: - specifier: 4.1.2 - version: 4.1.2(@types/node@20.11.0)(typescript@5.3.3) + specifier: 4.2.3 + version: 4.2.3(@types/node@20.11.0)(typescript@5.3.3) astro-expressive-code: - specifier: 0.31.0 - version: 0.31.0(astro@4.1.2) + specifier: 0.32.2 + version: 0.32.2(astro@4.2.3) astro-icon: specifier: 1.0.2 version: 1.0.2 @@ -48,8 +48,8 @@ dependencies: specifier: 1.5.0 version: 1.5.0 sharp: - specifier: 0.33.1 - version: 0.33.1 + specifier: 0.33.0 + version: 0.33.0 tailwind-merge: specifier: 2.2.0 version: 2.2.0 @@ -162,6 +162,11 @@ packages: /@astrojs/compiler@2.4.0: resolution: {integrity: sha512-LUN/iG8KcStfChHwTvCg/t91IQFQxguF3CkDLW3tdY2vBKZmOJy9MgtRl20ZGgPtgrykGCtnr4AellEm0bPuFg==} + dev: true + + /@astrojs/compiler@2.5.1: + resolution: {integrity: sha512-o2hKiFJXZOm1Gov+RGXSWnKlnb/UF7KRTx/Y2uazYe3+MrLY+sqLN+yB4EH2bElc0l1K9cDb4mZSejuq563rGQ==} + dev: false /@astrojs/internal-helpers@0.2.1: resolution: {integrity: sha512-06DD2ZnItMwUnH81LBLco3tWjcZ1lGU9rLCCBaeUCGYe9cI0wKyY2W3kDyoW1I6GmcWgt1fu+D1CTvz+FIKf8A==} @@ -179,7 +184,7 @@ packages: prettier-plugin-astro: optional: true dependencies: - '@astrojs/compiler': 2.4.0 + '@astrojs/compiler': 2.5.1 '@jridgewell/sourcemap-codec': 1.4.15 '@volar/kit': 1.11.1(typescript@5.3.3) '@volar/language-core': 1.11.1 @@ -203,8 +208,8 @@ packages: - typescript dev: false - /@astrojs/markdown-remark@4.0.1: - resolution: {integrity: sha512-RU4ESnqvyLpj8WZs0n5elS6idaDdtIIm7mIpMaRNPCebpxMjfcfdwcmBwz83ktAj5d2eO5bC3z92TcGdli+lRw==} + /@astrojs/markdown-remark@4.2.0: + resolution: {integrity: sha512-qQB+LoxmIqzkhLXaQAzfzlBxZU1jeQYailsifurz89WeY0Q8ywIj8uQQSyqxb7rPPg3ZfdNdxsN9lF5UaCRn0w==} dependencies: '@astrojs/prism': 3.0.0 github-slugger: 2.0.0 @@ -216,7 +221,7 @@ packages: remark-parse: 11.0.0 remark-rehype: 11.0.0 remark-smartypants: 2.0.0 - shikiji: 0.6.13 + shikiji: 0.9.19 unified: 11.0.4 unist-util-visit: 5.0.0 vfile: 6.0.1 @@ -245,13 +250,13 @@ packages: zod: 3.22.4 dev: false - /@astrojs/tailwind@5.1.0(astro@4.1.2)(tailwindcss@3.4.1): + /@astrojs/tailwind@5.1.0(astro@4.2.3)(tailwindcss@3.4.1): resolution: {integrity: sha512-BJoCDKuWhU9FT2qYg+fr6Nfb3qP4ShtyjXGHKA/4mHN94z7BGcmauQK23iy+YH5qWvTnhqkd6mQPQ1yTZTe9Ig==} peerDependencies: astro: ^3.0.0 || ^4.0.0 tailwindcss: ^3.0.24 dependencies: - astro: 4.1.2(@types/node@20.11.0)(typescript@5.3.3) + astro: 4.2.3(@types/node@20.11.0)(typescript@5.3.3) autoprefixer: 10.4.16(postcss@8.4.32) postcss: 8.4.32 postcss-load-config: 4.0.2(postcss@8.4.32) @@ -856,8 +861,8 @@ packages: engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: true - /@expressive-code/core@0.31.0: - resolution: {integrity: sha512-zeCuojWRYeFs0UDOhzpKMzpjI/tJPCQna4jcVp5SJLMn4qNtHXgVmz3AngoMFoFcAlK6meE3wxzy//0d6K4NPw==} + /@expressive-code/core@0.32.2: + resolution: {integrity: sha512-b4/LuslONCqyT48eKlcxsbnIqGw4CSe/aW4Co58UvKrtDMXKtr4erpVx/EE2emszotWt0xtkOjCnS6o171+E4A==} dependencies: '@ctrl/tinycolor': 3.6.1 hast-util-to-html: 8.0.4 @@ -866,24 +871,24 @@ packages: postcss-nested: 6.0.1(postcss@8.4.32) dev: false - /@expressive-code/plugin-frames@0.31.0: - resolution: {integrity: sha512-eYWfK3i4w2gSpOGBFNnu05JKSXC90APgUNdam8y5i0Ie2CVAwpxDtEp0NRqugvEKC0aMJe6ZmHN5Hu2WAVJmig==} + /@expressive-code/plugin-frames@0.32.2: + resolution: {integrity: sha512-QKoL5jNCjQnz5GpQMBtZ8Gb1bNXxjarIBkMc8CIugdlvniA442latUKsH1fhacG1UQieSiADctSHjIvVH8Qm9A==} dependencies: - '@expressive-code/core': 0.31.0 + '@expressive-code/core': 0.32.2 hastscript: 7.2.0 dev: false - /@expressive-code/plugin-shiki@0.31.0: - resolution: {integrity: sha512-fU5wPPfV1LGcS+Z1wcEkzI1fzBq9IAdt0DN0ni8sT7E+gpkULda4GA4IFD9iWKCGIhSDsBbG+bjc9hrYoJsDIQ==} + /@expressive-code/plugin-shiki@0.32.2: + resolution: {integrity: sha512-ulNi/NAGMnx8qGBlRTGrH7qHeGV6r15MrkjY/AaTQNImnqory05DF4qOF/dqxe7WywawwsHQ2a4BzsoGYLjicA==} dependencies: - '@expressive-code/core': 0.31.0 + '@expressive-code/core': 0.32.2 shikiji: 0.8.7 dev: false - /@expressive-code/plugin-text-markers@0.31.0: - resolution: {integrity: sha512-32o3pPMBq6bVUfRsAfFyqNpHbD1Z3iftoX9yt95F5zakLMsmHzZL4f0jyNr8XpXe7qcTnl0kIijBkUpvS6Pxfg==} + /@expressive-code/plugin-text-markers@0.32.2: + resolution: {integrity: sha512-1fAkWkQ7qcb6DDqV3ILB1uMi7yvSIu6AHFW+bSzNcgXBl/KCudoUtmZ/YRBnNKbUqH8WSYUA41Yr/SeFwEGmbQ==} dependencies: - '@expressive-code/core': 0.31.0 + '@expressive-code/core': 0.32.2 hastscript: 7.2.0 unist-util-visit-parents: 5.1.3 dev: false @@ -952,6 +957,17 @@ packages: - supports-color dev: false + /@img/sharp-darwin-arm64@0.33.0: + resolution: {integrity: sha512-070tEheekI1LJWTGPC9WlQEa5UoKTXzzlORBHMX4TbfUxMiL336YHR8vBEUNsjse0RJCX8dZ4ZXwT595aEF1ug==} + engines: {glibc: '>=2.26', node: ^18.17.0 || ^20.3.0 || >=21.0.0, npm: '>=9.6.5', pnpm: '>=7.1.0', yarn: '>=3.2.0'} + cpu: [arm64] + os: [darwin] + requiresBuild: true + optionalDependencies: + '@img/sharp-libvips-darwin-arm64': 1.0.0 + dev: false + optional: true + /@img/sharp-darwin-arm64@0.33.1: resolution: {integrity: sha512-esr2BZ1x0bo+wl7Gx2hjssYhjrhUsD88VQulI0FrG8/otRQUOxLWHMBd1Y1qo2Gfg2KUvXNpT0ASnV9BzJCexw==} engines: {glibc: '>=2.26', node: ^18.17.0 || ^20.3.0 || >=21.0.0, npm: '>=9.6.5', pnpm: '>=7.1.0', yarn: '>=3.2.0'} @@ -960,6 +976,18 @@ packages: requiresBuild: true optionalDependencies: '@img/sharp-libvips-darwin-arm64': 1.0.0 + dev: true + optional: true + + /@img/sharp-darwin-x64@0.33.0: + resolution: {integrity: sha512-pu/nvn152F3qbPeUkr+4e9zVvEhD3jhwzF473veQfMPkOYo9aoWXSfdZH/E6F+nYC3qvFjbxbvdDbUtEbghLqw==} + engines: {glibc: '>=2.26', node: ^18.17.0 || ^20.3.0 || >=21.0.0, npm: '>=9.6.5', pnpm: '>=7.1.0', yarn: '>=3.2.0'} + cpu: [x64] + os: [darwin] + requiresBuild: true + optionalDependencies: + '@img/sharp-libvips-darwin-x64': 1.0.0 + dev: false optional: true /@img/sharp-darwin-x64@0.33.1: @@ -970,6 +998,7 @@ packages: requiresBuild: true optionalDependencies: '@img/sharp-libvips-darwin-x64': 1.0.0 + dev: true optional: true /@img/sharp-libvips-darwin-arm64@1.0.0: @@ -1036,6 +1065,17 @@ packages: requiresBuild: true optional: true + /@img/sharp-linux-arm64@0.33.0: + resolution: {integrity: sha512-dcomVSrtgF70SyOr8RCOCQ8XGVThXwe71A1d8MGA+mXEVRJ/J6/TrCbBEJh9ddcEIIsrnrkolaEvYSHqVhswQw==} + engines: {glibc: '>=2.26', node: ^18.17.0 || ^20.3.0 || >=21.0.0, npm: '>=9.6.5', pnpm: '>=7.1.0', yarn: '>=3.2.0'} + cpu: [arm64] + os: [linux] + requiresBuild: true + optionalDependencies: + '@img/sharp-libvips-linux-arm64': 1.0.0 + dev: false + optional: true + /@img/sharp-linux-arm64@0.33.1: resolution: {integrity: sha512-59B5GRO2d5N3tIfeGHAbJps7cLpuWEQv/8ySd9109ohQ3kzyCACENkFVAnGPX00HwPTQcaBNF7HQYEfZyZUFfw==} engines: {glibc: '>=2.26', node: ^18.17.0 || ^20.3.0 || >=21.0.0, npm: '>=9.6.5', pnpm: '>=7.1.0', yarn: '>=3.2.0'} @@ -1044,6 +1084,18 @@ packages: requiresBuild: true optionalDependencies: '@img/sharp-libvips-linux-arm64': 1.0.0 + dev: true + optional: true + + /@img/sharp-linux-arm@0.33.0: + resolution: {integrity: sha512-4horD3wMFd5a0ddbDY8/dXU9CaOgHjEHALAddXgafoR5oWq5s8X61PDgsSeh4Qupsdo6ycfPPSSNBrfVQnwwrg==} + engines: {glibc: '>=2.28', node: ^18.17.0 || ^20.3.0 || >=21.0.0, npm: '>=9.6.5', pnpm: '>=7.1.0', yarn: '>=3.2.0'} + cpu: [arm] + os: [linux] + requiresBuild: true + optionalDependencies: + '@img/sharp-libvips-linux-arm': 1.0.0 + dev: false optional: true /@img/sharp-linux-arm@0.33.1: @@ -1054,6 +1106,18 @@ packages: requiresBuild: true optionalDependencies: '@img/sharp-libvips-linux-arm': 1.0.0 + dev: true + optional: true + + /@img/sharp-linux-s390x@0.33.0: + resolution: {integrity: sha512-TiVJbx38J2rNVfA309ffSOB+3/7wOsZYQEOlKqOUdWD/nqkjNGrX+YQGz7nzcf5oy2lC+d37+w183iNXRZNngQ==} + engines: {glibc: '>=2.28', node: ^18.17.0 || ^20.3.0 || >=21.0.0, npm: '>=9.6.5', pnpm: '>=7.1.0', yarn: '>=3.2.0'} + cpu: [s390x] + os: [linux] + requiresBuild: true + optionalDependencies: + '@img/sharp-libvips-linux-s390x': 1.0.0 + dev: false optional: true /@img/sharp-linux-s390x@0.33.1: @@ -1064,6 +1128,18 @@ packages: requiresBuild: true optionalDependencies: '@img/sharp-libvips-linux-s390x': 1.0.0 + dev: true + optional: true + + /@img/sharp-linux-x64@0.33.0: + resolution: {integrity: sha512-PaZM4Zi7/Ek71WgTdvR+KzTZpBqrQOFcPe7/8ZoPRlTYYRe43k6TWsf4GVH6XKRLMYeSp8J89RfAhBrSP4itNA==} + engines: {glibc: '>=2.26', node: ^18.17.0 || ^20.3.0 || >=21.0.0, npm: '>=9.6.5', pnpm: '>=7.1.0', yarn: '>=3.2.0'} + cpu: [x64] + os: [linux] + requiresBuild: true + optionalDependencies: + '@img/sharp-libvips-linux-x64': 1.0.0 + dev: false optional: true /@img/sharp-linux-x64@0.33.1: @@ -1074,6 +1150,18 @@ packages: requiresBuild: true optionalDependencies: '@img/sharp-libvips-linux-x64': 1.0.0 + dev: true + optional: true + + /@img/sharp-linuxmusl-arm64@0.33.0: + resolution: {integrity: sha512-1QLbbN0zt+32eVrg7bb1lwtvEaZwlhEsY1OrijroMkwAqlHqFj6R33Y47s2XUv7P6Ie1PwCxK/uFnNqMnkd5kg==} + engines: {musl: '>=1.2.2', node: ^18.17.0 || ^20.3.0 || >=21.0.0, npm: '>=9.6.5', pnpm: '>=7.1.0', yarn: '>=3.2.0'} + cpu: [arm64] + os: [linux] + requiresBuild: true + optionalDependencies: + '@img/sharp-libvips-linuxmusl-arm64': 1.0.0 + dev: false optional: true /@img/sharp-linuxmusl-arm64@0.33.1: @@ -1084,6 +1172,18 @@ packages: requiresBuild: true optionalDependencies: '@img/sharp-libvips-linuxmusl-arm64': 1.0.0 + dev: true + optional: true + + /@img/sharp-linuxmusl-x64@0.33.0: + resolution: {integrity: sha512-CecqgB/CnkvCWFhmfN9ZhPGMLXaEBXl4o7WtA6U3Ztrlh/s7FUKX4vNxpMSYLIrWuuzjiaYdfU3+Tdqh1xaHfw==} + engines: {musl: '>=1.2.2', node: ^18.17.0 || ^20.3.0 || >=21.0.0, npm: '>=9.6.5', pnpm: '>=7.1.0', yarn: '>=3.2.0'} + cpu: [x64] + os: [linux] + requiresBuild: true + optionalDependencies: + '@img/sharp-libvips-linuxmusl-x64': 1.0.0 + dev: false optional: true /@img/sharp-linuxmusl-x64@0.33.1: @@ -1094,6 +1194,17 @@ packages: requiresBuild: true optionalDependencies: '@img/sharp-libvips-linuxmusl-x64': 1.0.0 + dev: true + optional: true + + /@img/sharp-wasm32@0.33.0: + resolution: {integrity: sha512-Hn4js32gUX9qkISlemZBUPuMs0k/xNJebUNl/L6djnU07B/HAA2KaxRVb3HvbU5fL242hLOcp0+tR+M8dvJUFw==} + engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0, npm: '>=9.6.5', pnpm: '>=7.1.0', yarn: '>=3.2.0'} + cpu: [wasm32] + requiresBuild: true + dependencies: + '@emnapi/runtime': 0.44.0 + dev: false optional: true /@img/sharp-wasm32@0.33.1: @@ -1103,6 +1214,16 @@ packages: requiresBuild: true dependencies: '@emnapi/runtime': 0.44.0 + dev: true + optional: true + + /@img/sharp-win32-ia32@0.33.0: + resolution: {integrity: sha512-5HfcsCZi3l5nPRF2q3bllMVMDXBqEWI3Q8KQONfzl0TferFE5lnsIG0A1YrntMAGqvkzdW6y1Ci1A2uTvxhfzg==} + engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0, npm: '>=9.6.5', pnpm: '>=7.1.0', yarn: '>=3.2.0'} + cpu: [ia32] + os: [win32] + requiresBuild: true + dev: false optional: true /@img/sharp-win32-ia32@0.33.1: @@ -1111,6 +1232,16 @@ packages: cpu: [ia32] os: [win32] requiresBuild: true + dev: true + optional: true + + /@img/sharp-win32-x64@0.33.0: + resolution: {integrity: sha512-i3DtP/2ce1yKFj4OzOnOYltOEL/+dp4dc4dJXJBv6god1AFTcmkaA99H/7SwOmkCOBQkbVvA3lCGm3/5nDtf9Q==} + engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0, npm: '>=9.6.5', pnpm: '>=7.1.0', yarn: '>=3.2.0'} + cpu: [x64] + os: [win32] + requiresBuild: true + dev: false optional: true /@img/sharp-win32-x64@0.33.1: @@ -1119,6 +1250,7 @@ packages: cpu: [x64] os: [win32] requiresBuild: true + dev: true optional: true /@jest/schemas@29.6.3: @@ -1189,14 +1321,14 @@ packages: engines: {node: '>= 16.0.0'} dev: false - /@orama/plugin-astro@2.0.0-beta.12(astro@4.1.2): + /@orama/plugin-astro@2.0.0-beta.12(astro@4.2.3): resolution: {integrity: sha512-xtLIVBSM2FCn2hNW6+R9o9oNZx8AFPQxztbbriBE0AWs10f9KULUtx44BWfpJR/K/oVicGez8Dcc2AlrBgAHmw==} engines: {node: '>=18.0.0'} peerDependencies: astro: ^2.0.4 dependencies: '@orama/orama': 2.0.0-beta.12 - astro: 4.1.2(@types/node@20.11.0)(typescript@5.3.3) + astro: 4.2.3(@types/node@20.11.0)(typescript@5.3.3) html-to-text: 9.0.5 dev: false @@ -2031,13 +2163,14 @@ packages: - supports-color dev: true - /astro-expressive-code@0.31.0(astro@4.1.2): - resolution: {integrity: sha512-o6eFrRSYLnlM/2FKkO3MgkbmVxT8N6DJcKvbRf1wbUcRXpz7s1KfugbdsaGw3ABEWUBuQIBsRppcGGw2L816Vg==} + /astro-expressive-code@0.32.2(astro@4.2.3): + resolution: {integrity: sha512-uJbgSCl9F9NGjdfTmBHci5Ws0/zMUNk9dWfOl6rvYaOL6NZha+NNjnmB3Aza7GnxP+NvQt3RV8M2vpcZnaudSw==} peerDependencies: astro: ^3.3.0 || ^4.0.0-beta dependencies: - astro: 4.1.2(@types/node@20.11.0)(typescript@5.3.3) - remark-expressive-code: 0.31.0 + astro: 4.2.3(@types/node@20.11.0)(typescript@5.3.3) + hast-util-to-html: 8.0.4 + remark-expressive-code: 0.32.2 dev: false /astro-icon@1.0.2: @@ -2054,14 +2187,14 @@ packages: resolution: {integrity: sha512-7gq6lhibCM8FuzZIJlbLLWP5EJ9KL2/4XqeFrAg9O6ZK2xMFxJ5ubKf+a0VJwwTu8W8Xr421CmpiXu6Hq7n/7Q==} dev: false - /astro@4.1.2(@types/node@20.11.0)(typescript@5.3.3): - resolution: {integrity: sha512-C/CrsIjRnRZYsLIBquAoTKj3ZPyGPVRByEcPMs6CrJLiHmcYnjpRMVd7oBFepU6772U1ZcXLy0zdxoRYjHFf5w==} + /astro@4.2.3(@types/node@20.11.0)(typescript@5.3.3): + resolution: {integrity: sha512-6bfSogmcwMdaTRAxuhJ7aISGin/T3ovI/69JWPRYOHBkPZxA/EfsNQOI2TiRHFJSF9XtoMnFlgvT+iYapkhOwg==} engines: {node: '>=18.14.1', npm: '>=6.14.0'} hasBin: true dependencies: - '@astrojs/compiler': 2.4.0 + '@astrojs/compiler': 2.5.1 '@astrojs/internal-helpers': 0.2.1 - '@astrojs/markdown-remark': 4.0.1 + '@astrojs/markdown-remark': 4.2.0 '@astrojs/telemetry': 3.0.4 '@babel/core': 7.23.7 '@babel/generator': 7.23.6 @@ -2111,7 +2244,7 @@ packages: resolve: 1.22.8 semver: 7.5.4 server-destroy: 1.0.1 - shikiji: 0.6.13 + shikiji: 0.9.19 string-width: 7.0.0 strip-ansi: 7.1.0 tsconfck: 3.0.1(typescript@5.3.3) @@ -3469,13 +3602,13 @@ packages: dev: false optional: true - /expressive-code@0.31.0: - resolution: {integrity: sha512-rxKGYS8iRwNUbRNfyCyoe3XQvBLTtGdXbNKM+ODDWCn4VL2DVT1gD1M2N2Alg8HQHIWZJsZIMsYbziO0MRjPlw==} + /expressive-code@0.32.2: + resolution: {integrity: sha512-fUwnj9O6/5HKSniD/nXLEGKmcwqL+ipWyZAFjxp9weI9AkTiya3bVAo9gVUquM4jXRHSs8pgsRMQgRtKItlriA==} dependencies: - '@expressive-code/core': 0.31.0 - '@expressive-code/plugin-frames': 0.31.0 - '@expressive-code/plugin-shiki': 0.31.0 - '@expressive-code/plugin-text-markers': 0.31.0 + '@expressive-code/core': 0.32.2 + '@expressive-code/plugin-frames': 0.32.2 + '@expressive-code/plugin-shiki': 0.32.2 + '@expressive-code/plugin-text-markers': 0.32.2 dev: false /extend-shallow@2.0.1: @@ -6290,10 +6423,10 @@ packages: engines: {node: '>= 0.10'} dev: true - /remark-expressive-code@0.31.0: - resolution: {integrity: sha512-ZnKXo9lB0kBUHZIlw2NdqMMgXriVVajEhtQfJ+MWeibMpyM1kuOa28jefNfNFd3FAoNPrc/A3M0fDRkYvWw9Gw==} + /remark-expressive-code@0.32.2: + resolution: {integrity: sha512-UnCUlu+Q2FO8glmtlEnjIN6V8IKfbGlYLSTDokbd9VCZHkI0+FeHcCc/5WpzGY2CSSPL02AC5rHUfvAZV7tZzQ==} dependencies: - expressive-code: 0.31.0 + expressive-code: 0.32.2 hast-util-to-html: 8.0.4 unist-util-visit: 4.1.2 dev: false @@ -6604,6 +6737,36 @@ packages: dev: false optional: true + /sharp@0.33.0: + resolution: {integrity: sha512-99DZKudjm/Rmz+M0/26t4DKpXyywAOJaayGS9boEn7FvgtG0RYBi46uPE2c+obcJRtA3AZa0QwJot63gJQ1F0Q==} + engines: {libvips: '>=8.15.0', node: ^18.17.0 || ^20.3.0 || >=21.0.0} + requiresBuild: true + dependencies: + color: 4.2.3 + detect-libc: 2.0.2 + semver: 7.5.4 + optionalDependencies: + '@img/sharp-darwin-arm64': 0.33.0 + '@img/sharp-darwin-x64': 0.33.0 + '@img/sharp-libvips-darwin-arm64': 1.0.0 + '@img/sharp-libvips-darwin-x64': 1.0.0 + '@img/sharp-libvips-linux-arm': 1.0.0 + '@img/sharp-libvips-linux-arm64': 1.0.0 + '@img/sharp-libvips-linux-s390x': 1.0.0 + '@img/sharp-libvips-linux-x64': 1.0.0 + '@img/sharp-libvips-linuxmusl-arm64': 1.0.0 + '@img/sharp-libvips-linuxmusl-x64': 1.0.0 + '@img/sharp-linux-arm': 0.33.0 + '@img/sharp-linux-arm64': 0.33.0 + '@img/sharp-linux-s390x': 0.33.0 + '@img/sharp-linux-x64': 0.33.0 + '@img/sharp-linuxmusl-arm64': 0.33.0 + '@img/sharp-linuxmusl-x64': 0.33.0 + '@img/sharp-wasm32': 0.33.0 + '@img/sharp-win32-ia32': 0.33.0 + '@img/sharp-win32-x64': 0.33.0 + dev: false + /sharp@0.33.1: resolution: {integrity: sha512-iAYUnOdTqqZDb3QjMneBKINTllCJDZ3em6WaWy7NPECM4aHncvqHRm0v0bN9nqJxMiwamv5KIdauJ6lUzKDpTQ==} engines: {libvips: '>=8.15.0', node: ^18.17.0 || ^20.3.0 || >=21.0.0} @@ -6632,6 +6795,7 @@ packages: '@img/sharp-wasm32': 0.33.1 '@img/sharp-win32-ia32': 0.33.1 '@img/sharp-win32-x64': 0.33.1 + dev: true /shebang-command@2.0.0: resolution: {integrity: sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==} @@ -6643,10 +6807,8 @@ packages: resolution: {integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==} engines: {node: '>=8'} - /shikiji@0.6.13: - resolution: {integrity: sha512-4T7X39csvhT0p7GDnq9vysWddf2b6BeioiN3Ymhnt3xcy9tXmDcnsEFVxX18Z4YcQgEE/w48dLJ4pPPUcG9KkA==} - dependencies: - hast-util-to-html: 9.0.0 + /shikiji-core@0.9.19: + resolution: {integrity: sha512-AFJu/vcNT21t0e6YrfadZ+9q86gvPum6iywRyt1OtIPjPFe25RQnYJyxHQPMLKCCWA992TPxmEmbNcOZCAJclw==} dev: false /shikiji@0.8.7: @@ -6655,6 +6817,12 @@ packages: hast-util-to-html: 9.0.0 dev: false + /shikiji@0.9.19: + resolution: {integrity: sha512-Kw2NHWktdcdypCj1GkKpXH4o6Vxz8B8TykPlPuLHOGSV8VkhoCLcFOH4k19K4LXAQYRQmxg+0X/eM+m2sLhAkg==} + dependencies: + shikiji-core: 0.9.19 + dev: false + /side-channel@1.0.4: resolution: {integrity: sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==} dependencies: diff --git a/src/content/config.ts b/src/content/config.ts index 4b02dc0..e1677ff 100644 --- a/src/content/config.ts +++ b/src/content/config.ts @@ -1,18 +1,12 @@ import { defineCollection, z, reference } from "astro:content"; -const pages = defineCollection({ - type: "content", - schema: () => z.object({}), -}); - const tools = defineCollection({ type: "content", - schema: () => - z.object({ - name: z.string(), - url: z.string(), - order: z.number(), - }), + schema: z.object({ + name: z.string(), + url: z.string(), + order: z.number(), + }), }); const projects = defineCollection({ @@ -32,24 +26,22 @@ const projects = defineCollection({ const tags = defineCollection({ type: "content", - schema: () => - z.object({ - name: z.string(), - url: z.string(), - }), + schema: z.object({ + name: z.string(), + url: z.string(), + }), }); const posts = defineCollection({ type: "content", - schema: () => - z.object({ - title: z.string(), - date: z.date(), - lastUpdated: z.date().optional(), - tags: z.array(reference("tags")), - description: z.string(), - published: z.boolean(), - }), + schema: z.object({ + title: z.string(), + date: z.date(), + lastUpdated: z.date().optional(), + tags: z.array(reference("tags")), + description: z.string(), + published: z.boolean(), + }), }); -export const collections = { pages, tools, projects, tags, posts }; +export const collections = { tools, projects, tags, posts }; diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index 92f9e21..e2fd92d 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -53,6 +53,33 @@ const { title, voice } = Astro.props; type="font/woff2" crossorigin="anonymous" /> + @@ -68,20 +95,5 @@ const { title, voice } = Astro.props; {voice && }