test: fix ci problem

This commit is contained in:
moonrailgun 2024-04-07 20:00:02 +08:00
parent 07f64a87ff
commit d13e33e9a1
10 changed files with 9 additions and 7 deletions

View File

@ -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"
},

View File

@ -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",

View File

@ -123,8 +123,7 @@ function PageComponent() {
</Form.Item>
<Form.Item className="text-right">
<Button
type="primary"
htmlType="submit"
type="submit"
loading={changePasswordMutation.isLoading}
>
{t('Submit')}

View File

@ -1,5 +1,5 @@
{
"extends": "../../tsconfig.json",
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"module": "ESNext",
"jsx": "react-jsx",

View File

@ -8,6 +8,7 @@
"dev": "nodemon",
"build": "tsc -p tsconfig.server.json",
"postinstall": "pnpm db:generate",
"check:type": "tsc --noEmit --skipLibCheck --module esnext",
"db:generate": "prisma generate",
"db:migrate:dev": "prisma migrate dev",
"db:migrate:apply": "prisma migrate deploy",

View File

@ -1,4 +1,4 @@
{
"extends": "../../tsconfig.json",
"extends": "../../tsconfig.base.json",
"include": ["./**/*"]
}

View File

@ -1,5 +1,5 @@
{
"extends": "../../tsconfig.json",
"extends": "../../tsconfig.base.json",
"include": ["./**/*.ts", "../types/**/*.ts"],
"exclude": ["node_modules/**/*", "dist"],
"compilerOptions": {

View File

@ -9,6 +9,7 @@
"require": "./dist/cjs/src/shared/src/index.js"
},
"scripts": {
"check:type": "tsc --noEmit --skipLibCheck --module esnext",
"build": "concurrently npm:build:cjs npm:build:esm",
"build:cjs": "tsc --module commonjs --outDir ./dist/cjs",
"build:esm": "tsc --module esnext --outDir ./dist/esm",

View File

@ -1,5 +1,5 @@
{
"extends": "../../tsconfig.json",
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"outDir": "./dist",
"declaration": true,