fix: add root monorepo config files (pnpm-workspace.yaml)

This commit is contained in:
OG T
2026-03-22 19:00:45 +08:00
parent b5d4b50c52
commit d96bd03128
6 changed files with 6156 additions and 1 deletions

1
.gitignore vendored
View File

@@ -6,7 +6,6 @@
node_modules/
.pnp
.pnp.js
pnpm-lock.yaml
yarn.lock
package-lock.json

30
package.json Normal file
View File

@@ -0,0 +1,30 @@
{
"name": "awoooi",
"version": "0.1.0",
"private": true,
"description": "AWOOOI - AI + WOOO Intelligent Operations Platform",
"repository": {
"type": "git",
"url": "https://github.com/wooo-work/awoooi.git"
},
"scripts": {
"build": "turbo build",
"dev": "turbo dev",
"lint": "turbo lint",
"typecheck": "turbo typecheck",
"test": "turbo test",
"clean": "turbo clean && rm -rf node_modules",
"format": "prettier --write \"**/*.{ts,tsx,js,jsx,json,md}\""
},
"devDependencies": {
"@types/node": "^20.11.0",
"prettier": "^3.2.0",
"turbo": "^2.0.0",
"typescript": "^5.3.0"
},
"packageManager": "pnpm@9.0.0",
"engines": {
"node": ">=20.0.0",
"pnpm": ">=9.0.0"
}
}

6076
pnpm-lock.yaml generated Normal file

File diff suppressed because it is too large Load Diff

3
pnpm-workspace.yaml Normal file
View File

@@ -0,0 +1,3 @@
packages:
- 'apps/*'
- 'packages/*'

21
tsconfig.json Normal file
View File

@@ -0,0 +1,21 @@
{
"compilerOptions": {
"target": "ES2022",
"lib": ["ES2022", "DOM", "DOM.Iterable"],
"module": "ESNext",
"moduleResolution": "bundler",
"resolveJsonModule": true,
"allowJs": true,
"strict": true,
"noEmit": true,
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"isolatedModules": true,
"incremental": true,
"declaration": true,
"declarationMap": true,
"sourceMap": true
},
"exclude": ["node_modules", "dist", ".next", ".turbo"]
}

26
turbo.json Normal file
View File

@@ -0,0 +1,26 @@
{
"$schema": "https://turbo.build/schema.json",
"globalDependencies": ["**/.env.*local"],
"tasks": {
"build": {
"dependsOn": ["^build"],
"outputs": ["dist/**", ".next/**", "!.next/cache/**"]
},
"dev": {
"cache": false,
"persistent": true
},
"lint": {
"dependsOn": ["^build"]
},
"typecheck": {
"dependsOn": ["^build"]
},
"test": {
"dependsOn": ["build"]
},
"clean": {
"cache": false
}
}
}