diff --git a/CLAUDE.md b/CLAUDE.md index 8875a43ee3f..b1204b123b1 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -8,7 +8,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co - `npm run build` - Compiles TypeScript using `tsc --project tsconfig.build.json` - `npm run dev` - Runs TypeScript compiler in watch mode -- `npm run clean` - Removes the `dist/` directory +- `npm run clean` - Removes the `dist/` directory and the TypeScript incremental build info files ### Testing diff --git a/package.json b/package.json index c972109b338..ac6e13ca282 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "type": "module", "scripts": { "build": "node ./node_modules/typescript-native/bin/tsc --project tsconfig.build.json", - "clean": "rm -rf dist/", + "clean": "rm -rf dist/ tsconfig.build.tsbuildinfo tsconfig.tsbuildinfo", "dev": "node ./node_modules/typescript-native/bin/tsc --project tsconfig.build.json --watch", "docs": "npm run --prefix=site build", "format": "oxfmt --write",