From d13e33e9a1e99d530b56327a32b7dcc884f6f686 Mon Sep 17 00:00:00 2001 From: moonrailgun Date: Sun, 7 Apr 2024 20:00:02 +0800 Subject: [PATCH] test: fix ci problem --- package.json | 2 +- src/client/package.json | 1 + src/client/routes/settings/profile.tsx | 3 +-- src/client/tsconfig.json | 2 +- src/server/package.json | 1 + src/server/tsconfig.json | 2 +- src/server/tsconfig.server.json | 2 +- src/shared/package.json | 1 + src/shared/tsconfig.json | 2 +- tsconfig.json => tsconfig.base.json | 0 10 files changed, 9 insertions(+), 7 deletions(-) rename tsconfig.json => tsconfig.base.json (100%) diff --git a/package.json b/package.json index e2d8d80..84e054b 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "build:tracker": "ts-node scripts/build-tracker.ts", "build:geo": "ts-node scripts/build-geo.ts", "build:openapi": "ts-node scripts/build-openapi-schema.ts", - "check:type": "tsc --noEmit --skipLibCheck --module esnext", + "check:type": "pnpm -r check:type", "release": "release-it", "release:patch": "release-it -i patch" }, diff --git a/src/client/package.json b/src/client/package.json index fe70154..a8ad529 100644 --- a/src/client/package.json +++ b/src/client/package.json @@ -8,6 +8,7 @@ "dev": "vite --port 10000", "build": "vite build", "ui:add": "shadcn-ui add", + "check:type": "tsc --noEmit --skipLibCheck --module esnext", "translation:extract": "i18next-toolkit extract", "translation:scan": "i18next-toolkit scan", "translation:translate": "i18next-toolkit translate", diff --git a/src/client/routes/settings/profile.tsx b/src/client/routes/settings/profile.tsx index 4ece3f0..3a726a0 100644 --- a/src/client/routes/settings/profile.tsx +++ b/src/client/routes/settings/profile.tsx @@ -123,8 +123,7 @@ function PageComponent() {