From 706ce2f21f114df3230ae6a130f5de098839c688 Mon Sep 17 00:00:00 2001 From: David Blass Date: Sun, 22 Dec 2024 17:31:10 -0500 Subject: [PATCH] fix dev mode w/ baseUrl --- ark/attest/tsconfig.build.json | 12 ------------ ark/docs/components/Asterisk.tsx | 4 +++- ark/docs/content/docs/keywords.mdx | 5 ++++- ark/docs/content/docs/primitives/index.mdx | 2 +- ark/docs/next.config.ts | 3 ++- ark/fast-check/tsconfig.build.json | 12 ------------ 6 files changed, 10 insertions(+), 28 deletions(-) delete mode 100644 ark/attest/tsconfig.build.json delete mode 100644 ark/fast-check/tsconfig.build.json diff --git a/ark/attest/tsconfig.build.json b/ark/attest/tsconfig.build.json deleted file mode 100644 index 0652e3a7fa..0000000000 --- a/ark/attest/tsconfig.build.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "../../tsconfig.json", - "compilerOptions": { - "rootDir": ".", - "outDir": "out", - "noEmit": false, - "declaration": false, - "noCheck": true, - "customConditions": [] - }, - "exclude": ["out", "__tests__"] -} diff --git a/ark/docs/components/Asterisk.tsx b/ark/docs/components/Asterisk.tsx index 63d7b060c5..47955fd5b2 100644 --- a/ark/docs/components/Asterisk.tsx +++ b/ark/docs/components/Asterisk.tsx @@ -1,3 +1,5 @@ export const Asterisk = () => ( -

*

+
+ * +
) diff --git a/ark/docs/content/docs/keywords.mdx b/ark/docs/content/docs/keywords.mdx index f7df494d3a..86bb95405a 100644 --- a/ark/docs/content/docs/keywords.mdx +++ b/ark/docs/content/docs/keywords.mdx @@ -7,7 +7,10 @@ import { SyntaxTab, SyntaxTabs } from "../../components/SyntaxTabs.tsx" ### TypeScript -All builtin TypeScript keywords are directly available. +
+ All + builtin TypeScript keywords are directly available. +
diff --git a/ark/docs/content/docs/primitives/index.mdx b/ark/docs/content/docs/primitives/index.mdx index 8ae5e55194..01cc1b2213 100644 --- a/ark/docs/content/docs/primitives/index.mdx +++ b/ark/docs/content/docs/primitives/index.mdx @@ -6,7 +6,7 @@ import { SyntaxTab, SyntaxTabs } from "../../../components/SyntaxTabs.tsx" ## string -### keywords [#string-literals] +### keywords [#string-keywords] 🚧 Coming soon ™️🚧 diff --git a/ark/docs/next.config.ts b/ark/docs/next.config.ts index 7e085bc756..6fe5293677 100644 --- a/ark/docs/next.config.ts +++ b/ark/docs/next.config.ts @@ -18,7 +18,8 @@ const config = { // the following properties are required by nextjs-github-pages: // https://github.com/gregrickaby/nextjs-github-pages output: "export", - basePath: "/arktype", + basePath: + process.env.NODE_ENV === "development" ? (undefined as never) : "/arktype", images: { unoptimized: true } diff --git a/ark/fast-check/tsconfig.build.json b/ark/fast-check/tsconfig.build.json deleted file mode 100644 index 0652e3a7fa..0000000000 --- a/ark/fast-check/tsconfig.build.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "extends": "../../tsconfig.json", - "compilerOptions": { - "rootDir": ".", - "outDir": "out", - "noEmit": false, - "declaration": false, - "noCheck": true, - "customConditions": [] - }, - "exclude": ["out", "__tests__"] -}