0.1.0 • Published 2 years ago
@gvrs-nx/publint v0.1.0
@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.
0.1.0
2 years ago