From dd84b9d64fb98746a230cd24233ff50a562c39c9 Mon Sep 17 00:00:00 2001 From: 简律纯 Date: Fri, 28 Apr 2023 01:36:44 +0800 Subject: --- turbo.json | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 turbo.json (limited to 'turbo.json') 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"] + } + } +} -- cgit v1.2.3-70-g09d2