From 125dbeea01df9163cae462652d32d386c67b9fb0 Mon Sep 17 00:00:00 2001 From: Vojtech Mares Date: Wed, 4 Oct 2023 18:13:19 +0200 Subject: [PATCH] feat: add turborepo for monorepo building and management --- .gitignore | 1 + turbo.json | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 turbo.json diff --git a/.gitignore b/.gitignore index 56029e9..6f7d5e6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +.turbo **/node_modules **/coverage **/build diff --git a/turbo.json b/turbo.json new file mode 100644 index 0000000..74b4903 --- /dev/null +++ b/turbo.json @@ -0,0 +1,21 @@ +{ + "$schema": "https://turbo.build/schema.json", + "pipeline": { + "build": { + "dependsOn": ["^build"], + "outputs": [".next/**", "!.next/cache/**"] + }, + "deploy": { + "dependsOn": ["build", "test", "lint"] + }, + "test": { + "dependsOn": ["build"], + "inputs": ["src/**/*.tsx", "src/**/*.ts", "test/**/*.ts", "test/**/*.tsx"] + }, + "lint": {}, + "dev": { + "cache": false, + "persistent": true + } + } +}