Skip to content
/ uni Public

Universal Dart/Flutter package manager. A companion to `multipack`.

License

Notifications You must be signed in to change notification settings

gql-dart/uni

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

MIT License PRs Welcome Watch on GitHub Star on GitHub Watch on GitHub Discord

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

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

About

Universal Dart/Flutter package manager. A companion to `multipack`.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages