mirror of
https://github.com/OpenCut-app/OpenCut.git
synced 2026-07-13 21:52:53 +02:00
config: Turborepo and Biome configuration
This commit is contained in:
@@ -7,7 +7,9 @@
|
|||||||
"dev": "next dev",
|
"dev": "next dev",
|
||||||
"build": "next build",
|
"build": "next build",
|
||||||
"start": "next start",
|
"start": "next start",
|
||||||
"lint": "next lint",
|
"lint": "biome check src/",
|
||||||
|
"lint:fix": "biome check src/ --write",
|
||||||
|
"format": "biome format src/ --write",
|
||||||
"db:generate": "drizzle-kit generate",
|
"db:generate": "drizzle-kit generate",
|
||||||
"db:migrate": "drizzle-kit migrate",
|
"db:migrate": "drizzle-kit migrate",
|
||||||
"db:push:local": "cross-env NODE_ENV=development drizzle-kit push",
|
"db:push:local": "cross-env NODE_ENV=development drizzle-kit push",
|
||||||
@@ -67,7 +69,6 @@
|
|||||||
"cross-env": "^7.0.3",
|
"cross-env": "^7.0.3",
|
||||||
"drizzle-kit": "^0.31.4",
|
"drizzle-kit": "^0.31.4",
|
||||||
"postcss": "^8",
|
"postcss": "^8",
|
||||||
"prettier": "^3.4.2",
|
|
||||||
"tailwindcss": "^3.4.1",
|
"tailwindcss": "^3.4.1",
|
||||||
"tsx": "^4.7.1",
|
"tsx": "^4.7.1",
|
||||||
"typescript": "^5.8.3"
|
"typescript": "^5.8.3"
|
||||||
|
|||||||
+38
-32
@@ -1,34 +1,40 @@
|
|||||||
{
|
{
|
||||||
"$schema": "https://biomejs.dev/schemas/2.0.4/schema.json",
|
"$schema": "https://biomejs.dev/schemas/2.1.2/schema.json",
|
||||||
"vcs": {
|
"vcs": {
|
||||||
"enabled": false,
|
"enabled": true,
|
||||||
"clientKind": "git",
|
"clientKind": "git",
|
||||||
"useIgnoreFile": false
|
"useIgnoreFile": true
|
||||||
},
|
},
|
||||||
"files": {
|
"files": {
|
||||||
"ignoreUnknown": false
|
"ignoreUnknown": false,
|
||||||
},
|
"includes": ["**/*.js", "**/*.jsx", "**/*.ts", "**/*.tsx", "**/*.json"],
|
||||||
"formatter": {
|
"experimentalScannerIgnores": [
|
||||||
"enabled": true,
|
"**/node_modules/**",
|
||||||
"indentStyle": "tab"
|
"**/.next/**",
|
||||||
},
|
"**/turbo/**"
|
||||||
"linter": {
|
]
|
||||||
"enabled": true,
|
},
|
||||||
"rules": {
|
"formatter": {
|
||||||
"recommended": true
|
"enabled": true,
|
||||||
}
|
"indentStyle": "tab"
|
||||||
},
|
},
|
||||||
"javascript": {
|
"linter": {
|
||||||
"formatter": {
|
"enabled": true,
|
||||||
"quoteStyle": "double"
|
"rules": {
|
||||||
}
|
"recommended": true
|
||||||
},
|
}
|
||||||
"assist": {
|
},
|
||||||
"enabled": true,
|
"javascript": {
|
||||||
"actions": {
|
"formatter": {
|
||||||
"source": {
|
"quoteStyle": "double"
|
||||||
"organizeImports": "on"
|
}
|
||||||
}
|
},
|
||||||
}
|
"assist": {
|
||||||
}
|
"enabled": true,
|
||||||
|
"actions": {
|
||||||
|
"source": {
|
||||||
|
"organizeImports": "on"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,6 +14,7 @@
|
|||||||
"build": "turbo run build",
|
"build": "turbo run build",
|
||||||
"check-types": "turbo run check-types",
|
"check-types": "turbo run check-types",
|
||||||
"lint": "turbo run lint",
|
"lint": "turbo run lint",
|
||||||
|
"lint:fix": "turbo run lint:fix",
|
||||||
"format": "turbo run format"
|
"format": "turbo run format"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
@@ -17,6 +17,15 @@
|
|||||||
"dev": {
|
"dev": {
|
||||||
"persistent": true,
|
"persistent": true,
|
||||||
"cache": false
|
"cache": false
|
||||||
|
},
|
||||||
|
"lint": {
|
||||||
|
"dependsOn": ["^lint"]
|
||||||
|
},
|
||||||
|
"lint:fix": {
|
||||||
|
"dependsOn": ["^lint:fix"]
|
||||||
|
},
|
||||||
|
"format": {
|
||||||
|
"dependsOn": ["^format"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user