[go: up one dir, main page]

@webpro/nx-tsc

0.0.2 • Public • Published

nx-tsc

Nx executor to type-check project source files using tsc --noEmit

Installation

npm install -D @webpro/nx-tsc

Configuration

Add a tsc target to each project.json:

{
  "$schema": "../../node_modules/nx/schemas/project-schema.json",
  "sourceRoot": "libs/my-lib/src",
  "targets": {
    "tsc": {
      "executor": "@webpro/nx-tsc:tsc",
      "options": {
        "tsConfig": ["tsconfig.json"]
      }
    }
  }
}

Run type-checker

This enables the tsc target in the Nx workspace:

nx tsc my-lib

Readme

Keywords

Package Sidebar

Install

npm i @webpro/nx-tsc

Weekly Downloads

11,186

Version

0.0.2

License

MIT

Unpacked Size

3.41 kB

Total Files

6

Last publish

Collaborators

  • webpro