-
-
Notifications
You must be signed in to change notification settings - Fork 54
Open
Description
I'm working with an Nx monorepo of React Native apps and would like to modify this tool to support running the global cleanup commands once while running the app-specific cleanup commands once for each app.
I'm prototyping this locally but can send up a PR later this week.
What this generally entails:
- Creating a
clean-project-auto-monorepo
plugin definition forreact-native-cli
- Defining 3 sets of cleanup tasks:
- The global ones which should run first
- The app-specific ones to run in the middle
- The global ones which should run last
- Adding an optional
directory
argument to theexecuteTask
function which gets passed on as thecwd
option for thespawn
call so that the app-specific commands get run from within their respective directories.
Metadata
Metadata
Assignees
Labels
No labels