ezolenko/rollup-plugin-typescript2 (rollup-plugin-typescript2)
### [`v0.36.0`](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/releases/tag/0.36.0)
[Compare Source](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/compare/0.35.0...0.36.0)
#### Features/bugfixes
- support newer `moduleResolution` kinds, update build to TS 5.x by [@ezolenko](https://redirect.github.com/ezolenko) in [https://github.com/ezolenko/rollup-plugin-typescript2/pull/453](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/pull/453)
- fix: hardcode declaration extension check by [@agilgur5](https://redirect.github.com/agilgur5) in [https://github.com/ezolenko/rollup-plugin-typescript2/pull/456](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/pull/456)
#### Internal (testing, refactors)
- github: mark `dist/*` as generated code by [@agilgur5](https://redirect.github.com/agilgur5) in [https://github.com/ezolenko/rollup-plugin-typescript2/pull/457](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/pull/457)
- deps: auto-update `semver` via `npm audit fix` by [@agilgur5](https://redirect.github.com/agilgur5) in [https://github.com/ezolenko/rollup-plugin-typescript2/pull/459](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/pull/459)
- switching from tslint (deprecated) to eslint by [@ezolenko](https://redirect.github.com/ezolenko) in [https://github.com/ezolenko/rollup-plugin-typescript2/pull/463](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/pull/463)
**Full Changelog**: https://github.com/ezolenko/rollup-plugin-typescript2/compare/0.35.0...0.36.0
### [`v0.35.0`](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/releases/tag/0.35.0)
[Compare Source](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/compare/0.34.1...0.35.0)
##### Features
- Support `module: "ES2022"` by [@ezolenko](https://redirect.github.com/ezolenko) in [https://github.com/ezolenko/rollup-plugin-typescript2/pull/450](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/pull/450)
- Support cts/mts file types by [@ezolenko](https://redirect.github.com/ezolenko) in [https://github.com/ezolenko/rollup-plugin-typescript2/pull/451](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/pull/451)
##### Bugfixes
- Disable cache in watch mode by [@ezolenko](https://redirect.github.com/ezolenko) in [https://github.com/ezolenko/rollup-plugin-typescript2/pull/452](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/pull/452)
**Full Changelog**: https://github.com/ezolenko/rollup-plugin-typescript2/compare/0.34.1...0.35.0
### [`v0.34.1`](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/releases/tag/0.34.1)
[Compare Source](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/compare/0.34.0...0.34.1)
#### Bugfixes
- fix: don't error out while catching a `buildStart` error by [@agilgur5](https://redirect.github.com/agilgur5) in [https://github.com/ezolenko/rollup-plugin-typescript2/pull/422](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/pull/422)
- This fixes an initialization regression in `0.34.0` where users saw `TypeError: Cannot read property 'done' of undefined` instead of their actual initialization error, such as a `tsconfig` issue (such as with [https://github.com/ezolenko/rollup-plugin-typescript2/issues/421](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/issues/421))
- fix: add compatibility checks w/ `semver` by [@agilgur5](https://redirect.github.com/agilgur5) in [https://github.com/ezolenko/rollup-plugin-typescript2/pull/424](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/pull/424)
- [`0.34.0`](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/releases/tag/0.34.0) introduced 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 [`peerDependencies` minimum versions](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/blob/f6db59613a66f58c48310aa8fa785951970b5d6d/package.json#L41) have not been met
- fix: don't resolve `filter`ed files by [@agilgur5](https://redirect.github.com/agilgur5) in [https://github.com/ezolenko/rollup-plugin-typescript2/pull/428](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/pull/428)
- This fixes a regression from [`0.33.0`](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/releases/tag/0.33.0.1) that could cause rpt2 to (accidentally) resolve files that should have been filtered out by the plugin `include`/`exclude` (such as with [https://github.com/ezolenko/rollup-plugin-typescript2/issues/427](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/issues/427))
#### Internal (testing, refactors)
- clean(deps): remove unused `@types/resolve` by [@agilgur5](https://redirect.github.com/agilgur5) in [https://github.com/ezolenko/rollup-plugin-typescript2/pull/423](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/pull/423)
- test: increase `no-errors` integration timeout to 20s by [@agilgur5](https://redirect.github.com/agilgur5) in [https://github.com/ezolenko/rollup-plugin-typescript2/pull/425](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/pull/425)
**Full Changelog**: https://github.com/ezolenko/rollup-plugin-typescript2/compare/0.34.0...0.34.1
### [`v0.34.0`](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/releases/tag/0.34.0)
[Compare Source](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/compare/0.33.0...0.34.0)
#### Bugfixes
- fix: handle all type-only imports by piping TS imports by [@agilgur5](https://redirect.github.com/agilgur5) in [#406](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/pull/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 `type`s and `interface`s that would produce no JS.
- For instance: [#211](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/issues/211), [#298](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/issues/298), [#409](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/issues/409), [etc](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/issues?q=label%3A%22topic%3A+type-only+%2F+emit-less+imports%22+)
- **NOTE**: This requires Rollup version `2.60.0`+ as it requires the use of [`this.load`](https://redirect.github.com/rollup/rollup/blob/master/CHANGELOG.md#2600)
- `0.34.0` will (accidentally) error out on older versions of Rollup. [`0.34.1`](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/releases/tag/0.34.1) patched this to instead give a warning and skip this check on older versions of Rollup.
More Fixes ...
- fix(dx): remove extra quote in `emitDeclarationOnly` log statement by [@agilgur5](https://redirect.github.com/agilgur5) in [#412](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/pull/412)
#### Docs
- docs: add a simple `CHANGELOG.md` that references GH releases by [@agilgur5](https://redirect.github.com/agilgur5) in [#419](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/pull/419)
- i.e. it references *this* page
#### Internal (testing, refactors)
- test: ensure `declarationMap` sources are correct by [@agilgur5](https://redirect.github.com/agilgur5) in [#403](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/pull/403)
- test: add `print-diagnostics` spec by [@agilgur5](https://redirect.github.com/agilgur5) in [#405](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/pull/405)
More Internal ...
- refactor(test): heavily simplify the `context` helper by [@agilgur5](https://redirect.github.com/agilgur5) in [#404](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/pull/404)
- refactor: combine `check-tsconfig` with `parse-tsconfig` by [@agilgur5](https://redirect.github.com/agilgur5) in [#413](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/pull/413)
- clean: remove `ConsoleContext` entirely by using `buildStart` by [@agilgur5](https://redirect.github.com/agilgur5) in [#414](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/pull/414)
- refactor(cache): simplify creating / using the `cache` var by [@agilgur5](https://redirect.github.com/agilgur5) in [#415](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/pull/415)
- refactor: consolidate `diagnostics` funcs into single file by [@agilgur5](https://redirect.github.com/agilgur5) in [#415](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/pull/416)
**Full Changelog**: https://github.com/ezolenko/rollup-plugin-typescript2/compare/0.33.0.1...0.34.0
### [`v0.33.0`](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/compare/0.32.1...0.33.0)
[Compare Source](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/compare/0.32.1...0.33.0)
### [`v0.32.1`](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/releases/tag/0.32.1)
[Compare Source](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/compare/0.32.0...0.32.1)
##### Bugfixes
- deps: upgrade `@rollup/plugin-commonjs` to v22 to fix try/catch requires by [@agilgur5](https://redirect.github.com/agilgur5) in [https://github.com/ezolenko/rollup-plugin-typescript2/pull/340](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/pull/340)
- This fixes a regression in [`0.32.0`](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/releases/0.32.0) that caused users with certain environments to experience `ReferenceError: window is not defined` when importing rpt2. See [https://github.com/ezolenko/rollup-plugin-typescript2/issues/339](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/issues/339)
**Full Changelog**: https://github.com/ezolenko/rollup-plugin-typescript2/compare/0.32.0...0.32.1
### [`v0.32.0`](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/releases/tag/0.32.0)
[Compare Source](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/compare/0.31.2...0.32.0)
##### Features
- add `rpt2:` prefix on more errors by [@ezolenko](https://redirect.github.com/ezolenko) in https://github.com/ezolenko/rollup-plugin-typescript2/commit/ff8895103c8466694e7d8eeb734f51d2850670d8
##### Bugfixes
- fix: normalize paths in `get-options-overrides` by [@agilgur5](https://redirect.github.com/agilgur5) in [https://github.com/ezolenko/rollup-plugin-typescript2/pull/331](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/pull/331)
- fix: add `realpath` to host to properly resolve monorepos / symlinks by [@agilgur5](https://redirect.github.com/agilgur5) in [https://github.com/ezolenko/rollup-plugin-typescript2/pull/332](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/pull/332)
- fix: use `.d.ts` instead of `.vue.d.ts` for Vue declarations by [@agilgur5](https://redirect.github.com/agilgur5) in [https://github.com/ezolenko/rollup-plugin-typescript2/pull/336](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/pull/336)
- **EDIT**: Per [https://github.com/ezolenko/rollup-plugin-typescript2/issues/224#issuecomment-1193350666](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/issues/224#issuecomment-1193350666), this issue and fix seem to have been made erroneously, as the Vue team now mandates `.vue.d.ts`. As such, this has been reverted in [`0.33.0`](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/releases/0.33.0.1)
- fix: don't attempt to change declarationMap `sources` when no output by [@agilgur5](https://redirect.github.com/agilgur5) in [https://github.com/ezolenko/rollup-plugin-typescript2/pull/334](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/pull/334)
- fix: force `noEmitOnError: false` by [@agilgur5](https://redirect.github.com/agilgur5) in [https://github.com/ezolenko/rollup-plugin-typescript2/pull/338](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/pull/338)
##### Dependencies
- updating dependencies by [@ezolenko](https://redirect.github.com/ezolenko) in https://github.com/ezolenko/rollup-plugin-typescript2/commit/f84afe983b94a52810599f46e83edbb4e521d3a1, https://github.com/ezolenko/rollup-plugin-typescript2/commit/0df5362d3937040cd17dbeee856ce2f1fde7c3ce, https://github.com/ezolenko/rollup-plugin-typescript2/commit/5a3e58b2779063b26d50c48800a80c9fd5ded726, and https://github.com/ezolenko/rollup-plugin-typescript2/commit/08d2f5bcad7cb9a9a0974f3707a27d29dd89da7c
- **EDIT**: https://github.com/ezolenko/rollup-plugin-typescript2/commit/08d2f5bcad7cb9a9a0974f3707a27d29dd89da7c caused a regression in certain environments per [https://github.com/ezolenko/rollup-plugin-typescript2/issues/339](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/issues/339). If you're experiencing `ReferenceError: window is not defined`, please upgrade to [`0.32.1`](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/releases/0.32.1), which should fix this issue.
- deps: remove unneeded `@types/colors` package by [@agilgur5](https://redirect.github.com/agilgur5) in [https://github.com/ezolenko/rollup-plugin-typescript2/pull/319](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/pull/319)
- deps: use `normalizePath` from `@rollup/pluginutils` by [@agilgur5](https://redirect.github.com/agilgur5) in [https://github.com/ezolenko/rollup-plugin-typescript2/pull/320](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/pull/320)
- deps: upgrade `tslib` to `^2.4.0`, remove `@yarn-tool/resolve-package` by [@agilgur5](https://redirect.github.com/agilgur5) in [https://github.com/ezolenko/rollup-plugin-typescript2/pull/326](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/pull/326)
##### Docs
- fix(docs): `_.merge` doesn't concat arrays by [@agilgur5](https://redirect.github.com/agilgur5) in [https://github.com/ezolenko/rollup-plugin-typescript2/pull/314](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/pull/314)
- docs: clarify the TS option's defaults by [@agilgur5](https://redirect.github.com/agilgur5) in [https://github.com/ezolenko/rollup-plugin-typescript2/pull/316](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/pull/316)
- docs: split off a CONTRIBUTING.md and improve formatting, grammar, links by [@agilgur5](https://redirect.github.com/agilgur5) in [https://github.com/ezolenko/rollup-plugin-typescript2/pull/313](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/pull/313)
More Docs ...
- cleaning up badges by [@ezolenko](https://redirect.github.com/ezolenko) in https://github.com/ezolenko/rollup-plugin-typescript2/commit/4e9f8fff080072a90164590b399768ca21a4d4e0
- docs: add link to NPM in monthly downloads badge by [@agilgur5](https://redirect.github.com/agilgur5) in [https://github.com/ezolenko/rollup-plugin-typescript2/pull/318](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/pull/318)
- docs: standardize how issues are referenced by [@agilgur5](https://redirect.github.com/agilgur5) in [https://github.com/ezolenko/rollup-plugin-typescript2/pull/317](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/pull/317)
- docs: update Compatibility section with new names and links by [@agilgur5](https://redirect.github.com/agilgur5) in [https://github.com/ezolenko/rollup-plugin-typescript2/pull/315](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/pull/315)
##### GitHub
* fix(github): improve formatting of issue template spoilers by @agilgu[https://github.com/ezolenko/rollup-plugin-typescript2/pull/311](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/pull/311)ll/311
##### Internal (testing, refactors)
* test: add initial unit test suite by @agilgu[https://github.com/ezolenko/rollup-plugin-typescript2/pull/321](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/pull/321)ll/321
* test: 100% coverage in `get-options-overrides` (`createFilter`) by @agilgu[https://github.com/ezolenko/rollup-plugin-typescript2/pull/329](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/pull/329)ll/329
More Internal ...
- clean: remove `partial.ts` as this is built into TS by [@agilgur5](https://redirect.github.com/agilgur5) in [https://github.com/ezolenko/rollup-plugin-typescript2/pull/322](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/pull/322)
- optim(ci): use `npm ci` for install and cache `npm` by [@agilgur5](https://redirect.github.com/agilgur5) in [https://github.com/ezolenko/rollup-plugin-typescript2/pull/323](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/pull/323)
- ci: add a lint check to ensure all PRs pass lint too by [@agilgur5](https://redirect.github.com/agilgur5) in [https://github.com/ezolenko/rollup-plugin-typescript2/pull/327](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/pull/327)
- refactor: prefer native methods to lodash where possible by [@agilgur5](https://redirect.github.com/agilgur5) in [https://github.com/ezolenko/rollup-plugin-typescript2/pull/328](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/pull/328)
- refactor: invert some conditionals for better readability by [@agilgur5](https://redirect.github.com/agilgur5) in [https://github.com/ezolenko/rollup-plugin-typescript2/pull/335](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/pull/335)
- refactor: sort all top-level imports by [@agilgur5](https://redirect.github.com/agilgur5) in [https://github.com/ezolenko/rollup-plugin-typescript2/pull/337](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/pull/337)
**Full Changelog**: https://github.com/ezolenko/rollup-plugin-typescript2/compare/0.31.2...0.32.0
### [`v0.31.2`](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/releases/tag/0.31.2)
[Compare Source](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/compare/0.31.1...0.31.2)
#### What's Changed
- chore: should not lock deps version by [@bluelovers](https://redirect.github.com/bluelovers) in [https://github.com/ezolenko/rollup-plugin-typescript2/pull/293](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/pull/293)
- Add `trace` method to the `LanguageServiceHost` to enable usage with `traceResolution` by [@Andarist](https://redirect.github.com/Andarist) in [https://github.com/ezolenko/rollup-plugin-typescript2/pull/296](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/pull/296)
**Full Changelog**: https://github.com/ezolenko/rollup-plugin-typescript2/compare/0.31.1...0.31.2
### [`v0.31.1`](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/releases/tag/0.31.1)
[Compare Source](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/compare/0.31.0...0.31.1)
Fix for [#291](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/issues/291)
**Full Changelog**: https://github.com/ezolenko/rollup-plugin-typescript2/compare/0.31.0...0.31.1
### [`v0.31.0`](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/releases/tag/0.31.0)
[Compare Source](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/compare/0.30.0...0.31.0)
- PR [#290](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/issues/290) fix for `tslib` on node 17
- Updated dependencies
Configuration
π Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
0.30.0
->0.36.0
Release Notes
ezolenko/rollup-plugin-typescript2 (rollup-plugin-typescript2)
### [`v0.36.0`](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/releases/tag/0.36.0) [Compare Source](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/compare/0.35.0...0.36.0) #### Features/bugfixes - support newer `moduleResolution` kinds, update build to TS 5.x by [@ezolenko](https://redirect.github.com/ezolenko) in [https://github.com/ezolenko/rollup-plugin-typescript2/pull/453](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/pull/453) - fix: hardcode declaration extension check by [@agilgur5](https://redirect.github.com/agilgur5) in [https://github.com/ezolenko/rollup-plugin-typescript2/pull/456](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/pull/456) #### Internal (testing, refactors) - github: mark `dist/*` as generated code by [@agilgur5](https://redirect.github.com/agilgur5) in [https://github.com/ezolenko/rollup-plugin-typescript2/pull/457](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/pull/457) - deps: auto-update `semver` via `npm audit fix` by [@agilgur5](https://redirect.github.com/agilgur5) in [https://github.com/ezolenko/rollup-plugin-typescript2/pull/459](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/pull/459) - switching from tslint (deprecated) to eslint by [@ezolenko](https://redirect.github.com/ezolenko) in [https://github.com/ezolenko/rollup-plugin-typescript2/pull/463](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/pull/463) **Full Changelog**: https://github.com/ezolenko/rollup-plugin-typescript2/compare/0.35.0...0.36.0 ### [`v0.35.0`](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/releases/tag/0.35.0) [Compare Source](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/compare/0.34.1...0.35.0) ##### Features - Support `module: "ES2022"` by [@ezolenko](https://redirect.github.com/ezolenko) in [https://github.com/ezolenko/rollup-plugin-typescript2/pull/450](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/pull/450) - Support cts/mts file types by [@ezolenko](https://redirect.github.com/ezolenko) in [https://github.com/ezolenko/rollup-plugin-typescript2/pull/451](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/pull/451) ##### Bugfixes - Disable cache in watch mode by [@ezolenko](https://redirect.github.com/ezolenko) in [https://github.com/ezolenko/rollup-plugin-typescript2/pull/452](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/pull/452) **Full Changelog**: https://github.com/ezolenko/rollup-plugin-typescript2/compare/0.34.1...0.35.0 ### [`v0.34.1`](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/releases/tag/0.34.1) [Compare Source](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/compare/0.34.0...0.34.1) #### Bugfixes - fix: don't error out while catching a `buildStart` error by [@agilgur5](https://redirect.github.com/agilgur5) in [https://github.com/ezolenko/rollup-plugin-typescript2/pull/422](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/pull/422) - This fixes an initialization regression in `0.34.0` where users saw `TypeError: Cannot read property 'done' of undefined` instead of their actual initialization error, such as a `tsconfig` issue (such as with [https://github.com/ezolenko/rollup-plugin-typescript2/issues/421](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/issues/421)) - fix: add compatibility checks w/ `semver` by [@agilgur5](https://redirect.github.com/agilgur5) in [https://github.com/ezolenko/rollup-plugin-typescript2/pull/424](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/pull/424) - [`0.34.0`](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/releases/tag/0.34.0) introduced 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 [`peerDependencies` minimum versions](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/blob/f6db59613a66f58c48310aa8fa785951970b5d6d/package.json#L41) have not been met - fix: don't resolve `filter`ed files by [@agilgur5](https://redirect.github.com/agilgur5) in [https://github.com/ezolenko/rollup-plugin-typescript2/pull/428](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/pull/428) - This fixes a regression from [`0.33.0`](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/releases/tag/0.33.0.1) that could cause rpt2 to (accidentally) resolve files that should have been filtered out by the plugin `include`/`exclude` (such as with [https://github.com/ezolenko/rollup-plugin-typescript2/issues/427](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/issues/427)) #### Internal (testing, refactors) - clean(deps): remove unused `@types/resolve` by [@agilgur5](https://redirect.github.com/agilgur5) in [https://github.com/ezolenko/rollup-plugin-typescript2/pull/423](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/pull/423) - test: increase `no-errors` integration timeout to 20s by [@agilgur5](https://redirect.github.com/agilgur5) in [https://github.com/ezolenko/rollup-plugin-typescript2/pull/425](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/pull/425) **Full Changelog**: https://github.com/ezolenko/rollup-plugin-typescript2/compare/0.34.0...0.34.1 ### [`v0.34.0`](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/releases/tag/0.34.0) [Compare Source](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/compare/0.33.0...0.34.0) #### Bugfixes - fix: handle all type-only imports by piping TS imports by [@agilgur5](https://redirect.github.com/agilgur5) in [#406](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/pull/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 `type`s and `interface`s that would produce no JS. - For instance: [#211](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/issues/211), [#298](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/issues/298), [#409](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/issues/409), [etc](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/issues?q=label%3A%22topic%3A+type-only+%2F+emit-less+imports%22+) - **NOTE**: This requires Rollup version `2.60.0`+ as it requires the use of [`this.load`](https://redirect.github.com/rollup/rollup/blob/master/CHANGELOG.md#2600) - `0.34.0` will (accidentally) error out on older versions of Rollup. [`0.34.1`](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/releases/tag/0.34.1) patched this to instead give a warning and skip this check on older versions of Rollup.More Fixes ...
- fix(dx): remove extra quote in `emitDeclarationOnly` log statement by [@agilgur5](https://redirect.github.com/agilgur5) in [#412](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/pull/412)More Internal ...
- refactor(test): heavily simplify the `context` helper by [@agilgur5](https://redirect.github.com/agilgur5) in [#404](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/pull/404) - refactor: combine `check-tsconfig` with `parse-tsconfig` by [@agilgur5](https://redirect.github.com/agilgur5) in [#413](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/pull/413) - clean: remove `ConsoleContext` entirely by using `buildStart` by [@agilgur5](https://redirect.github.com/agilgur5) in [#414](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/pull/414) - refactor(cache): simplify creating / using the `cache` var by [@agilgur5](https://redirect.github.com/agilgur5) in [#415](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/pull/415) - refactor: consolidate `diagnostics` funcs into single file by [@agilgur5](https://redirect.github.com/agilgur5) in [#415](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/pull/416)More Docs ...
- cleaning up badges by [@ezolenko](https://redirect.github.com/ezolenko) in https://github.com/ezolenko/rollup-plugin-typescript2/commit/4e9f8fff080072a90164590b399768ca21a4d4e0 - docs: add link to NPM in monthly downloads badge by [@agilgur5](https://redirect.github.com/agilgur5) in [https://github.com/ezolenko/rollup-plugin-typescript2/pull/318](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/pull/318) - docs: standardize how issues are referenced by [@agilgur5](https://redirect.github.com/agilgur5) in [https://github.com/ezolenko/rollup-plugin-typescript2/pull/317](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/pull/317) - docs: update Compatibility section with new names and links by [@agilgur5](https://redirect.github.com/agilgur5) in [https://github.com/ezolenko/rollup-plugin-typescript2/pull/315](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/pull/315)More Internal ...
- clean: remove `partial.ts` as this is built into TS by [@agilgur5](https://redirect.github.com/agilgur5) in [https://github.com/ezolenko/rollup-plugin-typescript2/pull/322](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/pull/322) - optim(ci): use `npm ci` for install and cache `npm` by [@agilgur5](https://redirect.github.com/agilgur5) in [https://github.com/ezolenko/rollup-plugin-typescript2/pull/323](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/pull/323) - ci: add a lint check to ensure all PRs pass lint too by [@agilgur5](https://redirect.github.com/agilgur5) in [https://github.com/ezolenko/rollup-plugin-typescript2/pull/327](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/pull/327) - refactor: prefer native methods to lodash where possible by [@agilgur5](https://redirect.github.com/agilgur5) in [https://github.com/ezolenko/rollup-plugin-typescript2/pull/328](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/pull/328) - refactor: invert some conditionals for better readability by [@agilgur5](https://redirect.github.com/agilgur5) in [https://github.com/ezolenko/rollup-plugin-typescript2/pull/335](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/pull/335) - refactor: sort all top-level imports by [@agilgur5](https://redirect.github.com/agilgur5) in [https://github.com/ezolenko/rollup-plugin-typescript2/pull/337](https://redirect.github.com/ezolenko/rollup-plugin-typescript2/pull/337)Configuration
π Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.