From 2e0ef0146ee66ea0886503ec8c5e2e32f37fd101 Mon Sep 17 00:00:00 2001 From: Petr Plenkov Date: Tue, 8 Oct 2024 09:44:21 +0000 Subject: [PATCH] check instead of format --- nx.json | 12 +++--------- package.json | 2 +- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/nx.json b/nx.json index fbf5c77..12caa03 100644 --- a/nx.json +++ b/nx.json @@ -36,16 +36,10 @@ "targetDefaults": { "@nx/vite:test": { "cache": true, - "inputs": [ - "default", - "^default" - ] + "inputs": ["default", "^default"] }, "nx-release-publish": { - "dependsOn": [ - "build", - "test" - ] + "dependsOn": ["build", "test"] } } -} \ No newline at end of file +} diff --git a/package.json b/package.json index 202a8b9..46ba42a 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "scripts": { "test": "nx run-many --target=test --exclude=${npm_package_name} --coverage", "prepare": "husky", - "precommit": "nx format:check" + "precommit": "nx format:check --uncommitted" }, "author": "", "license": "ISC",