Releases: timocov/dts-bundle-generator
Releases · timocov/dts-bundle-generator
3.3.1
3.3.0
3.2.0
Changed
- Do not compile project for d.ts files if all files are d.ts already (see 284ff87).
This fix might improve speed of generating bundle. incremental
andtsBuildInfoFile
compiler options now will be removed while generating bundle (see 83a113b)- Removing
outDir
compiler option doesn't write log about it anymore (see 83a113b) - Pass path to tsconfig file while parsing it via
parseJsonConfigFileContent
function (see c506fb1) - Updated
yargs
to 13.3 (see fb13761)
3.1.0
3.0.0
Breaking changes
declare module
of external modules aren't inlined by default. To inline them use--inline-declare-externals
cli option (see #75)- Dropped support for NodeJS < 8
Added
- Added basic support of
paths
compiler option to determine "external" libraries (see #74) - Added cli option
--inline-declare-externals
to inliningdeclare module
statements of global modules (see #75)
Changed
- Added more logs to an error message when bundling is failed due
failOnClass
option (see #77) - Error messages now colored in red (see 6630db8)
export {};
statement is added to each generated dts to avoid importing non-exported nodes from it (see #58 and #81)
Fixed
- Fixed bug with adding unnecessary
export
keyword todeclare module
statements (see 072d3a9) - Now nodes are sorted by node's text only (without JSDoc) (see #23)
- Fixed bug when
extends
option in tsconfig is set to node_modules (see #82)
Deps updates
yargs
has been updated to13.2.2
version (see #87)
Thanks to our contributors:
- Mehdi Lahlou (@medfreeman)
2.1.0
2.0.0
Breaking changes
- The config's format is changed (see #55 and #63).
The new format of the config is described here.
To migrate your config from previous version you may use this script. - API is changed (see #63 (comment) and ab43977)
Added
- The npm package now contains own TypeScript declaration files (see #49 and #64)
- Possibility to specify multiple entries, which will be compiled in one compilation (see #55 and #63).
This change may decrease build time if you generate dts for multiple entries. - Added cli option
--silent
to disable any logging (except errors) (see 63d359c)
Changed
- By default, if you use API (not from cli), default log level is error now (see 10f51a9)