From 17d305bb2908332db3d9ac6d217f0d1acfcde3e2 Mon Sep 17 00:00:00 2001 From: Rodolphe Stoclin Date: Wed, 13 Nov 2024 21:30:43 +0100 Subject: [PATCH] chore(scripts): updating format check --- package.json | 4 ++-- turbo.json | 5 ++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 452d83f04..a66571955 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "scripts": { "build": "turbo --filter \"./packages/*\" build", "check-exports": "turbo check-exports", - "ci": "bun run build && bun run format:check && bun run check-exports && bun run lint && bun run test:ci", + "ci": "bun run build && bun run check-exports && bun run lint && bun run test:ci", "clean": "bun clean:build", "clean:build": "bunx rimraf packages/*/dist docs/dist docs/.astro", "clean:test": "bunx rimraf tests/tmp/*.{js,js.map,css,html,json}", @@ -35,7 +35,7 @@ "changeset": "changeset", "changeset:version": "changeset version && bun install --no-frozen-lockfile", "changeset:release": "bun run build && changeset publish", - "format:check": "biome check .", + "format:check": "turbo run format:check", "format": "biome check --write ." }, "dependencies": { diff --git a/turbo.json b/turbo.json index d9950f898..5609fe5d7 100644 --- a/turbo.json +++ b/turbo.json @@ -9,9 +9,8 @@ "dependsOn": ["^build"], "outputs": ["dist/**", ".next/**", "!.next/cache/**"] }, - "check-exports": { - "cache": false - }, + "check-exports": {}, + "format:check": {}, "lint": {}, "test": { "dependsOn": ["^lint"],