Releases: timocov/dts-bundle-generator
Releases · timocov/dts-bundle-generator
1.4.0
Added
- EXPERIMENTAL! Added cli option
--disable-symlinks-following
to disable following symlinks (see #39)
1.3.0
Added
- Added handling re-exports from entry file (see #36)
Fixed
- Fixed bug with emitting incorrect library name if it is from
@types
and imported (see #37)
1.2.2
Fixed
- Reverted accidentally changes made by merge commit 3adab6b (see 02b8c38)
1.2.1
Fixed
- Fixed incorrect walking through the module with
declare module
statements, if the module is used for reference types
purposes (see 93e89ef and #35)
1.2.0
Added
- Added possibility to import types for libraries with typings from
@types
(see #27)
- Added handling
declare module
statements (see #27 and extend-other-module test for example)
- Added cli option
--inline-declare-global
to inline declare global
statements (see 933fd89 and #34)
Fixed
- Added missing stripping
export
keyword for functions which are not exported directly (see eac4fcd)
- Added checking emit result after emitting dts (see 256d90b)
- Fixed incorrect behavior with
export =
and namespaces (see #24)
- Fixed incorrect parsing extendable tsconfig file (see 267fb51)
1.1.0
Added
- Added
sort
cli option to sort output (#13)
Changed
- Removed cli option
--output-source-file
(cb8bc98)
Fixed
- Some imports makes adding unnecessary imports (#22)
1.0.0
Breaking changes
- npm package has no
dist
folder anymore, all files from dist
folder are in the package root now (1f6ba31)
bin
file is bin/dts-bundle-generator.js
(not bin/cli.js
) (931441b)
tslib
has been removed from dependencies (5ad7121)
--external-inlines
, --external-imports
and --external-types
cli options now accept space-separated values (instead of comma-separated) (c3d128a)
- Dropped support TypeScript before 2.5.1 (eb570a9)
Added
- Added
project
cli option to specify TypeScript project file (#14)
Fixed
- Fixed wrong generation when
export default
is in non-entry file (#15)
- Fixed bug of including TypeScript's lib file
lib.d.ts
to output (67d4036)
- Fixed parsing options from config file and overriding it from cli (79d6682)
- Added output for default exports from entry file (75c254c)
Thanks to our contributors!
0.6.1
Fixed
- Fixed error
Identifier expected
if no UMD module name provided
0.6.0
Added
- Added
--umd-module-name
cli option to specify UMD module name #12
Changed
outDir
will be removed from loaded compilerOptions
to avoid errors while generating dts
0.5.0
New
- Added possibility to import all external libraries (except inlined) #10
Changed
- Default behavior of
--external-imports
cli option is changed: if not set now it allows to import all external libraries (instead of none before) - see #10. Use --external-imports ""
to disallow any imports.