From 9696dd3822fba866eff8f565b8a6b1634959a0bb Mon Sep 17 00:00:00 2001 From: Adam Matthiesen Date: Fri, 22 Mar 2024 01:37:44 -0700 Subject: [PATCH] test --- package/package.json | 2 +- package/src/index.ts | 4 ++-- playground/astro.config.mjs | 2 +- pnpm-lock.yaml | 8 ++++---- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package/package.json b/package/package.json index 8a4d48d..74e107f 100644 --- a/package/package.json +++ b/package/package.json @@ -45,7 +45,7 @@ }, "dependencies": { "@expressive-code/plugin-line-numbers": "^0.33.5", - "astro-integration-kit": "^0.7.0", + "astro-integration-kit": "^0.7.1", "chalk": "5.3.0", "expressive-code": "^0.33.5", "hast-util-to-html": "8.0.4", diff --git a/package/src/index.ts b/package/src/index.ts index 81466d1..e6c0cbc 100644 --- a/package/src/index.ts +++ b/package/src/index.ts @@ -17,7 +17,7 @@ export const optionsSchema = z.object({ /** * Optional: Allows the user to enable verbose logging. */ - verbose: z.boolean().default(false), -}).optional().default({}); + verbose: z.boolean().optional().default(false), +}) export type astroGistsUserConfig = z.infer \ No newline at end of file diff --git a/playground/astro.config.mjs b/playground/astro.config.mjs index 81e887d..aa66aa3 100644 --- a/playground/astro.config.mjs +++ b/playground/astro.config.mjs @@ -4,6 +4,6 @@ import mdx from "@astrojs/mdx" // https://astro.build/config export default defineConfig({ - integrations: [astroGist({ verbose: true }), mdx()] + integrations: [astroGist(), mdx()] }); diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f1e3a1a..de16da3 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -24,8 +24,8 @@ importers: specifier: ^4.4.1 version: 4.4.11 astro-integration-kit: - specifier: ^0.7.0 - version: 0.7.0(astro@4.4.11) + specifier: ^0.7.1 + version: 0.7.1(astro@4.4.11) chalk: specifier: 5.3.0 version: 5.3.0 @@ -1723,8 +1723,8 @@ packages: hasBin: true dev: true - /astro-integration-kit@0.7.0(astro@4.4.11): - resolution: {integrity: sha512-kFyAtD3TZa0pGqFjpVeKLbzQlmFm/YOYoMp+m/WzkqGYrFmIjKX1CZM2s6mICZV+hEmozvRz2KE6t5xwdnr+7w==} + /astro-integration-kit@0.7.1(astro@4.4.11): + resolution: {integrity: sha512-QiIRvNdESlm7bziuEkWXUJI6uWdQgmeUEOLXkbpuMZrZK8c7DytbGSs3SStpT0b5ITQ1XcDV9r9DAixyW0F2Dg==} peerDependencies: '@astrojs/db': ^0.9.0 '@vitejs/plugin-react': ^4.2.1