Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support running scripts in topological order with melos exec #440

Merged
merged 4 commits into from
Jan 4, 2023

Conversation

mspb1g12
Copy link
Contributor

Description

Add --require-dependencies flag to exec to require the dependencies of a package be exec'd before the package itself.
As part of this, reorder the exec's to be topological like publish.

I believe this should close #433

Type of Change

  • feat -- New feature (non-breaking change which adds functionality)
  • 🛠️ fix -- Bug fix (non-breaking change which fixes an issue)
  • ! -- Breaking change (fix or feature that would cause existing functionality to change)
  • 🧹 refactor -- Code refactor
  • ci -- Build configuration change
  • 📝 docs -- Documentation
  • 🗑️ chore -- Chore

Add --require-dependencies flag to exec to require the dependencies
of a package be exec'd before the package itself. As part of this
reorders the exec's to be topological like publish.
@blaugold blaugold changed the title feat: Allow melos exec to optionally run in topologically order feat: support running scripts in topological order with melos exec Jan 4, 2023
Copy link
Collaborator

@blaugold blaugold left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this awesome contribution! I've cleanup a few small issues and renamed the option to make it a bit more self-explanatory and use the same terminology that other options use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

request: run melos exec in different packages in topologically order
4 participants