style(biome): using biome for format, lint, check

This commit is contained in:
2025-11-08 12:58:40 +02:00
parent 075a388ccb
commit fdd1cbbfd5
152 changed files with 3737 additions and 3989 deletions
+43 -54
View File
@@ -1,66 +1,15 @@
{
"name": "basango",
"private": true,
"scripts": {
"build": "turbo run build",
"clean": "git clean -xdf node_modules",
"clean:workspaces": "turbo run clean",
"dev": "turbo run dev --parallel",
"test": "turbo run test --parallel",
"dev:dashboard": "turbo dev --filter=@basango/dashboard",
"start:dashboard": "turbo start --filter=@basango/dashboard",
"build:dashboard": "turbo build --filter=@basango/dashboard",
"dev:api": "turbo dev --filter=@basango/api",
"start:api": "turbo start --filter=@basango/api",
"build:api": "turbo build --filter=@basango/api",
"lint": "turbo run lint && manypkg check",
"format": "biome format --write .",
"typecheck": "turbo run typecheck"
},
"devDependencies": {
"@basango/typescript-config": "workspace:*",
"@biomejs/biome": "^2.3.1",
"@commitlint/cli": "^20.1.0",
"@commitlint/config-conventional": "^20.0.0",
"@manypkg/cli": "^0.25.1",
"commitizen": "^4.3.1",
"cz-conventional-changelog": "^3.3.0",
"husky": "^9.1.7",
"lint-staged": "^16.2.6",
"turbo": "^2.5.8",
"typescript": "catalog:"
},
"engines": {
"node": ">=22"
},
"packageManager": "bun@1.3.1",
"workspaces": [
"apps/crawler/*",
"apps/dashboard/*",
"apps/mobile/*",
"packages/*"
],
"catalog": {
"@types/bun": "^1.3.1",
"@types/react": "^19.2.0",
"@types/react-dom": "^19.2.0",
"typescript": "^5.9.3",
"date-fns": "^3.6.0",
"next": "^16.0.0",
"react": "^19.2.0",
"react-dom": "^19.2.0",
"next": "^16.0.0",
"typescript": "^5.9.3",
"zod": "^4.0.0"
},
"lint-staged": {
"*.ts": [
"biome format --write",
"biome check --write"
],
"*.tsx": [
"biome format --write",
"biome check --write"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
@@ -70,5 +19,45 @@
"commitizen": {
"path": "cz-conventional-changelog"
}
}
},
"devDependencies": {
"@basango/tsconfig": "workspace:*",
"@biomejs/biome": "^2.3.1",
"@commitlint/cli": "^20.1.0",
"@commitlint/config-conventional": "^20.0.0",
"@manypkg/cli": "^0.25.1",
"commitizen": "^4.3.1",
"cz-conventional-changelog": "^3.3.0",
"husky": "^9.1.7",
"turbo": "^2.5.8",
"typescript": "catalog:"
},
"engines": {
"node": ">=22"
},
"name": "basango",
"packageManager": "bun@1.3.1",
"private": true,
"scripts": {
"build": "turbo run build",
"build:api": "turbo build --filter=@basango/api",
"build:dashboard": "turbo build --filter=@basango/dashboard",
"clean": "git clean -xdf node_modules",
"clean:workspaces": "turbo run clean",
"dev": "turbo run dev --parallel",
"dev:api": "turbo dev --filter=@basango/api",
"dev:dashboard": "turbo dev --filter=@basango/dashboard",
"format": "biome format --write && biome check --write && biome lint --write",
"lint": "biome check && biome lint && manypkg check",
"start:api": "turbo start --filter=@basango/api",
"start:dashboard": "turbo start --filter=@basango/dashboard",
"test": "turbo run test --parallel",
"typecheck": "turbo run typecheck"
},
"workspaces": [
"apps/crawler/*",
"apps/dashboard/*",
"apps/mobile/*",
"packages/*"
]
}