0.69.0 • Published 10 months ago
@code-pushup/nx-plugin v0.69.0
@code-pushup/nx-plugin
Plugin
Register this plugin in your nx.json to leverage a set of generators and executors to integrate Code PushUp into a Nx workspace.
Registration
// nx.json
{
//...
"plugins": ["@code-pushup/nx-plugin"],
}Resulting targets:
nx run <project-name>:code-pushup--configuration(no config file present)nx run <project-name>:code-pushup(code-pushup.config.{ts,mjs,js}is present)
Generators
Init
Install JS packages and register plugin. See init generator docs for details
Examples:
nx g @code-pushup/nx-plugin:init- setup code-pushup in the workspacenx g @code-pushup/nx-plugin:init --skipPackageJson- skippackage.jsonupdate
Configuration
Adds a code-pushup target to your project.json.
See configuration generator docs for details
Examples:
nx g @code-pushup/nx-plugin:configuration --project=<project-name>nx g @code-pushup/nx-plugin:configuration --project=<project-name> --targetName=cp
Executor
CLI
Install JS packages configure a target in your project json. See CLI executor docs for details
Examples:
{
"name": "my-project",
"targets": {
"code-pushup": {
"executor": "@code-pushup/nx-plugin:cli",
"options": {
"projectPrefix": "workspace-name"
}
}
}
}nx run <project-name>:code-pushupnx run <project-name>:code-pushup print-config --persist.filename=custom-report
0.63.0
1 year ago
0.62.0
1 year ago
0.60.2
1 year ago
0.65.0
1 year ago
0.64.1
1 year ago
0.64.0
1 year ago
0.61.0
1 year ago
0.60.1
1 year ago
0.60.0
1 year ago
0.59.0
1 year ago
0.57.0
1 year ago
0.58.0
1 year ago
0.55.0
1 year ago
0.56.0
1 year ago
0.54.0
1 year ago
0.67.0
11 months ago
0.66.1
12 months ago
0.65.2
12 months ago
0.66.0
12 months ago
0.65.1
1 year ago
0.64.2
1 year ago
0.69.0
10 months ago
0.68.0
10 months ago
0.66.2
12 months ago
0.65.3
12 months ago
0.53.0
1 year ago
0.53.1
1 year ago
0.52.0
1 year ago
0.51.0
1 year ago