chore: initialize monorepo tooling

This commit is contained in:
que01 committed 2026-09-18 15:00:48 +08:00
1 parent e28140a0b3
commit 55b2b091c2
42 files changed
+1858 -18

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
{
"name": "@personal-brand/api-client",
"private": true,
"type": "module",
"scripts": {
"build": "tsc -p tsconfig.json",
"lint": "eslint .",
"typecheck": "tsc -p tsconfig.json --noEmit",
"clean": "rimraf dist"
},
"dependencies": {
"@personal-brand/types": "workspace:*"
}
}
+1
View File
@@ -0,0 +1 @@
export const apiClientName = "personal-brand-api-client";
+5
View File
@@ -0,0 +1,5 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": { "outDir": "dist", "rootDir": "src" },
"include": ["src/**/*.ts"]
}
+10
View File
@@ -0,0 +1,10 @@
{
"name": "@personal-brand/config",
"private": true,
"type": "module",
"scripts": {
"lint": "eslint .",
"typecheck": "tsc -p tsconfig.json --noEmit",
"clean": "rimraf dist"
}
}
+1
View File
@@ -0,0 +1 @@
export const configPackageName = "personal-brand-config";
+5
View File
@@ -0,0 +1,5 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": { "noEmit": true },
"include": ["src/**/*.ts"]
}
+17
View File
@@ -0,0 +1,17 @@
{
"name": "@personal-brand/types",
"private": true,
"type": "module",
"scripts": {
"build": "tsc -p tsconfig.json",
"lint": "eslint .",
"typecheck": "tsc -p tsconfig.json --noEmit",
"clean": "rimraf dist"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
}
}
}
+4
View File
@@ -0,0 +1,4 @@
export type BookingStatus = "received" | "contacting" | "confirmed" | "completed" | "cancelled";
export type BookingRequestType = "package" | "private_chef";
export type ContactPreference = "wechat" | "phone" | "none";
export type FulfillmentType = "pickup" | "delivery";
+5
View File
@@ -0,0 +1,5 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": { "outDir": "dist", "rootDir": "src" },
"include": ["src/**/*.ts"]
}
+11
View File
@@ -0,0 +1,11 @@
{
"name": "@personal-brand/validation",
"private": true,
"type": "module",
"scripts": {
"build": "tsc -p tsconfig.json",
"lint": "eslint .",
"typecheck": "tsc -p tsconfig.json --noEmit",
"clean": "rimraf dist"
}
}
+1
View File
@@ -0,0 +1 @@
export const validationPackageName = "personal-brand-validation";
+5
View File
@@ -0,0 +1,5 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": { "outDir": "dist", "rootDir": "src" },
"include": ["src/**/*.ts"]
}