This repo is managed with Melos and Pub Workspaces. The main package lives at packages/developer_tools; the root is the workspace definition only.
- Dart SDK ^3.10.7
-
Melos (optional:
dart pub global activate melos, or usedart run melosfrom the repo)
From the repo root:
| Command | Description |
|---|---|
melos bootstrap |
Install dependencies and link workspace packages (run after clone) |
melos run install |
Same as melos bootstrap
|
melos run clean |
Clean build artifacts |
melos run format |
Format all packages |
melos run analyze |
Run dart analyze in all packages |
melos run test |
Run tests in all packages |
melos list |
List workspace packages |
Versioning uses Conventional Commits. From the main branch:
-
Version packages and update changelogs:
melos version
Bumps versions from commit history, updates dependency constraints of dependents, and generates/updatesCHANGELOG.mdper package and at workspace root. -
Prerelease:
melos run version:prerelease(e.g.0.1.0-dev.0) -
Graduate prerelease:
melos run version:graduate -
Publish (dry run):
melos run publish:dry -
Publish to pub.dev:
melos run publish(ormelos publish --no-dry-run)
Configure melos.repository in the root pubspec.yaml to enable commit links in changelogs and release URL generation.
TODO: Tell users more about the package: where to find more information, how to contribute to the package, how to file issues, what response they can expect from the package authors, and more.
- Support firebase_crashlytics
example
FirebaseCrashlytics.instance.crash();
- Support sentry:
example
Sentry.captureException(Exception('Test message'));