Skip to content

Latest commit

 

History

History
402 lines (215 loc) · 21.2 KB

CHANGELOG.md

File metadata and controls

402 lines (215 loc) · 21.2 KB

1.6.4 (2022-09-30)

Bug Fixes

1.6.3 (2022-09-30)

Bug Fixes

  • both support cjs and esm(using by tsx) (38bd6a6)

1.6.2 (2022-09-30)

Bug Fixes

  • ensure generate dts for type only files (f3f4919), closes #118

1.6.1 (2022-09-28)

Bug Fixes

  • path error in cjs running (0832af4)

1.6.0 (2022-09-28)

Bug Fixes

  • correct compilerOptions.outDir for project init (8699219)
  • type error occurred while define defineProps retruns as props (41eb53a), closes #113

Features

  • skip write file when beforeWriteFile return exact false (9404ebc), closes #110

1.5.0 (2022-09-11)

Features

  • improve aliasesExclude to support more flexible definition (f652523), closes #93

1.4.1 (2022-08-01)

Bug Fixes

  • includes extends field when parse tsconfig.json (#96) (2631de0)

1.4.0 (2022-07-20)

Bug Fixes

  • ensure emit dts when no script sfc in vue component (869a466), closes #88

Features

1.3.1 (2022-07-18)

Bug Fixes

  • dynamiclly adjust the exports of inserted index file (abc9431), closes #81 #86
  • missing inserted entry when multiple outputs (39ff8ab)

1.3.0 (2022-07-13)

Bug Fixes

  • aliasesExclude not work when includes empty value (#85) (8b9b9aa)
  • correct type files generate when root is set (#68) (0b491bd)

Features

  • support multiple output dirs (cd19ee7)

1.2.1 (2022-07-05)

Bug Fixes

  • add parser plugins param for vue compiler (7d6bd16), closes #78
  • insert entry fail when no default export in source entry (#82) (1a4b161)

1.2.0 (2022-05-24)

Bug Fixes

  • support read typings form package.json (6b1bb29)

Features

  • add aliasesExclude option (#75) (7588ba4), closes #73
  • support override compilerOptions when rollup up (995612d), closes #74

1.1.1 (2022-04-25)

Bug Fixes

  • incorrect rollup entry path (a9309d8)

1.1.0 (2022-04-18)

Bug Fixes

  • lose the type of entry export default (50f55de)

Features

  • support rollup dts files after output (1d87b44)

1.0.5 (2022-04-02)

Bug Fixes

1.0.4 (2022-03-28)

Bug Fixes

  • transfer 'debug' to dependencies (7af9232)

1.0.3 (2022-03-25)

Bug Fixes

  • example: cannot resolve types through symlinks (0914a6a), closes #63

1.0.2 (2022-03-24)

Bug Fixes

  • incorrect entryRoot calculation in linux an mac (0136990), closes #62

1.0.1 (2022-03-22)

Bug Fixes

  • missing some libs defind in dependencies (ab7960f)

1.0.0 (2022-03-22)

Features

BREAKING CHANGES

  • The calculating output paths funtion of root option is assigned to entryRoot option, and currently will auto calculating the smallest public path as the default value for entryRoot option.

0.9.10 (2022-03-12)

Bug Fixes

  • make default include same as tsconfig.json (5ca7fc5), closes #58

0.9.9 (2022-01-11)

Bug Fixes

  • should filter vite virtual files (5fb24ba), closes #50

0.9.8 (2022-01-10)

Bug Fixes

0.9.7 (2021-12-30)

Bug Fixes

  • inserted entry not through beforeWriteFile (e16b9b1), closes #48

0.9.6 (2021-11-23)

Bug Fixes

  • aliases are not resolved when find ends with '/' (f04aab2), closes #37
  • not equally transform dts source files (ede5146)

0.9.5 (2021-11-21)

Bug Fixes

  • ensure dts source files through beforeWriteFile hook (3265412), closes #43

0.9.4 (2021-11-10)

Bug Fixes

  • cannot resolve types defined in dts files (666ca09), closes #42
  • take unused error when using setup-script (c4145b7)

0.9.3 (2021-11-03)

Bug Fixes

  • support require for cjs exports (cc5aff9), closes #39

0.9.2 (2021-10-20)

Bug Fixes

  • support optional @vue/compiler-sfc (34e1958)

0.9.1 (2021-10-18)

0.9.0 (2021-10-18)

Bug Fixes

  • watch mode not update ts/js files (32a5699)

Features

  • add afterBuild hook option (#34) (e836689)
  • afterDiagnostic and afterBuild support async (c92d548)
  • skip diagnostic by default (add skipDiagnostics option) (8ca3ed3)

0.8.3 (2021-10-11)

Bug Fixes

  • support tsconfig.json using comments (6e6e446), closes #31

0.8.2 (2021-09-30)

Bug Fixes

  • create correct source for tsx/jsx script (#29) (109721e)

0.8.1 (2021-09-22)

Bug Fixes

  • declarationDir make no file generated (3313a19), closes #27
  • rewrite noEmit option when init porject (735d26b), closes #28

0.8.0 (2021-09-13)

Bug Fixes

  • adapt vue@3.2.6+ setup script (1b62755)
  • ouput files out of include bounds (e1cdedf), closes #24

Features

  • add afterDiagnostic option (7d43ece), closes #22
  • support build watch mode (a920d97), closes #5

0.7.0 (2021-08-23)

Bug Fixes

  • support using script-setup alongside script (39517ad), closes #21

Features

  • add noEmitOnError and logDiagnostics options (8a840fe)

0.6.0 (2021-08-14)

Bug Fixes

  • resolve alias when using default import (3121d5b), closes #20

Features

0.5.3 (2021-07-22)

Bug Fixes

  • add allowJs option dynamically (36f8de2), closes #17
  • add js and jsx files when allowJs (0e1e6f7)

0.5.2 (2021-07-01)

Bug Fixes

  • cannot require @vue/compiler-sfc in monorepo (fd9b5c1), closes #14

0.5.1 (2021-06-18)

Bug Fixes

  • support insert entry from '.tsx' file (e38b7c4)

0.5.0 (2021-06-15)

Bug Fixes

  • ignore none export files (f9c41bc)
  • rename insertIndexEntry to insertTypesEntry (c9d392e)

Features

  • add clearPureImport option (0357f69)
  • defaults insert entry base on pkg.types (9c71f28)
  • optional insert index type entry (592a701)

0.4.3 (2021-06-11)

Bug Fixes

  • back off optional chaining and nullish coalescing (8e09129), closes #2
  • transform fs/promise to fs-extra (1794b0b), closes #4

Performance Improvements

  • use menory result generate bundle (858bf31)

0.4.2 (2021-06-09)

Bug Fixes

  • incomplete remove pure import (a1fd54e)
  • mamual set include and exclude (b6fb510)
  • more accurate normalize glob (1d65c47)
  • set rootDir if not set in compilerOptions (a1d83d2), closes #3
  • transform alias include dynamic imports (a6919b4)

0.4.1 (2021-06-08)

Bug Fixes

  • dynamic import regexp endings include ']' and ')' (e5f37a6)

0.4.0 (2021-06-08)

Bug Fixes

  • bundle only once for multiple formats (be37fbf)

Features

  • bundle all from tsconfig include (252554a)

BREAKING CHANGES

  • Deprecated include and exclude options, it will be resolved through tsconfig.json now.

0.3.5 (2021-06-07)

Bug Fixes

  • includes prue type export files (1341359)
  • incorrect path in transform alias (d686ff9)

0.3.4 (2021-06-07)

Bug Fixes

  • remove pure import (fe241de)
  • static import include relative path (4065217)

0.3.3 (2021-06-07)

Bug Fixes

  • keep output relative to root not to entry dir (e83ec64)

BREAKING CHANGES

  • Ouput declaration structure no longer relative to entry dir

0.3.2 (2021-06-07)

Bug Fixes

  • default root base on vite config (787ebc1)

0.3.1 (2021-06-06)

Bug Fixes

  • vue file explicit type lost (d0d8803)

0.3.0 (2021-06-06)

Bug Fixes

  • transform alias import to relative path (6d5a2d5)

Features

  • projectOptions refine to compilerOptions and tsConfigFilePath (eb61113)

BREAKING CHANGES

  • projectOptions no longer supported, the project init should be up to the plugin.

0.2.0 (2021-06-05)

Features

  • add beforeWriteFile hook (139e818)
  • add outputDir option (f289723)
  • add transform dynamic import to static (b2f0c0a)