0.4.2-alpha.3 • Published 3 years ago

@sincronia/typescript-plugin v0.4.2-alpha.3

Weekly downloads
117
License
GPL-3.0
Repository
github
Last release
3 years ago

@sincronia/typescript-plugin

Overview

This plugin allows you to run the TypeScript compiler on .ts files. Supports tsconfig.json files.

Installation

npm i -D @sincronia/typescript-plugin

Options

KeyTypeDefaultDescription
transpilebooleantrueWhether or not the contents of the typescript file should be transpiled. Useful if you want to use Babel to transpile instead but still want type checking
compilerOptionstypescript.CompilerOptionsnullSame as compilerOptions in a tsconfig.json file

Order of Configurations

  1. Load from sinc.config.js options.
  2. Check for tsconfig.json file and and override any overlapping values.

Example Usage

This example takes .ts files and only type checks them.

//sinc.config.js
module.exports={
  rules:{
    match:/\.ts$/,
    plugins:[
      name:"@sincronia/typescript-plugin",
      options:{
        transpile:false
      }
    ]
  }
};
0.4.2-alpha.3

3 years ago

0.4.2-alpha.2

3 years ago

0.4.2-alpha.0

4 years ago

0.4.1

4 years ago

0.4.0

4 years ago

0.3.10-alpha.2

4 years ago

0.3.10-alpha.1

4 years ago

0.3.10-alpha.0

4 years ago

0.3.5

4 years ago

0.3.3

4 years ago

0.3.1

4 years ago

0.3.0

4 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.0

5 years ago

0.0.18

5 years ago

0.0.17

5 years ago

0.0.16

5 years ago

0.0.15

5 years ago

0.0.14

5 years ago

0.0.13

5 years ago

0.0.12

5 years ago

0.0.11

5 years ago

0.0.10

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.4-alpha.0

5 years ago

0.0.3

5 years ago

0.1.1

5 years ago