chore(task6): complete turborepo migration verification

This commit is contained in:
2026-07-02 15:49:14 +08:00
parent e34e4dd6b6
commit e13de5fef4
7 changed files with 24 additions and 15 deletions

View File

@@ -1,12 +1,13 @@
{
"name": "@gongxue/admin",
"private": true,
"version": "0.0.0",
"private": true,
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc -b && vite build",
"lint": "oxlint --config ../../oxlint.config.ts",
"typecheck": "tsc -b --noEmit",
"format": "oxfmt",
"preview": "vite preview"
},
@@ -23,12 +24,12 @@
"tslib": "^2.8.1"
},
"devDependencies": {
"@gongxue/typescript-config": "*",
"@types/node": "^24.12.2",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^6.0.1",
"typescript": "~6.0.2",
"vite": "^8.0.9",
"@gongxue/typescript-config": "*"
"vite": "^8.0.9"
}
}

View File

@@ -1,10 +1,10 @@
{
"name": "@gongxue/server",
"version": "0.0.1",
"description": "",
"author": "",
"private": true,
"description": "",
"license": "UNLICENSED",
"author": "",
"scripts": {
"build": "nest build",
"format": "oxfmt",
@@ -13,6 +13,7 @@
"start:debug": "nest start --debug --watch",
"start:prod": "node dist/main",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"typecheck": "tsc -p tsconfig.build.json --noEmit",
"test": "jest",
"test:watch": "jest --watch",
"test:cov": "jest --coverage",
@@ -47,6 +48,7 @@
"devDependencies": {
"@eslint/eslintrc": "^3.2.0",
"@eslint/js": "^9.18.0",
"@gongxue/typescript-config": "*",
"@nestjs/cli": "^11.0.0",
"@nestjs/schematics": "^11.0.0",
"@nestjs/testing": "^11.0.1",
@@ -68,24 +70,23 @@
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
"typescript": "~6.0.2",
"typescript-eslint": "^8.20.0",
"@gongxue/typescript-config": "*"
"typescript-eslint": "^8.20.0"
},
"jest": {
"collectCoverageFrom": [
"**/*.(t|j)s"
],
"coverageDirectory": "../coverage",
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testEnvironment": "node",
"testRegex": ".*\\.spec\\.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"collectCoverageFrom": [
"**/*.(t|j)s"
],
"coverageDirectory": "../coverage",
"testEnvironment": "node"
}
}
}

1
apps/server/src/global.d.ts vendored Normal file
View File

@@ -0,0 +1 @@
/// <reference types="multer" />

View File

@@ -1,4 +1,7 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"rootDir": "./src"
},
"exclude": ["node_modules", "test", "dist", "**/*spec.ts"]
}

View File

@@ -2,6 +2,7 @@
"extends": "@gongxue/typescript-config/nestjs.json",
"compilerOptions": {
"outDir": "./dist",
"baseUrl": "./"
"rootDir": "./",
"ignoreDeprecations": "6.0"
}
}

View File

@@ -1,6 +1,7 @@
{
"name": "gongxue-base",
"private": true,
"packageManager": "npm@11.12.1",
"workspaces": [
"apps/*",
"packages/*"

View File

@@ -15,6 +15,7 @@
"incremental": true,
"noImplicitAny": false,
"strictBindCallApply": false,
"noFallthroughCasesInSwitch": false
"noFallthroughCasesInSwitch": false,
"strictPropertyInitialization": false
}
}