-
Notifications
You must be signed in to change notification settings - Fork 2.6k
feat(core): add pre and post run apis #29636
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
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Skipped Deployment
|
|
View your CI Pipeline Execution ↗ for commit 0159794.
☁️ 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-workspaceOr 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-workspaceOr 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
c29c361 to
2508b8c
Compare
f813402 to
0159794
Compare
|
This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request. |
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
preinstallandpostinstall.Plugins can now specify
preTasksExecutionandpostTasksExecutionfunctions which run before and after Nx runs tasks respectively.Related Issue(s)
Fixes #