From b96bcc7a25cdabaff3cf31f1ae27e7087c4cf6b1 Mon Sep 17 00:00:00 2001 From: ernscht Date: Thu, 18 Jul 2024 11:17:29 +0200 Subject: [PATCH] chore: update clean task --- .prettierignore | 1 + package.json | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.prettierignore b/.prettierignore index 7b11327..0ab4535 100644 --- a/.prettierignore +++ b/.prettierignore @@ -19,3 +19,4 @@ # Project codequality/stylelint/tests/invalid +/.nx/workspace-data diff --git a/package.json b/package.json index 710b0e2..76a3009 100644 --- a/package.json +++ b/package.json @@ -14,9 +14,8 @@ "update-dependencies:packages": "lerna exec -- npm-check-updates -u --deprecated", "update-dependencies:root": "npm-check-updates -u --deprecated", "clean": "npx -y npm-run-all --npm-path npm clean:*", - "clean:lerna": "lerna clean --yes", - "clean:lock": "rimraf --glob **/package-lock.json", - "clean:modules": "npx -y rimraf node_modules", + "clean:lock": "npx -y rimraf --glob **/package-lock.json", + "clean:modules": "npm exec --workspaces -- npx -y rimraf node_modules && npx -y rimraf node_modules", "cz": "git-cz", "prepare": "husky", "prettier": "prettier --write \"**/*.*(js|jsx|ts|tsx|json|css|scss|md|mdx|graphql|gql|yml|yaml)\"",