diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2bb52693b..64d408d78 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -67,7 +67,7 @@ importers: version: 2.3.0 tsup: specifier: ^8.3.5 - version: 8.3.5(jiti@2.4.2)(postcss@8.4.49)(typescript@5.7.2)(yaml@2.6.1) + version: 8.3.5(@swc/core@1.10.4)(jiti@2.4.2)(postcss@8.4.49)(typescript@5.7.2)(yaml@2.6.1) typescript: specifier: ^5.7.2 version: 5.7.2 @@ -127,7 +127,7 @@ importers: version: 15.14.0 tsup: specifier: ^8.3.5 - version: 8.3.5(jiti@2.4.2)(postcss@8.4.49)(typescript@5.7.2)(yaml@2.6.1) + version: 8.3.5(@swc/core@1.10.4)(jiti@2.4.2)(postcss@8.4.49)(typescript@5.7.2)(yaml@2.6.1) typescript: specifier: ^5.7.2 version: 5.7.2 @@ -155,6 +155,9 @@ importers: '@builder.io/qwik-city': specifier: '1.9' version: 1.9.1(@types/node@22.10.2)(acorn@8.14.0)(rollup@4.29.1)(typescript@5.7.2) + '@vercel/og': + specifier: ^0.6.4 + version: 0.6.4 clsx: specifier: ^2.1.1 version: 2.1.1 @@ -224,7 +227,7 @@ importers: version: 4.0.3 netlify-cli: specifier: ^17.38.1 - version: 17.38.1(@types/node@22.10.2)(picomatch@4.0.2)(rollup@4.29.1) + version: 17.38.1(@swc/core@1.10.4)(@types/node@22.10.2)(picomatch@4.0.2)(rollup@4.29.1) postcss: specifier: ^8.4.49 version: 8.4.49 @@ -239,7 +242,7 @@ importers: version: 0.33.5 tailwindcss: specifier: ^3.4.17 - version: 3.4.17(ts-node@10.9.2(@types/node@22.10.2)(typescript@5.7.2)) + version: 3.4.17(ts-node@10.9.2(@swc/core@1.10.4)(@types/node@22.10.2)(typescript@5.7.2)) tsm: specifier: ^2.3.0 version: 2.3.0 @@ -251,13 +254,19 @@ importers: version: 7.2.0 vercel: specifier: ^39.2.2 - version: 39.2.2 + version: 39.2.2(@swc/core@1.10.4) vite: specifier: ^5.4.11 version: 5.4.11(@types/node@22.10.2) vite-imagetools: specifier: ^7.0.5 version: 7.0.5(rollup@4.29.1) + vite-plugin-top-level-await: + specifier: ^1.4.4 + version: 1.4.4(rollup@4.29.1)(vite@5.4.11(@types/node@22.10.2)) + vite-plugin-wasm: + specifier: ^3.4.1 + version: 3.4.1(vite@5.4.11(@types/node@22.10.2)) vite-tsconfig-paths: specifier: ^5.1.4 version: 5.1.4(typescript@5.7.2)(vite@5.4.11(@types/node@22.10.2)) @@ -1677,10 +1686,23 @@ packages: resolution: {integrity: sha512-c83qWb22rNRuB0UaVCI0uRPNRr8Z0FWnEIvT47jiHAmOIUHbBOg5XvV7pM5x+rKn9HRpjxquDbXYSXr3fAKFcw==} engines: {node: '>=12'} + '@resvg/resvg-wasm@2.4.0': + resolution: {integrity: sha512-C7c51Nn4yTxXFKvgh2txJFNweaVcfUPQxwEUFw4aWsCmfiBDJsTSwviIF8EcwjQ6k8bPyMWCl1vw4BdxE569Cg==} + engines: {node: '>= 10'} + '@resvg/resvg-wasm@2.6.2': resolution: {integrity: sha512-FqALmHI8D4o6lk/LRWDnhw95z5eO+eAa6ORjVg09YRR7BkcM6oPHU9uyC0gtQG5vpFLvgpeU4+zEAz2H8APHNw==} engines: {node: '>= 10'} + '@rollup/plugin-virtual@3.0.2': + resolution: {integrity: sha512-10monEYsBp3scM4/ND4LNH5Rxvh3e/cVeL3jWTgZ2SrQ+BmUoQcopVQvnaMcOnykb1VkxUFuDAN+0FnpTFRy2A==} + engines: {node: '>=14.0.0'} + peerDependencies: + rollup: ^1.20.0||^2.0.0||^3.0.0||^4.0.0 + peerDependenciesMeta: + rollup: + optional: true + '@rollup/pluginutils@4.2.1': resolution: {integrity: sha512-iKnFXr7NkdZAIHiIWE+BX5ULi/ucVFYWD6TbAV+rZctiRTY2PL6tsIKhoIOaoskiWAkgu+VsbXgUVDNLHf+InQ==} engines: {node: '>= 8.0.0'} @@ -1812,6 +1834,81 @@ packages: resolution: {integrity: sha512-doH1gimEu3A46VX6aVxpHTeHrytJAG6HgdxntYnCFiIFHEM/ZGpG8KiZGBChchjQmG0XFIBL552kBTjVcMZXwQ==} engines: {node: '>=12'} + '@swc/core-darwin-arm64@1.10.4': + resolution: {integrity: sha512-sV/eurLhkjn/197y48bxKP19oqcLydSel42Qsy2zepBltqUx+/zZ8+/IS0Bi7kaWVFxerbW1IPB09uq8Zuvm3g==} + engines: {node: '>=10'} + cpu: [arm64] + os: [darwin] + + '@swc/core-darwin-x64@1.10.4': + resolution: {integrity: sha512-gjYNU6vrAUO4+FuovEo9ofnVosTFXkF0VDuo1MKPItz6e2pxc2ale4FGzLw0Nf7JB1sX4a8h06CN16/pLJ8Q2w==} + engines: {node: '>=10'} + cpu: [x64] + os: [darwin] + + '@swc/core-linux-arm-gnueabihf@1.10.4': + resolution: {integrity: sha512-zd7fXH5w8s+Sfvn2oO464KDWl+ZX1MJiVmE4Pdk46N3PEaNwE0koTfgx2vQRqRG4vBBobzVvzICC3618WcefOA==} + engines: {node: '>=10'} + cpu: [arm] + os: [linux] + + '@swc/core-linux-arm64-gnu@1.10.4': + resolution: {integrity: sha512-+UGfoHDxsMZgFD3tABKLeEZHqLNOkxStu+qCG7atGBhS4Slri6h6zijVvf4yI5X3kbXdvc44XV/hrP/Klnui2A==} + engines: {node: '>=10'} + cpu: [arm64] + os: [linux] + + '@swc/core-linux-arm64-musl@1.10.4': + resolution: {integrity: sha512-cDDj2/uYsOH0pgAnDkovLZvKJpFmBMyXkxEG6Q4yw99HbzO6QzZ5HDGWGWVq/6dLgYKlnnmpjZCPPQIu01mXEg==} + engines: {node: '>=10'} + cpu: [arm64] + os: [linux] + + '@swc/core-linux-x64-gnu@1.10.4': + resolution: {integrity: sha512-qJXh9D6Kf5xSdGWPINpLGixAbB5JX8JcbEJpRamhlDBoOcQC79dYfOMEIxWPhTS1DGLyFakAx2FX/b2VmQmj0g==} + engines: {node: '>=10'} + cpu: [x64] + os: [linux] + + '@swc/core-linux-x64-musl@1.10.4': + resolution: {integrity: sha512-A76lIAeyQnHCVt0RL/pG+0er8Qk9+acGJqSZOZm67Ve3B0oqMd871kPtaHBM0BW3OZAhoILgfHW3Op9Q3mx3Cw==} + engines: {node: '>=10'} + cpu: [x64] + os: [linux] + + '@swc/core-win32-arm64-msvc@1.10.4': + resolution: {integrity: sha512-e6j5kBu4fIY7fFxFxnZI0MlEovRvp50Lg59Fw+DVbtqHk3C85dckcy5xKP+UoXeuEmFceauQDczUcGs19SRGSQ==} + engines: {node: '>=10'} + cpu: [arm64] + os: [win32] + + '@swc/core-win32-ia32-msvc@1.10.4': + resolution: {integrity: sha512-RSYHfdKgNXV/amY5Tqk1EWVsyQnhlsM//jeqMLw5Fy9rfxP592W9UTumNikNRPdjI8wKKzNMXDb1U29tQjN0dg==} + engines: {node: '>=10'} + cpu: [ia32] + os: [win32] + + '@swc/core-win32-x64-msvc@1.10.4': + resolution: {integrity: sha512-1ujYpaqfqNPYdwKBlvJnOqcl+Syn3UrQ4XE0Txz6zMYgyh6cdU6a3pxqLqIUSJ12MtXRA9ZUhEz1ekU3LfLWXw==} + engines: {node: '>=10'} + cpu: [x64] + os: [win32] + + '@swc/core@1.10.4': + resolution: {integrity: sha512-ut3zfiTLORMxhr6y/GBxkHmzcGuVpwJYX4qyXWuBKkpw/0g0S5iO1/wW7RnLnZbAi8wS/n0atRZoaZlXWBkeJg==} + engines: {node: '>=10'} + peerDependencies: + '@swc/helpers': '*' + peerDependenciesMeta: + '@swc/helpers': + optional: true + + '@swc/counter@0.1.3': + resolution: {integrity: sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ==} + + '@swc/types@0.1.17': + resolution: {integrity: sha512-V5gRru+aD8YVyCOMAjMpWR1Ui577DD5KSJsHP8RAxopAH22jFz6GZd/qxqjO6MJHQhcsjvjOFXyDhyLQUnMveQ==} + '@szmarczak/http-timer@5.0.1': resolution: {integrity: sha512-+PmQX0PiAYPMeVYe237LJAYvOMYW1j2rH5YROyS3b4CTVJum34HfRvKvAzozHAQG0TnHNdUfY9nCeUyRAs//cw==} engines: {node: '>=14.16'} @@ -2050,6 +2147,10 @@ packages: '@vercel/node@5.0.0': resolution: {integrity: sha512-l917aGyDkaOhqfDrYSqy9sjd+Pv6K8mCsVyxzGv4kwmbhERpi8rS6aBmfIf4fDevEPYiOasftPHASbdnyHOe/g==} + '@vercel/og@0.6.4': + resolution: {integrity: sha512-+IB8fYbVHEAtLfhCXSRS61Q/OfBJTaPCXhvGvXTBIUfs9lqZMDesZ2UnvKYbnEYHSMgCzBaj5BOq66iePl8mjw==} + engines: {node: '>=16'} + '@vercel/python@4.5.1': resolution: {integrity: sha512-nZX1oezs5E+Un5Pw21P7cEXV9WBohRSq8gDAqipu7KHFfdAQ7ubfBclRmDTGaHOiYvdLsJPiE599vsUfKKob/w==} @@ -2956,6 +3057,10 @@ packages: resolution: {integrity: sha512-FyyrDHZKEjXDpNJYvVsV960FiqQyXc/LlYmsxl2BcdMb2WPx0OGRVgTg55rPSyLSNMqP52R9r8geSp7apN3Ofg==} engines: {node: '>=4'} + css-gradient-parser@0.0.16: + resolution: {integrity: sha512-3O5QdqgFRUbXvK1x5INf1YkBz1UKSWqrd63vWsum8MNHDBYD5urm3QtxZbKU259OrEXNM26lP/MPY3d1IGkBgA==} + engines: {node: '>=16'} + css-select@5.1.0: resolution: {integrity: sha512-nwoRF1rvRRnnCqqY7updORDsuqKzqYJ28+oSMaJMMgOauh3fvwHqMS7EZpIPqK8GL+g9mKxF1vP/ZjSeNjEVHg==} @@ -6570,6 +6675,10 @@ packages: resolution: {integrity: sha512-abovcqmwl97WKioxpkfuMeZmndB1TuDFY/R+FymrZyiGP+pMYomvgSzVPnbNMWHHESOPosVHGL352oFbdAnJcA==} engines: {node: '>=16'} + satori@0.12.0: + resolution: {integrity: sha512-e0e+qQyeFwEszujN7SpWpRtZgww7Nh8lSO3bUn2spHZ5JpqEl3zJ3P14/JlWruxEwdgREs35ZnavrPrWaRVFDg==} + engines: {node: '>=16'} + saxes@6.0.0: resolution: {integrity: sha512-xAg7SOnEhrm5zI3puOOKyy1OMcMlIJZYNJY7xLBwSze0UjhPLnWfj2GF2EpT0jmzaJKIWKHLsaSSajf35bcYnA==} engines: {node: '>=v12.22.7'} @@ -7532,6 +7641,10 @@ packages: resolution: {integrity: sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==} engines: {node: '>= 0.4.0'} + uuid@10.0.0: + resolution: {integrity: sha512-8XkAphELsDnEGrDxUOHB3RGvXz6TeuYSGEZBOjtTtPm2lwhGBjLgOzLHB63IUWfBpNucQjND6d3AOudO+H3RWQ==} + hasBin: true + uuid@3.3.2: resolution: {integrity: sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA==} deprecated: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. @@ -7600,6 +7713,16 @@ packages: engines: {node: ^18.0.0 || >=20.0.0} hasBin: true + vite-plugin-top-level-await@1.4.4: + resolution: {integrity: sha512-QyxQbvcMkgt+kDb12m2P8Ed35Sp6nXP+l8ptGrnHV9zgYDUpraO0CPdlqLSeBqvY2DToR52nutDG7mIHuysdiw==} + peerDependencies: + vite: '>=2.8' + + vite-plugin-wasm@3.4.1: + resolution: {integrity: sha512-ja3nSo2UCkVeitltJGkS3pfQHAanHv/DqGatdI39ja6McgABlpsZ5hVgl6wuR8Qx5etY3T5qgDQhOWzc5RReZA==} + peerDependencies: + vite: ^2 || ^3 || ^4 || ^5 || ^6 + vite-tsconfig-paths@5.1.4: resolution: {integrity: sha512-cYj0LRuLV2c2sMqhqhGpaO3LretdtMn/BVX4cPLanIZuwwrkVl+lK84E/miEXkCHWXuq65rhNN4rXsBcOB3S4w==} peerDependencies: @@ -8810,7 +8933,7 @@ snapshots: yaml: 2.6.1 yargs: 17.7.2 - '@netlify/build@29.58.0(@opentelemetry/api@1.8.0)(@types/node@22.10.2)(picomatch@4.0.2)(rollup@4.29.1)': + '@netlify/build@29.58.0(@opentelemetry/api@1.8.0)(@swc/core@1.10.4)(@types/node@22.10.2)(picomatch@4.0.2)(rollup@4.29.1)': dependencies: '@bugsnag/js': 7.25.0 '@netlify/blobs': 7.4.0 @@ -8867,7 +8990,7 @@ snapshots: strip-ansi: 7.1.0 supports-color: 9.4.0 terminal-link: 3.0.0 - ts-node: 10.9.2(@types/node@22.10.2)(typescript@5.7.2) + ts-node: 10.9.2(@swc/core@1.10.4)(@types/node@22.10.2)(typescript@5.7.2) typescript: 5.7.2 uuid: 9.0.1 yargs: 17.7.2 @@ -9267,8 +9390,14 @@ snapshots: '@pnpm/network.ca-file': 1.0.2 config-chain: 1.1.13 + '@resvg/resvg-wasm@2.4.0': {} + '@resvg/resvg-wasm@2.6.2': {} + '@rollup/plugin-virtual@3.0.2(rollup@4.29.1)': + optionalDependencies: + rollup: 4.29.1 + '@rollup/pluginutils@4.2.1': dependencies: estree-walker: 2.0.2 @@ -9359,6 +9488,58 @@ snapshots: dependencies: escape-string-regexp: 5.0.0 + '@swc/core-darwin-arm64@1.10.4': + optional: true + + '@swc/core-darwin-x64@1.10.4': + optional: true + + '@swc/core-linux-arm-gnueabihf@1.10.4': + optional: true + + '@swc/core-linux-arm64-gnu@1.10.4': + optional: true + + '@swc/core-linux-arm64-musl@1.10.4': + optional: true + + '@swc/core-linux-x64-gnu@1.10.4': + optional: true + + '@swc/core-linux-x64-musl@1.10.4': + optional: true + + '@swc/core-win32-arm64-msvc@1.10.4': + optional: true + + '@swc/core-win32-ia32-msvc@1.10.4': + optional: true + + '@swc/core-win32-x64-msvc@1.10.4': + optional: true + + '@swc/core@1.10.4': + dependencies: + '@swc/counter': 0.1.3 + '@swc/types': 0.1.17 + optionalDependencies: + '@swc/core-darwin-arm64': 1.10.4 + '@swc/core-darwin-x64': 1.10.4 + '@swc/core-linux-arm-gnueabihf': 1.10.4 + '@swc/core-linux-arm64-gnu': 1.10.4 + '@swc/core-linux-arm64-musl': 1.10.4 + '@swc/core-linux-x64-gnu': 1.10.4 + '@swc/core-linux-x64-musl': 1.10.4 + '@swc/core-win32-arm64-msvc': 1.10.4 + '@swc/core-win32-ia32-msvc': 1.10.4 + '@swc/core-win32-x64-msvc': 1.10.4 + + '@swc/counter@0.1.3': {} + + '@swc/types@0.1.17': + dependencies: + '@swc/counter': 0.1.3 + '@szmarczak/http-timer@5.0.1': dependencies: defer-to-connect: 2.0.1 @@ -9732,7 +9913,7 @@ snapshots: - rollup - supports-color - '@vercel/node@5.0.0': + '@vercel/node@5.0.0(@swc/core@1.10.4)': dependencies: '@edge-runtime/node-utils': 2.3.0 '@edge-runtime/primitives': 4.1.0 @@ -9751,7 +9932,7 @@ snapshots: node-fetch: 2.6.9 path-to-regexp: 6.2.1 ts-morph: 12.0.0 - ts-node: 10.9.1(@types/node@16.18.11)(typescript@4.9.5) + ts-node: 10.9.1(@swc/core@1.10.4)(@types/node@16.18.11)(typescript@4.9.5) typescript: 4.9.5 undici: 5.28.4 transitivePeerDependencies: @@ -9760,6 +9941,12 @@ snapshots: - encoding - supports-color + '@vercel/og@0.6.4': + dependencies: + '@resvg/resvg-wasm': 2.4.0 + satori: 0.12.0 + yoga-wasm-web: 0.3.3 + '@vercel/python@4.5.1': {} '@vercel/redwood@2.1.10': @@ -10761,6 +10948,8 @@ snapshots: css-color-keywords@1.0.0: {} + css-gradient-parser@0.0.16: {} + css-select@5.1.0: dependencies: boolbase: 1.0.0 @@ -13802,12 +13991,12 @@ snapshots: nested-error-stacks@2.1.1: {} - netlify-cli@17.38.1(@types/node@22.10.2)(picomatch@4.0.2)(rollup@4.29.1): + netlify-cli@17.38.1(@swc/core@1.10.4)(@types/node@22.10.2)(picomatch@4.0.2)(rollup@4.29.1): dependencies: '@bugsnag/js': 7.25.0 '@fastify/static': 7.0.4 '@netlify/blobs': 8.1.0 - '@netlify/build': 29.58.0(@opentelemetry/api@1.8.0)(@types/node@22.10.2)(picomatch@4.0.2)(rollup@4.29.1) + '@netlify/build': 29.58.0(@opentelemetry/api@1.8.0)(@swc/core@1.10.4)(@types/node@22.10.2)(picomatch@4.0.2)(rollup@4.29.1) '@netlify/build-info': 7.17.0 '@netlify/config': 20.21.0 '@netlify/edge-bundler': 12.3.1(rollup@4.29.1)(supports-color@9.4.0) @@ -14453,13 +14642,13 @@ snapshots: camelcase-css: 2.0.1 postcss: 8.4.49 - postcss-load-config@4.0.2(postcss@8.4.49)(ts-node@10.9.2(@types/node@22.10.2)(typescript@5.7.2)): + postcss-load-config@4.0.2(postcss@8.4.49)(ts-node@10.9.2(@swc/core@1.10.4)(@types/node@22.10.2)(typescript@5.7.2)): dependencies: lilconfig: 3.1.2 yaml: 2.4.5 optionalDependencies: postcss: 8.4.49 - ts-node: 10.9.2(@types/node@22.10.2)(typescript@5.7.2) + ts-node: 10.9.2(@swc/core@1.10.4)(@types/node@22.10.2)(typescript@5.7.2) postcss-load-config@6.0.1(jiti@2.4.2)(postcss@8.4.49)(yaml@2.6.1): dependencies: @@ -14973,6 +15162,20 @@ snapshots: postcss-value-parser: 4.2.0 yoga-wasm-web: 0.3.3 + satori@0.12.0: + dependencies: + '@shuding/opentype.js': 1.4.0-beta.0 + css-background-parser: 0.1.0 + css-box-shadow: 1.0.0-3 + css-gradient-parser: 0.0.16 + css-to-react-native: 3.2.0 + emoji-regex: 10.4.0 + escape-html: 1.0.3 + linebreak: 1.1.0 + parse-css-color: 0.2.1 + postcss-value-parser: 4.2.0 + yoga-wasm-web: 0.3.3 + saxes@6.0.0: dependencies: xmlchars: 2.2.0 @@ -15440,7 +15643,7 @@ snapshots: transitivePeerDependencies: - supports-color - tailwindcss@3.4.17(ts-node@10.9.2(@types/node@22.10.2)(typescript@5.7.2)): + tailwindcss@3.4.17(ts-node@10.9.2(@swc/core@1.10.4)(@types/node@22.10.2)(typescript@5.7.2)): dependencies: '@alloc/quick-lru': 5.2.0 arg: 5.0.2 @@ -15459,7 +15662,7 @@ snapshots: postcss: 8.4.49 postcss-import: 15.1.0(postcss@8.4.49) postcss-js: 4.0.1(postcss@8.4.49) - postcss-load-config: 4.0.2(postcss@8.4.49)(ts-node@10.9.2(@types/node@22.10.2)(typescript@5.7.2)) + postcss-load-config: 4.0.2(postcss@8.4.49)(ts-node@10.9.2(@swc/core@1.10.4)(@types/node@22.10.2)(typescript@5.7.2)) postcss-nested: 6.2.0(postcss@8.4.49) postcss-selector-parser: 6.1.2 resolve: 1.22.10 @@ -15673,7 +15876,7 @@ snapshots: '@ts-morph/common': 0.11.1 code-block-writer: 10.1.1 - ts-node@10.9.1(@types/node@16.18.11)(typescript@4.9.5): + ts-node@10.9.1(@swc/core@1.10.4)(@types/node@16.18.11)(typescript@4.9.5): dependencies: '@cspotcode/source-map-support': 0.8.1 '@tsconfig/node10': 1.0.11 @@ -15690,8 +15893,10 @@ snapshots: typescript: 4.9.5 v8-compile-cache-lib: 3.0.1 yn: 3.1.1 + optionalDependencies: + '@swc/core': 1.10.4 - ts-node@10.9.2(@types/node@22.10.2)(typescript@5.7.2): + ts-node@10.9.2(@swc/core@1.10.4)(@types/node@22.10.2)(typescript@5.7.2): dependencies: '@cspotcode/source-map-support': 0.8.1 '@tsconfig/node10': 1.0.11 @@ -15708,6 +15913,8 @@ snapshots: typescript: 5.7.2 v8-compile-cache-lib: 3.0.1 yn: 3.1.1 + optionalDependencies: + '@swc/core': 1.10.4 ts-toolbelt@6.15.5: {} @@ -15732,7 +15939,7 @@ snapshots: dependencies: esbuild: 0.15.18 - tsup@8.3.5(jiti@2.4.2)(postcss@8.4.49)(typescript@5.7.2)(yaml@2.6.1): + tsup@8.3.5(@swc/core@1.10.4)(jiti@2.4.2)(postcss@8.4.49)(typescript@5.7.2)(yaml@2.6.1): dependencies: bundle-require: 5.1.0(esbuild@0.24.2) cac: 6.7.14 @@ -15751,6 +15958,7 @@ snapshots: tinyglobby: 0.2.10 tree-kill: 1.2.2 optionalDependencies: + '@swc/core': 1.10.4 postcss: 8.4.49 typescript: 5.7.2 transitivePeerDependencies: @@ -16031,6 +16239,8 @@ snapshots: utils-merge@1.0.1: {} + uuid@10.0.0: {} + uuid@3.3.2: {} uuid@9.0.1: {} @@ -16056,14 +16266,14 @@ snapshots: vary@1.1.2: {} - vercel@39.2.2: + vercel@39.2.2(@swc/core@1.10.4): dependencies: '@vercel/build-utils': 8.8.0 '@vercel/fun': 1.1.0 '@vercel/go': 3.2.1 '@vercel/hydrogen': 1.0.9 '@vercel/next': 4.4.0 - '@vercel/node': 5.0.0 + '@vercel/node': 5.0.0(@swc/core@1.10.4) '@vercel/python': 4.5.1 '@vercel/redwood': 2.1.10 '@vercel/remix-builder': 4.0.0 @@ -16131,6 +16341,20 @@ snapshots: - supports-color - terser + vite-plugin-top-level-await@1.4.4(rollup@4.29.1)(vite@5.4.11(@types/node@22.10.2)): + dependencies: + '@rollup/plugin-virtual': 3.0.2(rollup@4.29.1) + '@swc/core': 1.10.4 + uuid: 10.0.0 + vite: 5.4.11(@types/node@22.10.2) + transitivePeerDependencies: + - '@swc/helpers' + - rollup + + vite-plugin-wasm@3.4.1(vite@5.4.11(@types/node@22.10.2)): + dependencies: + vite: 5.4.11(@types/node@22.10.2) + vite-tsconfig-paths@5.1.4(typescript@5.7.2)(vite@5.4.11(@types/node@22.10.2)): dependencies: debug: 4.4.0(supports-color@9.4.0) diff --git a/website/package.json b/website/package.json index 45fb75222..d9f373154 100644 --- a/website/package.json +++ b/website/package.json @@ -55,11 +55,14 @@ "vercel": "^39.2.2", "vite": "^5.4.11", "vite-imagetools": "^7.0.5", + "vite-plugin-top-level-await": "^1.4.4", + "vite-plugin-wasm": "^3.4.1", "vite-tsconfig-paths": "^5.1.4" }, "dependencies": { "@builder.io/qwik": "1.9", "@builder.io/qwik-city": "1.9", + "@vercel/og": "^0.6.4", "clsx": "^2.1.1", "lz-string": "^1.5.0", "monaco-editor": "^0.52.2", diff --git a/website/src/routes/og-image/index.ts b/website/src/routes/og-image/index.ts index 6e2f6ba5b..9b2928078 100644 --- a/website/src/routes/og-image/index.ts +++ b/website/src/routes/og-image/index.ts @@ -1,5 +1,6 @@ import type { RequestHandler } from '@builder.io/qwik-city'; -import { fetchFont, html, ImageResponse } from 'og-img'; +import { ImageResponse } from '@vercel/og'; +import { fetchFont, html } from 'og-img'; export const onGet: RequestHandler = async ({ cacheControl, send, url }) => { // Disable caching diff --git a/website/vite.config.ts b/website/vite.config.ts index f413b5801..2f04a9799 100644 --- a/website/vite.config.ts +++ b/website/vite.config.ts @@ -3,11 +3,20 @@ import { qwikVite } from '@builder.io/qwik/optimizer'; import rehypePrism from '@mapbox/rehype-prism'; import rehypeExternalLinks from 'rehype-external-links'; import { defineConfig } from 'vite'; +import topLevelAwait from 'vite-plugin-top-level-await'; +import wasm from 'vite-plugin-wasm'; import tsconfigPaths from 'vite-tsconfig-paths'; export default defineConfig(() => { return { + build: { + rollupOptions: { + external: ['@vercel/og'], + }, + }, plugins: [ + wasm(), + topLevelAwait(), qwikCity({ mdxPlugins: { remarkGfm: true, @@ -23,7 +32,7 @@ export default defineConfig(() => { ], }, }), - qwikVite(), + qwikVite({ lint: false }), tsconfigPaths(), ], preview: {