n8n/packages
Iván Ovejero d1b2affd2c
ci: Add lint rule no-dynamic-import-template (no-changelog) (#8089)
Follow-up to: https://github.com/n8n-io/n8n/pull/8086

`tsc-alias` as of 1.8.7 is unable to resolve template strings in dynamic
imports. Since the module name mapper in Jest is able to, this issue is
hard to detect, hence the new lint rule `no-dynamic-import-template`.
This is for now specific to `@/` in the `cli` package - we can
generalize later if needed. Ideally we should contribute a fix upstream
when we have more time.

<img width="940" alt="Capture 2023-12-19 at 12 39 55@2x"
src="https://github.com/n8n-io/n8n/assets/44588767/78d4a277-ccff-455c-8610-d1bba39d93f2">
2023-12-21 14:15:37 +01:00
..
@n8n 🚀 Release 1.22.0 (#8115) 2023-12-21 13:51:24 +01:00
@n8n_io/eslint-config ci: Add lint rule no-dynamic-import-template (no-changelog) (#8089) 2023-12-21 14:15:37 +01:00
cli ci: Add lint rule no-dynamic-import-template (no-changelog) (#8089) 2023-12-21 14:15:37 +01:00
core 🚀 Release 1.22.0 (#8115) 2023-12-21 13:51:24 +01:00
design-system 🚀 Release 1.22.0 (#8115) 2023-12-21 13:51:24 +01:00
editor-ui 🚀 Release 1.22.0 (#8115) 2023-12-21 13:51:24 +01:00
node-dev 🚀 Release 1.22.0 (#8115) 2023-12-21 13:51:24 +01:00
nodes-base 🚀 Release 1.22.0 (#8115) 2023-12-21 13:51:24 +01:00
workflow feat(core): Remove discontinued crypto-js (#8104) 2023-12-21 14:13:02 +01:00