-
fix(core): add .claude/settings.local.json to .gitignore (#34870)
发布于
2026-03-16 21:11:27 +00:00 Current Behavior
When configuring AI agents via
nx polygraph, a
.claude/settings.local.jsonfile is created containing user-specific
settings. This file is not gitignored by Nx, so it can accidentally be
committed to the repository.Expected Behavior
.claude/settings.local.jsonshould be gitignored by default, similar
to how.claude/worktreesis already handled.Changes
- Added a migration that adds
.claude/settings.local.jsonto existing
workspaces'.gitignore - Updated all three
.gitignoretemplates so new workspaces include it
from the start - Follows the same pattern as the existing
add-claude-worktrees-to-git-ignoremigration
下载附件
- Added a migration that adds