Closed julianuziemblo closed 1 month ago
quoting @Kszesiek:
Since we're working on an app (not on a library package) package.lock should stay in the repo.
Sources:
https://dart.dev/guides/libraries/private-files#pubspec-lock https://dart.dev/tools/pub/glossary#application-package https://stackoverflow.com/questions/16136739/in-dart-and-pub-should-i-add-pubspec-lock-to-my-gitignore personal opinion of Janek if I recall correctly 😅
pubspec.lock
file should be removed (and added to.gitignore
), because it can be generated by just usingflutter pub get
. It can also be a source of bugs connected to package versions.