From 546d5472667f4f81a1cd479bb938b4f05ca03277 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 4 Nov 2026 12:59:48 +0000 Subject: [PATCH] fix(repo): ignore the conversions-registry codemod's in-tree scratch dir arraysProof() makes its mkdtemp under packages/spec so the copied src resolves the package's own node_modules (zod and friends), so the dir stays in the tree and gets a tracked ignore rule instead of moving to os.tmpdir(). Clears the exposedScratchDirs self-test case that went red on main at d79eecfe. Co-Authored-By: Claude Claude-Session: https://claude.ai/code/session_01WGufziUhP2qtBGrqtbPFTj --- .gitignore | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.gitignore b/.gitignore index 99e4cb59ca1..d12939307aa 100644 --- a/.gitignore +++ b/.gitignore @@ -68,6 +68,11 @@ packages/spec/json-schema/ packages/spec/src/migrations/registry.ts packages/spec/src/migrations/registry.ts.*.tmp +# Scratch dir of `codemod-split-conversions-registry.mjs --arrays`: its mkdtemp +# sits inside packages/spec so the copied src resolves the package's own +# node_modules; removed in a finally, ignored here in case a run is killed. +packages/spec/.codemod-arrays-*/ + # Generated bundle size reports packages/spec/bundle-size-report.json