RadioAktywne / ra-app

Repository for mobile app project.
5 stars 1 forks source link

Remove `pubspec.lock` from git #80

Closed julianuziemblo closed 1 month ago

julianuziemblo commented 1 month ago

pubspec.lock file should be removed (and added to .gitignore), because it can be generated by just using flutter pub get. It can also be a source of bugs connected to package versions.

julianuziemblo commented 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 😅