@gvrs-nx/publint
v0.1.0
Published
An Nx executor for linting build artifacts with publint
Readme
@gvrs-nx/publint
An Nx executor for linting published libraries' build artifacts with publint
Installation
npm i -D @gvrs-nx/publintUsage
In the library's project.json, configure the publint executor by specifying the library build target as the buildTarget, and depending on it:
{
"publint": {
"executor": "@gvrs-nx/publint:publint",
"options": {
"buildTarget": "build"
},
"dependsOn": ["build"]
}
}Alternatively, if the build target does not have an outputPath, specify the buildOutputPath instead:
{
"publint": {
"executor": "@gvrs-nx/publint:publint",
"options": {
"buildOutputPath": "dist/libs/a"
},
"dependsOn": ["build"]
}
}Licence
MIT © Aliaksandr Haurusiou.
