0 purchases
uni
uni #
Universal Dart/Flutter package manager. A companion to multipack - a monorepo management tool.
uni uses dart, flutter, pub, dartfmt, dartanalyzer and dartdoc based on the project you are in.
To activate uni run one of the following commands:
pub global activate uni
# or
dart pub global activate uni
# or
flutter pub global activate uni
# or
uni pub global activate uni
copied to clipboard
Available commands
✅ uni doctor: Show information about the installed tooling.
✅ uni analyze: Analyze the project's Dart code.
❌ uni compile: Compile Dart to various formats.
❌ uni create: Create a new project.
✅ uni format: Idiomatically format Dart source code.
❌ uni migrate: Perform a null safety migration on a project or package.
✅ uni pub: Work with packages.
❌ uni run: Run the program.
✅ uni test: Run tests in this package.
Tooling
Based on context uni chooses the appropriate tooling. This behavior can be overriden, by setting --tooling flag.
For example, uni --tooling <TOOLING> pub.
dart: uses commands from dart command. uni pub -> dart pub
flutter: uses commands from flutter command.uni pub -> flutter pub
legacy: uses legacy tooling bundled with dart. uni pub -> pub
adaptive(default): uses tooling based on context. uni pub -> flutter pub in flutter projects; dart pub in dart projects, pub and flutter pub as a fallback
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.