umap/docs/dev/dependencies.md
2024-01-15 14:58:43 +01:00

724 B

Packaging

The packaging is handled by the pyproject.toml file for python dependencies, and by package.json for JavaScript dependencies.

Python

Python dependencies are pinned, and we're relying on Github's dependabot to update them for us, via pull requests.

JavaScript

Dependencies are not pinned, but a ^ character is used instead (defined by node semver), meaning the next minor or patch versions will be installed (but not the next major)

The installed libs needs to be:

  • Added to the package.json
  • Added in the scripts/vendorsjs.sh script
  • Made available with make vendors
  • Added in the HTML templates (if you need them)