shakacode / shakacode/package_json

Use lockfile presence to choose the fallback manager?

Open
#22 3 comments 0 reactions 1 assignee View on GitHub

@alexeyr-ci2 is already working on this.

Since Feb 17, 2026.

Dominant language
Ruby
Stars
17
Forks
1
PR merge metrics
No merged PRs in 30d

Description

README says:

If the packageManager property is not present, then the fallback manager will be used; this defaults to the value of the PACKAGE_JSON_FALLBACK_MANAGER environment variable or otherwise npm. You can also provide a specific fallback manager:

It probably makes sense to check for yarn.lock etc. instead (and for the format of yarn.lock to distinguish Yarn Berry and Yarn Classic).

@G-Rath @justin808 Any objections to a PR to add this?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.