From 832778bc76248d9d9c719fba66473aa133442bfd Mon Sep 17 00:00:00 2001 From: William Bergamin Date: Wed, 6 May 2026 12:32:09 -0400 Subject: [PATCH 1/2] chore: add a clean script for maintainers --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 73aab5b7d..b03ad4469 100644 --- a/package.json +++ b/package.json @@ -20,6 +20,7 @@ ], "scripts": { "changeset": "npx @changesets/cli", + "clean": "git clean -xdf node_modules packages/**/node_modules && git clean -xf '**/package-lock.json'", "docs": "npm run docs --workspaces --if-present", "lint": "npx @biomejs/biome check packages", "lint:fix": "npx @biomejs/biome check --write packages", From 1d2b9387099cc30cba8130ba51aff638ad2cb913 Mon Sep 17 00:00:00 2001 From: William Bergamin Date: Wed, 6 May 2026 13:16:19 -0400 Subject: [PATCH 2/2] improve clean based on feedback --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index b03ad4469..3360dfe4d 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ ], "scripts": { "changeset": "npx @changesets/cli", - "clean": "git clean -xdf node_modules packages/**/node_modules && git clean -xf '**/package-lock.json'", + "clean": "npm run build:clean --workspaces --if-present && git clean -xdf node_modules packages/**/node_modules && git clean -xf '**/package-lock.json'", "docs": "npm run docs --workspaces --if-present", "lint": "npx @biomejs/biome check packages", "lint:fix": "npx @biomejs/biome check --write packages",