Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion packages/config-vitest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"node": ">=18"
},
"scripts": {
"dev": "tshy --watch",
"clean": "rm -rf node_modules .tshy .tshy-build dist .turbo"
},
"author": "Andrew Lisowski <[email protected]>",
Expand Down
10 changes: 8 additions & 2 deletions packages/docs/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import starlight from "@astrojs/starlight";
import starlightTypeDoc, { typeDocSidebarGroup } from "starlight-typedoc";
import react from "@astrojs/react";
import path from "path";
import { fileURLToPath } from "url";
import { nodePolyfills } from "vite-plugin-node-polyfills";

export default defineConfig({
Expand Down Expand Up @@ -42,12 +43,12 @@ export default defineConfig({
sort: ["static-first", "alphabetical"],
plugin: [
path.join(
path.dirname(import.meta.url).replace("file:", ""),
path.dirname(fileURLToPath(import.meta.url)),
"./src/typedoc-plugin.js"
),
"typedoc-plugin-zod",
path.join(
path.dirname(import.meta.url).replace("file:", ""),
path.dirname(fileURLToPath(import.meta.url)),
"./src/typedoc-zod-extended.js"
),
],
Expand All @@ -58,5 +59,10 @@ export default defineConfig({
],
vite: {
plugins: [nodePolyfills({ include: ["buffer"] })],
resolve: {
alias: {
"jimp": path.resolve(path.dirname(fileURLToPath(import.meta.url)), "../jimp/dist/esm/index.js"),
},
},
},
});