nx icon indicating copy to clipboard operation
nx copied to clipboard

feat(core): move target defaults back to post graph step

Open AgentEnder opened this issue 1 year ago • 2 comments

Current Behavior

We moved target defaults to a graph plugin around the release of Nx 18. It never fit really perfectly, but because we wanted to apply them before project.json / package.json configuration results which are plugins and do make sense as a plugin it made sense at the time.

Expected Behavior

We want to expand the behavior of target defaults in the near future to better handle pattern matching. In doing this, we need more flexibility in how its applied and that process will need to be aware of which targets are going to be created by plugins. As such, we are moving it back to being a post-step in the project configuration construction.

Related Issue(s)

Fixes #

AgentEnder avatar Jun 18 '24 22:06 AgentEnder

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Updated (UTC)
nx-dev ⬜️ Ignored (Inspect) Visit Preview Jun 27, 2024 6:44pm

vercel[bot] avatar Jun 18 '24 22:06 vercel[bot]

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.

github-actions[bot] avatar Jul 11 '24 00:07 github-actions[bot]