fork-ts-checker-webpack-plugin-alt
- Version 0.4.14
- Published
- 95.5 kB
- 8 dependencies
- MIT license
Install
npm i fork-ts-checker-webpack-plugin-alt
yarn add fork-ts-checker-webpack-plugin-alt
pnpm add fork-ts-checker-webpack-plugin-alt
Overview
Runs typescript type checker and linter on separate process.
Index
Classes
ForkTsCheckerWebpackPlugin
- ALL_CPUS
- apply()
- async
- cancellationToken
- checkDone
- checkSyntacticErrors
- colors
- compilationDone
- compiler
- compilerOptions
- computeContextPath()
- createDoneCallback()
- createEmitCallback()
- createFormatter()
- createNoopEmitCallback()
- DEFAULT_MEMORY_LIMIT
- diagnostics
- doneCallback
- elapsed
- emitCallback
- formatter
- handleServiceExit()
- handleServiceMessage()
- ignoreDiagnostics
- ignoreLints
- isWatching
- killService()
- lints
- logger
- memoryLimit
- ONE_CPU
- ONE_CPU_FREE
- options
- pluginCompile()
- pluginDone()
- pluginEmit()
- pluginStart()
- pluginStop()
- registerCustomHooks()
- reportFiles
- service
- silent
- spawnService()
- started
- tsconfig
- tsconfigPath
- tslint
- tslintPath
- tslintVersion
- TWO_CPUS_FREE
- typescriptPath
- typescriptVersion
- useColors
- vue
- watch
- watchPaths
- workersNumber
Classes
class ForkTsCheckerWebpackPlugin
class ForkTsCheckerWebpackPlugin {}
ForkTsCheckerWebpackPlugin Runs typescript type checker and linter (tslint) on separate process. This speed-ups build a lot.
Options description in README.md
constructor
constructor(options?: Partial<Options>);
property ALL_CPUS
static ALL_CPUS: number;
property async
async: boolean;
property cancellationToken
cancellationToken: CancellationToken;
property checkDone
checkDone: boolean;
property checkSyntacticErrors
checkSyntacticErrors: boolean;
property colors
colors: Chalk;
property compilationDone
compilationDone: boolean;
property compiler
compiler: any;
property compilerOptions
compilerOptions: {};
property DEFAULT_MEMORY_LIMIT
static DEFAULT_MEMORY_LIMIT: number;
property diagnostics
diagnostics: NormalizedMessage[];
property doneCallback
doneCallback: () => void;
property elapsed
elapsed: [number, number];
property emitCallback
emitCallback: () => void;
property formatter
formatter: Formatter;
property ignoreDiagnostics
ignoreDiagnostics: number[];
property ignoreLints
ignoreLints: string[];
property isWatching
isWatching: boolean;
property lints
lints: NormalizedMessage[];
property logger
logger: Logger;
property memoryLimit
memoryLimit: number;
property ONE_CPU
static ONE_CPU: number;
property ONE_CPU_FREE
static ONE_CPU_FREE: number;
property options
options: Partial<Options>;
property reportFiles
reportFiles: string[];
property service
service: childProcess.ChildProcess;
property silent
silent: boolean;
property started
started: [number, number];
property tsconfig
tsconfig: string;
property tsconfigPath
tsconfigPath: string;
property tslint
tslint: string | true;
property tslintPath
tslintPath: string;
property tslintVersion
tslintVersion: any;
property TWO_CPUS_FREE
static TWO_CPUS_FREE: number;
property typescriptPath
typescriptPath: string;
property typescriptVersion
typescriptVersion: any;
property useColors
useColors: boolean;
property vue
vue: boolean;
property watch
watch: string[];
property watchPaths
watchPaths: string[];
property workersNumber
workersNumber: number;
method apply
apply: (compiler: webpack.Compiler) => void;
method computeContextPath
computeContextPath: (filePath: string) => string;
method createDoneCallback
createDoneCallback: () => (this: ForkTsCheckerWebpackPlugin) => void;
method createEmitCallback
createEmitCallback: ( compilation: any, callback: () => void) => (this: ForkTsCheckerWebpackPlugin) => void;
method createFormatter
static createFormatter: ( type: 'default' | 'codeframe', options: any) => (message: NormalizedMessage, useColors: boolean) => string;
method createNoopEmitCallback
createNoopEmitCallback: () => () => void;
method handleServiceExit
handleServiceExit: (_code: string | number, signal: string) => void;
method handleServiceMessage
handleServiceMessage: (message: Message) => void;
method killService
killService: () => void;
method pluginCompile
pluginCompile: () => void;
method pluginDone
pluginDone: () => void;
method pluginEmit
pluginEmit: () => void;
method pluginStart
pluginStart: () => void;
method pluginStop
pluginStop: () => void;
method registerCustomHooks
registerCustomHooks: () => void;
method spawnService
spawnService: () => void;
Package Files (1)
Dependencies (8)
Dev Dependencies (29)
- @types/babel-code-frame
- @types/chokidar
- @types/lodash
- @types/micromatch
- @types/minimatch
- @types/node
- @types/resolve
- @types/webpack
- chai
- css-loader
- eslint
- husky
- istanbul
- lint-staged
- mocha
- mock-fs
- mock-require
- prettier
- rimraf
- sinon
- ts-loader
- tslint
- tslint-config-prettier
- typescript
- vue
- vue-class-component
- vue-loader
- vue-template-compiler
- webpack
Peer Dependencies (1)
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/fork-ts-checker-webpack-plugin-alt
.
- Markdown[![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/fork-ts-checker-webpack-plugin-alt)
- HTML<a href="https://www.jsdocs.io/package/fork-ts-checker-webpack-plugin-alt"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 2634 ms. - Missing or incorrect documentation? Open an issue for this package.