Nx moving JS graph building to new location
Closed this issue · 1 comments
AgentEnder commented
Current Behavior
@nx-plus/vue doesn't use the plugin project graph API that was released in Nx 12.X, instead, it patches part of Nx's code on postinstall. The file that is patched is being renamed on Nx's side of things, so this will break either before v16 or at v16, depending on how we release our changes.
Expected Behavior
@nx-plus/vue uses the plugin project graph API, or at minimum adds the new path to the getPath
function inside the patching code.
https://github.com/ZachJW34/nx-plus/blob/master/libs/vue/patch-nx-dep-graph.js#L28
Steps to Reproduce
- Check out the branch from nrwl/nx#15365 and attempt to use @nx-plus/vue's graph support on a codebase with that branch's code installed
- Note error.
AgentEnder commented
Im going to close this out since v17 of nx has first party support for vue.