pub
pub copied to clipboard
The pub command line tool
# Problem Continue with #2873 , global activate packages were generated as a batch script on Windows, which will cause the direct usage in another command-line or batch script failed...
In the js world, I use the [ncu](https://www.npmjs.com/package/npm-check-updates) package to check my dependencies. It has color coding that clearly shows major / minor / patch changes: In contrast, when I...
The default behavior of `pub` is non-hermetic. Running `pub get` from the same codebase frequently leads to different sets of dependencies, causing flaky builds. `pubspec.lock` exists and can be checked...
At my company we are currently combining unity with flutter through https://pub.dev/packages/flutter_unity_widget and we host the unity widget dependency on a git repo. It gets big really quickly and we...
https://github.com/dart-lang/pub/pull/3568 added ananlysis on publish, but there's a very easy mistake to make that it doesn't currently catch, which is to use something from a newer version of a dependency...
constraintBumped and constraintBumpedIfNeeded should be * The exact bumped version if the original constraint was an exact version * The ^bumped version otherwise. See discussion in: https://github.com/orgs/community/discussions/14200#discussioncomment-2601806
Perhaps `dart pub upgrade-language-version [lang-version]` by default it would upgrade your lower bound to support the language-version of your current sdk.
### Is there an existing issue for this? - [x] I have searched the [existing issues](https://github.com/flutter/flutter/issues) - [X] I have read the [guide to filing a bug](https://flutter.dev/docs/resources/bug-reports) ### Use case...