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
some transitive dependnecies are optional, the underlying features are not used; this project's tree shaking mechanismswere optimized to not include traces of them in the final build result.
this means: it is safe to ignore them on installation.
this is especially needed, in cases where the install fails. see #193 (comment) ff
i am not planning on removing them, but overriding their "version" (resolution) to target a local package that is installable, and simply throws an error as soon as it is loaded. 😁
This way, we also have a proper smoke-test whether these optional deps are loaded/used unintentionally.
jkowalleck
changed the title
CHORE: skip installation of unused, transitive optional dependencies
CHORE: omit installation of unused, transitive optional dependencies
Nov 14, 2024
some transitive dependnecies are optional, the underlying features are not used; this project's tree shaking mechanismswere optimized to not include traces of them in the final build result.
this means: it is safe to ignore them on installation.
this is especially needed, in cases where the install fails. see #193 (comment) ff
see also: https://github.com/CycloneDX/cyclonedx-javascript-library?tab=readme-ov-file#optional-dependencies
goal: do not install the following transitive optional dependencies:
libxmljs2
ajv
,ajv-formats
,ajv-formats-draft2019
The text was updated successfully, but these errors were encountered: