You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As the title states, @commitlint/load has typescript (also ts-node) listed in the dependencies instead of devDeps, I'm using this programmatically in one of my projects and this dep only is generating 80mb larger builds, which is a lot.
I don't see any point in the code where typescript is used programmatically by @commitlint/load and I think it should be safe to move it in the devDependencies, or maybe am I missing something here?
The text was updated successfully, but these errors were encountered:
…onfiguration
**@commitlint/cli** added support for TypeScript-based configurations via `ts-node`, and that has caused a good deal of grief:
conventional-changelog/commitlint#3420conventional-changelog/commitlint#3351conventional-changelog/commitlint#3218conventional-changelog/commitlint#3256hoverinc/web-react#1792
Both because it's a heavy-ass dependency and because it requires configuration to
work properly. It seems like project-local configuration can affect it's invocation
of ts-node, which happens even JavaScript configuration files now?... lame.
Anyways, this ensures we avoid any type-checking that happens in it's ts-node
invocation until we get a better solution upstream (or contribute one). Ideally,
installing ts-node would be opt-in etc.
Hey 👋
As the title states,
@commitlint/load
hastypescript
(alsots-node
) listed in the dependencies instead of devDeps, I'm using this programmatically in one of my projects and this dep only is generating 80mb larger builds, which is a lot.I don't see any point in the code where typescript is used programmatically by
@commitlint/load
and I think it should be safe to move it in the devDependencies, or maybe am I missing something here?The text was updated successfully, but these errors were encountered: