n8n/packages/modules
Charlie Kolb 737d66eeb3
build: Remove unused dependencies reported by knip (no-changelog) (#38591)
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-14 13:22:42 +00:00
..
insights/frontend refactor(editor): Add defineFrontendModule() and make it the canonical descriptor form (no-changelog) (#38464) 2026-09-12 16:34:08 +00:00
instance-registry/frontend build: Remove unused dependencies reported by knip (no-changelog) (#38591) 2026-09-14 13:22:42 +00:00
otel/frontend refactor(editor): Add defineFrontendModule() and make it the canonical descriptor form (no-changelog) (#38464) 2026-09-12 16:34:08 +00:00
README.md ci: Split the packages/modules test filters into frontend and backend (no-changelog) (#38121) 2026-09-09 07:43:57 +00:00

Modules

Feature modules carved out of packages/frontend/editor-ui. Each one is a workspace package at <name>/frontend: source-only (main: "src/index.ts", no dist), consumed by the editor-ui shell through Vite aliases.

<name>/backend is a reserved path rather than a workspace package — the backend runtime discovers modules under packages/cli/src/modules/<name>. The extra nesting level is what lets both halves of a module sit together later.

packages/modules itself stays tracked even when it holds nothing: turbo rejects a --filter whose directory does not exist.

CI splits the two halves by path. The frontend jobs select packages/modules/*/frontend. The backend jobs exclude that same path instead of all of packages/modules, so a <name>/backend package gets backend CI on the day it appears. Both filters live in the root test:ci:* scripts and in the two backend jobs in .github/workflows/test-unit-reusable.yml.