You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The idea is to implement a new utility function that detects the presence of a lockfile in a given directory. This new util function should be implemented in the mama workspace.
List of lockfiles:
package-lock.json for NPM
yarn.lock for Yarn
others (pnpm, bun)
Then return the path to the file and the type. If nothing is found (or not supported) then the function should return null.
Using synchronous FS API (such as fs.existSync) should be enough for V1.