Releases: fuse-box/fuse-box-typechecker
Releases · fuse-box/fuse-box-typechecker
V.3.0.1
V.3.0.0
For fusebox 4.0.0 ++ (including next version until stable 4.0.0)
V2.12.0
V.2.11.0
- updated dependencies
- added debug options
debug_projectReferences?: boolean;
debug_parsedFileNames?: boolean;
debug_parsedOptions?: boolean;
debug_tsConfigJsonContent?: boolean;
- tried to add ts 3.0 references (might need more testing/work)
- not used this feature very much...
V.2.10.0
Features:
- new function
runSilentSync()
- new funtions
runSilentPromise()
- new option
skipTsErrors?: number[]
- optional callback on
runWatch(path:string, callback?:function)
- typechecker is using it own 2.90 version to make the build
Thanks to @dlannoye & @jpike88 .
Details:
runSilentSync()
Returns object, and does not print any errors to console.
if no check have been preformed it returns undefined
let checkerSync = TypeHelper({
tsConfig: './tsconfig.json',
basePath: './',
tsLint: './tslint.json',
name: 'returnResultObj'
});
const resultObj = checkerSync.runSilentSync();
console.log(resultObj);
This will display the default paths to settings and name..
runSilentPromise()
// same as above, just own thread with promise
var TypeHelper = require('./dist/commonjs/index.js').TypeHelper
let checkerSync = TypeHelper({
tsConfig: './tsconfig.json',
basePath: './',
tsLint: './tslint.json',
name: 'checkerPromise'
});
checkerSync.runSilentPromise().then((results) => {
console.log(results)
})
checkerWatch.runWatch('./src', callback)
added option for callback
- returns 'edit' on removed file and changed
- returns 'updated' + errors when done
might get some small edits
skipTsErrors?: number[];// skip ts errors
- option to skip tsErrors
V.2.9.0
V.2.8.0
- Tslint now optional (PR from Fconstant)
- Updated dependencies.
V.2.7.1
V.2.7.0
2 new options
emit
and clearOnEmit
With these you can use it to transpile the files without fuxebox if you need.
It will use the tsConfig file for all settings
clearOnEmit
will delete entire output folder.
V.2.6.4
Fix exit code when using throw option in sync mode