macosui / macos_ui

Flutter widgets and themes implementing the current macOS design language.
https://macosui.github.io/macos_ui/#/
MIT License
1.79k stars 171 forks source link

Add `pubspec.lock` to `.gitignore` #508

Open Adrian-Samoticha opened 2 months ago

Adrian-Samoticha commented 2 months ago

The pubspec.lock file is an auto-generated file that frequently changes automatically when new versions of macos_ui’s dependencies are released. According to https://dart.dev/guides/libraries/private-files, it is recommended not to commit the pubspec.lock file (at least for libraries).

Therefore, I hereby propose adding it to the .gitignore file and removing it from the repository.

Adrian-Samoticha commented 2 months ago

Perhaps this issue can be extended to Xcode-related files (such as Podfile.lock, project.pbxproj, and Runner.xcscheme), assuming they can safely be removed?