Skip to content

Commit 546d547

Browse files
committed
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 d79eecf. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WGufziUhP2qtBGrqtbPFTj
1 parent d79eecf commit 546d547

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎.gitignore‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,11 @@ packages/spec/json-schema/
6868
packages/spec/src/migrations/registry.ts
6969
packages/spec/src/migrations/registry.ts.*.tmp
7070

71+
# Scratch dir of `codemod-split-conversions-registry.mjs --arrays`: its mkdtemp
72+
# sits inside packages/spec so the copied src resolves the package's own
73+
# node_modules; removed in a finally, ignored here in case a run is killed.
74+
packages/spec/.codemod-arrays-*/
75+
7176
# Generated bundle size reports
7277
packages/spec/bundle-size-report.json
7378

0 commit comments

Comments
 (0)