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:

  1. Even with semver, we have seen different libraries have incompatibilities. If you update a library (especially Prose / YDoc), a full regression should be performed.
  2. Dependencies that may not be ESM friendly can be lightly exported with minimal tooling.
  3. There is not excessive polluting of the importmap script in head.
  4. Any dependency that may need a custom patch can be moved into the deps folder.
  5. Look for build:da-{name-of-dep} in the scripts of package.json to see what can be built.
  6. node_modules never ships as a part of DA.