cli icon indicating copy to clipboard operation
cli copied to clipboard

discuss the future of Nx plugin

Open vmasek opened this issue 8 months ago • 2 comments
trafficstars

There seems to be a reason why Nx team is not moving towards adding ESM support for plugins as is, the reason is recently announced switch of core Nx tech stack to Rust, they will be introducing a new API for task execution which (I currently assume) will offer much more flexibility to do plugins.

vmasek avatar Mar 02 '25 16:03 vmasek

Some additional info:

  • The reason to not switch to ESM is the effort it takes. The bet it on latest node features and a future execution of TS directly.
  • The new APIs are add ons for existing tasks.
  • Only the core will be rewritten in rust. the rest remains in TS for the community

BioPhoton avatar Mar 04 '25 23:03 BioPhoton

Yes, my formulation was little bit rough, what I meant is "executors will not be ESM" because "there will be no more explicit executors as we know them". What I hope for is that new API will support ESM plugins as that is highly requested feature

vmasek avatar Mar 05 '25 09:03 vmasek

Close this as we need plugin for --cache options automation. see #1059

BioPhoton avatar Aug 13 '25 20:08 BioPhoton