This commit is contained in:
Adam Matthiesen 2024-03-22 01:37:44 -07:00
parent 2db4183b58
commit 9696dd3822
No known key found for this signature in database
GPG Key ID: 1A080F6B1E4AF38E
4 changed files with 8 additions and 8 deletions

View File

@ -45,7 +45,7 @@
}, },
"dependencies": { "dependencies": {
"@expressive-code/plugin-line-numbers": "^0.33.5", "@expressive-code/plugin-line-numbers": "^0.33.5",
"astro-integration-kit": "^0.7.0", "astro-integration-kit": "^0.7.1",
"chalk": "5.3.0", "chalk": "5.3.0",
"expressive-code": "^0.33.5", "expressive-code": "^0.33.5",
"hast-util-to-html": "8.0.4", "hast-util-to-html": "8.0.4",

View File

@ -17,7 +17,7 @@ export const optionsSchema = z.object({
/** /**
* Optional: Allows the user to enable verbose logging. * Optional: Allows the user to enable verbose logging.
*/ */
verbose: z.boolean().default(false), verbose: z.boolean().optional().default(false),
}).optional().default({}); })
export type astroGistsUserConfig = z.infer<typeof optionsSchema> export type astroGistsUserConfig = z.infer<typeof optionsSchema>

View File

@ -4,6 +4,6 @@ import mdx from "@astrojs/mdx"
// https://astro.build/config // https://astro.build/config
export default defineConfig({ export default defineConfig({
integrations: [astroGist({ verbose: true }), mdx()] integrations: [astroGist(), mdx()]
}); });

View File

@ -24,8 +24,8 @@ importers:
specifier: ^4.4.1 specifier: ^4.4.1
version: 4.4.11 version: 4.4.11
astro-integration-kit: astro-integration-kit:
specifier: ^0.7.0 specifier: ^0.7.1
version: 0.7.0(astro@4.4.11) version: 0.7.1(astro@4.4.11)
chalk: chalk:
specifier: 5.3.0 specifier: 5.3.0
version: 5.3.0 version: 5.3.0
@ -1723,8 +1723,8 @@ packages:
hasBin: true hasBin: true
dev: true dev: true
/astro-integration-kit@0.7.0(astro@4.4.11): /astro-integration-kit@0.7.1(astro@4.4.11):
resolution: {integrity: sha512-kFyAtD3TZa0pGqFjpVeKLbzQlmFm/YOYoMp+m/WzkqGYrFmIjKX1CZM2s6mICZV+hEmozvRz2KE6t5xwdnr+7w==} resolution: {integrity: sha512-QiIRvNdESlm7bziuEkWXUJI6uWdQgmeUEOLXkbpuMZrZK8c7DytbGSs3SStpT0b5ITQ1XcDV9r9DAixyW0F2Dg==}
peerDependencies: peerDependencies:
'@astrojs/db': ^0.9.0 '@astrojs/db': ^0.9.0
'@vitejs/plugin-react': ^4.2.1 '@vitejs/plugin-react': ^4.2.1