Draft: Update dependency rollup-plugin-typescript2 to v0.34.1
This MR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| rollup-plugin-typescript2 | 0.32.1 -> 0.34.1 |
Release Notes
ezolenko/rollup-plugin-typescript2
v0.34.1
Bugfixes
- fix: don't error out while catching a
buildStarterror by @agilgur5 in #422- This fixes an initialization regression in
0.34.0where users sawTypeError: Cannot read property 'done' of undefinedinstead of their actual initialization error, such as atsconfigissue (such as with #421)
- This fixes an initialization regression in
- fix: add compatibility checks w/
semverby @agilgur5 in #424-
0.34.0introduced a type-only fix that relied on Rollup 2.60.0+ and would (accidentally) error out on older versions of Rollup. This fix handles it gracefully with a clear warning message instead and skips that check when using an older version of Rollup (i.e. partly backward-compatible). - This also adds an error if
peerDependenciesminimum versions have not been met
-
- fix: don't resolve
filtered files by @agilgur5 in #428
Internal (testing, refactors)
- clean(deps): remove unused
@types/resolveby @agilgur5 in #423 - test: increase
no-errorsintegration timeout to 20s by @agilgur5 in #425
Full Changelog: https://github.com/ezolenko/rollup-plugin-typescript2/compare/0.34.0...0.34.1
v0.34.0
Bugfixes
- fix: handle all type-only imports by piping TS imports by @agilgur5 in #406
- If you have ever had issues with some files not being type-checked or not generating declarations, this should conclusively fix all such issues. This type of issue used to occur if you had a type-only / interface-only / emit-less file, i.e. a file with only TS
types andinterfaces that would produce no JS. -
NOTE: This requires Rollup version
2.60.0+ as it requires the use ofthis.load-
0.34.0will (accidentally) error out on older versions of Rollup.0.34.1patched this to instead give a warning and skip this check on older versions of Rollup.
-
- If you have ever had issues with some files not being type-checked or not generating declarations, this should conclusively fix all such issues. This type of issue used to occur if you had a type-only / interface-only / emit-less file, i.e. a file with only TS
More Fixes ...
- fix(dx): remove extra quote in
emitDeclarationOnlylog statement by @agilgur5 in #412
- docs: add a simple
CHANGELOG.mdthat references GH releases by @agilgur5 in #419- i.e. it references this page
Internal (testing, refactors)
- test: ensure
declarationMapsources are correct by @agilgur5 in #403 - test: add
print-diagnosticsspec by @agilgur5 in #405
More Internal ...
- refactor(test): heavily simplify the
contexthelper by @agilgur5 in #404 - refactor: combine
check-tsconfigwithparse-tsconfigby @agilgur5 in #413 - clean: remove
ConsoleContextentirely by usingbuildStartby @agilgur5 in #414 - refactor(cache): simplify creating / using the
cachevar by @agilgur5 in #415 - refactor: consolidate
diagnosticsfuncs into single file by @agilgur5 in #415
Full Changelog: https://github.com/ezolenko/rollup-plugin-typescript2/compare/0.33.0.1...0.34.0
v0.33.0
Configuration
-
If you want to rebase/retry this MR, check this box.
This MR has been generated by Renovate Bot.
Edited by Yasha