We need to list @lume/cli as a peer dependency of of @lume/element because @lume/element depends on a certain range of versions of @lume/cli for when it is time to build (with @lume/cli) an application that uses @lume/element with JSX templating. @lume/cli contains the build steps needed to compile the JSX into a form that works with @lume/element.
This isn't an issue if app code uses the html`...` template tag for templating, in which case the compilation of templates happens at runtime, and there's no hard version requirement for @lume/cli in that case.
We need to list
@lume/cli
as a peer dependency of of@lume/element
because@lume/element
depends on a certain range of versions of@lume/cli
for when it is time to build (with@lume/cli
) an application that uses@lume/element
with JSX templating.@lume/cli
contains the build steps needed to compile the JSX into a form that works with@lume/element
.This isn't an issue if app code uses the
html`...`
template tag for templating, in which case the compilation of templates happens at runtime, and there's no hard version requirement for@lume/cli
in that case.