🌋 A tool for managing Dart projects with multiple packages. With IntelliJ and Vscode IDE support. Supports automated versioning, changelogs & publishing via Conventional Commits.
This PR adds lifecycle hooks (pre and post) to the publish command.
It runs pre once before publishing runs and post once afterwards (even though several packages might be published).
It also runs in --dry-run mode, to better emulate a real publish.
The environment variable MELOS_PUBLISH_DRY_RUN is introduced so that the user can know whether it is in dry-run mode or not in the scripts.
Type of Change
[x] ✨ feat -- New feature (non-breaking change which adds functionality)
Description
This PR adds lifecycle hooks (
pre
andpost
) to thepublish
command. It runspre
once before publishing runs andpost
once afterwards (even though several packages might be published).It also runs in
--dry-run
mode, to better emulate a real publish. The environment variableMELOS_PUBLISH_DRY_RUN
is introduced so that the user can know whether it is indry-run
mode or not in the scripts.Type of Change
feat
-- New feature (non-breaking change which adds functionality)