Skip to content

Releases: TypeStrong/tsconfig

@types

28 Aug 23:41
Compare
Choose a tag to compare

Changed

  • Support TypeScript package discovery and use NPM @types

ES2015

18 Mar 00:54
Compare
Choose a tag to compare

Changed

  • Remove buggy json-parse dependency in favour of native JSON.parse
  • Use native Promise

Empty Files On No Resolve

26 Jul 10:42
Compare
Choose a tag to compare

Changed

Prefer Resolve Over Join

22 Jul 23:30
Compare
Choose a tag to compare

Fixed

  • Use path.resolve for loading configuration in case of specifying an absolute path - path.join would just join them together which is probably not what the user wanted to achieve

Mark Load Config As Non-Optional

22 Jul 23:19
Compare
Choose a tag to compare

Changed

  • Mark config option of result as non-optional for TypeScript (2.0 would make working with this a lot more seamless, instead of having un-assignable void to optional params, etc)

Load Result

22 Jul 23:15
Compare
Choose a tag to compare

Two major releases in a day, that's when you should probably take a break. This breaking change returns the path to the configuration when using the load method. This is super useful because TypeScript will need it to actually read the configuration.

Changed

  • Output { path?: string, config: any } from load method, instead of just the tsconfig.json content without knowing where it come from

Mirror TypeScript Behaviour

22 Jul 22:41
Compare
Choose a tag to compare

DO NOT UPGRADE IF YOU RELY ON filesGlob BEHAVIOUR

This release is prepared to projects that wish to use/mirror tsc behaviour and is more forward-facing - removing custom filesGlob expansion and option mutation for the official 2.0 includes option

Changed

  • Simply the module API surface and dependencies by changing it to be a direct API replication of tsc without the bugs that come with it (E.g. normalizeSlashes, etc.)
    • resolve methods now take two arguments, the cwd and an optional path (a la --project in tsc)
    • Removed automatic configuration expansion and mutation - now directly returns the parsed configuration file

Read File

06 Jun 16:52
Compare
Choose a tag to compare

Changed

  • Resolve directly to file when it exists - matches typescript@next

Strip JSON Comments

18 Nov 18:32
Compare
Choose a tag to compare

Changed

  • Strip JSON comments before parsing
  • Remove typings field from package.json

Typings

01 Nov 23:20
Compare
Choose a tag to compare

Changed

  • Distribute with typings.json on NPM