Correctly add package as a dependency for linting

This commit is contained in:
Caleb Owens 2024-07-02 15:18:37 +02:00
parent 5e463f7011
commit ee8f871005
No known key found for this signature in database
2 changed files with 8 additions and 2 deletions

View File

@ -16,7 +16,8 @@
"build": "turbo run build",
"check": "turbo run check",
"tauri": "tauri",
"lint": "prettier --check . && eslint .",
"lint": "turbo run //#globallint",
"globallint": "prettier --check . && eslint .",
"format": "prettier --write .",
"fix": "eslint --fix .",
"prepare": "pnpm --filter @gitbutler/app run prepare",

View File

@ -9,11 +9,16 @@
"cache": false
},
"dev": {
"dependsOn": ["@gitbutler/ui#package"],
"dependsOn": ["^package"],
"cache": false,
"persistent": true
},
"check": {
"dependsOn": ["^package"],
"cache": true
},
"//#globallint": {
// Root rules require dependencies to manually be listed https://github.com/vercel/turbo/discussions/7481
"dependsOn": ["@gitbutler/ui#package"],
"cache": true
}