Skip to content

chore: remove downlevel-dts dependency - #174

Merged
OS-pedrogustavobilro merged 2 commits into
nextfrom
chore/remove-downleveldts
Aug 7, 2026
Merged

OS-pedrogustavobilro merged 2 commits into
nextfrom
chore/remove-downleveldts

Conversation

@OS-pedrogustavobilro

@OS-pedrogustavobilro OS-pedrogustavobilro commented Aug 3, 2026 •

Copy link
Copy Markdown
Contributor

This plugin had downlevel-dts as a dev dependency, and it was bringing next version of typescript when running pnpm install, which is now typescript 7; this was causing errors when running pnpm run build; the plugin's on Typescript 5.

It seems like downlevel-dts was added to fix an issue for TypeScript 3 (released in 2019), but Capacitor has been on Typescript 5 for some majors now. So I'd say it's safe to remove now, as this package is bringing more troubles than usefulness.

This shouldn't really be a breaking change, but because it changes the outputs of dist folder, and to keep it safe I'm pointing this PR to next branch.

ℹ️ Note: The native Android build is failing but that is to be addressed in #173

@OS-ruimoreiramendes

Copy link
Copy Markdown
Contributor

@OS-pedrogustavobilro Can you take a look at the conflict in pnpm-lock.yaml? It should be something pretty simple.

@OS-pedrogustavobilro

Copy link
Copy Markdown
Contributor Author

@OS-ruimoreiramendes done

@OS-pedrogustavobilro
OS-pedrogustavobilro merged commit c02f134 into next Aug 7, 2026
10 checks passed
@OS-pedrogustavobilro
OS-pedrogustavobilro deleted the chore/remove-downleveldts branch August 7, 2026 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants