moronepo 1.0.2 copy "moronepo: ^1.0.2" to clipboard
moronepo: ^1.0.2 copied to clipboard

A tool to simplify development in a dart multi-package repository.

Please note that this repository is not maintained anymore and will be made private to Meniga no later than on 31 december 2023. It is suggested that those using this repository will either fork it or find another tool that provides the same functionality #

moronepo #

pub package Build Status codecov

A tool to simplify development in a dart multi-package repository.

Currently, it supports following commands:

print command

run command

update-flutter-sdk command

Usage #

Activate moronepo:

pub global activate moronepo

or prepend each command with flutter if used:

flutter pub global activate moronepo

Now it should be possible to run moronepo:

moronepo [--filter <filter>] [--project <name>] [--working-directory <path>] <command>

where filter is a comma-separated list of filters hasTests,isFlutter,isRoot. Each filter can be negated by preceding it with a !, for example !isFlutter.

You can also follow how to set up a global command
to make it available as a regular shell command by appending PATH.

moronepo print

or creating an alias instead:

alias moronepo="flutter pub global run moronepo"

moronepo print
moronepo print

run command #

moronepo run <command>

For example:

moronepo run pub get

update-flutter-sdk command #

Specifying environment.flutter in pubspec.yaml:

name: project
environment:
  flutter: ">=1.10.0 <1.11.0"

and then running:

moronepo update-flutter-sdk

forces an update to the Flutter SDK to the latest version within those constraints.

3
likes
130
points
244
downloads

Documentation

API reference

Publisher

verified publishermeniga.com

Weekly Downloads

A tool to simplify development in a dart multi-package repository.

Repository (GitHub)
View/report issues

License

Apache-2.0 (license)

Dependencies

args, equatable, flutter, glob, logging, meta, path, pub_semver, pubspec_parse, quiver

More

Packages that depend on moronepo