From 051cadca66ca7869980f51d2f413ddaf4efea7ba Mon Sep 17 00:00:00 2001 From: Martin Berg Alstad Date: Tue, 1 Jul 2025 20:51:59 +0200 Subject: [PATCH] Start updating paraglide to v2 --- astro.config.mjs | 30 +- middleware.ts | 6 + package.json | 1 - pnpm-lock.yaml | 858 +--------------------- project.inlang/settings.json | 16 +- src/components/Breadcrumb.astro | 11 +- src/components/LanguageButtonGroup.astro | 5 +- src/components/header/Header.astro | 4 +- src/components/links/LocaleLink.astro | 10 +- src/components/projects/ProjectPage.astro | 6 +- src/layouts/Layout.astro | 4 +- src/utils/linking.ts | 49 -- 12 files changed, 52 insertions(+), 948 deletions(-) create mode 100644 middleware.ts diff --git a/astro.config.mjs b/astro.config.mjs index de004ed..1c218ef 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -1,6 +1,5 @@ // @ts-check import { defineConfig, envField } from "astro/config" -import paraglide from "@inlang/paraglide-astro" import tailwindcss from "@tailwindcss/vite" import sitemap from "@astrojs/sitemap" import svelte from "@astrojs/svelte" @@ -9,6 +8,7 @@ import mdx from "@astrojs/mdx" import icon from "astro-icon" import { loadEnv } from "vite" +import { paraglideVitePlugin } from "@inlang/paraglide-js" const { URL } = process.env.NODE_ENV ? loadEnv(process.env.NODE_ENV, process.cwd(), "") @@ -20,35 +20,37 @@ export default defineConfig({ output: "server", i18n: { defaultLocale: "nb", - locales: ["nb", "en"], + locales: ["nb", "en"] }, integrations: [ sitemap(), mdx(), svelte(), - icon(), - paraglide({ - project: "./project.inlang", - outdir: "./src/paraglide", - }), + icon() ], adapter: node({ - mode: "standalone", + mode: "standalone" }), vite: { - plugins: [tailwindcss()], + plugins: [ + tailwindcss(), + paraglideVitePlugin({ + project: "./project.inlang", + outdir: "./src/paraglide" + }) + ] }, markdown: { shikiConfig: { - theme: "catppuccin-mocha", - }, + theme: "catppuccin-mocha" + } }, env: { schema: { DOMAIN: envField.string({ context: "client", access: "public" }), URL: envField.string({ context: "client", access: "public" }), GIT_URL: envField.string({ context: "client", access: "public" }), - STATUS_URL: envField.string({ context: "client", access: "public" }), - }, - }, + STATUS_URL: envField.string({ context: "client", access: "public" }) + } + } }) diff --git a/middleware.ts b/middleware.ts new file mode 100644 index 0000000..d220eca --- /dev/null +++ b/middleware.ts @@ -0,0 +1,6 @@ +import { paraglideMiddleware } from "@/paraglide/server"; +import { defineMiddleware } from "astro/middleware" + +export const onRequest = defineMiddleware((context, next) => { + return paraglideMiddleware(context.request, () => next()); +}); \ No newline at end of file diff --git a/package.json b/package.json index c59df4c..436e1a7 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,6 @@ "@astrojs/sitemap": "^3.4.1", "@astrojs/svelte": "^7.1.0", "@iconify-json/pajamas": "^1.2.11", - "@inlang/paraglide-astro": "^0.4.1", "@inlang/paraglide-js": "2.1.0", "@tailwindcss/typography": "^0.5.16", "@tailwindcss/vite": "^4.1.11", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7e5d404..017a356 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -26,9 +26,6 @@ importers: '@iconify-json/pajamas': specifier: ^1.2.11 version: 1.2.11 - '@inlang/paraglide-astro': - specifier: ^0.4.1 - version: 0.4.1(astro@5.10.2(jiti@2.4.2)(lightningcss@1.30.1)(rollup@4.44.1)(typescript@5.8.3)(yaml@2.5.1)) '@inlang/paraglide-js': specifier: 2.1.0 version: 2.1.0 @@ -572,97 +569,17 @@ packages: cpu: [x64] os: [win32] - '@inlang/detect-json-formatting@1.0.0': - resolution: {integrity: sha512-o0jeI8U4TgNlsPwI0y92jld8/18Loh2KEgHCYCJ42rCOdxFrA8R60cydlEd2/6jkdHFn5DxKj8rOyiKv3z9uOw==} - - '@inlang/json-types@1.1.0': - resolution: {integrity: sha512-n6vS6AqETsCFbV4TdBvR/EH57waVXzKsMqeUQ+eH2Q6NUATfKhfLabgNms2A+QV3aedH/hLtb1pRmjl2ykBVZg==} - peerDependencies: - '@sinclair/typebox': ^0.31.0 - - '@inlang/language-tag@1.5.1': - resolution: {integrity: sha512-+NlYDxDvN5h/TKUmkuQv+Ct1flxaVRousCbek7oFEk3/afZPVLNTJhm+cX2xiOg3tmi2KKrBLfy/V9oUDHj6GQ==} - - '@inlang/message-lint-rule@1.4.7': - resolution: {integrity: sha512-FCiFe/H25fqhsIb/YTb0K7eDJqEYzdr6ectF0xG4zARiS7nXz0FHxk2niJrIO8kFkB4mx6tszsgQ0xqD5cHQag==} - peerDependencies: - '@sinclair/typebox': ^0.31.17 - - '@inlang/message@2.1.0': - resolution: {integrity: sha512-Gr3wiErI7fW4iW11xgZzsJEUTjlZuz02fB/EO+ENTBlSHGyI1kzbCCeNqLr1mnGdQYiOxfuZxY0S4G5C6Pju3Q==} - peerDependencies: - '@sinclair/typebox': ^0.31.17 - - '@inlang/module@1.2.14': - resolution: {integrity: sha512-Z7rRa6x3RkzjdvNA7x+KskNGdSBEO46X9c7bTl6eZmLXy0J9yGDn6s4jpYqQzyKRG8g5mEqWcRqcVqdNwzj5Gg==} - peerDependencies: - '@sinclair/typebox': ^0.31.17 - - '@inlang/paraglide-astro@0.4.1': - resolution: {integrity: sha512-oPNJmgWArSB3Qx+LdEHONCD/9zVOJFw5ZhGUY1hcFBMU727W6Ye2BaV3hLBM2bAa7Oghb1JKr01Q5IfalWUXUw==} - deprecated: use the paraglide-js package directly with v2 or above https://www.npmjs.com/package/@inlang/paraglide-js. the astro adapter is not needed anymore - peerDependencies: - astro: ^4 || ^5 - - '@inlang/paraglide-js@1.11.8': - resolution: {integrity: sha512-PxzrmDP63fbMNF4/AtiLFTnUodFxVbOkLpIrOzPZvNuLg0wCWnsaBfNT87/rNjL/A7ZPzEBmuDi0P2pn8iB0Fw==} - hasBin: true - '@inlang/paraglide-js@2.1.0': resolution: {integrity: sha512-hpj5AglQphR91IH2qXPRp78fTkRVdhlNl09rZZBTtB18fcmJpCScDFckUEaR0UhOARySd4SiH/7/GbVenFcrbQ==} hasBin: true - '@inlang/paraglide-unplugin@1.9.5': - resolution: {integrity: sha512-5KklLBvl/y+R4SccWH74USTGQNFW5IwEyMLQ3WIHX9cHX2pnnA5wGqQxYg3EcgCyErHLc3+sm7EMNB5Z0dSeTg==} - - '@inlang/paraglide-vite@1.4.0': - resolution: {integrity: sha512-JXfHOOhXNMlHkouO6nuYoIYL5iqM6Y6FtLNq64nIUOpVnXSQfyYCF73lHYE7ZqRMQxoCvUWnqAlyUb4MTmP2IQ==} - deprecated: the vite plugin is now bundled in the paraglide-js package. please use https://www.npmjs.com/package/@inlang/paraglide-js directly - - '@inlang/plugin-message-format@2.2.0': - resolution: {integrity: sha512-6MJLExr3OLqbR8gCP4UEgNMgdaJFFCug2GLmFwid7Ana4kObnbCA33YN3m3eN8p+lmnv7zpfW7oeyTZXZLoptg==} - - '@inlang/plugin@2.4.14': - resolution: {integrity: sha512-HFI1t1tKs6jXqwKVl59vvt7kvMgg2Po7xA3IFijfJTZCt0tTI8txqeXCUV9jhUop29Hqj6a5zQd32BYv33Dulw==} - peerDependencies: - '@sinclair/typebox': ^0.31.17 - - '@inlang/project-settings@2.4.2': - resolution: {integrity: sha512-Okus2JdwTzNebZHkXCrUH/zIWwqu7kWm/ZQaM6a31oRIEA2JdQJtyNGM8E/KrwGfEuq18U+WV03+tR3tkwsGvA==} - peerDependencies: - '@sinclair/typebox': ^0.31.17 - - '@inlang/recommend-ninja@0.1.1': - resolution: {integrity: sha512-dthW8SA6LHUhPFXwKxYy92PG4dg4KeIS0jbgpplXxgoQAeouP6DHEa87kva2DXbk3kUbNz+/MFPjyaygBfamog==} - - '@inlang/recommend-sherlock@0.1.1': - resolution: {integrity: sha512-8qZ8FJ/QqVh6YqKmHo3SxI4ENM0O80TCzETm+hxeQ2JzPKPFYucFINpLvUygiLFp/hJwhoI5TjRz6jNI2QdfMQ==} - '@inlang/recommend-sherlock@0.2.1': resolution: {integrity: sha512-ckv8HvHy/iTqaVAEKrr+gnl+p3XFNwe5D2+6w6wJk2ORV2XkcRkKOJ/XsTUJbPSiyi4PI+p+T3bqbmNx/rDUlg==} - '@inlang/result@1.1.0': - resolution: {integrity: sha512-zLGroi9EUiHuOjUOaglUVTFO7EWdo2OARMJLBO1Q5Ga/xJmSQb6XS1lhqEXBFAjgFarfEMX5YEJWWALogYV3wA==} - - '@inlang/sdk@0.36.3': - resolution: {integrity: sha512-wjsavc44H24v74tdEQ13FqZZcr43T106oEfHJnBLzEP55Zz2JJWABLund+DEdosZx+9E8mJBEW5JlVnlBwP3Zw==} - engines: {node: '>=18.0.0'} - - '@inlang/sdk@0.36.4': - resolution: {integrity: sha512-fTr0mkDx2ViZt/8lxaF9Mxj3m8LaqIhcjMJy+CdHREMc9UvpUhGLB7elMp061YysxnN1CFccAgLRug5VWK3yWw==} - engines: {node: '>=18.0.0'} - - '@inlang/sdk@0.37.0': - resolution: {integrity: sha512-/uG/9HrJU+v5jY/nWKZAlI3diD8WdT5bAYuIZ3rVsnphvqV4iWvQwAp3H/K8F5QDJ+GEY79mhKfFhHcKMSiWng==} - engines: {node: '>=18.0.0'} - '@inlang/sdk@2.4.9': resolution: {integrity: sha512-cvz/C1rF5WBxzHbEoiBoI6Sz6q6M+TdxfWkEGBYTD77opY8i8WN01prUWXEM87GPF4SZcyIySez9U0Ccm12oFQ==} engines: {node: '>=18.0.0'} - '@inlang/translatable@1.3.1': - resolution: {integrity: sha512-VAtle21vRpIrB+axtHFrFB0d1HtDaaNj+lV77eZQTJyOWbTFYTVIQJ8WAbyw9eu4F6h6QC2FutLyxjMomxfpcQ==} - '@isaacs/fs-minipass@4.0.1': resolution: {integrity: sha512-wgm9Ehl2jpeqP3zw/7mo3kRHFp5MEDhqAdwy1fTGkHAwnkGOVsgpvQhL8B5n1qlb01jV3n/bI0ZfZp5lWA1k4w==} engines: {node: '>=18.0.0'} @@ -685,12 +602,6 @@ packages: '@jridgewell/trace-mapping@0.3.25': resolution: {integrity: sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==} - '@lix-js/client@2.2.1': - resolution: {integrity: sha512-6DTJdRN2L2a1A8OxW1Wqh3ZOORqq8+YlCALMF5UMoxhfHE4Fcq9FZztMkAV+KwhrDSsp0USWvD9myG0XX+v6QQ==} - - '@lix-js/fs@2.2.0': - resolution: {integrity: sha512-B9X3FjD8WmdG7tbA44JuniSO0KdKBWnjfxl8zpgrDCkavrp/GP7U0xxBkc0WgeeoHjQ/pkqq9VqtWB2kS9jIUg==} - '@lix-js/sdk@0.4.7': resolution: {integrity: sha512-pRbW+joG12L0ULfMiWYosIW0plmW4AsUdiPCp+Z8rAsElJ+wJ6in58zhD3UwUcd4BNcpldEGjg6PdA7e0RgsDQ==} engines: {node: '>=18'} @@ -713,119 +624,6 @@ packages: resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==} engines: {node: '>= 8'} - '@octokit/app@14.1.0': - resolution: {integrity: sha512-g3uEsGOQCBl1+W1rgfwoRFUIR6PtvB2T1E4RpygeUU5LrLvlOqcxrt5lfykIeRpUPpupreGJUYl70fqMDXdTpw==} - engines: {node: '>= 18'} - - '@octokit/auth-app@6.1.2': - resolution: {integrity: sha512-fWjIOpxnL8/YFY3kqquciFQ4o99aCqHw5kMFoGPYbz/h5HNZ11dJlV9zag5wS2nt0X1wJ5cs9BUo+CsAPfW4jQ==} - engines: {node: '>= 18'} - - '@octokit/auth-oauth-app@7.1.0': - resolution: {integrity: sha512-w+SyJN/b0l/HEb4EOPRudo7uUOSW51jcK1jwLa+4r7PA8FPFpoxEnHBHMITqCsc/3Vo2qqFjgQfz/xUUvsSQnA==} - engines: {node: '>= 18'} - - '@octokit/auth-oauth-device@6.1.0': - resolution: {integrity: sha512-FNQ7cb8kASufd6Ej4gnJ3f1QB5vJitkoV1O0/g6e6lUsQ7+VsSNRHRmFScN2tV4IgKA12frrr/cegUs0t+0/Lw==} - engines: {node: '>= 18'} - - '@octokit/auth-oauth-user@4.1.0': - resolution: {integrity: sha512-FrEp8mtFuS/BrJyjpur+4GARteUCrPeR/tZJzD8YourzoVhRics7u7we/aDcKv+yywRNwNi/P4fRi631rG/OyQ==} - engines: {node: '>= 18'} - - '@octokit/auth-token@4.0.0': - resolution: {integrity: sha512-tY/msAuJo6ARbK6SPIxZrPBms3xPbfwBrulZe0Wtr/DIY9lje2HeV1uoebShn6mx7SjCHif6EjMvoREj+gZ+SA==} - engines: {node: '>= 18'} - - '@octokit/auth-unauthenticated@5.0.1': - resolution: {integrity: sha512-oxeWzmBFxWd+XolxKTc4zr+h3mt+yofn4r7OfoIkR/Cj/o70eEGmPsFbueyJE2iBAGpjgTnEOKM3pnuEGVmiqg==} - engines: {node: '>= 18'} - - '@octokit/core@5.2.0': - resolution: {integrity: sha512-1LFfa/qnMQvEOAdzlQymH0ulepxbxnCYAKJZfMci/5XJyIHWgEYnDmgnKakbTh7CH2tFQ5O60oYDvns4i9RAIg==} - engines: {node: '>= 18'} - - '@octokit/endpoint@9.0.5': - resolution: {integrity: sha512-ekqR4/+PCLkEBF6qgj8WqJfvDq65RH85OAgrtnVp1mSxaXF03u2xW/hUdweGS5654IlC0wkNYC18Z50tSYTAFw==} - engines: {node: '>= 18'} - - '@octokit/graphql@7.1.0': - resolution: {integrity: sha512-r+oZUH7aMFui1ypZnAvZmn0KSqAUgE1/tUXIWaqUCa1758ts/Jio84GZuzsvUkme98kv0WFY8//n0J1Z+vsIsQ==} - engines: {node: '>= 18'} - - '@octokit/oauth-app@6.1.0': - resolution: {integrity: sha512-nIn/8eUJ/BKUVzxUXd5vpzl1rwaVxMyYbQkNZjHrF7Vk/yu98/YDF/N2KeWO7uZ0g3b5EyiFXFkZI8rJ+DH1/g==} - engines: {node: '>= 18'} - - '@octokit/oauth-authorization-url@6.0.2': - resolution: {integrity: sha512-CdoJukjXXxqLNK4y/VOiVzQVjibqoj/xHgInekviUJV73y/BSIcwvJ/4aNHPBPKcPWFnd4/lO9uqRV65jXhcLA==} - engines: {node: '>= 18'} - - '@octokit/oauth-methods@4.1.0': - resolution: {integrity: sha512-4tuKnCRecJ6CG6gr0XcEXdZtkTDbfbnD5oaHBmLERTjTMZNi2CbfEHZxPU41xXLDG4DfKf+sonu00zvKI9NSbw==} - engines: {node: '>= 18'} - - '@octokit/openapi-types@20.0.0': - resolution: {integrity: sha512-EtqRBEjp1dL/15V7WiX5LJMIxxkdiGJnabzYx5Apx4FkQIFgAfKumXeYAqqJCj1s+BMX4cPFIFC4OLCR6stlnA==} - - '@octokit/openapi-types@22.2.0': - resolution: {integrity: sha512-QBhVjcUa9W7Wwhm6DBFu6ZZ+1/t/oYxqc2tp81Pi41YNuJinbFRx8B133qVOrAaBbF7D/m0Et6f9/pZt9Rc+tg==} - - '@octokit/plugin-paginate-graphql@4.0.1': - resolution: {integrity: sha512-R8ZQNmrIKKpHWC6V2gum4x9LG2qF1RxRjo27gjQcG3j+vf2tLsEfE7I/wRWEPzYMaenr1M+qDAtNcwZve1ce1A==} - engines: {node: '>= 18'} - peerDependencies: - '@octokit/core': '>=5' - - '@octokit/plugin-paginate-rest@9.2.1': - resolution: {integrity: sha512-wfGhE/TAkXZRLjksFXuDZdmGnJQHvtU/joFQdweXUgzo1XwvBCD4o4+75NtFfjfLK5IwLf9vHTfSiU3sLRYpRw==} - engines: {node: '>= 18'} - peerDependencies: - '@octokit/core': '5' - - '@octokit/plugin-rest-endpoint-methods@10.4.1': - resolution: {integrity: sha512-xV1b+ceKV9KytQe3zCVqjg+8GTGfDYwaT1ATU5isiUyVtlVAO3HNdzpS4sr4GBx4hxQ46s7ITtZrAsxG22+rVg==} - engines: {node: '>= 18'} - peerDependencies: - '@octokit/core': '5' - - '@octokit/plugin-retry@6.0.1': - resolution: {integrity: sha512-SKs+Tz9oj0g4p28qkZwl/topGcb0k0qPNX/i7vBKmDsjoeqnVfFUquqrE/O9oJY7+oLzdCtkiWSXLpLjvl6uog==} - engines: {node: '>= 18'} - peerDependencies: - '@octokit/core': '>=5' - - '@octokit/plugin-throttling@8.2.0': - resolution: {integrity: sha512-nOpWtLayKFpgqmgD0y3GqXafMFuKcA4tRPZIfu7BArd2lEZeb1988nhWhwx4aZWmjDmUfdgVf7W+Tt4AmvRmMQ==} - engines: {node: '>= 18'} - peerDependencies: - '@octokit/core': ^5.0.0 - - '@octokit/request-error@5.1.0': - resolution: {integrity: sha512-GETXfE05J0+7H2STzekpKObFe765O5dlAKUTLNGeH+x47z7JjXHfsHKo5z21D/o/IOZTUEI6nyWyR+bZVP/n5Q==} - engines: {node: '>= 18'} - - '@octokit/request@8.4.0': - resolution: {integrity: sha512-9Bb014e+m2TgBeEJGEbdplMVWwPmL1FPtggHQRkV+WVsMggPtEkLKPlcVYm/o8xKLkpJ7B+6N8WfQMtDLX2Dpw==} - engines: {node: '>= 18'} - - '@octokit/types@12.6.0': - resolution: {integrity: sha512-1rhSOfRa6H9w4YwK0yrf5faDaDTb+yLyBUKOCV4xtCDB5VmIPqd/v9yr9o6SAzOAlRxMiRiCic6JVM1/kunVkw==} - - '@octokit/types@13.6.1': - resolution: {integrity: sha512-PHZE9Z+kWXb23Ndik8MKPirBPziOc0D2/3KH1P+6jK5nGWe96kadZuE4jev2/Jq7FvIfTlT2Ltg8Fv2x1v0a5g==} - - '@octokit/webhooks-methods@4.1.0': - resolution: {integrity: sha512-zoQyKw8h9STNPqtm28UGOYFE7O6D4Il8VJwhAtMHFt2C4L0VQT1qGKLeefUOqHNs1mNRYSadVv7x0z8U2yyeWQ==} - engines: {node: '>= 18'} - - '@octokit/webhooks-types@7.6.1': - resolution: {integrity: sha512-S8u2cJzklBC0FgTwWVLaM8tMrDuDMVE4xiTK4EYXM9GntyvrdbSoxqDQa+Fh57CCNApyIpyeqPhhFEmHPfrXgw==} - - '@octokit/webhooks@12.3.1': - resolution: {integrity: sha512-BVwtWE3rRXB9IugmQTfKspqjNa8q+ab73ddkV9k1Zok3XbuOxJUi4lTYk5zBZDhfWb/Y2H+RO9Iggm25gsqeow==} - engines: {node: '>= 18'} - '@oslojs/encoding@1.1.0': resolution: {integrity: sha512-70wQhgYmndg4GCPxPPxPGevRKqTIJ2Nh4OkiMWmDAVYsTQ+Ta7Sq+rPevXyXGdzr30/qZBnyOalCszoMxlyldQ==} @@ -1091,12 +889,6 @@ packages: '@types/acorn@4.0.6': resolution: {integrity: sha512-veQTnWP+1D/xbxVrPC3zHnCZRjSrKfhbMUlEA43iMZLu7EsnTtkJklIuwrCPbOi8YkvDQAiW05VQQFvvz9oieQ==} - '@types/aws-lambda@8.10.145': - resolution: {integrity: sha512-dtByW6WiFk5W5Jfgz1VM+YPA21xMXTuSFoLYIDY0L44jDLLflVPtZkYuu3/YxpGcvjzKFBZLU+GyKjR0HOYtyw==} - - '@types/btoa-lite@1.0.2': - resolution: {integrity: sha512-ZYbcE2x7yrvNFJiU7xJGrpF/ihpkM7zKgw8bha3LNJSesvTtUNxbpzaT7WXBIryf6jovisrxTBvymxMeLLj1Mg==} - '@types/debug@4.1.12': resolution: {integrity: sha512-vIChWdVG3LG1SMxEvI/AK+FWJthlrqlTu7fbrlywTkkaONwk/UAGaULXRlf8vkzFBLVm0zkMdCquhL5aOjhXPQ==} @@ -1115,9 +907,6 @@ packages: '@types/hast@3.0.4': resolution: {integrity: sha512-WPs+bbQw5aCj+x6laNGWLH3wviHtoCv/P3+otBhbOhJgG8qtpdAMlTCxLtsTWA7LH1Oh/bFCHsBn0TPS5m30EQ==} - '@types/jsonwebtoken@9.0.7': - resolution: {integrity: sha512-ugo316mmTYBl2g81zDFnZ7cfxlut3o+/EQdaP7J8QN2kY6lJ22hmQYCK5EHcJHbrW+dkCGSCPgbG8JtYj6qSrg==} - '@types/mdast@4.0.4': resolution: {integrity: sha512-kGaNbPh1k7AFzgpud/gMdvIm5xuECykRR+JnWKQno9TAXVa6WIVCGTPvYGekIDL4uwCZQSYbUxNBSb1aUo79oA==} @@ -1195,10 +984,6 @@ packages: engines: {node: '>=0.4.0'} hasBin: true - aggregate-error@3.1.0: - resolution: {integrity: sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==} - engines: {node: '>=8'} - ajv@8.17.1: resolution: {integrity: sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==} @@ -1253,9 +1038,6 @@ packages: engines: {node: 18.20.8 || ^20.3.0 || >=22.0.0, npm: '>=9.6.5', pnpm: '>=7.1.0'} hasBin: true - async-lock@1.4.1: - resolution: {integrity: sha512-Az2ZTpuytrtqENulXwO3GGv1Bztugx6TT37NIo7imr/Qo0gsYiGtSdBa2B6fsXhTpVZDNfu1Qn3pk531e3q+nQ==} - asynckit@0.4.0: resolution: {integrity: sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==} @@ -1275,18 +1057,12 @@ packages: base64-js@1.5.1: resolution: {integrity: sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==} - before-after-hook@2.2.3: - resolution: {integrity: sha512-NzUnlZexiaH/46WDhANlyR2bXRopNg4F/zuSA3OpZnllCUgRaOF2znDioDWrmbNVsuZk6l9pMquQB38cfBZwkQ==} - blob-to-buffer@1.2.9: resolution: {integrity: sha512-BF033y5fN6OCofD3vgHmNtwZWRcq9NLyyxyILx9hfMy1sXYy4ojFl765hJ2lP0YaN2fuxPaLO2Vzzoxy0FLFFA==} boolbase@1.0.0: resolution: {integrity: sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==} - bottleneck@2.19.5: - resolution: {integrity: sha512-VHiNCbI1lKdl44tGrhNfU3lup0Tj/ZBMJB5/2ZbNXRCPuRCO7ed2mgcK4r17y+KB2EfuYuRaVlwNbAeaWGSpbw==} - boxen@8.0.1: resolution: {integrity: sha512-F3PH5k5juxom4xktynS7MoFY+NUWH5LC4CnH11YB8NPew+HLpmBLCybSAEyb2F+4pRXhuhWqFesoQd6DAyc2hw==} engines: {node: '>=18'} @@ -1298,15 +1074,9 @@ packages: brotli@1.3.3: resolution: {integrity: sha512-oTKjJdShmDuGW94SyyaoQvAjf30dZaHnjJ8uAF+u2/vGJkJbJPJAT1gDiOJP5v1Zb6f9KEyW/1HpuaWIXtGHPg==} - btoa-lite@1.0.0: - resolution: {integrity: sha512-gvW7InbIyF8AicrqWoptdW08pUxuhq8BEgowNajy9RhiE86fmGAGl+bLKo6oB8QP0CkqHLowfN0oJdKC/J6LbA==} - buffer-crc32@0.2.13: resolution: {integrity: sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ==} - buffer-equal-constant-time@1.0.1: - resolution: {integrity: sha512-zRpUiDwd/xk6ADqPMATG8vc9VPrkck7T07OIx0gnjmJAnHnTVXNQG3vfvWNuiZIkwu9KrKdA1iJKfsfTVxE6NA==} - camelcase@8.0.0: resolution: {integrity: sha512-8WB3Jcas3swSvjIeA2yvCJ+Miyz5l1ZmB6HFb9R1317dt9LCQoswg/BGrmAmkWVEszSrrg4RwmO46qIm2OEnSA==} engines: {node: '>=16'} @@ -1357,13 +1127,6 @@ packages: resolution: {integrity: sha512-cYY9mypksY8NRqgDB1XD1RiJL338v/551niynFTGkZOO2LHuB2OmOYxDIe/ttN9AHwrqdum1360G3ald0W9kCg==} engines: {node: '>=8'} - clean-git-ref@2.0.1: - resolution: {integrity: sha512-bLSptAy2P0s6hU4PzuIMKmMJJSE6gLXGH1cntDu7bWJUksvuM+7ReOK61mozULErYvP6a15rnYl0zFDef+pyPw==} - - clean-stack@2.2.0: - resolution: {integrity: sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==} - engines: {node: '>=6'} - cli-boxes@3.0.0: resolution: {integrity: sha512-/lzGpEWL/8PfI0BmBOPRwp0c/wFNX1RdUML3jK/RcSBA9T8mZDdQpqYBKtCFTOfQbwPqWEOpjqW+Fnayc0969g==} engines: {node: '>=10'} @@ -1422,10 +1185,6 @@ packages: confbox@0.1.8: resolution: {integrity: sha512-RMtmw0iFkeR4YV+fUOSucriAQNb9g8zFR52MWCtl+cCZOFRNL6zeB395vPzFhEjjn4fMxXudmELnl/KF/WrK6w==} - consola@3.2.3: - resolution: {integrity: sha512-I5qxpzLv+sJhTVEoLYNcTW+bThDCPsit0vLNKShZx6rLtpilNpmmeTPaeqJb9ZE9dV3DGaeby6Vuhrw38WjeyQ==} - engines: {node: ^14.18.0 || >=16.10.0} - consola@3.4.0: resolution: {integrity: sha512-EiPU8G6dQG0GFHNR8ljnZFki/8a+cQwEQ+7wpxdChl02Q8HXlwEZWD5lqAF8vC2sEC3Tehr8hy7vErz88LHyUA==} engines: {node: ^14.18.0 || >=16.10.0} @@ -1440,11 +1199,6 @@ packages: core-util-is@1.0.3: resolution: {integrity: sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==} - crc-32@1.2.2: - resolution: {integrity: sha512-ROmzCKrTnOwybPcJApAA6WBWij23HVfGVNKqqrZpuyZOHqK2CwHSvpGuyt/UNNvaIjEd8X5IFGp4Mh+Ie1IHJQ==} - engines: {node: '>=0.8'} - hasBin: true - cross-fetch@3.2.0: resolution: {integrity: sha512-Q+xVJLoGOeIMXZmbUK4HYk+69cQH6LudR0Vu/pRm2YlU/hDV9CiS0gKUMaWY5f2NeUH9C1nV3bsTlCo0FsTV1Q==} @@ -1479,9 +1233,6 @@ packages: resolution: {integrity: sha512-0LrrStPOdJj+SPCCrGhzryycLjwcgUSHBtxNA8aIDxf0GLsRh1cKYhB00Gd1lDOS4yGH69+SNn13+TWbVHETFQ==} engines: {node: ^10 || ^12.20.0 || ^14.13.0 || >=15.0.0, npm: '>=7.0.0'} - csstype@3.1.3: - resolution: {integrity: sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==} - daisyui@5.0.43: resolution: {integrity: sha512-2pshHJ73vetSpsbAyaOncGnNYL0mwvgseS1EWy1I9Qpw8D11OuBoDNIWrPIME4UFcq2xuff3A9x+eXbuFR9fUQ==} @@ -1520,10 +1271,6 @@ packages: babel-plugin-macros: optional: true - deepmerge-ts@5.1.0: - resolution: {integrity: sha512-eS8dRJOckyo9maw9Tu5O5RUi/4inFLrnoLkBe3cPfDMx3WZioXtmOew4TXQaxq7Rhl4xjDtR7c6x8nNTxOvbFw==} - engines: {node: '>=16.0.0'} - deepmerge@4.3.1: resolution: {integrity: sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==} engines: {node: '>=0.10.0'} @@ -1539,9 +1286,6 @@ packages: resolution: {integrity: sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==} engines: {node: '>= 0.8'} - deprecation@2.3.1: - resolution: {integrity: sha512-xmHIy4F3scKVwMsQ4WnVaS8bHOx0DmVwRywosKhaILI0ywMDWPtBSku2HNxRvF7jtwDRsoEwYQSfbxj8b7RlJQ==} - dequal@2.0.3: resolution: {integrity: sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==} engines: {node: '>=6'} @@ -1597,9 +1341,6 @@ packages: resolution: {integrity: sha512-2QF/g9/zTaPDc3BjNcVTGoBbXBgYfMTTceLaYcFJ/W9kggFUkhxD/hMEeuLKbugyef9SqAx8cpgwlIP/jinUTA==} engines: {node: '>=4'} - ecdsa-sig-formatter@1.0.11: - resolution: {integrity: sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ==} - ee-first@1.1.1: resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==} @@ -1799,10 +1540,6 @@ packages: graceful-fs@4.2.11: resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==} - guess-json-indent@2.0.0: - resolution: {integrity: sha512-3Tm6R43KhtZWEVSHZnFmYMV9+gf3Vu0HXNNYtPVk2s7o8eGwYlJPHrjLtYw/7HBc10YxV+bfzKMuOf24z5qFng==} - engines: {node: '>=16.17.0'} - h3@1.15.3: resolution: {integrity: sha512-z6GknHqyX0h9aQaTx22VZDf6QyZn+0Nh+Ym8O/u0SGSkyF5cuTJYKlc8MkzW3Nzf9LE1ivcpmYC3FUGpywhuUQ==} @@ -1870,17 +1607,9 @@ packages: resolution: {integrity: sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==} engines: {node: '>=0.10.0'} - ignore@5.3.1: - resolution: {integrity: sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==} - engines: {node: '>= 4'} - import-meta-resolve@4.1.0: resolution: {integrity: sha512-I6fiaX09Xivtk+THaMfAwnA3MVA5Big1WHF1Dfx9hFuvNIWpXnorlkzhcQf6ehrqQiiZECRt1poOAkPmer3ruw==} - indent-string@4.0.0: - resolution: {integrity: sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==} - engines: {node: '>=8'} - inherits@2.0.4: resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==} @@ -1970,16 +1699,6 @@ packages: jsonc-parser@3.3.1: resolution: {integrity: sha512-HUgH65KyejrUFPvHFPbqOY0rsFip3Bo5wb4ngvdi1EpCYWUQDC5V+Y7mZws+DLkr4M//zQJoanu1SP+87Dv1oQ==} - jsonwebtoken@9.0.2: - resolution: {integrity: sha512-PRp66vJ865SSqOlgqS8hujT5U4AOgMfhrwYIuIhfKaoSCZcirrmASQr8CX7cUg+RMih+hgznrjp99o+W4pJLHQ==} - engines: {node: '>=12', npm: '>=6'} - - jwa@1.4.1: - resolution: {integrity: sha512-qiLX/xhEEFKUAJ6FiBMbes3w9ATzyk5W7Hvzpa/SLYdxNtng+gcurvrI7TbACjIXlsJyr05/S1oUhZrc63evQA==} - - jws@3.2.2: - resolution: {integrity: sha512-YHlZCB6lMTllWDtSPHz/ZXTsi8S00usEV6v1tjq8tOUZzw7DpSDWVXjXDre6ed1w/pd495ODpHZYSdkRTsa0HA==} - kleur@3.0.3: resolution: {integrity: sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==} engines: {node: '>=6'} @@ -2069,30 +1788,12 @@ packages: lodash.castarray@4.4.0: resolution: {integrity: sha512-aVx8ztPv7/2ULbArGJ2Y42bG1mEQ5mGjpdvrbJcJFU3TbYybe+QlLS4pst9zV52ymy2in1KpFPiZnAOATxD4+Q==} - lodash.includes@4.3.0: - resolution: {integrity: sha512-W3Bx6mdkRTGtlJISOvVD/lbqjTlPPUDTMnlXZFnVwi9NKJ6tiAk6LVdlhZMm17VZisqhKcgzpO5Wz91PCt5b0w==} - - lodash.isboolean@3.0.3: - resolution: {integrity: sha512-Bz5mupy2SVbPHURB98VAcw+aHh4vRV5IPNhILUCsOzRmsTmSQ17jIuqopAentWoehktxGd9e/hbIXq980/1QJg==} - - lodash.isinteger@4.0.4: - resolution: {integrity: sha512-DBwtEWN2caHQ9/imiNeEA5ys1JoRtRfY3d7V9wkqtbycnAmTvRRmbHKDV4a0EYc678/dia0jrte4tjYwVBaZUA==} - - lodash.isnumber@3.0.3: - resolution: {integrity: sha512-QYqzpfwO3/CWf3XP+Z+tkQsfaLL/EnUlXWVkIk5FUPc4sBdTehEqZONuyRt2P67PXAk+NXmTBcc97zw9t1FQrw==} - lodash.isplainobject@4.0.6: resolution: {integrity: sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA==} - lodash.isstring@4.0.1: - resolution: {integrity: sha512-0wJxfxH1wgO3GrbuP+dTTk7op+6L41QCXbGINEmD+ny/G/eCqGzxyCsh7159S+mgDDcoarnBw6PC1PS5+wUGgw==} - lodash.merge@4.6.2: resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==} - lodash.once@4.1.1: - resolution: {integrity: sha512-Sb487aTOCr9drQVL8pIxOzVhafOjZN9UU54hiN8PU3uAiSV7lx1yYNpbNmex2PK6dSJoNTSJUUswT651yww3Mg==} - lodash@4.17.21: resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==} @@ -2354,10 +2055,6 @@ packages: muggle-string@0.4.1: resolution: {integrity: sha512-VNTrAak/KhO2i8dqqnqnAHOa3cYBwXEZe9h+D5h/1ZqFSTEFHdM65lR7RoIqq3tBBYavsOXV84NoHXZ0AkPyqQ==} - murmurhash3js@3.0.1: - resolution: {integrity: sha512-KL8QYUaxq7kUbcl0Yto51rMcYt7E/4N4BG3/c96Iqw1PQrTRspu8Cpx4TZ4Nunib1d4bEkIH3gjCYlP2RLBdow==} - engines: {node: '>=0.10.0'} - nanoid@3.3.11: resolution: {integrity: sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==} engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} @@ -2403,10 +2100,6 @@ packages: nth-check@2.1.1: resolution: {integrity: sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==} - octokit@3.1.2: - resolution: {integrity: sha512-MG5qmrTL5y8KYwFgE1A4JWmgfQBaIETE/lOlfwNYx1QOtCQHGVxkRJmdUJltFc1HVn73d61TlMhMyNTOtMl+ng==} - engines: {node: '>= 18'} - ofetch@1.4.1: resolution: {integrity: sha512-QZj2DfGplQAr2oj9KzceK9Hwz6Whxazmn85yYeVuS3u9XTMOGMRx0kO95MQ+vLsj/S/NwBDMMLU5hpxvI6Tklw==} @@ -2447,9 +2140,6 @@ packages: pako@0.2.9: resolution: {integrity: sha512-NUcwaKxUxWrZLpDG+z/xZaCgQITkA/Dv4V/T6bw7VON6l1Xz/VnrBqrYjZQ12TamKHzITTfOEIYUj48y2KXImA==} - pako@1.0.11: - resolution: {integrity: sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==} - parse-entities@4.0.1: resolution: {integrity: sha512-SWzvYcSJh4d/SGLIOQfZ/CoNv6BTlI6YEQ7Nj82oDVnRpwe/Z/F1EMx42x3JAOwGBlCjeCH0BRJQbQ/opHL17w==} @@ -2491,10 +2181,6 @@ packages: resolution: {integrity: sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==} engines: {node: '>=12'} - pify@5.0.0: - resolution: {integrity: sha512-eW/gHNMlxdSP6dmG6uJip6FXN0EQBwm2clYYd8Wul42Cwu/DK8HEftzsapcNdYe2MfLiIwZqsDk2RDEsTE79hA==} - engines: {node: '>=10'} - pkg-types@1.2.1: resolution: {integrity: sha512-sQoqa8alT3nHjGuTjuKgOnvjo4cljkufdtLMnO2LBP/wRwuDlo1tkaEdMxCRhyGRPacv/ztlZgDPm2b7FAmEvw==} @@ -2510,10 +2196,6 @@ packages: resolution: {integrity: sha512-3Ybi1tAuwAP9s0r1UQ2J4n5Y0G05bJkpUIO0/bI9MhwmD70S5aTWbXGBwxHrelT+XM1k6dM0pk+SwNkpTRN7Pg==} engines: {node: ^10 || ^12 || >=14} - posthog-node@4.4.0: - resolution: {integrity: sha512-4FEFBuc4FDFkTEiCSIo7DFV0jpprlqfR/SzjVgg7E2rRvfxTW4J47IvCwSCo5C9lBeV0ujDubY/YArHG37aJIw==} - engines: {node: '>=15.0.0'} - prettier-plugin-astro@0.14.1: resolution: {integrity: sha512-RiBETaaP9veVstE4vUwSIcdATj6dKmXljouXc/DDNwBSPTp8FRkLGDSGFClKsAFeeg+13SB0Z1JZvbD76bigJw==} engines: {node: ^14.15.0 || >=16.0.0} @@ -2668,9 +2350,6 @@ packages: s.color@0.0.15: resolution: {integrity: sha512-AUNrbEUHeKY8XsYr/DYpl+qk5+aM+DChopnWOPEzn8YKzOhv4l2zH6LzZms3tOZP3wwdOyc0RmTciyi46HLIuA==} - safe-buffer@5.2.1: - resolution: {integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==} - safer-buffer@2.1.2: resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==} @@ -2700,10 +2379,6 @@ packages: setprototypeof@1.2.0: resolution: {integrity: sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==} - sha.js@2.4.11: - resolution: {integrity: sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ==} - hasBin: true - sharp@0.33.5: resolution: {integrity: sha512-haPVm1EkS9pgvHrQ/F3Xy+hgcuMV0Wm9vfIBSiwZ05k+xgb0PkBQpGsAA/oWdDobNaZTH5ppvHtzCFbnSEwHVw==} engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0} @@ -2730,9 +2405,6 @@ packages: resolution: {integrity: sha512-tEYNll18pPKHroYSmLLrksq233j021G0giwW7P3D24jC54pQ5W5BXMsQ/Mvw1OJCmEYDgY+lrzT+3nNUtoNfXQ==} engines: {node: '>= 18'} - solid-js@1.6.12: - resolution: {integrity: sha512-JFqRobfG3q5r1l4RYVOAukk6+FWtHpXGIjgh/GEsHKweN/kK+iHOtzUALE6+P5t/jIcSNeGiVitX8gmJg+cYvQ==} - source-map-js@1.2.1: resolution: {integrity: sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==} engines: {node: '>=0.10.0'} @@ -2814,10 +2486,6 @@ packages: resolution: {integrity: sha512-5S7Va8hKfV7W5U6g3aYxXmlPoZVAwUMy9AOKyF2fVuZa2UD3qZjg578OrLRt8PcNN1PleVaL/5/yYATNL0ICUw==} engines: {node: '>=18'} - throttle-debounce@5.0.2: - resolution: {integrity: sha512-B71/4oyj61iNH0KeCamLuE2rmKuTO5byTOSVwECM5FA7TiAiAW+UqTKZ9ERueC4qvgSttUhdmq1mXC3kJqGX7A==} - engines: {node: '>=12.22'} - tiny-inflate@1.0.3: resolution: {integrity: sha512-pkY1fj1cKHb2seWDy0B16HeWyczlJA9/WW3u3c4z/NiWDsO3DOU5D7nhTLE9CF0yXv/QZFY7sEJmj24dK+Rrqw==} @@ -2879,11 +2547,6 @@ packages: typescript-auto-import-cache@0.3.3: resolution: {integrity: sha512-ojEC7+Ci1ij9eE6hp8Jl9VUNnsEKzztktP5gtYNRMrTmfXVwA1PITYYAkpxCvvupdSYa/Re51B6KMcv1CTZEUA==} - typescript@5.2.2: - resolution: {integrity: sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==} - engines: {node: '>=14.17'} - hasBin: true - typescript@5.8.3: resolution: {integrity: sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==} engines: {node: '>=14.17'} @@ -2950,16 +2613,6 @@ packages: unist-util-visit@5.0.0: resolution: {integrity: sha512-MR04uvD+07cwl/yhVuVWAtw+3GOR/knlL55Nd/wAdblk27GCVt3lqpTivy/tkJcZoNPzTwS1Y+KMojlLDhoTzg==} - universal-github-app-jwt@1.2.0: - resolution: {integrity: sha512-dncpMpnsKBk0eetwfN8D8OUHGfiDhhJ+mtsbMl+7PfW7mYjiH8LIcqRmYMtzYLgSh47HjfdBtrBwIQ/gizKR3g==} - - universal-user-agent@6.0.1: - resolution: {integrity: sha512-yCzhz6FN2wU1NiiQRogkTQszlQSlpWaw8SvVegAc+bDxbzHgh1vX8uIe8OYyMH6DwH+sdTJsgMl36+mSMdRJIQ==} - - unplugin@1.16.1: - resolution: {integrity: sha512-4/u/j4FrCKdi17jaxuJA0jClGxB1AvU2hw/IuayPc4ay1XGaJs/rbb4v5WKwAjNifjmXK9PIFyuPiaK8azyR9w==} - engines: {node: '>=14.0.0'} - unplugin@2.3.5: resolution: {integrity: sha512-RyWSb5AHmGtjjNQ6gIlA67sHOsWpsbWpwDokLwTcejVdOjEkJZh7QKu14J00gDDVSh8kGH4KYC/TNBceXFZhtw==} engines: {node: '>=18.12.0'} @@ -3836,67 +3489,6 @@ snapshots: '@img/sharp-win32-x64@0.34.2': optional: true - '@inlang/detect-json-formatting@1.0.0': - dependencies: - guess-json-indent: 2.0.0 - - '@inlang/json-types@1.1.0(@sinclair/typebox@0.31.28)': - dependencies: - '@sinclair/typebox': 0.31.28 - - '@inlang/language-tag@1.5.1': - dependencies: - '@sinclair/typebox': 0.31.28 - - '@inlang/message-lint-rule@1.4.7(@sinclair/typebox@0.31.28)': - dependencies: - '@inlang/json-types': 1.1.0(@sinclair/typebox@0.31.28) - '@inlang/language-tag': 1.5.1 - '@inlang/message': 2.1.0(@sinclair/typebox@0.31.28) - '@inlang/project-settings': 2.4.2(@sinclair/typebox@0.31.28) - '@inlang/translatable': 1.3.1 - '@sinclair/typebox': 0.31.28 - - '@inlang/message@2.1.0(@sinclair/typebox@0.31.28)': - dependencies: - '@inlang/language-tag': 1.5.1 - '@sinclair/typebox': 0.31.28 - - '@inlang/module@1.2.14(@sinclair/typebox@0.31.28)': - dependencies: - '@inlang/message-lint-rule': 1.4.7(@sinclair/typebox@0.31.28) - '@inlang/plugin': 2.4.14(@sinclair/typebox@0.31.28) - '@sinclair/typebox': 0.31.28 - - '@inlang/paraglide-astro@0.4.1(astro@5.10.2(jiti@2.4.2)(lightningcss@1.30.1)(rollup@4.44.1)(typescript@5.8.3)(yaml@2.5.1))': - dependencies: - '@inlang/paraglide-vite': 1.4.0 - astro: 5.10.2(jiti@2.4.2)(lightningcss@1.30.1)(rollup@4.44.1)(typescript@5.8.3)(yaml@2.5.1) - transitivePeerDependencies: - - babel-plugin-macros - - debug - - supports-color - - '@inlang/paraglide-js@1.11.8': - dependencies: - '@inlang/detect-json-formatting': 1.0.0 - '@inlang/language-tag': 1.5.1 - '@inlang/plugin-message-format': 2.2.0 - '@inlang/recommend-ninja': 0.1.1 - '@inlang/recommend-sherlock': 0.1.1 - '@inlang/sdk': 0.37.0 - '@lix-js/client': 2.2.1 - '@lix-js/fs': 2.2.0 - commander: 11.1.0 - consola: 3.2.3 - dedent: 1.5.1 - json5: 2.2.3 - posthog-node: 4.4.0 - transitivePeerDependencies: - - babel-plugin-macros - - debug - - supports-color - '@inlang/paraglide-js@2.1.0': dependencies: '@inlang/recommend-sherlock': 0.2.1 @@ -3909,143 +3501,10 @@ snapshots: transitivePeerDependencies: - babel-plugin-macros - '@inlang/paraglide-unplugin@1.9.5': - dependencies: - '@inlang/paraglide-js': 1.11.8 - '@inlang/sdk': 0.37.0 - '@lix-js/client': 2.2.1 - typescript: 5.8.3 - unplugin: 1.16.1 - transitivePeerDependencies: - - babel-plugin-macros - - debug - - supports-color - - '@inlang/paraglide-vite@1.4.0': - dependencies: - '@inlang/paraglide-unplugin': 1.9.5 - transitivePeerDependencies: - - babel-plugin-macros - - debug - - supports-color - - '@inlang/plugin-message-format@2.2.0': {} - - '@inlang/plugin@2.4.14(@sinclair/typebox@0.31.28)': - dependencies: - '@inlang/json-types': 1.1.0(@sinclair/typebox@0.31.28) - '@inlang/language-tag': 1.5.1 - '@inlang/message': 2.1.0(@sinclair/typebox@0.31.28) - '@inlang/project-settings': 2.4.2(@sinclair/typebox@0.31.28) - '@inlang/translatable': 1.3.1 - '@lix-js/fs': 2.2.0 - '@sinclair/typebox': 0.31.28 - - '@inlang/project-settings@2.4.2(@sinclair/typebox@0.31.28)': - dependencies: - '@inlang/json-types': 1.1.0(@sinclair/typebox@0.31.28) - '@inlang/language-tag': 1.5.1 - '@sinclair/typebox': 0.31.28 - - '@inlang/recommend-ninja@0.1.1': - dependencies: - '@inlang/sdk': 0.36.3 - '@lix-js/client': 2.2.1 - '@lix-js/fs': 2.2.0 - '@sinclair/typebox': 0.31.28 - js-yaml: 4.1.0 - transitivePeerDependencies: - - babel-plugin-macros - - supports-color - - '@inlang/recommend-sherlock@0.1.1': - dependencies: - '@inlang/sdk': 0.36.4 - '@lix-js/fs': 2.2.0 - '@sinclair/typebox': 0.31.28 - comment-json: 4.2.5 - transitivePeerDependencies: - - babel-plugin-macros - - supports-color - '@inlang/recommend-sherlock@0.2.1': dependencies: comment-json: 4.2.5 - '@inlang/result@1.1.0': {} - - '@inlang/sdk@0.36.3': - dependencies: - '@inlang/json-types': 1.1.0(@sinclair/typebox@0.31.28) - '@inlang/language-tag': 1.5.1 - '@inlang/message': 2.1.0(@sinclair/typebox@0.31.28) - '@inlang/message-lint-rule': 1.4.7(@sinclair/typebox@0.31.28) - '@inlang/module': 1.2.14(@sinclair/typebox@0.31.28) - '@inlang/plugin': 2.4.14(@sinclair/typebox@0.31.28) - '@inlang/project-settings': 2.4.2(@sinclair/typebox@0.31.28) - '@inlang/result': 1.1.0 - '@inlang/translatable': 1.3.1 - '@lix-js/client': 2.2.1 - '@lix-js/fs': 2.2.0 - '@sinclair/typebox': 0.31.28 - debug: 4.4.0 - dedent: 1.5.1 - deepmerge-ts: 5.1.0 - murmurhash3js: 3.0.1 - solid-js: 1.6.12 - throttle-debounce: 5.0.2 - transitivePeerDependencies: - - babel-plugin-macros - - supports-color - - '@inlang/sdk@0.36.4': - dependencies: - '@inlang/json-types': 1.1.0(@sinclair/typebox@0.31.28) - '@inlang/language-tag': 1.5.1 - '@inlang/message': 2.1.0(@sinclair/typebox@0.31.28) - '@inlang/message-lint-rule': 1.4.7(@sinclair/typebox@0.31.28) - '@inlang/module': 1.2.14(@sinclair/typebox@0.31.28) - '@inlang/plugin': 2.4.14(@sinclair/typebox@0.31.28) - '@inlang/project-settings': 2.4.2(@sinclair/typebox@0.31.28) - '@inlang/result': 1.1.0 - '@inlang/translatable': 1.3.1 - '@lix-js/client': 2.2.1 - '@lix-js/fs': 2.2.0 - '@sinclair/typebox': 0.31.28 - debug: 4.4.0 - dedent: 1.5.1 - deepmerge-ts: 5.1.0 - murmurhash3js: 3.0.1 - solid-js: 1.6.12 - throttle-debounce: 5.0.2 - transitivePeerDependencies: - - babel-plugin-macros - - supports-color - - '@inlang/sdk@0.37.0': - dependencies: - '@inlang/json-types': 1.1.0(@sinclair/typebox@0.31.28) - '@inlang/language-tag': 1.5.1 - '@inlang/message': 2.1.0(@sinclair/typebox@0.31.28) - '@inlang/message-lint-rule': 1.4.7(@sinclair/typebox@0.31.28) - '@inlang/module': 1.2.14(@sinclair/typebox@0.31.28) - '@inlang/plugin': 2.4.14(@sinclair/typebox@0.31.28) - '@inlang/project-settings': 2.4.2(@sinclair/typebox@0.31.28) - '@inlang/result': 1.1.0 - '@inlang/translatable': 1.3.1 - '@lix-js/client': 2.2.1 - '@lix-js/fs': 2.2.0 - '@sinclair/typebox': 0.31.28 - debug: 4.4.0 - dedent: 1.5.1 - deepmerge-ts: 5.1.0 - murmurhash3js: 3.0.1 - solid-js: 1.6.12 - throttle-debounce: 5.0.2 - transitivePeerDependencies: - - babel-plugin-macros - - supports-color - '@inlang/sdk@2.4.9': dependencies: '@lix-js/sdk': 0.4.7 @@ -4056,10 +3515,6 @@ snapshots: transitivePeerDependencies: - babel-plugin-macros - '@inlang/translatable@1.3.1': - dependencies: - '@inlang/language-tag': 1.5.1 - '@isaacs/fs-minipass@4.0.1': dependencies: minipass: 7.1.2 @@ -4081,22 +3536,6 @@ snapshots: '@jridgewell/resolve-uri': 3.1.2 '@jridgewell/sourcemap-codec': 1.5.0 - '@lix-js/client@2.2.1': - dependencies: - '@lix-js/fs': 2.2.0 - async-lock: 1.4.1 - clean-git-ref: 2.0.1 - crc-32: 1.2.2 - ignore: 5.3.1 - octokit: 3.1.2 - pako: 1.0.11 - pify: 5.0.0 - sha.js: 2.4.11 - - '@lix-js/fs@2.2.0': - dependencies: - typescript: 5.2.2 - '@lix-js/sdk@0.4.7': dependencies: '@lix-js/server-protocol-schema': 0.1.1 @@ -4153,166 +3592,6 @@ snapshots: '@nodelib/fs.scandir': 2.1.5 fastq: 1.17.1 - '@octokit/app@14.1.0': - dependencies: - '@octokit/auth-app': 6.1.2 - '@octokit/auth-unauthenticated': 5.0.1 - '@octokit/core': 5.2.0 - '@octokit/oauth-app': 6.1.0 - '@octokit/plugin-paginate-rest': 9.2.1(@octokit/core@5.2.0) - '@octokit/types': 12.6.0 - '@octokit/webhooks': 12.3.1 - - '@octokit/auth-app@6.1.2': - dependencies: - '@octokit/auth-oauth-app': 7.1.0 - '@octokit/auth-oauth-user': 4.1.0 - '@octokit/request': 8.4.0 - '@octokit/request-error': 5.1.0 - '@octokit/types': 13.6.1 - deprecation: 2.3.1 - lru-cache: 10.4.3 - universal-github-app-jwt: 1.2.0 - universal-user-agent: 6.0.1 - - '@octokit/auth-oauth-app@7.1.0': - dependencies: - '@octokit/auth-oauth-device': 6.1.0 - '@octokit/auth-oauth-user': 4.1.0 - '@octokit/request': 8.4.0 - '@octokit/types': 13.6.1 - '@types/btoa-lite': 1.0.2 - btoa-lite: 1.0.0 - universal-user-agent: 6.0.1 - - '@octokit/auth-oauth-device@6.1.0': - dependencies: - '@octokit/oauth-methods': 4.1.0 - '@octokit/request': 8.4.0 - '@octokit/types': 13.6.1 - universal-user-agent: 6.0.1 - - '@octokit/auth-oauth-user@4.1.0': - dependencies: - '@octokit/auth-oauth-device': 6.1.0 - '@octokit/oauth-methods': 4.1.0 - '@octokit/request': 8.4.0 - '@octokit/types': 13.6.1 - btoa-lite: 1.0.0 - universal-user-agent: 6.0.1 - - '@octokit/auth-token@4.0.0': {} - - '@octokit/auth-unauthenticated@5.0.1': - dependencies: - '@octokit/request-error': 5.1.0 - '@octokit/types': 12.6.0 - - '@octokit/core@5.2.0': - dependencies: - '@octokit/auth-token': 4.0.0 - '@octokit/graphql': 7.1.0 - '@octokit/request': 8.4.0 - '@octokit/request-error': 5.1.0 - '@octokit/types': 13.6.1 - before-after-hook: 2.2.3 - universal-user-agent: 6.0.1 - - '@octokit/endpoint@9.0.5': - dependencies: - '@octokit/types': 13.6.1 - universal-user-agent: 6.0.1 - - '@octokit/graphql@7.1.0': - dependencies: - '@octokit/request': 8.4.0 - '@octokit/types': 13.6.1 - universal-user-agent: 6.0.1 - - '@octokit/oauth-app@6.1.0': - dependencies: - '@octokit/auth-oauth-app': 7.1.0 - '@octokit/auth-oauth-user': 4.1.0 - '@octokit/auth-unauthenticated': 5.0.1 - '@octokit/core': 5.2.0 - '@octokit/oauth-authorization-url': 6.0.2 - '@octokit/oauth-methods': 4.1.0 - '@types/aws-lambda': 8.10.145 - universal-user-agent: 6.0.1 - - '@octokit/oauth-authorization-url@6.0.2': {} - - '@octokit/oauth-methods@4.1.0': - dependencies: - '@octokit/oauth-authorization-url': 6.0.2 - '@octokit/request': 8.4.0 - '@octokit/request-error': 5.1.0 - '@octokit/types': 13.6.1 - btoa-lite: 1.0.0 - - '@octokit/openapi-types@20.0.0': {} - - '@octokit/openapi-types@22.2.0': {} - - '@octokit/plugin-paginate-graphql@4.0.1(@octokit/core@5.2.0)': - dependencies: - '@octokit/core': 5.2.0 - - '@octokit/plugin-paginate-rest@9.2.1(@octokit/core@5.2.0)': - dependencies: - '@octokit/core': 5.2.0 - '@octokit/types': 12.6.0 - - '@octokit/plugin-rest-endpoint-methods@10.4.1(@octokit/core@5.2.0)': - dependencies: - '@octokit/core': 5.2.0 - '@octokit/types': 12.6.0 - - '@octokit/plugin-retry@6.0.1(@octokit/core@5.2.0)': - dependencies: - '@octokit/core': 5.2.0 - '@octokit/request-error': 5.1.0 - '@octokit/types': 12.6.0 - bottleneck: 2.19.5 - - '@octokit/plugin-throttling@8.2.0(@octokit/core@5.2.0)': - dependencies: - '@octokit/core': 5.2.0 - '@octokit/types': 12.6.0 - bottleneck: 2.19.5 - - '@octokit/request-error@5.1.0': - dependencies: - '@octokit/types': 13.6.1 - deprecation: 2.3.1 - once: 1.4.0 - - '@octokit/request@8.4.0': - dependencies: - '@octokit/endpoint': 9.0.5 - '@octokit/request-error': 5.1.0 - '@octokit/types': 13.6.1 - universal-user-agent: 6.0.1 - - '@octokit/types@12.6.0': - dependencies: - '@octokit/openapi-types': 20.0.0 - - '@octokit/types@13.6.1': - dependencies: - '@octokit/openapi-types': 22.2.0 - - '@octokit/webhooks-methods@4.1.0': {} - - '@octokit/webhooks-types@7.6.1': {} - - '@octokit/webhooks@12.3.1': - dependencies: - '@octokit/request-error': 5.1.0 - '@octokit/webhooks-methods': 4.1.0 - '@octokit/webhooks-types': 7.6.1 - aggregate-error: 3.1.0 - '@oslojs/encoding@1.1.0': {} '@rollup/pluginutils@5.1.4(rollup@4.44.1)': @@ -4535,10 +3814,6 @@ snapshots: dependencies: '@types/estree': 1.0.6 - '@types/aws-lambda@8.10.145': {} - - '@types/btoa-lite@1.0.2': {} - '@types/debug@4.1.12': dependencies: '@types/ms': 0.7.34 @@ -4559,10 +3834,6 @@ snapshots: dependencies: '@types/unist': 3.0.3 - '@types/jsonwebtoken@9.0.7': - dependencies: - '@types/node': 22.7.5 - '@types/mdast@4.0.4': dependencies: '@types/unist': 3.0.3 @@ -4659,11 +3930,6 @@ snapshots: acorn@8.15.0: {} - aggregate-error@3.1.0: - dependencies: - clean-stack: 2.2.0 - indent-string: 4.0.0 - ajv@8.17.1: dependencies: fast-deep-equal: 3.1.3 @@ -4811,8 +4077,6 @@ snapshots: - uploadthing - yaml - async-lock@1.4.1: {} - asynckit@0.4.0: {} axios@1.7.7: @@ -4831,14 +4095,10 @@ snapshots: base64-js@1.5.1: {} - before-after-hook@2.2.3: {} - blob-to-buffer@1.2.9: {} boolbase@1.0.0: {} - bottleneck@2.19.5: {} - boxen@8.0.1: dependencies: ansi-align: 3.0.1 @@ -4858,12 +4118,8 @@ snapshots: dependencies: base64-js: 1.5.1 - btoa-lite@1.0.0: {} - buffer-crc32@0.2.13: {} - buffer-equal-constant-time@1.0.1: {} - camelcase@8.0.0: {} ccount@2.0.1: {} @@ -4915,10 +4171,6 @@ snapshots: ci-info@4.2.0: {} - clean-git-ref@2.0.1: {} - - clean-stack@2.2.0: {} - cli-boxes@3.0.0: {} cliui@8.0.1: @@ -4971,8 +4223,6 @@ snapshots: confbox@0.1.8: {} - consola@3.2.3: {} - consola@3.4.0: {} cookie-es@1.2.2: {} @@ -4981,8 +4231,6 @@ snapshots: core-util-is@1.0.3: {} - crc-32@1.2.2: {} - cross-fetch@3.2.0: dependencies: node-fetch: 2.7.0 @@ -5024,8 +4272,6 @@ snapshots: dependencies: css-tree: 2.2.1 - csstype@3.1.3: {} - daisyui@5.0.43: {} dayjs@1.11.13: {} @@ -5046,8 +4292,6 @@ snapshots: dedent@1.5.1: {} - deepmerge-ts@5.1.0: {} - deepmerge@4.3.1: {} defu@6.1.4: {} @@ -5056,8 +4300,6 @@ snapshots: depd@2.0.0: {} - deprecation@2.3.1: {} - dequal@2.0.3: {} destr@2.0.3: {} @@ -5104,10 +4346,6 @@ snapshots: dset@3.1.4: {} - ecdsa-sig-formatter@1.0.11: - dependencies: - safe-buffer: 5.2.1 - ee-first@1.1.1: {} emmet@2.4.11: @@ -5330,8 +4568,6 @@ snapshots: graceful-fs@4.2.11: {} - guess-json-indent@2.0.0: {} - h3@1.15.3: dependencies: cookie-es: 1.2.2 @@ -5501,12 +4737,8 @@ snapshots: dependencies: safer-buffer: 2.1.2 - ignore@5.3.1: {} - import-meta-resolve@4.1.0: {} - indent-string@4.0.0: {} - inherits@2.0.4: {} inline-style-parser@0.1.1: {} @@ -5570,30 +4802,6 @@ snapshots: jsonc-parser@3.3.1: {} - jsonwebtoken@9.0.2: - dependencies: - jws: 3.2.2 - lodash.includes: 4.3.0 - lodash.isboolean: 3.0.3 - lodash.isinteger: 4.0.4 - lodash.isnumber: 3.0.3 - lodash.isplainobject: 4.0.6 - lodash.isstring: 4.0.1 - lodash.once: 4.1.1 - ms: 2.1.3 - semver: 7.7.1 - - jwa@1.4.1: - dependencies: - buffer-equal-constant-time: 1.0.1 - ecdsa-sig-formatter: 1.0.11 - safe-buffer: 5.2.1 - - jws@3.2.2: - dependencies: - jwa: 1.4.1 - safe-buffer: 5.2.1 - kleur@3.0.3: {} kleur@4.1.5: {} @@ -5656,22 +4864,10 @@ snapshots: lodash.castarray@4.4.0: {} - lodash.includes@4.3.0: {} - - lodash.isboolean@3.0.3: {} - - lodash.isinteger@4.0.4: {} - - lodash.isnumber@3.0.3: {} - lodash.isplainobject@4.0.6: {} - lodash.isstring@4.0.1: {} - lodash.merge@4.6.2: {} - lodash.once@4.1.1: {} - lodash@4.17.21: {} longest-streak@3.1.0: {} @@ -6191,8 +5387,6 @@ snapshots: muggle-string@0.4.1: {} - murmurhash3js@3.0.1: {} - nanoid@3.3.11: {} nanoid@3.3.8: {} @@ -6224,19 +5418,6 @@ snapshots: dependencies: boolbase: 1.0.0 - octokit@3.1.2: - dependencies: - '@octokit/app': 14.1.0 - '@octokit/core': 5.2.0 - '@octokit/oauth-app': 6.1.0 - '@octokit/plugin-paginate-graphql': 4.0.1(@octokit/core@5.2.0) - '@octokit/plugin-paginate-rest': 9.2.1(@octokit/core@5.2.0) - '@octokit/plugin-rest-endpoint-methods': 10.4.1(@octokit/core@5.2.0) - '@octokit/plugin-retry': 6.0.1(@octokit/core@5.2.0) - '@octokit/plugin-throttling': 8.2.0(@octokit/core@5.2.0) - '@octokit/request-error': 5.1.0 - '@octokit/types': 12.6.0 - ofetch@1.4.1: dependencies: destr: 2.0.3 @@ -6278,8 +5459,6 @@ snapshots: pako@0.2.9: {} - pako@1.0.11: {} - parse-entities@4.0.1: dependencies: '@types/unist': 2.0.11 @@ -6332,8 +5511,6 @@ snapshots: picomatch@4.0.2: {} - pify@5.0.0: {} - pkg-types@1.2.1: dependencies: confbox: 0.1.8 @@ -6357,15 +5534,9 @@ snapshots: picocolors: 1.1.1 source-map-js: 1.2.1 - posthog-node@4.4.0: - dependencies: - axios: 1.7.7 - transitivePeerDependencies: - - debug - prettier-plugin-astro@0.14.1: dependencies: - '@astrojs/compiler': 2.10.3 + '@astrojs/compiler': 2.12.2 prettier: 3.6.2 sass-formatter: 0.7.9 optional: true @@ -6603,8 +5774,6 @@ snapshots: s.color@0.0.15: optional: true - safe-buffer@5.2.1: {} - safer-buffer@2.1.2: {} sass-formatter@0.7.9: @@ -6638,11 +5807,6 @@ snapshots: setprototypeof@1.2.0: {} - sha.js@2.4.11: - dependencies: - inherits: 2.0.4 - safe-buffer: 5.2.1 - sharp@0.33.5: dependencies: color: 4.2.3 @@ -6724,10 +5888,6 @@ snapshots: smol-toml@1.3.1: {} - solid-js@1.6.12: - dependencies: - csstype: 3.1.3 - source-map-js@1.2.1: {} source-map@0.7.4: {} @@ -6837,8 +5997,6 @@ snapshots: mkdirp: 3.0.1 yallist: 5.0.0 - throttle-debounce@5.0.2: {} - tiny-inflate@1.0.3: {} tinyexec@0.3.2: {} @@ -6883,8 +6041,6 @@ snapshots: dependencies: semver: 7.7.1 - typescript@5.2.2: {} - typescript@5.8.3: {} ufo@1.5.4: {} @@ -6971,18 +6127,6 @@ snapshots: unist-util-is: 6.0.0 unist-util-visit-parents: 6.0.1 - universal-github-app-jwt@1.2.0: - dependencies: - '@types/jsonwebtoken': 9.0.7 - jsonwebtoken: 9.0.2 - - universal-user-agent@6.0.1: {} - - unplugin@1.16.1: - dependencies: - acorn: 8.14.0 - webpack-virtual-modules: 0.6.2 - unplugin@2.3.5: dependencies: acorn: 8.15.0 diff --git a/project.inlang/settings.json b/project.inlang/settings.json index 5e22712..33eae43 100644 --- a/project.inlang/settings.json +++ b/project.inlang/settings.json @@ -1,15 +1,15 @@ { "$schema": "https://inlang.com/schema/project-settings", - "sourceLanguageTag": "nb", - "languageTags": ["nb", "en"], + "baseLocale": "nb", + "locales": [ + "nb", + "en" + ], "modules": [ - "https://cdn.jsdelivr.net/npm/@inlang/message-lint-rule-empty-pattern@latest/dist/index.js", - "https://cdn.jsdelivr.net/npm/@inlang/message-lint-rule-missing-translation@latest/dist/index.js", - "https://cdn.jsdelivr.net/npm/@inlang/message-lint-rule-without-source@latest/dist/index.js", - "https://cdn.jsdelivr.net/npm/@inlang/plugin-message-format@latest/dist/index.js", - "https://cdn.jsdelivr.net/npm/@inlang/plugin-m-function-matcher@latest/dist/index.js" + "https://cdn.jsdelivr.net/npm/@inlang/plugin-message-format@4/dist/index.js", + "https://cdn.jsdelivr.net/npm/@inlang/plugin-m-function-matcher@2/dist/index.js" ], "plugin.inlang.messageFormat": { - "pathPattern": "./messages/{languageTag}.json" + "pathPattern": "./messages/{locale}.json" } } diff --git a/src/components/Breadcrumb.astro b/src/components/Breadcrumb.astro index 46ca902..05c8c96 100644 --- a/src/components/Breadcrumb.astro +++ b/src/components/Breadcrumb.astro @@ -1,8 +1,9 @@ --- -import { type NavLink, resolvePathname } from "@/utils/linking" +import { type NavLink } from "@/utils/linking" import LocaleLink from "@/components/links/LocaleLink.astro" +import { deLocalizeHref } from "@/paraglide/runtime.js" -const pathname = resolvePathname(Astro.originPathname) +const pathname = deLocalizeHref(Astro.originPathname) let paths: string[] if (pathname === "/") { @@ -25,13 +26,13 @@ function getLink(path: string): NavLink { { paths.map((path, index) => ( - {index != paths.length - 1 ? ( + { index != paths.length - 1 ? ( - {path}/ + { path }/ ) : ( path - )} + ) } )) } diff --git a/src/components/LanguageButtonGroup.astro b/src/components/LanguageButtonGroup.astro index 099b0ea..75f7f22 100644 --- a/src/components/LanguageButtonGroup.astro +++ b/src/components/LanguageButtonGroup.astro @@ -1,9 +1,10 @@ --- import LocaleLink from "./links/LocaleLink.astro" -import { type NavLink, resolvePathname } from "@/utils/linking" +import { type NavLink } from "@/utils/linking" +import { deLocalizeHref } from "@/paraglide/runtime" const pathname = Astro.url.pathname -const currentPath = resolvePathname(pathname) +const currentPath = deLocalizeHref(pathname) const isEnglish = pathname.startsWith("/en") --- diff --git a/src/components/header/Header.astro b/src/components/header/Header.astro index 1a7f04e..8e1c897 100644 --- a/src/components/header/Header.astro +++ b/src/components/header/Header.astro @@ -3,9 +3,9 @@ import Navbar from "./Navbar.astro" import NavbarDrawer from "./NavbarDrawer.astro" import HamburgerMenuButton from "./HamburgerMenuButton.astro" import Breadcrumb from "../Breadcrumb.astro" -import { resolvePathname } from "@/utils/linking" +import { deLocalizeHref } from "@/paraglide/runtime" -const currentPath = `~${resolvePathname(Astro.originPathname)}` +const currentPath = `~${deLocalizeHref(Astro.originPathname)}` const drawerToggleId = "header-drawer" --- diff --git a/src/components/links/LocaleLink.astro b/src/components/links/LocaleLink.astro index e8e25af..47f7a04 100644 --- a/src/components/links/LocaleLink.astro +++ b/src/components/links/LocaleLink.astro @@ -1,16 +1,16 @@ --- -import { languageTag, type AvailableLanguageTag } from "@/paraglide/runtime" -import { localizePathname, type NavLink } from "@/utils/linking" +import { localizeHref, getLocale, type Locale } from "@/paraglide/runtime" +import { type NavLink } from "@/utils/linking" import type { ComponentProps } from "@/types/props" interface Props extends ComponentProps { to: NavLink - lang?: AvailableLanguageTag + lang?: Locale } -const { to, class: clazz, lang = languageTag() } = Astro.props +const { to, class: clazz, lang = getLocale() } = Astro.props --- - + diff --git a/src/components/projects/ProjectPage.astro b/src/components/projects/ProjectPage.astro index 1b8ec63..b9cab53 100644 --- a/src/components/projects/ProjectPage.astro +++ b/src/components/projects/ProjectPage.astro @@ -3,7 +3,7 @@ import * as m from "@/paraglide/messages" import Layout from "@/layouts/Layout.astro" import BadgeList from "@/components/badge/BadgeList.astro" import GiteaLink from "@/components/links/GiteaLink.astro" -import { languageTag } from "@/paraglide/runtime" +import { getLocale } from "@/paraglide/runtime" import { getEntry, render } from "astro:content" import { Image } from "astro:assets" import dayjs from "dayjs" @@ -35,10 +35,10 @@ const { function localeDateString(isoString: string): string { let template = "DD-MM-YYYY" - if (languageTag() === "nb") { + if (getLocale() === "nb") { template = "DD/MM/YYYY" } - return dayjs(isoString).locale(languageTag()).format(template) + return dayjs(isoString).locale(getLocale()).format(template) } --- diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index 285e2e9..97cae23 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -2,7 +2,7 @@ import Footer from "@/components/Footer.astro" import Header from "@/components/header/Header.astro" import Breadcrumb from "@/components/Breadcrumb.astro" -import { languageTag } from "@/paraglide/runtime" +import { getLocale } from "@/paraglide/runtime" interface Props { title: string @@ -16,7 +16,7 @@ const mainClass = --- - + diff --git a/src/utils/linking.ts b/src/utils/linking.ts index 9e75113..a9fd8a2 100644 --- a/src/utils/linking.ts +++ b/src/utils/linking.ts @@ -1,4 +1,3 @@ -import type { AvailableLanguageTag } from "@/paraglide/runtime.js" import type { AbsolutePathname, Project } from "@/types/types.ts" interface TranslatedPathnames { @@ -22,8 +21,6 @@ const paths: Set = new Set([ "/uses", ]) -const projectPaths: Set = new Set(["homepage", "sb1budget"]) - /** * Defines the localized pathnames for the site. * The key must be used to navigate to the correct path. @@ -38,49 +35,3 @@ for (const path of paths) { en: `/en${path}`, } } - -export function localizePathname( - pathname: NavLink, - locale: AvailableLanguageTag, -): string { - const pathnameParts = pathname.split("/") - const firstSegment: AbsolutePathname = `/${pathnameParts[1]}` - - if (pathnames[firstSegment]) { - const localizedPathname = pathnames[firstSegment][locale] - - const rest = pathnameParts.slice(2) - if (rest.length > 0) { - return `${localizedPathname}/${rest.join("/")}` - } - return localizedPathname - } - return pathname -} - -export function resolvePathname(pathname: string): AbsolutePathname { - if (pathname.startsWith("/en")) { - return pathname.slice(3) as AbsolutePathname - } - return pathname as AbsolutePathname -} - -export function isAbsolutePathname(path: string): path is AbsolutePathname { - return path.startsWith("/") -} - -export function isNavLink(path: string): path is NavLink { - let basePath = path - if (path.startsWith("/en")) { - basePath = path.slice(2) - } - if (paths.has(basePath as NavLink)) { - return true - } - const pathSplit = basePath.split("/").slice(1) - return ( - pathSplit.length === 2 && - pathSplit[0] === "projects" && - projectPaths.has(pathSplit[1]) - ) -}