mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-09-11 20:27:14 +03:00
Correctly add package as a dependency for linting
This commit is contained in:
parent
5e463f7011
commit
ee8f871005
@ -16,7 +16,8 @@
|
|||||||
"build": "turbo run build",
|
"build": "turbo run build",
|
||||||
"check": "turbo run check",
|
"check": "turbo run check",
|
||||||
"tauri": "tauri",
|
"tauri": "tauri",
|
||||||
"lint": "prettier --check . && eslint .",
|
"lint": "turbo run //#globallint",
|
||||||
|
"globallint": "prettier --check . && eslint .",
|
||||||
"format": "prettier --write .",
|
"format": "prettier --write .",
|
||||||
"fix": "eslint --fix .",
|
"fix": "eslint --fix .",
|
||||||
"prepare": "pnpm --filter @gitbutler/app run prepare",
|
"prepare": "pnpm --filter @gitbutler/app run prepare",
|
||||||
|
@ -9,11 +9,16 @@
|
|||||||
"cache": false
|
"cache": false
|
||||||
},
|
},
|
||||||
"dev": {
|
"dev": {
|
||||||
"dependsOn": ["@gitbutler/ui#package"],
|
"dependsOn": ["^package"],
|
||||||
"cache": false,
|
"cache": false,
|
||||||
"persistent": true
|
"persistent": true
|
||||||
},
|
},
|
||||||
"check": {
|
"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"],
|
"dependsOn": ["@gitbutler/ui#package"],
|
||||||
"cache": true
|
"cache": true
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user