When modifying configuration files, ensure all references to the changed values are updated consistently across the entire project. Configuration changes rarely exist in isolation - they often have ripple effects throughout the codebase.
Key guidelines:
Example:
# If changing a package name in package.json:
- "name": "n8n-monorepo",
+ "name": "n8n-official",
# Ensure all references are updated in dependent scripts:
- pnpm --filter n8n-monorepo
+ pnpm --filter n8n-official
Or when modifying workspace paths:
# In devcontainer.json:
- "workspaceFolder": "/workspaces",
+ "workspaceFolder": "/workspaces/n8n",
# Ensure postCreateCommand and other scripts
# are adjusted to work with the new path context
Similarly, when changing TypeScript references or path aliases, audit all dependent configurations to prevent build failures and ensure tooling compatibility.