Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider using package versions in pubspec.yaml and check in pubspec.lock into repository #37

Closed
Thesmader opened this issue Sep 6, 2022 · 1 comment
Assignees

Comments

@Thesmader
Copy link
Member

  • Without specifying versions in pubspec.yaml versions won't be locked. Package might get upgraded to next major version or to a version with some bug automatically causing unwanted errors during development
  • Having a pubspec.lock in the repo is necessary when you are collaborating with others. So that the exact dependencies are installed reproducibly whenever any developer runs flutter pub get
@asutoshranjan
Copy link
Member

Alright, I am adding the versions of the dependencies used in pubspec.yaml and also the pubspec.lock modifying the gitignore file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants