Dependencies - adobe/da-live GitHub Wiki
DA has several libraries / dependencies that are built from node_modules
and placed into a deps
folder. Currently, this process is done manually to ensure all library versions work correctly together. The following considerations we also taken into account:
- Even with semver, we have seen different libraries have incompatibilities. If you update a library (especially Prose / YDoc), a full regression should be performed.
- Dependencies that may not be ESM friendly can be lightly exported with minimal tooling.
- There is not excessive polluting of the
importmap
script in head. - Any dependency that may need a custom patch can be moved into the
deps
folder. - Look for
build:da-{name-of-dep}
in thescripts
ofpackage.json
to see what can be built. node_modules
never ships as a part of DA.