chore: initialize monorepo tooling

This commit is contained in:
2026-09-18 15:00:48 +08:00
parent e28140a0b3
commit 55b2b091c2
42 changed files with 1858 additions and 18 deletions

12
apps/api/package.json Normal file
View File

@@ -0,0 +1,12 @@
{
"name": "@personal-brand/api",
"private": true,
"type": "module",
"scripts": {
"build": "tsc -p tsconfig.json",
"dev": "tsc -p tsconfig.json --watch",
"lint": "eslint .",
"typecheck": "tsc -p tsconfig.json --noEmit",
"clean": "rimraf dist"
}
}

3
apps/api/src/main.ts Normal file
View File

@@ -0,0 +1,3 @@
export function healthMessage(): string {
return "personal-brand-api";
}

5
apps/api/tsconfig.json Normal file
View File

@@ -0,0 +1,5 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": { "outDir": "dist", "rootDir": "src" },
"include": ["src/**/*.ts"]
}