From fe623a50e503f6a887e25d2069c644a5cd70f2b6 Mon Sep 17 00:00:00 2001 From: Adam Matthiesen Date: Tue, 12 Mar 2024 14:14:45 -0700 Subject: [PATCH 2/6] Update Astro dependencies and configurations --- package/package.json | 8 +- package/src/astro-hashnode.ts | 3 +- package/src/definitions/astro-hashnode.d.ts | 4 +- package/src/hn-gql/client.ts | 10 +- package/src/index.ts | 2 +- package/src/layouts/Layout.astro | 5 + package/src/schemas/user-config.ts | 23 +- playground/astro.config.mjs | 1 + pnpm-lock.yaml | 534 +++++++------------- 9 files changed, 220 insertions(+), 370 deletions(-) diff --git a/package/package.json b/package/package.json index 434311f..eb6f802 100644 --- a/package/package.json +++ b/package/package.json @@ -37,21 +37,21 @@ "scripts": {}, "type": "module", "peerDependencies": { - "astro": ">=4.4.1" + "astro": "^4.4.1" }, "devDependencies": { "vite": "^5.1.5" }, "dependencies": { - "@tailwindcss/vite": "4.0.0-alpha.7", + "@tailwindcss/vite": "4.0.0-alpha.8", "astro-font": "^0.0.77", - "astro-integration-kit": "^0.5.1", + "astro-integration-kit": "^0.6.0", "astro-remote": "^0.3.2", "astro-seo": "^0.8.3", "graphql": "^16.8.1", "graphql-request": "^6.1.0", "picocolors": "^1.0.0", - "tailwindcss": "4.0.0-alpha.7", + "tailwindcss": "4.0.0-alpha.8", "ultrahtml": "^1.5.3" } } \ No newline at end of file diff --git a/package/src/astro-hashnode.ts b/package/src/astro-hashnode.ts index 486be0e..791bd78 100644 --- a/package/src/astro-hashnode.ts +++ b/package/src/astro-hashnode.ts @@ -69,8 +69,7 @@ export default defineIntegration({ hashLog("Setting up Virtual Imports and Layout Component") // Setup Layout Component - // biome-ignore lint/suspicious/noImplicitAnyLet: This is a false positive - let layoutComponentPath + let layoutComponentPath: string; if (options.layoutComponent) { layoutComponentPath = rootResolve(options.layoutComponent) diff --git a/package/src/definitions/astro-hashnode.d.ts b/package/src/definitions/astro-hashnode.d.ts index f0c9f30..e83073d 100644 --- a/package/src/definitions/astro-hashnode.d.ts +++ b/package/src/definitions/astro-hashnode.d.ts @@ -1,6 +1,6 @@ declare module 'virtual:astro-hashnode/config' { - const userConfig: import("./src/schemas/user-config").Options; - export default config as userConfig; + const Config: import("./src/schemas/user-config").Options; + export default config as Config; } declare module 'virtual:astro-hashnode/components' { diff --git a/package/src/hn-gql/client.ts b/package/src/hn-gql/client.ts index ca79c24..893b1fb 100644 --- a/package/src/hn-gql/client.ts +++ b/package/src/hn-gql/client.ts @@ -1,6 +1,6 @@ import { gql, GraphQLClient } from "graphql-request"; import type { AllPostsData, PostOrPageData, PublicationData } from "./schema"; -import Config from "virtual:astro-hashnode/config"; +import config from "virtual:astro-hashnode/config"; export const getClient = () => { return new GraphQLClient("https://gql.hashnode.com") @@ -12,7 +12,7 @@ export const getAllPosts = async () => { const allPosts = await client.request( gql` query allPosts { - publication(host: "${Config.hashnodeURL}") { + publication(host: "${config.hashnodeURL}") { title posts(first: 20) { pageInfo{ @@ -56,7 +56,7 @@ export const getPost = async (slug: string) => { const data = await client.request( gql` query postDetails($slug: String!) { - publication(host: "${Config.hashnodeURL}") { + publication(host: "${config.hashnodeURL}") { post(slug: $slug) { author{ name @@ -92,7 +92,7 @@ export const getAboutPage = async () => { const page = await client.request( gql` query pageData { - publication(host: "${Config.hashnodeURL}") { + publication(host: "${config.hashnodeURL}") { staticPage(slug: "about") { title content { @@ -114,7 +114,7 @@ export const getPublication = async () => { const data = await client.request( gql` query pubData { - publication(host: "${Config.hashnodeURL}") { + publication(host: "${config.hashnodeURL}") { title displayTitle descriptionSEO diff --git a/package/src/index.ts b/package/src/index.ts index 51a3faf..4672bf3 100644 --- a/package/src/index.ts +++ b/package/src/index.ts @@ -1,3 +1,3 @@ -import astroHashnode from "./astro-hashnode.js"; +import astroHashnode from "./astro-hashnode"; export default astroHashnode; \ No newline at end of file diff --git a/package/src/layouts/Layout.astro b/package/src/layouts/Layout.astro index 5de9461..8806c64 100644 --- a/package/src/layouts/Layout.astro +++ b/package/src/layouts/Layout.astro @@ -6,6 +6,10 @@ import { getPublication } from '../hn-gql' import { SEO } from "astro-seo"; import { AstroFont } from "astro-font"; import type { AstroHashnodeLayoutProps } from '../proptypes/layouttypes' +import { ViewTransitions } from 'astro:transitions'; +import config from "virtual:astro-hashnode/config"; + +const useTranstions:boolean = !config.disableViewTransitions; const pubData = await getPublication(); @@ -54,6 +58,7 @@ const { pageTitle, hideFooter, hideHeader, ogImage } = Astro.props as AstroHashn ] }} /> + {useTranstions && }
diff --git a/package/src/schemas/user-config.ts b/package/src/schemas/user-config.ts index 18c6b22..04868f1 100644 --- a/package/src/schemas/user-config.ts +++ b/package/src/schemas/user-config.ts @@ -1,7 +1,4 @@ import { z } from "astro/zod"; -import { createResolver } from 'astro-integration-kit'; - -const { resolve } = createResolver(import.meta.url) export function LayoutConfigSchema() { return z @@ -9,9 +6,29 @@ export function LayoutConfigSchema() { .optional() } export const optionsSchema = z.object({ + /** + * The URL of the Hashnode blog + */ hashnodeURL: z.string(), + /** + * Allows the user to disable the default landing page and use their own Astro site instead of a landing page. + * @default true + */ landingPage: z.boolean().default(true), + /** + * Allows the user to disable the Astro ViewTransitions component. + * @default false + * @see https://docs.astro.build/en/guides/view-transitions/ for more information about ViewTransitions + */ + disableViewTransitions: z.boolean().default(false), + /** + * Allows the user to change the layout component used for Astro-Hashnode pages. + */ layoutComponent: LayoutConfigSchema(), + /** + * Allows the user to enable verbose logging + * @default false + */ verbose: z.boolean().default(false), }); diff --git a/playground/astro.config.mjs b/playground/astro.config.mjs index 2c19750..48cb804 100644 --- a/playground/astro.config.mjs +++ b/playground/astro.config.mjs @@ -12,6 +12,7 @@ export default defineConfig({ astroHashnode({ hashnodeURL: "astroplayground.hashnode.dev", verbose: true, + disableViewTransitions: false, }) ], }); diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ac924eb..9a949af 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -18,17 +18,17 @@ importers: package: dependencies: '@tailwindcss/vite': - specifier: 4.0.0-alpha.7 - version: 4.0.0-alpha.7 + specifier: 4.0.0-alpha.8 + version: 4.0.0-alpha.8 astro: - specifier: '>=4.4.1' - version: 4.4.15(typescript@5.4.2) + specifier: ^4.4.1 + version: 4.5.2(@types/node@20.11.26)(typescript@5.4.2) astro-font: specifier: ^0.0.77 version: 0.0.77 astro-integration-kit: - specifier: ^0.5.1 - version: 0.5.1(astro@4.4.15) + specifier: ^0.6.0 + version: 0.6.0(astro@4.5.2) astro-remote: specifier: ^0.3.2 version: 0.3.2 @@ -45,34 +45,34 @@ importers: specifier: ^1.0.0 version: 1.0.0 tailwindcss: - specifier: 4.0.0-alpha.7 - version: 4.0.0-alpha.7 + specifier: 4.0.0-alpha.8 + version: 4.0.0-alpha.8 ultrahtml: specifier: ^1.5.3 version: 1.5.3 devDependencies: vite: specifier: ^5.1.5 - version: 5.1.5(@types/node@20.11.25) + version: 5.1.6(@types/node@20.11.26) playground: dependencies: '@astrojs/node': specifier: 8.2.3 - version: 8.2.3(astro@4.5.1) + version: 8.2.3(astro@4.5.2) '@matthiesenxyz/astro-hashnode': specifier: workspace:* version: link:../package astro: specifier: ^4.5.1 - version: 4.5.1(@types/node@20.11.25)(typescript@5.4.2) + version: 4.5.2(@types/node@20.11.26)(typescript@5.4.2) devDependencies: '@astrojs/check': specifier: ^0.5.7 - version: 0.5.7(typescript@5.4.2) + version: 0.5.8(typescript@5.4.2) '@types/node': specifier: ^20.11.25 - version: 20.11.25 + version: 20.11.26 typescript: specifier: ^5.4.2 version: 5.4.2 @@ -87,13 +87,13 @@ packages: '@jridgewell/trace-mapping': 0.3.25 dev: false - /@astrojs/check@0.5.6(typescript@5.4.2): - resolution: {integrity: sha512-i7j5ogoSg/Bu2NV5zVvwCo9R4kGWXWsJDejxpCu9F7iNNlR333u8EwpP4bpeKASDtjOA1rXKo9ogUTEVlIAHqA==} + /@astrojs/check@0.5.8(typescript@5.4.2): + resolution: {integrity: sha512-O3lPUIwhlRtya8KcUDfB0+vBPgj/qVoNvTUhYTTDx0uEsHBbssO5RSFezw6KVBxps6zIR8+YAyOoRKPBhMB7KQ==} hasBin: true peerDependencies: typescript: ^5.0.0 dependencies: - '@astrojs/language-server': 2.7.6(typescript@5.4.2) + '@astrojs/language-server': 2.8.0(typescript@5.4.2) chokidar: 3.6.0 fast-glob: 3.3.2 kleur: 4.1.5 @@ -102,38 +102,16 @@ packages: transitivePeerDependencies: - prettier - prettier-plugin-astro - dev: false - - /@astrojs/check@0.5.7(typescript@5.4.2): - resolution: {integrity: sha512-ymJRoC8rb6rfCaLXej5fcgmxIdzea1xFHM2jAb15kGO2hfD/E10fzk5CTcFnuRUO38x9yYAjuFIn/y0QXdxBkA==} - hasBin: true - peerDependencies: - typescript: ^5.0.0 - dependencies: - '@astrojs/language-server': 2.7.7(typescript@5.4.2) - chokidar: 3.6.0 - fast-glob: 3.3.2 - kleur: 4.1.5 - typescript: 5.4.2 - yargs: 17.7.2 - transitivePeerDependencies: - - prettier - - prettier-plugin-astro - dev: true /@astrojs/compiler@2.7.0: resolution: {integrity: sha512-XpC8MAaWjD1ff6/IfkRq/5k1EFj6zhCNqXRd5J43SVJEBj/Bsmizkm8N0xOYscGcDFQkRgEw6/eKnI5x/1l6aA==} - /@astrojs/internal-helpers@0.2.1: - resolution: {integrity: sha512-06DD2ZnItMwUnH81LBLco3tWjcZ1lGU9rLCCBaeUCGYe9cI0wKyY2W3kDyoW1I6GmcWgt1fu+D1CTvz+FIKf8A==} - dev: false - /@astrojs/internal-helpers@0.3.0: resolution: {integrity: sha512-tGmHvrhpzuz0JBHaJX8GywN9g4rldVNHtkoVDC3m/DdzBO70jGoVuc0uuNVglRYnsdwkbG0K02Iw3nOOR3/Y4g==} dev: false - /@astrojs/language-server@2.7.6(typescript@5.4.2): - resolution: {integrity: sha512-NhMSmMAuKBMXnvpfn9eYPR7R6zOasAjRb+ta8L+rCHHuKzUc0lBgAF5M6rx01FJqlpGqeqao13eYt4287Ze49g==} + /@astrojs/language-server@2.8.0(typescript@5.4.2): + resolution: {integrity: sha512-WFRwvsWNCQ2I+DEJzRkF/uX0LeJN/oGabr0hnwec8alQzHbzyoqogHmE+i+cU8Mb34ouwsLXa/LlqjEqFbkSZw==} hasBin: true peerDependencies: prettier: ^3.0.0 @@ -146,76 +124,22 @@ packages: dependencies: '@astrojs/compiler': 2.7.0 '@jridgewell/sourcemap-codec': 1.4.15 - '@volar/kit': 2.0.4(typescript@5.4.2) - '@volar/language-core': 2.0.4 - '@volar/language-server': 2.0.4 - '@volar/language-service': 2.0.4 - '@volar/typescript': 2.0.4 + '@volar/kit': 2.1.2(typescript@5.4.2) + '@volar/language-core': 2.1.2 + '@volar/language-server': 2.1.2 + '@volar/language-service': 2.1.2 + '@volar/typescript': 2.1.2 fast-glob: 3.3.2 - volar-service-css: 0.0.30(@volar/language-service@2.0.4) - volar-service-emmet: 0.0.30(@volar/language-service@2.0.4) - volar-service-html: 0.0.30(@volar/language-service@2.0.4) - volar-service-prettier: 0.0.30(@volar/language-service@2.0.4) - volar-service-typescript: 0.0.30(@volar/language-service@2.0.4)(@volar/typescript@2.0.4) - volar-service-typescript-twoslash-queries: 0.0.30(@volar/language-service@2.0.4) + volar-service-css: 0.0.31(@volar/language-service@2.1.2) + volar-service-emmet: 0.0.31(@volar/language-service@2.1.2) + volar-service-html: 0.0.31(@volar/language-service@2.1.2) + volar-service-prettier: 0.0.31-patch.1(@volar/language-service@2.1.2) + volar-service-typescript: 0.0.31(@volar/language-service@2.1.2)(@volar/typescript@2.1.2) + volar-service-typescript-twoslash-queries: 0.0.31(@volar/language-service@2.1.2) vscode-html-languageservice: 5.1.2 vscode-uri: 3.0.8 transitivePeerDependencies: - typescript - dev: false - - /@astrojs/language-server@2.7.7(typescript@5.4.2): - resolution: {integrity: sha512-1DdYlIGqzIpuHFMECDCFrOYvwhrRGnB7mCwSSyNdIUXFx9QIUgFJoZUR2/gYk0y8L2hpwm7Wa5d8NuiRv5V9kg==} - hasBin: true - peerDependencies: - prettier: ^3.0.0 - prettier-plugin-astro: '>=0.11.0' - peerDependenciesMeta: - prettier: - optional: true - prettier-plugin-astro: - optional: true - dependencies: - '@astrojs/compiler': 2.7.0 - '@jridgewell/sourcemap-codec': 1.4.15 - '@volar/kit': 2.0.4(typescript@5.4.2) - '@volar/language-core': 2.0.4 - '@volar/language-server': 2.0.4 - '@volar/language-service': 2.0.4 - '@volar/typescript': 2.0.4 - fast-glob: 3.3.2 - volar-service-css: 0.0.30(@volar/language-service@2.0.4) - volar-service-emmet: 0.0.30(@volar/language-service@2.0.4) - volar-service-html: 0.0.30(@volar/language-service@2.0.4) - volar-service-prettier: 0.0.30(@volar/language-service@2.0.4) - volar-service-typescript: 0.0.30(@volar/language-service@2.0.4)(@volar/typescript@2.0.4) - volar-service-typescript-twoslash-queries: 0.0.30(@volar/language-service@2.0.4) - vscode-html-languageservice: 5.1.2 - vscode-uri: 3.0.8 - transitivePeerDependencies: - - typescript - dev: true - - /@astrojs/markdown-remark@4.2.1: - resolution: {integrity: sha512-2RQBIwrq+2qPYtp99bH+eL5hfbK0BoxXla85lHsRpIX/IsGqFrPX6pXI2cbWPihBwGbKCdxS6uZNX2QerZWwpQ==} - dependencies: - '@astrojs/prism': 3.0.0 - github-slugger: 2.0.0 - import-meta-resolve: 4.0.0 - mdast-util-definitions: 6.0.0 - rehype-raw: 7.0.0 - rehype-stringify: 10.0.0 - remark-gfm: 4.0.0 - remark-parse: 11.0.0 - remark-rehype: 11.1.0 - remark-smartypants: 2.1.0 - shikiji: 0.9.19 - unified: 11.0.4 - unist-util-visit: 5.0.0 - vfile: 6.0.1 - transitivePeerDependencies: - - supports-color - dev: false /@astrojs/markdown-remark@4.3.0: resolution: {integrity: sha512-iZOgYj/yNDvBRfKqkGuAvjeONhjQPq8Uk3HjyIgcTK5valq03NiUgSc5Ovq00yUVBeYJ/5EDx23c8xqtkkBlPw==} @@ -242,12 +166,12 @@ packages: - supports-color dev: false - /@astrojs/node@8.2.3(astro@4.5.1): + /@astrojs/node@8.2.3(astro@4.5.2): resolution: {integrity: sha512-VQQy7QIv4X+5dlKCEchYIxMFryS+BwDOFGNzeRmHe1/P819TlNup9/M8XqnWW4aZPxV7P6CoDeFxX6HuT/kOmQ==} peerDependencies: astro: ^4.2.0 dependencies: - astro: 4.5.1(@types/node@20.11.25)(typescript@5.4.2) + astro: 4.5.2(@types/node@20.11.26)(typescript@5.4.2) send: 0.18.0 server-destroy: 1.0.1 transitivePeerDependencies: @@ -1032,10 +956,6 @@ packages: read-yaml-file: 1.1.0 dev: true - /@medv/finder@3.2.0: - resolution: {integrity: sha512-JmU7JIBwyL8RAzefvzALT4sP2M0biGk8i2invAgpQmma/QgfsaqoHIvJ7S0YC8n9hUVG8X3Leul2nGa06PvhbQ==} - dev: false - /@nodelib/fs.scandir@2.1.5: resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==} engines: {node: '>= 8'} @@ -1054,92 +974,92 @@ packages: '@nodelib/fs.scandir': 2.1.5 fastq: 1.17.1 - /@rollup/rollup-android-arm-eabi@4.12.1: - resolution: {integrity: sha512-iU2Sya8hNn1LhsYyf0N+L4Gf9Qc+9eBTJJJsaOGUp+7x4n2M9dxTt8UvhJl3oeftSjblSlpCfvjA/IfP3g5VjQ==} + /@rollup/rollup-android-arm-eabi@4.13.0: + resolution: {integrity: sha512-5ZYPOuaAqEH/W3gYsRkxQATBW3Ii1MfaT4EQstTnLKViLi2gLSQmlmtTpGucNP3sXEpOiI5tdGhjdE111ekyEg==} cpu: [arm] os: [android] requiresBuild: true optional: true - /@rollup/rollup-android-arm64@4.12.1: - resolution: {integrity: sha512-wlzcWiH2Ir7rdMELxFE5vuM7D6TsOcJ2Yw0c3vaBR3VOsJFVTx9xvwnAvhgU5Ii8Gd6+I11qNHwndDscIm0HXg==} + /@rollup/rollup-android-arm64@4.13.0: + resolution: {integrity: sha512-BSbaCmn8ZadK3UAQdlauSvtaJjhlDEjS5hEVVIN3A4bbl3X+otyf/kOJV08bYiRxfejP3DXFzO2jz3G20107+Q==} cpu: [arm64] os: [android] requiresBuild: true optional: true - /@rollup/rollup-darwin-arm64@4.12.1: - resolution: {integrity: sha512-YRXa1+aZIFN5BaImK+84B3uNK8C6+ynKLPgvn29X9s0LTVCByp54TB7tdSMHDR7GTV39bz1lOmlLDuedgTwwHg==} + /@rollup/rollup-darwin-arm64@4.13.0: + resolution: {integrity: sha512-Ovf2evVaP6sW5Ut0GHyUSOqA6tVKfrTHddtmxGQc1CTQa1Cw3/KMCDEEICZBbyppcwnhMwcDce9ZRxdWRpVd6g==} cpu: [arm64] os: [darwin] requiresBuild: true optional: true - /@rollup/rollup-darwin-x64@4.12.1: - resolution: {integrity: sha512-opjWJ4MevxeA8FhlngQWPBOvVWYNPFkq6/25rGgG+KOy0r8clYwL1CFd+PGwRqqMFVQ4/Qd3sQu5t7ucP7C/Uw==} + /@rollup/rollup-darwin-x64@4.13.0: + resolution: {integrity: sha512-U+Jcxm89UTK592vZ2J9st9ajRv/hrwHdnvyuJpa5A2ngGSVHypigidkQJP+YiGL6JODiUeMzkqQzbCG3At81Gg==} cpu: [x64] os: [darwin] requiresBuild: true optional: true - /@rollup/rollup-linux-arm-gnueabihf@4.12.1: - resolution: {integrity: sha512-uBkwaI+gBUlIe+EfbNnY5xNyXuhZbDSx2nzzW8tRMjUmpScd6lCQYKY2V9BATHtv5Ef2OBq6SChEP8h+/cxifQ==} + /@rollup/rollup-linux-arm-gnueabihf@4.13.0: + resolution: {integrity: sha512-8wZidaUJUTIR5T4vRS22VkSMOVooG0F4N+JSwQXWSRiC6yfEsFMLTYRFHvby5mFFuExHa/yAp9juSphQQJAijQ==} cpu: [arm] os: [linux] requiresBuild: true optional: true - /@rollup/rollup-linux-arm64-gnu@4.12.1: - resolution: {integrity: sha512-0bK9aG1kIg0Su7OcFTlexkVeNZ5IzEsnz1ept87a0TUgZ6HplSgkJAnFpEVRW7GRcikT4GlPV0pbtVedOaXHQQ==} + /@rollup/rollup-linux-arm64-gnu@4.13.0: + resolution: {integrity: sha512-Iu0Kno1vrD7zHQDxOmvweqLkAzjxEVqNhUIXBsZ8hu8Oak7/5VTPrxOEZXYC1nmrBVJp0ZcL2E7lSuuOVaE3+w==} cpu: [arm64] os: [linux] requiresBuild: true optional: true - /@rollup/rollup-linux-arm64-musl@4.12.1: - resolution: {integrity: sha512-qB6AFRXuP8bdkBI4D7UPUbE7OQf7u5OL+R94JE42Z2Qjmyj74FtDdLGeriRyBDhm4rQSvqAGCGC01b8Fu2LthQ==} + /@rollup/rollup-linux-arm64-musl@4.13.0: + resolution: {integrity: sha512-C31QrW47llgVyrRjIwiOwsHFcaIwmkKi3PCroQY5aVq4H0A5v/vVVAtFsI1nfBngtoRpeREvZOkIhmRwUKkAdw==} cpu: [arm64] os: [linux] requiresBuild: true optional: true - /@rollup/rollup-linux-riscv64-gnu@4.12.1: - resolution: {integrity: sha512-sHig3LaGlpNgDj5o8uPEoGs98RII8HpNIqFtAI8/pYABO8i0nb1QzT0JDoXF/pxzqO+FkxvwkHZo9k0NJYDedg==} + /@rollup/rollup-linux-riscv64-gnu@4.13.0: + resolution: {integrity: sha512-Oq90dtMHvthFOPMl7pt7KmxzX7E71AfyIhh+cPhLY9oko97Zf2C9tt/XJD4RgxhaGeAraAXDtqxvKE1y/j35lA==} cpu: [riscv64] os: [linux] requiresBuild: true optional: true - /@rollup/rollup-linux-x64-gnu@4.12.1: - resolution: {integrity: sha512-nD3YcUv6jBJbBNFvSbp0IV66+ba/1teuBcu+fBBPZ33sidxitc6ErhON3JNavaH8HlswhWMC3s5rgZpM4MtPqQ==} + /@rollup/rollup-linux-x64-gnu@4.13.0: + resolution: {integrity: sha512-yUD/8wMffnTKuiIsl6xU+4IA8UNhQ/f1sAnQebmE/lyQ8abjsVyDkyRkWop0kdMhKMprpNIhPmYlCxgHrPoXoA==} cpu: [x64] os: [linux] requiresBuild: true optional: true - /@rollup/rollup-linux-x64-musl@4.12.1: - resolution: {integrity: sha512-7/XVZqgBby2qp/cO0TQ8uJK+9xnSdJ9ct6gSDdEr4MfABrjTyrW6Bau7HQ73a2a5tPB7hno49A0y1jhWGDN9OQ==} + /@rollup/rollup-linux-x64-musl@4.13.0: + resolution: {integrity: sha512-9RyNqoFNdF0vu/qqX63fKotBh43fJQeYC98hCaf89DYQpv+xu0D8QFSOS0biA7cGuqJFOc1bJ+m2rhhsKcw1hw==} cpu: [x64] os: [linux] requiresBuild: true optional: true - /@rollup/rollup-win32-arm64-msvc@4.12.1: - resolution: {integrity: sha512-CYc64bnICG42UPL7TrhIwsJW4QcKkIt9gGlj21gq3VV0LL6XNb1yAdHVp1pIi9gkts9gGcT3OfUYHjGP7ETAiw==} + /@rollup/rollup-win32-arm64-msvc@4.13.0: + resolution: {integrity: sha512-46ue8ymtm/5PUU6pCvjlic0z82qWkxv54GTJZgHrQUuZnVH+tvvSP0LsozIDsCBFO4VjJ13N68wqrKSeScUKdA==} cpu: [arm64] os: [win32] requiresBuild: true optional: true - /@rollup/rollup-win32-ia32-msvc@4.12.1: - resolution: {integrity: sha512-LN+vnlZ9g0qlHGlS920GR4zFCqAwbv2lULrR29yGaWP9u7wF5L7GqWu9Ah6/kFZPXPUkpdZwd//TNR+9XC9hvA==} + /@rollup/rollup-win32-ia32-msvc@4.13.0: + resolution: {integrity: sha512-P5/MqLdLSlqxbeuJ3YDeX37srC8mCflSyTrUsgbU1c/U9j6l2g2GiIdYaGD9QjdMQPMSgYm7hgg0551wHyIluw==} cpu: [ia32] os: [win32] requiresBuild: true optional: true - /@rollup/rollup-win32-x64-msvc@4.12.1: - resolution: {integrity: sha512-n+vkrSyphvmU0qkQ6QBNXCGr2mKjhP08mPRM/Xp5Ck2FV4NrHU+y6axzDeixUrCBHVUS51TZhjqrKBBsHLKb2Q==} + /@rollup/rollup-win32-x64-msvc@4.13.0: + resolution: {integrity: sha512-UKXUQNbO3DOhzLRwHSpa0HnhhCgNODvfoPWv2FCXme8N/ANFfhIPMGuOT+QuKd16+B5yxZ0HdpNlqPvTMS1qfw==} cpu: [x64] os: [win32] requiresBuild: true @@ -1149,8 +1069,8 @@ packages: resolution: {integrity: sha512-gTYLUIuD1UbZp/11qozD3fWpUTuMqPSf3svDMMrL0UmlGU7D9dPw/V1FonwAorCUJBltaaESxq90jrSjQyGixg==} dev: false - /@tailwindcss/oxide-android-arm64@4.0.0-alpha.7: - resolution: {integrity: sha512-T50CFEgc1ZUe3/WkXthh9pOAdqRhXDTZgnUhPcBjjZue9WXb5mqupxwMtmgzRE/o/sBtt7gVBTIu6pA3afXbcw==} + /@tailwindcss/oxide-android-arm64@4.0.0-alpha.8: + resolution: {integrity: sha512-OCp49Kokxv9osq9kA3YlT4ba7aor7EYeO7PTXXVnyVt8JL9G9KXtNgiLB71UaxEGSCmwntFELg9wAd2839v9IQ==} engines: {node: '>= 10'} cpu: [arm64] os: [android] @@ -1158,8 +1078,8 @@ packages: dev: false optional: true - /@tailwindcss/oxide-darwin-arm64@4.0.0-alpha.7: - resolution: {integrity: sha512-rRUQbQKIVyTLQrYOHU9cdK1duEWH3RgnAFYsR946dRP6s+N+CNCoygUy7v95mWPIapD4cGQQBZEf9hEYr71ZaA==} + /@tailwindcss/oxide-darwin-arm64@4.0.0-alpha.8: + resolution: {integrity: sha512-QJwY87FhnJqYIleYjhtBf8IJ+aaCdmFwwXOlq2+YxsS+wCVcy9PuaeTjlG88q+xVthvII9qIQ4Qffyb1e0MOkQ==} engines: {node: '>= 10'} cpu: [arm64] os: [darwin] @@ -1167,8 +1087,8 @@ packages: dev: false optional: true - /@tailwindcss/oxide-darwin-x64@4.0.0-alpha.7: - resolution: {integrity: sha512-Ol3kQe4WTLIrpp2n0MQuWVQWV7AMrDGjnfP9dKlG4CVxRHn8LwjFVVazqQwPQWHrWMs2qrEcTLbABEoAPDKJ3w==} + /@tailwindcss/oxide-darwin-x64@4.0.0-alpha.8: + resolution: {integrity: sha512-IHsqPCny0a5khfEkyr+C2dYbXrjvxOdFIgbbux9umB7rYQ9SnAjXO1wAvZGOG2rhF9ZPJZI/xLAv6G4MzbWVBg==} engines: {node: '>= 10'} cpu: [x64] os: [darwin] @@ -1176,8 +1096,8 @@ packages: dev: false optional: true - /@tailwindcss/oxide-freebsd-x64@4.0.0-alpha.7: - resolution: {integrity: sha512-LieqhVEm7wSZA9e2fPv3UHf4PfFb5AwPm7aN8vYWvgzYrEIrQWSv4eibFYNI3l68RCSd11zJwz1qLT4uRpxE/A==} + /@tailwindcss/oxide-freebsd-x64@4.0.0-alpha.8: + resolution: {integrity: sha512-TLrrKlLA6o02wuyubE69gQgA1mb+ahRh00j8ClTDlqtqSvFB8ghEd+WsvNF/izN6D/HRoxvBeCx/PhEU8gWi/g==} engines: {node: '>= 10'} cpu: [x64] os: [freebsd] @@ -1185,8 +1105,8 @@ packages: dev: false optional: true - /@tailwindcss/oxide-linux-arm-gnueabihf@4.0.0-alpha.7: - resolution: {integrity: sha512-WbFjjI6q2tahw2eSIhKD2UHaEvl6pwi8C1rUKXGCByTZQs8lVp0Jr1Oh28BPx5e1IVBVaIMha9T5ZXXnO1sHkw==} + /@tailwindcss/oxide-linux-arm-gnueabihf@4.0.0-alpha.8: + resolution: {integrity: sha512-4rr+Al5/sFwPQ5CKWZNKIlVjAM6fbC4fCtNZaHYDlLmKU3ULfyuybILdf2WyGWIReEjDeFhSWsQwjvposXEAGQ==} engines: {node: '>= 10'} cpu: [arm] os: [linux] @@ -1194,8 +1114,8 @@ packages: dev: false optional: true - /@tailwindcss/oxide-linux-arm64-gnu@4.0.0-alpha.7: - resolution: {integrity: sha512-8pcyEMS6k3CU29o7gKj9rQtfh+LLvTuLopHvLqdQ1TAMQ18EO2FrtBBO61iWZ40jVgkPJfo8DFRYBSTs5QYrvA==} + /@tailwindcss/oxide-linux-arm64-gnu@4.0.0-alpha.8: + resolution: {integrity: sha512-tbIuGS9XWhJFYpMy3FNilrPULHS+J3xF6FdlWzhnqrdHuoyc8VEB9nx6baJzeexj2fKnAW3hxVaf8SEYRuQ5bQ==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] @@ -1203,8 +1123,8 @@ packages: dev: false optional: true - /@tailwindcss/oxide-linux-arm64-musl@4.0.0-alpha.7: - resolution: {integrity: sha512-gdK1zCWYOYWkGXFYNi2xesR7AElB5/rRdB76/Rhvm9uJnMMyJQW2fwnIfAfPvum9PnJp2wBmTd11v82otJY8+Q==} + /@tailwindcss/oxide-linux-arm64-musl@4.0.0-alpha.8: + resolution: {integrity: sha512-yEknHthaf6hcgCVU3We/NbdtbSUaR/CJeoEbVXuBs3Sv6s6UXtQ1X36mvQTvSGMxFyoLZi3Hxck+JPcgL2gL2Q==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] @@ -1212,8 +1132,8 @@ packages: dev: false optional: true - /@tailwindcss/oxide-linux-x64-gnu@4.0.0-alpha.7: - resolution: {integrity: sha512-AFRDMnQY7dEkKWwV8TVLIO8wM7z1xdqUuRROzBf1ldE5fXuptkbsvbnShALslqXs2DJyfygtEPotb2nUo+1f/g==} + /@tailwindcss/oxide-linux-x64-gnu@4.0.0-alpha.8: + resolution: {integrity: sha512-173h+X1tutGY+B+Kj6073hk8EYK9jFdHIOOnKT+9kD4ngZQhoeR9oF/ZngJju5s5JDDapPuCXyeVz5QSYPMT5g==} engines: {node: '>= 10'} cpu: [x64] os: [linux] @@ -1221,8 +1141,8 @@ packages: dev: false optional: true - /@tailwindcss/oxide-linux-x64-musl@4.0.0-alpha.7: - resolution: {integrity: sha512-gtCcNlUyXql5iRUQTigV2FtCT99qaWRylnmun7Wk2WJNzWAHHo57uGQTQeWzbCmcgN2xNFZhTUXb0RSbY3FwjA==} + /@tailwindcss/oxide-linux-x64-musl@4.0.0-alpha.8: + resolution: {integrity: sha512-6VSJ1w4kU+rL1f+thsTMzhNCYVM5YYdUg2d7PCc8/m4ketgXJM7/vv5Cd4+HAIP6AgjlQOKlm0jmLj5ZD30Dlg==} engines: {node: '>= 10'} cpu: [x64] os: [linux] @@ -1230,8 +1150,8 @@ packages: dev: false optional: true - /@tailwindcss/oxide-win32-x64-msvc@4.0.0-alpha.7: - resolution: {integrity: sha512-awb1qQgJS+FFU2nfvDvgJOeuWsf3mRnDT87DBAt4X+a+vn4izcxLo22ZA1sPSR/qqcgRrpnRgHVCFRCT+ZGoFg==} + /@tailwindcss/oxide-win32-x64-msvc@4.0.0-alpha.8: + resolution: {integrity: sha512-qNXr2xCU/H6FA0d3Q/ObNn/DIVloUO+Xbzckz0ujAZSG4Upher+dg+4R2wNqkZwMdOTW9r1rxn90NWBj6PZBUg==} engines: {node: '>= 10'} cpu: [x64] os: [win32] @@ -1239,27 +1159,27 @@ packages: dev: false optional: true - /@tailwindcss/oxide@4.0.0-alpha.7: - resolution: {integrity: sha512-7J8jjsHQzKVMuIFj7QM+PyTtSH6Q8URAfZWeJ2TszU7udsBzLhcwBTVVHR0bQAEXmPhdYesZ2FYvrUOJKQCKWw==} + /@tailwindcss/oxide@4.0.0-alpha.8: + resolution: {integrity: sha512-XV5vSceAV7my64COAJWM+KWrVfb2yesMP/qL7QcuIz701Fx1S32Zwsf4cWecZfijnH7m3Zd6OS8SejC+k6/UeQ==} engines: {node: '>= 10'} optionalDependencies: - '@tailwindcss/oxide-android-arm64': 4.0.0-alpha.7 - '@tailwindcss/oxide-darwin-arm64': 4.0.0-alpha.7 - '@tailwindcss/oxide-darwin-x64': 4.0.0-alpha.7 - '@tailwindcss/oxide-freebsd-x64': 4.0.0-alpha.7 - '@tailwindcss/oxide-linux-arm-gnueabihf': 4.0.0-alpha.7 - '@tailwindcss/oxide-linux-arm64-gnu': 4.0.0-alpha.7 - '@tailwindcss/oxide-linux-arm64-musl': 4.0.0-alpha.7 - '@tailwindcss/oxide-linux-x64-gnu': 4.0.0-alpha.7 - '@tailwindcss/oxide-linux-x64-musl': 4.0.0-alpha.7 - '@tailwindcss/oxide-win32-x64-msvc': 4.0.0-alpha.7 + '@tailwindcss/oxide-android-arm64': 4.0.0-alpha.8 + '@tailwindcss/oxide-darwin-arm64': 4.0.0-alpha.8 + '@tailwindcss/oxide-darwin-x64': 4.0.0-alpha.8 + '@tailwindcss/oxide-freebsd-x64': 4.0.0-alpha.8 + '@tailwindcss/oxide-linux-arm-gnueabihf': 4.0.0-alpha.8 + '@tailwindcss/oxide-linux-arm64-gnu': 4.0.0-alpha.8 + '@tailwindcss/oxide-linux-arm64-musl': 4.0.0-alpha.8 + '@tailwindcss/oxide-linux-x64-gnu': 4.0.0-alpha.8 + '@tailwindcss/oxide-linux-x64-musl': 4.0.0-alpha.8 + '@tailwindcss/oxide-win32-x64-msvc': 4.0.0-alpha.8 dev: false - /@tailwindcss/vite@4.0.0-alpha.7: - resolution: {integrity: sha512-C28Cy74JzIGRj7GbraFDZmm/oWuJZL9KZSZaYTNCuR+vuRX2SJLJyqKXjXqpQLVw9SCW6OwesBiYbftQnHP/Zw==} + /@tailwindcss/vite@4.0.0-alpha.8: + resolution: {integrity: sha512-r5e5I8zK+YkXUta2tgeWAIfkuqPahWCsmfx43tJ+YpBYRlMXPcSllRhxuB4qzpeB5cBqdcz3824BSyMpjHmg5w==} dependencies: - '@tailwindcss/oxide': 4.0.0-alpha.7 - tailwindcss: 4.0.0-alpha.7 + '@tailwindcss/oxide': 4.0.0-alpha.8 + tailwindcss: 4.0.0-alpha.8 dev: false /@types/babel__core@7.20.5: @@ -1330,8 +1250,8 @@ packages: resolution: {integrity: sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ==} dev: true - /@types/node@20.11.25: - resolution: {integrity: sha512-TBHyJxk2b7HceLVGFcpAUjsa5zIdsPWlR6XHfyGzd0SFu+/NFgQgMAl96MSDZgQDvJAvV6BKsFOrt6zIL09JDw==} + /@types/node@20.11.26: + resolution: {integrity: sha512-YwOMmyhNnAWijOBQweOJnQPl068Oqd4K3OFbTc6AHJwzweUwwWG3GIFY74OKks2PJUDkQPeddOQES9mLn1CTEQ==} dependencies: undici-types: 5.26.5 @@ -1355,30 +1275,30 @@ packages: resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==} dev: false - /@volar/kit@2.0.4(typescript@5.4.2): - resolution: {integrity: sha512-USRx/o0jKz7o8+lEKWMxWqbqvC46XFrf3IE6CZBYzRo9kM7RERQLwUYaoT2bOcHt5DQWublpnTgdgHMm37Gysg==} + /@volar/kit@2.1.2(typescript@5.4.2): + resolution: {integrity: sha512-u20R1lCWCgFYBCHC+FR/e9J+P61vUNQpyWt4keAY+zpVHEHsSXVA2xWMJV1l1Iq5Dd0jBUSqrb1zsEya455AzA==} peerDependencies: typescript: '*' dependencies: - '@volar/language-service': 2.0.4 - '@volar/typescript': 2.0.4 + '@volar/language-service': 2.1.2 + '@volar/typescript': 2.1.2 typesafe-path: 0.2.2 typescript: 5.4.2 vscode-languageserver-textdocument: 1.0.11 vscode-uri: 3.0.8 - /@volar/language-core@2.0.4: - resolution: {integrity: sha512-VhC8i03P0x9LKGLTBi81xNTNWm40yxQ/Iba8IpH+LFr+Yb7c/D7fF90Cvf31MzPDM4G5rjIOlCfs+eQKPBkwQw==} + /@volar/language-core@2.1.2: + resolution: {integrity: sha512-5qsDp0Gf6fE09UWCeK7bkVn6NxMwC9OqFWQkMMkeej8h8XjyABPdRygC2RCrqDrfVdGijqlMQeXs6yRS+vfZYA==} dependencies: - '@volar/source-map': 2.0.4 + '@volar/source-map': 2.1.2 - /@volar/language-server@2.0.4: - resolution: {integrity: sha512-VnljhooQjT6RhmvwwJK9+3YYs2ovFmav4IVNHiQgnTMfiOiyABzcghwvJrJrI39rJDI6LNOWF7BYUJq7K07BKQ==} + /@volar/language-server@2.1.2: + resolution: {integrity: sha512-5NR5Ztg+OxvDI4oRrjS0/4ZVPumWwhVq5acuK2BJbakG1kJXViYI9NOWiWITMjnliPvf12TEcSrVDBmIq54DOg==} dependencies: - '@volar/language-core': 2.0.4 - '@volar/language-service': 2.0.4 - '@volar/snapshot-document': 2.0.4 - '@volar/typescript': 2.0.4 + '@volar/language-core': 2.1.2 + '@volar/language-service': 2.1.2 + '@volar/snapshot-document': 2.1.2 + '@volar/typescript': 2.1.2 '@vscode/l10n': 0.0.16 path-browserify: 1.0.1 request-light: 0.7.0 @@ -1387,29 +1307,29 @@ packages: vscode-languageserver-textdocument: 1.0.11 vscode-uri: 3.0.8 - /@volar/language-service@2.0.4: - resolution: {integrity: sha512-DoanyU9I9Nl85lUytDl8jgyk+nrUDR5CFNVMrxWXGXclP4WTqBayBgSFAeF1L/5AwP3MywmWoK4GLAEVvl8D+Q==} + /@volar/language-service@2.1.2: + resolution: {integrity: sha512-CmVbbKdqzVq+0FT67hfELdHpboqXhKXh6EjypypuFX5ptIRftHZdkaq3/lCCa46EHxS5tvE44jn+s7faN4iRDA==} dependencies: - '@volar/language-core': 2.0.4 + '@volar/language-core': 2.1.2 vscode-languageserver-protocol: 3.17.5 vscode-languageserver-textdocument: 1.0.11 vscode-uri: 3.0.8 - /@volar/snapshot-document@2.0.4: - resolution: {integrity: sha512-YzgdmvpdRFxiBFCOVWga67naAtbPtKmPaFtGnmxWx+KXrjGkpUXT/2tzeKn5FLdtoYV+DRTdpMdP/45ArnVwZQ==} + /@volar/snapshot-document@2.1.2: + resolution: {integrity: sha512-ZpJIBZrdm/Gx4jC/zn8H+O6H5vZZwY7B5CMTxl9y8HvcqlePOyDi+VkX8pjQz1VFG9Z5Z+Bau/RL6exqkoVDDA==} dependencies: vscode-languageserver-protocol: 3.17.5 vscode-languageserver-textdocument: 1.0.11 - /@volar/source-map@2.0.4: - resolution: {integrity: sha512-BbxUinEMoJZqrHsSj1aBa0boCBnN3BoXnf7j9IBwjxosxGXOhCvqmH2L9raJemadaKjeVR8ZQLhV7AOhyoHt/Q==} + /@volar/source-map@2.1.2: + resolution: {integrity: sha512-yFJqsuLm1OaWrsz9E3yd3bJcYIlHqdZ8MbmIoZLrAzMYQDcoF26/INIhgziEXSdyHc8xd7rd/tJdSnUyh0gH4Q==} dependencies: muggle-string: 0.4.1 - /@volar/typescript@2.0.4: - resolution: {integrity: sha512-KF7yh7GIo4iWuAQOKf/ONeFHdQA+wFriitW8LtGZB4iOOT6MdlRlYNsRL8do7XxmXvsBKcs4jTMtGn+uZRwlWg==} + /@volar/typescript@2.1.2: + resolution: {integrity: sha512-lhTancZqamvaLvoz0u/uth8dpudENNt2LFZOWCw9JZiX14xRFhdhfzmphiCRb7am9E6qAJSbdS/gMt1utXAoHQ==} dependencies: - '@volar/language-core': 2.0.4 + '@volar/language-core': 2.1.2 path-browserify: 1.0.1 /@vscode/emmet-helper@2.9.2: @@ -1549,8 +1469,8 @@ packages: resolution: {integrity: sha512-dh5TX2uxwqdFq15DF9cbRZgEdE9o8q522MP6xZYs+rnd3dexfDsIJMeEIDNVO7rkRxwJ7sphhCqTmdWvUJaiDg==} dev: false - /astro-integration-kit@0.5.1(astro@4.4.15): - resolution: {integrity: sha512-ef309UUNOjxUe0jjsDP5O3p+jkt53HAcrKOsWJ2NIgdUTOp5P/YKnAjbatfyu3bAuLFDfj5xhXm/rrwSe9d/hw==} + /astro-integration-kit@0.6.0(astro@4.5.2): + resolution: {integrity: sha512-BCURops+Is7pRemMG2jo3f8WJRDUBS4mvIeReSDsgAlqep6Rknva9i5vpP5OSs6BLy3nx+nWlCzTQTB/c9hZyg==} peerDependencies: '@vitejs/plugin-react': ^4.2.1 astro: ^4.4.1 @@ -1573,7 +1493,7 @@ packages: vue: optional: true dependencies: - astro: 4.4.15(typescript@5.4.2) + astro: 4.5.2(@types/node@20.11.26)(typescript@5.4.2) pathe: 1.1.2 recast: 0.23.6 dev: false @@ -1592,98 +1512,15 @@ packages: /astro-seo@0.8.3(typescript@5.4.2): resolution: {integrity: sha512-gQeEh0U2yyVM0iyU8DTORK6hXMy5WH2wufrkUuNOKjI3LnYLniqgDxm1LZPQDuD6b4OHabVOi/5L88A9POCcCQ==} dependencies: - '@astrojs/check': 0.5.6(typescript@5.4.2) + '@astrojs/check': 0.5.8(typescript@5.4.2) transitivePeerDependencies: - prettier - prettier-plugin-astro - typescript dev: false - /astro@4.4.15(typescript@5.4.2): - resolution: {integrity: sha512-RTiAnlO8hDp6GqMVvaeJxyuCJhHNEho09lHshMNQBqgRabYPOJGW0HZZrbLRGNOqN9I14ivhZIunYGgAaGQpWw==} - engines: {node: '>=18.14.1', npm: '>=6.14.0'} - hasBin: true - dependencies: - '@astrojs/compiler': 2.7.0 - '@astrojs/internal-helpers': 0.2.1 - '@astrojs/markdown-remark': 4.2.1 - '@astrojs/telemetry': 3.0.4 - '@babel/core': 7.24.0 - '@babel/generator': 7.23.6 - '@babel/parser': 7.24.0 - '@babel/plugin-transform-react-jsx': 7.23.4(@babel/core@7.24.0) - '@babel/traverse': 7.24.0 - '@babel/types': 7.24.0 - '@medv/finder': 3.2.0 - '@types/babel__core': 7.20.5 - acorn: 8.11.3 - aria-query: 5.3.0 - axobject-query: 4.0.0 - boxen: 7.1.1 - chokidar: 3.6.0 - ci-info: 4.0.0 - clsx: 2.1.0 - common-ancestor-path: 1.0.1 - cookie: 0.6.0 - cssesc: 3.0.0 - debug: 4.3.4 - deterministic-object-hash: 2.0.2 - devalue: 4.3.2 - diff: 5.2.0 - dlv: 1.1.3 - dset: 3.1.3 - es-module-lexer: 1.4.1 - esbuild: 0.19.12 - estree-walker: 3.0.3 - execa: 8.0.1 - fast-glob: 3.3.2 - flattie: 1.1.1 - github-slugger: 2.0.0 - gray-matter: 4.0.3 - html-escaper: 3.0.3 - http-cache-semantics: 4.1.1 - js-yaml: 4.1.0 - kleur: 4.1.5 - magic-string: 0.30.8 - mdast-util-to-hast: 13.0.2 - mime: 3.0.0 - ora: 7.0.1 - p-limit: 5.0.0 - p-queue: 8.0.1 - path-to-regexp: 6.2.1 - preferred-pm: 3.1.3 - prompts: 2.4.2 - rehype: 13.0.1 - resolve: 1.22.8 - semver: 7.6.0 - shikiji: 0.9.19 - shikiji-core: 0.9.19 - string-width: 7.1.0 - strip-ansi: 7.1.0 - tsconfck: 3.0.3(typescript@5.4.2) - unist-util-visit: 5.0.0 - vfile: 6.0.1 - vite: 5.1.5(@types/node@20.11.25) - vitefu: 0.2.5(vite@5.1.5) - which-pm: 2.1.1 - yargs-parser: 21.1.1 - zod: 3.22.4 - optionalDependencies: - sharp: 0.32.6 - transitivePeerDependencies: - - '@types/node' - - less - - lightningcss - - sass - - stylus - - sugarss - - supports-color - - terser - - typescript - dev: false - - /astro@4.5.1(@types/node@20.11.25)(typescript@5.4.2): - resolution: {integrity: sha512-xqSBxeDZFUUgHl+npNwgoe6taTOCI8sJNwqWJaK3t/vcCHdfYJX00Tr9g43w/cYKPoTN4wKbNktbKYJZAbE3ZQ==} + /astro@4.5.2(@types/node@20.11.26)(typescript@5.4.2): + resolution: {integrity: sha512-Nq3GojlwXJ3XD047khraCWu/6aqGFfcyq7Q0blpTBSZnCz2s4Zri04PHvUkbKF7TK2UljkFuTXKP0CE4ZuJi9Q==} engines: {node: '>=18.14.1', npm: '>=6.14.0'} hasBin: true dependencies: @@ -1745,8 +1582,8 @@ packages: tsconfck: 3.0.3(typescript@5.4.2) unist-util-visit: 5.0.0 vfile: 6.0.1 - vite: 5.1.5(@types/node@20.11.25) - vitefu: 0.2.5(vite@5.1.5) + vite: 5.1.6(@types/node@20.11.26) + vitefu: 0.2.5(vite@5.1.6) which-pm: 2.1.1 yargs-parser: 21.1.1 zod: 3.22.4 @@ -1888,7 +1725,7 @@ packages: hasBin: true dependencies: caniuse-lite: 1.0.30001597 - electron-to-chromium: 1.4.699 + electron-to-chromium: 1.4.702 node-releases: 2.0.14 update-browserslist-db: 1.0.13(browserslist@4.23.0) dev: false @@ -2323,8 +2160,8 @@ packages: resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==} dev: false - /electron-to-chromium@1.4.699: - resolution: {integrity: sha512-I7q3BbQi6e4tJJN5CRcyvxhK0iJb34TV8eJQcgh+fR2fQ8miMgZcEInckCo1U9exDHbfz7DLDnFn8oqH/VcRKw==} + /electron-to-chromium@1.4.702: + resolution: {integrity: sha512-LYLXyEUsZ3nNSwiOWjI88N1PJUAMU2QphQSgGLVkFnb3FxZxNui2Vzi2PaKPgPWbsWbZstZnh6BMf/VQJamjiQ==} dev: false /emmet@2.4.6: @@ -4614,26 +4451,26 @@ packages: resolution: {integrity: sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==} engines: {iojs: '>=1.0.0', node: '>=0.10.0'} - /rollup@4.12.1: - resolution: {integrity: sha512-ggqQKvx/PsB0FaWXhIvVkSWh7a/PCLQAsMjBc+nA2M8Rv2/HG0X6zvixAB7KyZBRtifBUhy5k8voQX/mRnABPg==} + /rollup@4.13.0: + resolution: {integrity: sha512-3YegKemjoQnYKmsBlOHfMLVPPA5xLkQ8MHLLSw/fBrFaVkEayL51DilPpNNLq1exr98F2B1TzrV0FUlN3gWRPg==} engines: {node: '>=18.0.0', npm: '>=8.0.0'} hasBin: true dependencies: '@types/estree': 1.0.5 optionalDependencies: - '@rollup/rollup-android-arm-eabi': 4.12.1 - '@rollup/rollup-android-arm64': 4.12.1 - '@rollup/rollup-darwin-arm64': 4.12.1 - '@rollup/rollup-darwin-x64': 4.12.1 - '@rollup/rollup-linux-arm-gnueabihf': 4.12.1 - '@rollup/rollup-linux-arm64-gnu': 4.12.1 - '@rollup/rollup-linux-arm64-musl': 4.12.1 - '@rollup/rollup-linux-riscv64-gnu': 4.12.1 - '@rollup/rollup-linux-x64-gnu': 4.12.1 - '@rollup/rollup-linux-x64-musl': 4.12.1 - '@rollup/rollup-win32-arm64-msvc': 4.12.1 - '@rollup/rollup-win32-ia32-msvc': 4.12.1 - '@rollup/rollup-win32-x64-msvc': 4.12.1 + '@rollup/rollup-android-arm-eabi': 4.13.0 + '@rollup/rollup-android-arm64': 4.13.0 + '@rollup/rollup-darwin-arm64': 4.13.0 + '@rollup/rollup-darwin-x64': 4.13.0 + '@rollup/rollup-linux-arm-gnueabihf': 4.13.0 + '@rollup/rollup-linux-arm64-gnu': 4.13.0 + '@rollup/rollup-linux-arm64-musl': 4.13.0 + '@rollup/rollup-linux-riscv64-gnu': 4.13.0 + '@rollup/rollup-linux-x64-gnu': 4.13.0 + '@rollup/rollup-linux-x64-musl': 4.13.0 + '@rollup/rollup-win32-arm64-msvc': 4.13.0 + '@rollup/rollup-win32-ia32-msvc': 4.13.0 + '@rollup/rollup-win32-x64-msvc': 4.13.0 fsevents: 2.3.3 /run-parallel@1.2.0: @@ -4794,16 +4631,6 @@ packages: '@shikijs/core': 1.1.7 dev: false - /shikiji-core@0.9.19: - resolution: {integrity: sha512-AFJu/vcNT21t0e6YrfadZ+9q86gvPum6iywRyt1OtIPjPFe25RQnYJyxHQPMLKCCWA992TPxmEmbNcOZCAJclw==} - 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.6: resolution: {integrity: sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA==} engines: {node: '>= 0.4'} @@ -5078,8 +4905,8 @@ packages: resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==} engines: {node: '>= 0.4'} - /tailwindcss@4.0.0-alpha.7: - resolution: {integrity: sha512-Y91+cS79h3+CdFT8Y8zgUWSZvjLASd0nGnnxhZextBDZGl7GGqcy9QLly2Sw4TcPuPryS7/nJr8pRjp9lQazIA==} + /tailwindcss@4.0.0-alpha.8: + resolution: {integrity: sha512-s7RsnLUep6SQnmYgCVCTj9D/P2tiubPZi/Ae1m58dG4Y3NWgXWo+C0L/95Qf8VNNsD76Qv8Srb4LojyTzqbE7A==} dependencies: lightningcss: 1.24.0 dev: false @@ -5491,8 +5318,8 @@ packages: vfile-message: 4.0.2 dev: false - /vite@5.1.5(@types/node@20.11.25): - resolution: {integrity: sha512-BdN1xh0Of/oQafhU+FvopafUp6WaYenLU/NFoL5WyJL++GxkNfieKzBhM24H3HVsPQrlAqB7iJYTHabzaRed5Q==} + /vite@5.1.6(@types/node@20.11.26): + resolution: {integrity: sha512-yYIAZs9nVfRJ/AiOLCA91zzhjsHUgMjB+EigzFb6W2XTLO8JixBCKCjvhKZaye+NKYHCrkv3Oh50dH9EdLU2RA==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true peerDependencies: @@ -5519,14 +5346,14 @@ packages: terser: optional: true dependencies: - '@types/node': 20.11.25 + '@types/node': 20.11.26 esbuild: 0.19.12 postcss: 8.4.35 - rollup: 4.12.1 + rollup: 4.13.0 optionalDependencies: fsevents: 2.3.3 - /vitefu@0.2.5(vite@5.1.5): + /vitefu@0.2.5(vite@5.1.6): resolution: {integrity: sha512-SgHtMLoqaeeGnd2evZ849ZbACbnwQCIwRH57t18FxcXoZop0uQu0uzlIhJBlF/eWVzuce0sHeqPcDo+evVcg8Q==} peerDependencies: vite: ^3.0.0 || ^4.0.0 || ^5.0.0 @@ -5534,49 +5361,51 @@ packages: vite: optional: true dependencies: - vite: 5.1.5(@types/node@20.11.25) + vite: 5.1.6(@types/node@20.11.26) dev: false - /volar-service-css@0.0.30(@volar/language-service@2.0.4): - resolution: {integrity: sha512-jui+1N0HBfjW43tRfhyZp0axhBee4997BRyX4os8xQm/7cjD2KjAuyz92nMIPRt1QDoG4/7uQT28xNhy0TPJTA==} + /volar-service-css@0.0.31(@volar/language-service@2.1.2): + resolution: {integrity: sha512-YDY+qwqYipkXVwh63f9Lk7x/48j9lsxVeXj9lsj5Fp1VAwpPoVpWQhAq3oNp3my9gyS8lEbdIPl0rJzBcJCuUA==} peerDependencies: - '@volar/language-service': ~2.0.1 + '@volar/language-service': ~2.1.0 peerDependenciesMeta: '@volar/language-service': optional: true dependencies: - '@volar/language-service': 2.0.4 + '@volar/language-service': 2.1.2 vscode-css-languageservice: 6.2.12 + vscode-languageserver-textdocument: 1.0.11 vscode-uri: 3.0.8 - /volar-service-emmet@0.0.30(@volar/language-service@2.0.4): - resolution: {integrity: sha512-HEeIrmqQ/DTfuQDI9ER5+YReXXjE9f7W6MlBmn5biUuPyizVTGfuILN8pJhmYvmPHCA7qHhU7CJqwE9DAh9AJg==} + /volar-service-emmet@0.0.31(@volar/language-service@2.1.2): + resolution: {integrity: sha512-d+KfC0axTB6Ku4v70So3GEqsEzrE9zifDvwnqHUrg+Bts05kCFlRgDCLziXmddKhtaaJJ6oSizHr7WcFUyesww==} peerDependencies: - '@volar/language-service': ~2.0.1 + '@volar/language-service': ~2.1.0 peerDependenciesMeta: '@volar/language-service': optional: true dependencies: - '@volar/language-service': 2.0.4 + '@volar/language-service': 2.1.2 '@vscode/emmet-helper': 2.9.2 - volar-service-html: 0.0.30(@volar/language-service@2.0.4) + vscode-html-languageservice: 5.1.2 - /volar-service-html@0.0.30(@volar/language-service@2.0.4): - resolution: {integrity: sha512-wW3TEeRTeHv/3mC8Ik6T62SwewMWFungb8ydyEK/2GDHEntBEG/J9wtuh01/J0kYqPerhlT9zhdGB6PGYHAGuA==} + /volar-service-html@0.0.31(@volar/language-service@2.1.2): + resolution: {integrity: sha512-duMjl/VLvPWtmYsIAUtwYw/esFY3FWnVmH7537UpnfY9ncYTX/G43xmoVd+oQJPWh7xi8zwFeUQgZAA6T45Bhg==} peerDependencies: - '@volar/language-service': ~2.0.1 + '@volar/language-service': ~2.1.0 peerDependenciesMeta: '@volar/language-service': optional: true dependencies: - '@volar/language-service': 2.0.4 + '@volar/language-service': 2.1.2 vscode-html-languageservice: 5.1.2 + vscode-languageserver-textdocument: 1.0.11 vscode-uri: 3.0.8 - /volar-service-prettier@0.0.30(@volar/language-service@2.0.4): - resolution: {integrity: sha512-Qdc5Zc0y4hJmJbpIQ52cSDjs0uvVug/e2nuL/XZWPJM6Cr5/3RjjoRVKtDQbKItFYlGk+JH+LSXvwQeD5TXZqg==} + /volar-service-prettier@0.0.31-patch.1(@volar/language-service@2.1.2): + resolution: {integrity: sha512-jj6cKOFhOEgMUUKwdx0QUX5f7gsS0SXNqF/9LWcWslnf4C1i8GkOH+lba2yVhPMwHzltJLQOhOL5QKKB1PvKUg==} peerDependencies: - '@volar/language-service': ~2.0.1 + '@volar/language-service': ~2.1.0 prettier: ^2.2 || ^3.0 peerDependenciesMeta: '@volar/language-service': @@ -5584,36 +5413,35 @@ packages: prettier: optional: true dependencies: - '@volar/language-service': 2.0.4 + '@volar/language-service': 2.1.2 vscode-uri: 3.0.8 - /volar-service-typescript-twoslash-queries@0.0.30(@volar/language-service@2.0.4): - resolution: {integrity: sha512-ahj6woBxhkZu7icQR58x5TnUaS8ZRKn7a+UvY+andmiTWsOaSu85zj36+LPZgZQi1MG+BtjNwUjKoxtZiN51PA==} + /volar-service-typescript-twoslash-queries@0.0.31(@volar/language-service@2.1.2): + resolution: {integrity: sha512-NsI1izFST7H6GN7WQow/GEPykPLGt0zlIJl+05bX9W6pXY8kD6PUSz7U+v5TSbUMMmjFFn8IkAAHopbH11OWrA==} peerDependencies: - '@volar/language-service': ~2.0.1 + '@volar/language-service': ~2.1.0 peerDependenciesMeta: '@volar/language-service': optional: true dependencies: - '@volar/language-service': 2.0.4 + '@volar/language-service': 2.1.2 - /volar-service-typescript@0.0.30(@volar/language-service@2.0.4)(@volar/typescript@2.0.4): - resolution: {integrity: sha512-jA8c0Mhy9rgAsrgtwocK95Smws1M2E0MxlQ/SVo/rmOGH32cX9UGgI0IENWKa3yagp/khfoemOIQDz/KNhI3zg==} + /volar-service-typescript@0.0.31(@volar/language-service@2.1.2)(@volar/typescript@2.1.2): + resolution: {integrity: sha512-gaSsX0NmWgENPx6KrHcj+Xru4iQWDpt1kLJcWYNJZ5XaMawYFlVXjWGX/lCO6P7AoLoc2NQnTYUpgTfTjbqdaQ==} peerDependencies: - '@volar/language-service': ~2.0.1 - '@volar/typescript': ~2.0.1 + '@volar/language-service': ~2.1.0 + '@volar/typescript': ~2.1.0 peerDependenciesMeta: '@volar/language-service': optional: true dependencies: - '@volar/language-service': 2.0.4 - '@volar/typescript': 2.0.4 + '@volar/language-service': 2.1.2 + '@volar/typescript': 2.1.2 path-browserify: 1.0.1 semver: 7.6.0 typescript-auto-import-cache: 0.3.2 vscode-languageserver-textdocument: 1.0.11 vscode-nls: 5.2.0 - vscode-uri: 3.0.8 /vscode-css-languageservice@6.2.12: resolution: {integrity: sha512-PS9r7HgNjqzRl3v91sXpCyZPc8UDotNo6gntFNtGCKPhGA9Frk7g/VjX1Mbv3F00pn56D+rxrFzR9ep4cawOgA==} -- 2.40.1 From 1c22203db88a74e4b0fb693e21732c4d1a5d62d6 Mon Sep 17 00:00:00 2001 From: Adam Matthiesen Date: Tue, 12 Mar 2024 14:16:56 -0700 Subject: [PATCH 3/6] Add Changeset, and update readme --- .changeset/mean-berries-cry.md | 5 +++++ package/README.md | 1 + 2 files changed, 6 insertions(+) create mode 100644 .changeset/mean-berries-cry.md diff --git a/.changeset/mean-berries-cry.md b/.changeset/mean-berries-cry.md new file mode 100644 index 0000000..7bc1662 --- /dev/null +++ b/.changeset/mean-berries-cry.md @@ -0,0 +1,5 @@ +--- +"@matthiesenxyz/astro-hashnode": patch +--- + +This updates internal `AIK` as well as impliments ViewTransitions with a disable switch in the user config diff --git a/package/README.md b/package/README.md index 995adc6..c9f322b 100644 --- a/package/README.md +++ b/package/README.md @@ -54,6 +54,7 @@ export default defineConfig({ astroHashnode({ hashnodeURL: 'astroplayground.hashnode.dev', // Your hashnode URL landingPage: true, // Lets you disable the default landing page! + disableViewTransitions: false, // Lets you disable the Default included ViewTransitions. layoutComponent: './src/layouts/YourLayout.astro' // Lets you change the default Layout.astro being used by the Integration Pages. verbose: false // Change to Verbose console output }) -- 2.40.1 From 080b20aec9b03478f795045415a9cd2cdf0fb15c Mon Sep 17 00:00:00 2001 From: Adam Matthiesen Date: Tue, 12 Mar 2024 14:18:29 -0700 Subject: [PATCH 4/6] fix package.json dep --- package/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/package.json b/package/package.json index eb6f802..b00fb53 100644 --- a/package/package.json +++ b/package/package.json @@ -37,7 +37,7 @@ "scripts": {}, "type": "module", "peerDependencies": { - "astro": "^4.4.1" + "astro": ">=4.4.1" }, "devDependencies": { "vite": "^5.1.5" -- 2.40.1 From f535a4720f5192ae4583b59595a5a79b7206a73d Mon Sep 17 00:00:00 2001 From: Adam Matthiesen Date: Tue, 12 Mar 2024 14:19:26 -0700 Subject: [PATCH 5/6] Update lockfile --- pnpm-lock.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9a949af..dbe1a48 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -21,7 +21,7 @@ importers: specifier: 4.0.0-alpha.8 version: 4.0.0-alpha.8 astro: - specifier: ^4.4.1 + specifier: '>=4.4.1' version: 4.5.2(@types/node@20.11.26)(typescript@5.4.2) astro-font: specifier: ^0.0.77 -- 2.40.1 From c1e6e7ede2f1c7c567e0b7194bbf811f1855ca5e Mon Sep 17 00:00:00 2001 From: Adam Matthiesen Date: Tue, 12 Mar 2024 14:46:09 -0700 Subject: [PATCH 6/6] refactor viewtranstion config option from disableViewTransitions default: false to useViewTransitions with default:true --- package/README.md | 2 +- package/src/layouts/Layout.astro | 2 +- package/src/schemas/user-config.ts | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package/README.md b/package/README.md index c9f322b..1827834 100644 --- a/package/README.md +++ b/package/README.md @@ -54,7 +54,7 @@ export default defineConfig({ astroHashnode({ hashnodeURL: 'astroplayground.hashnode.dev', // Your hashnode URL landingPage: true, // Lets you disable the default landing page! - disableViewTransitions: false, // Lets you disable the Default included ViewTransitions. + useViewTransitions: true, // Lets you enable/disable the default included ViewTransitions. layoutComponent: './src/layouts/YourLayout.astro' // Lets you change the default Layout.astro being used by the Integration Pages. verbose: false // Change to Verbose console output }) diff --git a/package/src/layouts/Layout.astro b/package/src/layouts/Layout.astro index 8806c64..48a157f 100644 --- a/package/src/layouts/Layout.astro +++ b/package/src/layouts/Layout.astro @@ -9,7 +9,7 @@ import type { AstroHashnodeLayoutProps } from '../proptypes/layouttypes' import { ViewTransitions } from 'astro:transitions'; import config from "virtual:astro-hashnode/config"; -const useTranstions:boolean = !config.disableViewTransitions; +const useTranstions = config.useViewTransitions; const pubData = await getPublication(); diff --git a/package/src/schemas/user-config.ts b/package/src/schemas/user-config.ts index 04868f1..99b36f3 100644 --- a/package/src/schemas/user-config.ts +++ b/package/src/schemas/user-config.ts @@ -16,11 +16,11 @@ export const optionsSchema = z.object({ */ landingPage: z.boolean().default(true), /** - * Allows the user to disable the Astro ViewTransitions component. - * @default false + * Allows the user to enable/disable the Astro ViewTransitions component. + * @default true * @see https://docs.astro.build/en/guides/view-transitions/ for more information about ViewTransitions */ - disableViewTransitions: z.boolean().default(false), + useViewTransitions: z.boolean().default(true), /** * Allows the user to change the layout component used for Astro-Hashnode pages. */ -- 2.40.1