Skip to content

Commit

Permalink
code quality
Browse files Browse the repository at this point in the history
  • Loading branch information
Ekwuno committed Feb 25, 2025
1 parent 874378d commit 0145fc3
Show file tree
Hide file tree
Showing 2 changed files with 84 additions and 84 deletions.
10 changes: 5 additions & 5 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { autolinkConfig } from './src/util/rehypeHeadingsConfig';
import { rehypeNotesPlugin } from './src/util/rehypeNotesPlugin.mjs';

import sitemap from '@astrojs/sitemap';
import llms from 'vite-plugin-llms'
import llms from 'vite-plugin-llms';

const deployDomain = process.env.DEPLOY_DOMAIN ?? 'surrealdb.com';
const site = `https://${deployDomain}`;
Expand Down Expand Up @@ -51,8 +51,8 @@ export default defineConfig({
vite: {
plugins: [
llms({
llmsDir: 'llms' // optional, defaults to 'llms'
})
]
}
llmsDir: 'llms', // optional, defaults to 'llms'
}),
],
},
});
158 changes: 79 additions & 79 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,81 +1,81 @@
{
"name": "docs.surrealdb.com",
"type": "module",
"version": "0.0.1",
"scripts": {
"dev": "astro dev",
"start": "astro dev",
"build": "bun run build-astro && bun run post-build",
"build-astro": "astro check && astro build",
"post-build": "bun run scripts/post-build.ts",
"preview": "astro preview",
"astro": "astro",
"serve": "bun scripts/serve.ts",
"ts": "tsc --watch",
"quality:check": "biome check .",
"quality:apply": "biome check . --write",
"quality:apply:unsafe": "biome check . --write --unsafe"
},
"dependencies": {
"@ark-ui/solid": "^3.13.0",
"@astrojs/check": "^0.9.4",
"@astrojs/mdx": "^3.1.9",
"@astrojs/sitemap": "^3.2.1",
"@astrojs/solid-js": "^4.4.3",
"@astrojs/tailwind": "^5.1.2",
"@codemirror/lang-sql": "^6.8.0",
"@codemirror/legacy-modes": "^6.4.2",
"@fig/lezer-bash": "^1.2.5",
"@iconify-icon/solid": "^2.1.1",
"@iconify-icons/fa6-regular": "^1.2.11",
"@iconify-icons/fa6-solid": "^1.2.13",
"@iconify-json/fa6-brands": "^1.2.2",
"@iconify-json/fa6-regular": "^1.2.2",
"@iconify-json/fa6-solid": "^1.2.2",
"@lezer/common": "^1.2.3",
"@lezer/go": "^1.0.0",
"@lezer/highlight": "^1.2.1",
"@lezer/javascript": "^1.4.19",
"@lezer/json": "^1.0.2",
"@lezer/php": "^1.0.2",
"@lezer/python": "^1.1.14",
"@lezer/rust": "^1.0.2",
"@lezer/yaml": "^1.0.3",
"@solid-primitives/scroll": "^2.0.23",
"@surrealdb/lezer": "^1.0.0-beta.16",
"@types/markdown-it": "^14.1.2",
"astro": "^4.16.13",
"astro-icon": "^1.1.2",
"clsx": "^2.1.1",
"gray-matter": "^4.0.3",
"hast-util-select": "^6.0.3",
"hast-util-to-html": "^9.0.3",
"hast-util-to-text": "^4.0.2",
"lezer-toml": "^1.0.0",
"markdown-it": "^14.1.0",
"remark": "^15.0.1",
"solid-devtools": "^0.30.1",
"solid-js": "^1.9.3",
"tailwind-merge": "^2.5.4",
"tailwindcss": "^3.4.15",
"typescript": "^5.6.3",
"unist-util-visit": "^5.0.0",
"vite-plugin-llms": "^1.0.2"
},
"devDependencies": {
"@biomejs/biome": "1.8.3",
"astro-compress": "^2.3.5",
"esbuild": "^0.23.1",
"hast-util-from-html": "^2.0.3",
"hast-util-to-string": "^3.0.1",
"hastscript": "^9.0.0",
"node-html-parser": "^6.1.13",
"rehype-autolink-headings": "^7.1.0",
"rehype-slug": "^6.0.0",
"remark-custom-heading-id": "^2.0.0",
"sass-embedded": "^1.81.0",
"tiny-glob": "^0.2.9"
},
"workspaces": ["plugins/*"],
"trustedDependencies": ["@biomejs/biome", "esbuild", "sharp"]
"name": "docs.surrealdb.com",
"type": "module",
"version": "0.0.1",
"scripts": {
"dev": "astro dev",
"start": "astro dev",
"build": "bun run build-astro && bun run post-build",
"build-astro": "astro check && astro build",
"post-build": "bun run scripts/post-build.ts",
"preview": "astro preview",
"astro": "astro",
"serve": "bun scripts/serve.ts",
"ts": "tsc --watch",
"quality:check": "biome check .",
"quality:apply": "biome check . --write",
"quality:apply:unsafe": "biome check . --write --unsafe"
},
"dependencies": {
"@ark-ui/solid": "^3.13.0",
"@astrojs/check": "^0.9.4",
"@astrojs/mdx": "^3.1.9",
"@astrojs/sitemap": "^3.2.1",
"@astrojs/solid-js": "^4.4.3",
"@astrojs/tailwind": "^5.1.2",
"@codemirror/lang-sql": "^6.8.0",
"@codemirror/legacy-modes": "^6.4.2",
"@fig/lezer-bash": "^1.2.5",
"@iconify-icon/solid": "^2.1.1",
"@iconify-icons/fa6-regular": "^1.2.11",
"@iconify-icons/fa6-solid": "^1.2.13",
"@iconify-json/fa6-brands": "^1.2.2",
"@iconify-json/fa6-regular": "^1.2.2",
"@iconify-json/fa6-solid": "^1.2.2",
"@lezer/common": "^1.2.3",
"@lezer/go": "^1.0.0",
"@lezer/highlight": "^1.2.1",
"@lezer/javascript": "^1.4.19",
"@lezer/json": "^1.0.2",
"@lezer/php": "^1.0.2",
"@lezer/python": "^1.1.14",
"@lezer/rust": "^1.0.2",
"@lezer/yaml": "^1.0.3",
"@solid-primitives/scroll": "^2.0.23",
"@surrealdb/lezer": "^1.0.0-beta.16",
"@types/markdown-it": "^14.1.2",
"astro": "^4.16.13",
"astro-icon": "^1.1.2",
"clsx": "^2.1.1",
"gray-matter": "^4.0.3",
"hast-util-select": "^6.0.3",
"hast-util-to-html": "^9.0.3",
"hast-util-to-text": "^4.0.2",
"lezer-toml": "^1.0.0",
"markdown-it": "^14.1.0",
"remark": "^15.0.1",
"solid-devtools": "^0.30.1",
"solid-js": "^1.9.3",
"tailwind-merge": "^2.5.4",
"tailwindcss": "^3.4.15",
"typescript": "^5.6.3",
"unist-util-visit": "^5.0.0",
"vite-plugin-llms": "^1.0.2"
},
"devDependencies": {
"@biomejs/biome": "1.8.3",
"astro-compress": "^2.3.5",
"esbuild": "^0.23.1",
"hast-util-from-html": "^2.0.3",
"hast-util-to-string": "^3.0.1",
"hastscript": "^9.0.0",
"node-html-parser": "^6.1.13",
"rehype-autolink-headings": "^7.1.0",
"rehype-slug": "^6.0.0",
"remark-custom-heading-id": "^2.0.0",
"sass-embedded": "^1.81.0",
"tiny-glob": "^0.2.9"
},
"workspaces": ["plugins/*"],
"trustedDependencies": ["@biomejs/biome", "esbuild", "sharp"]
}

0 comments on commit 0145fc3

Please sign in to comment.