From ad094dd57a6afc247f69864df26846d7414af210 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Burkard?= Date: Wed, 25 Sep 2024 14:56:32 +0200 Subject: [PATCH] move script to verify migration order to take advantage of turbo cache --- package.json | 4 ++-- turbo.json | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 1a5f68276f..b84585b004 100644 --- a/package.json +++ b/package.json @@ -28,12 +28,12 @@ "includecheck": "turbo run includecheck", "check": "turbo run check", "format:check": "turbo run format:check", - "fullcheck": "pnpm back verify-migrations-order && turbo run includecheck check typecheck test --concurrency=50%", + "fullcheck": "turbo run verify-migrations-order includecheck check typecheck test --concurrency=50%", "typecheck": "turbo run typecheck", "lint": "turbo run lint", "test": "turbo run test", "dev": "turbo run dev", - "fast-checks": "turbo run includecheck check && pnpm front test && pnpm shared test" + "fast-checks": "turbo run includecheck check verify-migrations-order && pnpm front test && pnpm shared test" }, "devDependencies": { "@biomejs/biome": "1.5.3", diff --git a/turbo.json b/turbo.json index e26fd67ec2..b8db1b1b93 100644 --- a/turbo.json +++ b/turbo.json @@ -20,6 +20,9 @@ "dependsOn": ["^typecheck"], "outputs": [] }, + "verify-migrations-order": { + "outputs": [] + }, "test": { "dependsOn": ["typecheck"], "outputs": []