-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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(core): add pre and post run apis #29636
base: master
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Skipped Deployment
|
View your CI Pipeline Execution ↗ for commit c29c361.
☁️ Nx Cloud last updated this comment at |
🐳 We have a release for that!This PR has a release associated with it. You can try it out using this command: npx [email protected] my-workspace Or just copy this version and use it in your own command: 0.0.0-pr-29636-e3c31b7
To request a new release for this pull request, mention someone from the Nx team or the |
8a3f6a6
to
0cd26ed
Compare
🐳 We have a release for that!This PR has a release associated with it. You can try it out using this command: npx [email protected] my-workspace Or just copy this version and use it in your own command: 0.0.0-pr-29636-0cd26ed
To request a new release for this pull request, mention someone from the Nx team or the |
0cd26ed
to
8ec2d9b
Compare
8ec2d9b
to
50e6965
Compare
c613afc
to
c29c361
Compare
Current Behavior
There is no specific API for running things before and after tasks run.
Expected Behavior
This PR adds an API akin to npm's
preinstall
andpostinstall
.Plugins can now specify
preTasksExecution
andpostTasksExecution
functions which run before and after Nx runs tasks respectively.Related Issue(s)
Fixes #