Skip to content

Commit

Permalink
feat(managers) add yarn to dev-package-managers
Browse files Browse the repository at this point in the history
- STONEBLD-1750

Signed-off-by: Ben Alkov <[email protected]>
  • Loading branch information
ben-alkov committed Nov 10, 2023
1 parent 8aced2a commit e12f277
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cachi2/core/resolver.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from cachi2.core.errors import UnsupportedFeature
from cachi2.core.models.input import PackageManagerType, Request
from cachi2.core.models.output import RequestOutput
from cachi2.core.package_managers import gomod, npm, pip
from cachi2.core.package_managers import gomod, npm, pip, yarn

Handler = Callable[[Request], RequestOutput]

Expand All @@ -15,7 +15,7 @@
}

_dev_package_managers: dict[PackageManagerType, Handler] = {

"yarn": yarn.fetch_yarn_source,
}

# This is *only* used to provide a list for `cachi2 --version`
Expand Down

0 comments on commit e12f277

Please sign in to comment.