@gvrs-nx/publint
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

@gvrs-nx/publint

An Nx executor for linting published libraries' build artifacts with publint

Installation

npm i -D @gvrs-nx/publint

Usage

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.

Readme

Keywords

Package Sidebar

Install

npm i @gvrs-nx/publint

Weekly Downloads

2

Version

0.1.0

License

MIT

Unpacked Size

11.6 kB

Total Files

14

Last publish

Collaborators

  • alex.gavrusev