You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a user of the nx-plugin I want to have dynamic targets to avoid setup and configuration cost.
In Nx v17 they released the crystal API and this should be leveraged to generate the dynamic targets.
Acceptance criteria
export createNodes to be abel to register the plugins like:
(nice to have) target code-pushup--configuration if code-pushup.config.ts is NOT present in root - equal to execute npx g @code-pushup/nx-plugin:configuration with nx defaults
matejchalk
changed the title
nx-plugin - export createNodesexport to have dynamic tasks
nx-plugin - export createNodes to have dynamic tasks
Apr 18, 2024
User story
As a user of the
nx-plugin
I want to have dynamic targets to avoid setup and configuration cost.In Nx v17 they released the crystal API and this should be leveraged to generate the dynamic targets.
Acceptance criteria
createNodes
to be abel to register the plugins like:Add the following targets:
code-pushup
ifcode-pushup.config.ts
is present in root - equal to executenpx code-pushup
with nx defaults. feat(nx-plugin): implementbin
property in options #773projectPrefix
code-pushup--configuration
ifcode-pushup.config.ts
is NOT present in root - equal to executenpx g @code-pushup/nx-plugin:configuration
with nx defaultsImplementation details
The text was updated successfully, but these errors were encountered: