diff --git a/docs/tsconfig.json b/docs/tsconfig.json index cd8533c..e84d5ac 100644 --- a/docs/tsconfig.json +++ b/docs/tsconfig.json @@ -16,7 +16,8 @@ "include": [ "src", ".vitepress/**/*", - "../packages/**/*.vue" + "../packages/**/*.vue", + "vitepress.config.ts" ], "references": [ { diff --git a/package.json b/package.json index 430cd76..ae9095a 100644 --- a/package.json +++ b/package.json @@ -16,9 +16,9 @@ "typecheck": "pnpm tsc:build && tsc --noEmit --project tsconfig.node.json && vue-tsc --noEmit -p docs/tsconfig.json", "lint": "pnpm tsc:build && eslint --flag unstable_ts_config --cache .", "lint:fix": "pnpm tsc:build && pnpm lint --fix", - "docs:dev": "vitepress dev docs", - "docs:build": "vitepress build docs", - "docs:preview": "vitepress preview docs" + "docs:dev": "pnpm build && vitepress dev docs", + "docs:build": "pnpm build && vitepress build docs", + "docs:preview": "pnpm build && vitepress preview docs" }, "devDependencies": { diff --git a/packages/utilix/tsconfig.json b/packages/utilix/tsconfig.json index f5e5ec9..bbfc53f 100644 --- a/packages/utilix/tsconfig.json +++ b/packages/utilix/tsconfig.json @@ -7,5 +7,6 @@ "@internal/*": ["./src/_internal/*"], } }, - "include": ["src"] + "include": ["src"], + "exclude": ["src/**/*.vue"] }