Commit Graph

9 Commits

Author SHA1 Message Date
Garrit Franke
aa42d8532b fix(node-cli): Report why a dev reload did not reach n8n
The dev command discarded the reload result, so a node author saw a
clean compile next to an editor that never updated. triggerReload now
returns the reason, and the help line shows it.

Wait on /healthz/readiness instead of /healthz, which answers before
the controllers are registered and so 404s the reload that follows.

Watch every top-level directory the build copies assets from, rather
than a fixed list of three, so an icon outside nodes/ is not copied at
startup and then ignored. The ignore list is now shared with
copyStaticFiles, so the two cannot drift apart.

Use a VERSION placeholder in the --n8n-image examples, because the
pinned release predates the reload endpoint.
2026-09-21 06:04:39 +00:00
Garrit Franke
08d6cf6fbe fix(node-cli): Give each n8n image its own dev data volume
The dev container mounted one fixed volume regardless of --n8n-image.
n8n only migrates a database forward, so testing against an older
release after a newer one pointed that older n8n at a database it
cannot read.
2026-09-21 06:04:38 +00:00
Garrit Franke
6a5a983c57 docs: Give the Podman equivalent in create-node troubleshooting
The troubleshooting steps hardcoded docker commands while recommending
CONTAINER_ENGINE=podman a few lines below, so Podman-only users hit
command not found. A Podman volume is also invisible to docker.
2026-09-21 06:04:38 +00:00
Garrit Franke
912e537063 refactor(node-cli): Drop --n8n-version in favour of --n8n-image 2026-09-21 06:04:38 +00:00
Garrit Franke
b96a2afa4a feat(core)!: Make n8n-node dev run n8n in a container instead of via npx 2026-09-21 06:04:38 +00:00
Elias Meire
b1baca5c6c
feat: Add strict mode and cloud lint rules to @n8n/node-cli (#20142) 2025-10-10 19:26:35 +02:00
Elias Meire
e404e55ce5
fix: Improve @n8n/node-cli cross-platform compatibility and dev experience (no-changelog) (#19368) 2025-09-11 08:47:26 +02:00
Elias Meire
be8061c2a5
feat: Add release and lint scripts to node CLI (#18935) 2025-09-02 04:48:43 +01:00
Elias Meire
79c6b60fcb
feat: Add @n8n/node-cli package with an empty create command (#17620) 2025-07-30 23:09:49 +01:00