Runtimes

Note

Pull Requests for additional runtimes are welcome. If your runtime is not present yet, depends_on still allows for explicit specification of dependencies.

Runtimes provide language-specific package manager wrappers for parsing out Workspace-relative package dependencies.

Python (poetry)

Parses the pyproject.toml for the [tool.poetry.dependencies] and [tool.poetry.dev-dependencies] sections.

Looks for path dependencies:

[tool.poetry.dependencies]
python = "~3.10"
"sampleproject.common" = {path = "../../libs/py/common", develop = true}

Javascript (npm)

Parses the package.json for the dependencies and devDependencies.

Looks for local paths:

"dependencies": {
  "@sampleproject/common": "file:../../libs/js/common",
}