invertase / melos

🌋 A tool for managing Dart projects with multiple packages. With IntelliJ and Vscode IDE support. Supports automated versioning, changelogs & publishing via Conventional Commits.
https://melos.invertase.dev/~melos-latest
Apache License 2.0
1.07k stars 193 forks source link

request: `melos bootstrap --enforce-lockfile` should only enforce lockfile when it exists #703

Closed spydon closed 2 months ago

spydon commented 2 months ago

Is there an existing feature request for this?

Command

melos bootstrap --enforce-lockfile

Description

Currently melos bootstrap --enforce-lockfile fails if one of the packages don't contain a lock file.

Reasoning

Since a repository might exist of both apps and packages we should only enforce the lockfile when it exists when the --enforce-lockfile flag is passed in.

Additional context and comments

No response