chore(deps): update dependency rollup-plugin-typescript2 to ^0.36.0
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
rollup-plugin-typescript2 | devDependencies | minor | ^0.25.3 -> ^0.36.0 |
Release Notes
ezolenko/rollup-plugin-typescript2 (rollup-plugin-typescript2)
v0.36.0
Features/bugfixes
- support newer
moduleResolution
kinds, update build to TS 5.x by @ezolenko in https://github.com/ezolenko/rollup-plugin-typescript2/pull/453 - fix: hardcode declaration extension check by @agilgur5 in https://github.com/ezolenko/rollup-plugin-typescript2/pull/456
Internal (testing, refactors)
- github: mark
dist/*
as generated code by @agilgur5 in https://github.com/ezolenko/rollup-plugin-typescript2/pull/457 - deps: auto-update
semver
vianpm audit fix
by @agilgur5 in https://github.com/ezolenko/rollup-plugin-typescript2/pull/459 - switching from tslint (deprecated) to eslint by @ezolenko in https://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
Features
- Support
module: "ES2022"
by @ezolenko in https://github.com/ezolenko/rollup-plugin-typescript2/pull/450 - Support cts/mts file types by @ezolenko in https://github.com/ezolenko/rollup-plugin-typescript2/pull/451
Bugfixes
- Disable cache in watch mode by @ezolenko in https://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
Bugfixes
- fix: don't error out while catching a
buildStart
error by @agilgur5 in https://github.com/ezolenko/rollup-plugin-typescript2/pull/422- This fixes an initialization regression in
0.34.0
where users sawTypeError: Cannot read property 'done' of undefined
instead of their actual initialization error, such as atsconfig
issue (such as with https://github.com/ezolenko/rollup-plugin-typescript2/issues/421)
- This fixes an initialization regression in
- fix: add compatibility checks w/
semver
by @agilgur5 in https://github.com/ezolenko/rollup-plugin-typescript2/pull/424-
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 have not been met
-
- fix: don't resolve
filter
ed files by @agilgur5 in https://github.com/ezolenko/rollup-plugin-typescript2/pull/428- This fixes a regression from
0.33.0
that could cause rpt2 to (accidentally) resolve files that should have been filtered out by the plugininclude
/exclude
(such as with https://github.com/ezolenko/rollup-plugin-typescript2/issues/427)
- This fixes a regression from
Internal (testing, refactors)
- clean(deps): remove unused
@types/resolve
by @agilgur5 in https://github.com/ezolenko/rollup-plugin-typescript2/pull/423 - test: increase
no-errors
integration timeout to 20s by @agilgur5 in https://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
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
type
s andinterface
s that would produce no JS. -
NOTE: This requires Rollup version
2.60.0
+ as it requires the use ofthis.load
-
0.34.0
will (accidentally) error out on older versions of Rollup.0.34.1
patched 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
emitDeclarationOnly
log statement by @agilgur5 in #412
Docs
- docs: add a simple
CHANGELOG.md
that references GH releases by @agilgur5 in #419- i.e. it references this page
Internal (testing, refactors)
- test: ensure
declarationMap
sources are correct by @agilgur5 in #403 - test: add
print-diagnostics
spec by @agilgur5 in #405
More Internal ...
- refactor(test): heavily simplify the
context
helper by @agilgur5 in #404 - refactor: combine
check-tsconfig
withparse-tsconfig
by @agilgur5 in #413 - clean: remove
ConsoleContext
entirely by usingbuildStart
by @agilgur5 in #414 - refactor(cache): simplify creating / using the
cache
var by @agilgur5 in #415 - refactor: consolidate
diagnostics
funcs 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
v0.32.1
Bugfixes
- deps: upgrade
@rollup/plugin-commonjs
to v22 to fix try/catch requires by @agilgur5 in https://github.com/ezolenko/rollup-plugin-typescript2/pull/340- This fixes a regression in
0.32.0
that caused users with certain environments to experienceReferenceError: window is not defined
when importing rpt2. See https://github.com/ezolenko/rollup-plugin-typescript2/issues/339
- This fixes a regression in
Full Changelog: https://github.com/ezolenko/rollup-plugin-typescript2/compare/0.32.0...0.32.1
v0.32.0
Features
- add
rpt2:
prefix on more errors by @ezolenko in https://github.com/ezolenko/rollup-plugin-typescript2/commit/ff8895103c8466694e7d8eeb734f51d2850670d8
Bugfixes
- fix: normalize paths in
get-options-overrides
by @agilgur5 in https://github.com/ezolenko/rollup-plugin-typescript2/pull/331 - fix: add
realpath
to host to properly resolve monorepos / symlinks by @agilgur5 in https://github.com/ezolenko/rollup-plugin-typescript2/pull/332 - fix: use
.d.ts
instead of.vue.d.ts
for Vue declarations by @agilgur5 in https://github.com/ezolenko/rollup-plugin-typescript2/pull/336-
EDIT: Per https://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 in0.33.0
-
EDIT: Per https://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
- fix: don't attempt to change declarationMap
sources
when no output by @agilgur5 in https://github.com/ezolenko/rollup-plugin-typescript2/pull/334 - fix: force
noEmitOnError: false
by @agilgur5 in https://github.com/ezolenko/rollup-plugin-typescript2/pull/338
Dependencies
- updating dependencies by @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. If you're experiencing
ReferenceError: window is not defined
, please upgrade to0.32.1
, which should fix this issue.
-
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. If you're experiencing
- deps: remove unneeded
@types/colors
package by @agilgur5 in https://github.com/ezolenko/rollup-plugin-typescript2/pull/319 - deps: use
normalizePath
from@rollup/pluginutils
by @agilgur5 in https://github.com/ezolenko/rollup-plugin-typescript2/pull/320 - deps: upgrade
tslib
to^2.4.0
, remove@yarn-tool/resolve-package
by @agilgur5 in https://github.com/ezolenko/rollup-plugin-typescript2/pull/326
Docs
- fix(docs):
_.merge
doesn't concat arrays by @agilgur5 in https://github.com/ezolenko/rollup-plugin-typescript2/pull/314 - docs: clarify the TS option's defaults by @agilgur5 in https://github.com/ezolenko/rollup-plugin-typescript2/pull/316
- docs: split off a CONTRIBUTING.md and improve formatting, grammar, links by @agilgur5 in https://github.com/ezolenko/rollup-plugin-typescript2/pull/313
More Docs ...
- cleaning up badges by @ezolenko in https://github.com/ezolenko/rollup-plugin-typescript2/commit/4e9f8fff080072a90164590b399768ca21a4d4e0
- docs: add link to NPM in monthly downloads badge by @agilgur5 in https://github.com/ezolenko/rollup-plugin-typescript2/pull/318
- docs: standardize how issues are referenced by @agilgur5 in https://github.com/ezolenko/rollup-plugin-typescript2/pull/317
- docs: update Compatibility section with new names and links by @agilgur5 in https://github.com/ezolenko/rollup-plugin-typescript2/pull/315
GitHub
- fix(github): improve formatting of issue template spoilers by @agilgur5 in https://github.com/ezolenko/rollup-plugin-typescript2/pull/311
Internal (testing, refactors)
- test: add initial unit test suite by @agilgur5 in https://github.com/ezolenko/rollup-plugin-typescript2/pull/321
- test: 100% coverage in
get-options-overrides
(createFilter
) by @agilgur5 in https://github.com/ezolenko/rollup-plugin-typescript2/pull/329
More Internal ...
- clean: remove
partial.ts
as this is built into TS by @agilgur5 in https://github.com/ezolenko/rollup-plugin-typescript2/pull/322 - optim(ci): use
npm ci
for install and cachenpm
by @agilgur5 in https://github.com/ezolenko/rollup-plugin-typescript2/pull/323 - ci: add a lint check to ensure all MRs pass lint too by @agilgur5 in https://github.com/ezolenko/rollup-plugin-typescript2/pull/327
- refactor: prefer native methods to lodash where possible by @agilgur5 in https://github.com/ezolenko/rollup-plugin-typescript2/pull/328
- refactor: invert some conditionals for better readability by @agilgur5 in https://github.com/ezolenko/rollup-plugin-typescript2/pull/335
- refactor: sort all top-level imports by @agilgur5 in https://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
What's Changed
- chore: should not lock deps version by @bluelovers in https://github.com/ezolenko/rollup-plugin-typescript2/pull/293
- Add
trace
method to theLanguageServiceHost
to enable usage withtraceResolution
by @Andarist in https://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
Fix for #291
Full Changelog: https://github.com/ezolenko/rollup-plugin-typescript2/compare/0.31.0...0.31.1
v0.31.0
- MR #290 fix for
tslib
on node 17 - Updated dependencies
v0.30.0
#251 Fix duplicate output with multiple entry points allowing ES2020 module type in tsconfig
v0.29.0
#249 use compilerOptions.rootDir to filter files
v0.28.0
v0.27.3
MR #243
Updating dependencies
v0.27.2
Dependency updates
v0.27.1
v0.27.0
- updated dependencies and some type changes
v0.26.0
#203 Updating object-hash to 2.0.2 with async support.
Updating other dependencies.
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.