Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: ✨ 添加后端文档生成 #7

Merged
merged 1 commit into from
Mar 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .commitlintrc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{ "extends": ["@commitlint/config-conventional"],
"rules": {
{
"extends": ["@commitlint/config-conventional"],
"rules": {
"type-enum": [
2,
"always",
Expand Down Expand Up @@ -97,4 +98,5 @@
"name": "chore: 其他修改 | Other changes that do not modify src or test files"
}
]
} }
}
}
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ lerna-debug.log*
!.vscode/launch.json
!.vscode/extensions.json

.turbo
.turbo
4 changes: 3 additions & 1 deletion apps/back/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,6 @@ lerna-debug.log*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
!.vscode/extensions.json

documentation/**
2 changes: 2 additions & 0 deletions apps/back/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"start:debug": "nest start --debug --watch",
"start:prod": "node dist/main",
"lint": "tsc --noEmit && eslint \"src/**/*.ts\" --ignore-path .eslintignore",
"compodoc": "compodoc -p tsconfig.json -s -o",
"test": "jest",
"test:watch": "jest --watch",
"test:cov": "jest --coverage",
Expand All @@ -40,6 +41,7 @@
"winston-daily-rotate-file": "^5.0.0"
},
"devDependencies": {
"@compodoc/compodoc": "^1.1.23",
"@nestjs/cli": "^10.3.2",
"@nestjs/schematics": "^10.1.1",
"@nestjs/testing": "^10.3.3",
Expand Down
2 changes: 1 addition & 1 deletion apps/back/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"extends": "./tsconfig.json",
"exclude": ["node_modules", "test", "dist", "**/*spec.ts","src/metadata.ts"]
"exclude": ["node_modules", "test", "dist", "**/*spec.ts", "src/metadata.ts"]
}
2 changes: 1 addition & 1 deletion apps/back/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@
"~/*": ["./src/*"]
}
}
}
}
2 changes: 1 addition & 1 deletion apps/web/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"baseUrl": ".",
"paths": {
"@/*": ["./src/*"]
},
}
},
"include": [
"src/**/*.ts",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"lint": "turbo lint",
"prepare": "husky install",
"dev": "lerna run dev --scope=web",
"start": "lerna run start --scope=service"
"start": "lerna run start:dev --scope=service"
},
"config": {
"commitizen": {
Expand Down
2 changes: 1 addition & 1 deletion packages/typescript-config/nextjs.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
"moduleResolution": "Bundler",
"allowJs": true,
"jsx": "preserve",
"noEmit": true,
"noEmit": true
}
}
11 changes: 5 additions & 6 deletions packages/typescript-config/web.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"extends": "@vue/tsconfig/tsconfig.dom.json",
"compilerOptions": {
"noEmit": true,
"types": ["vitest", "vitest/globals"]
}
"extends": "@vue/tsconfig/tsconfig.dom.json",
"compilerOptions": {
"noEmit": true,
"types": ["vitest", "vitest/globals"]
}
}
Loading