repoRoot was resolving two directories up from the script (to
.github/), not three (to the actual repo root), so the node-cli bin
path it built never existed. Caught by running the script for real
against a clone of n8n-nodes-starter, which the in-memory smoke test
during development had bypassed by injecting the bin path directly.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Builds @n8n/node-cli from source and regenerates n8n-nodes-starter's
example scaffold (nodes/Example, nodes/GithubIssues, credentials/,
icons/, shared tooling config) whenever the source templates change,
opening a PR on n8n-nodes-starter directly. Supersedes the
starter-side manual refresh workflow proposed in
n8n-io/n8n-nodes-starter#153, since the starter repo has no scaffold
logic of its own to maintain in parallel.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>