Skip to content

Releases: fuse-box/fuse-box-typechecker

V.3.0.1

27 Nov 19:39
Compare
Choose a tag to compare

Updated readme

V.3.0.0

27 Nov 19:34
Compare
Choose a tag to compare

For fusebox 4.0.0 ++ (including next version until stable 4.0.0)

V2.12.0

01 Mar 16:16
Compare
Choose a tag to compare
  • Adding JSON5 support, that to @joshball
  • Tsconfig as optional

V.2.11.0

06 Nov 20:52
Compare
Choose a tag to compare
  • 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

23 Jun 17:20
Compare
Choose a tag to compare

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);

result without errors
image

one with 2 simple errors
image

This will display the default paths to settings and name..
image

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

02 Jun 18:15
Compare
Choose a tag to compare
  • Fix spelling issues #51 thx to @dlannoye
  • tsConfigOverride option added, see readme
  • 2 helper function added (startTreadAndWait and useThreadAndTypecheck, see docs for how to use

V.2.8.0

01 Apr 21:51
Compare
Choose a tag to compare
  • Tslint now optional (PR from Fconstant)
  • Updated dependencies.

V.2.7.1

26 Jan 20:58
Compare
Choose a tag to compare

Fix #43 if option error message is object

V.2.7.0

31 Dec 00:04
Compare
Choose a tag to compare

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

19 Dec 16:40
Compare
Choose a tag to compare

Fix exit code when using throw option in sync mode