aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/turbo.json
diff options
context:
space:
mode:
author简律纯 <hsiangnianian@outlook.com>2023-04-28 01:36:44 +0800
committer简律纯 <hsiangnianian@outlook.com>2023-04-28 01:36:44 +0800
commitdd84b9d64fb98746a230cd24233ff50a562c39c9 (patch)
treeb583261ef00b3afe72ec4d6dacb31e57779a6faf /turbo.json
parent0b46fcd72ac34382387b2bcf9095233efbcc52f4 (diff)
downloadHydroRoll-dd84b9d64fb98746a230cd24233ff50a562c39c9.tar.gz
HydroRoll-dd84b9d64fb98746a230cd24233ff50a562c39c9.zip
Diffstat (limited to 'turbo.json')
-rw-r--r--turbo.json29
1 files changed, 29 insertions, 0 deletions
diff --git a/turbo.json b/turbo.json
new file mode 100644
index 0000000..923b5e9
--- /dev/null
+++ b/turbo.json
@@ -0,0 +1,29 @@
+{
+ "$schema": "./docs/public/schema.json",
+ "pipeline": {
+ "test": {
+ "outputs": ["coverage/**/*"],
+ "dependsOn": ["cli#build", "^build"]
+ },
+
+ // lint tasks
+ "lint": {},
+ // root lint task runs toml check and prettier
+ // TODO: run prettier in individual workspaces instead of globally.
+ "//#lint": {
+ "dependsOn": ["//#check:toml", "//#check:prettier"]
+ },
+ "//#check:prettier": {},
+ "//#check:toml": {},
+ "check-types": {
+ "dependsOn": ["^build"]
+ },
+ "//#build:ts": {
+ "outputs": ["packages/**/dist"]
+ },
+ "build": {
+ "outputs": ["dist/**/*", ".next/**/*"],
+ "dependsOn": ["^build"]
+ }
+ }
+}