Skip to content

Commit

Permalink
improve turbo config
Browse files Browse the repository at this point in the history
  • Loading branch information
HugoRCD committed Apr 18, 2024
1 parent d62ccfc commit 9351b49
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 18 deletions.
15 changes: 6 additions & 9 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
root = true

[*]
indent_size = 2
indent_style = space
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.js]
indent_style = space
indent_size = 2

[{package.json,*.yml,*.cjson}]
indent_style = space
indent_size = 2
[*.md]
trim_trailing_whitespace = false
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@
"version": "1.0.0",
"scripts": {
"build": "automd && turbo build",
"generate": "turbo run generate",
"dev": "turbo dev",
"lint": "turbo lint",
"lint:fix": "turbo lint -- --fix",
"lint:fix": "turbo lint:fix",
"test": "turbo test",
"typecheck": "turbo typecheck",
"release": "changelogen --release --push",
Expand Down
28 changes: 20 additions & 8 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,32 @@
"pipeline": {
"build": {
"dependsOn": ["^build"],
"outputs": ["dist/**"]
"outputs": [
"dist/**"
]
},
"generate" : {
"dependsOn": ["^generate"],
"outputs": [
"dist/**",
".output/**"
]
},
"dev": {
"cache": false,
"persistent": true
},
"lint": {
"dependsOn": ["^lint"]
"outputs": []
},
"lint:fix": {
"outputs": []
},
"test": {
"dependsOn": ["^test"]
"outputs": []
},
"typecheck": {
"dependsOn": ["^typecheck"]
},
"dev": {
"cache": false,
"persistent": true
"outputs": []
}
}
}

0 comments on commit 9351b49

Please sign in to comment.