gradle-node-plugin icon indicating copy to clipboard operation
gradle-node-plugin copied to clipboard

Make npm executions work with WorkParameter objects

Open sdilts opened this issue 3 months ago • 3 comments

I'm trying to write a task that uses the Worker API to execute several npx tasks in parallel. The parameters encoded in the WorkParameters class need to serializable, but since the NpmExecRunner::executeNpxCommand function takes in the extension object (which cannot be serialized) I'm unable to get anything working.

In short, can a serializable object be added that contains all of the information from the plugin configuration that executeNpxCommand needs to work?

sdilts avatar Aug 26 '25 18:08 sdilts