From 0dca905fd8a9f0e9dbd1bd0c62f9ab89d37949c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Dubigny?= Date: Thu, 9 Oct 2025 12:32:07 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20improve=20clean=20command?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Problem 'npm clean" clean the node_modules folder in every packages but not in the main project. Proposal I propose to remove it also in the main project --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 937abf162..1c2fadfd9 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ "predev": "npm run build:workspaces", "dev": "NODE_ENV=development concurrently \"npm:watch:*(!node)\" \"npm:watch:node\"", "dev:test": "npm run test:unit:runner --watch test/**/*.test.ts", - "clean": "npx -y del-cli build dist packages/*/dist packages/*/tsconfig*.tsbuildinfo", + "clean": "npx -y del-cli build dist node_modules packages/*/dist packages/*/node_modules packages/*/tsconfig*.tsbuildinfo", "e2e:dev": "tsx scripts/cypress-single-test-setup.ts", "e2e:run": "tsx scripts/cypress-single-test-run.ts", "e2e:studio": "npx cypress open",