Skip to content

docs(support): add entry for typescript 5 to support policy#1117

Merged
alicewriteswrongs merged 2 commits intomainfrom
ap/typescript-5
May 22, 2023
Merged

docs(support): add entry for typescript 5 to support policy#1117
alicewriteswrongs merged 2 commits intomainfrom
ap/typescript-5

Conversation

@alicewriteswrongs
Copy link
Copy Markdown
Contributor

@alicewriteswrongs alicewriteswrongs commented May 17, 2023

documentation for stenciljs/core#4315

@vercel
Copy link
Copy Markdown

vercel bot commented May 17, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
stencil-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 22, 2023 6:12pm

alicewriteswrongs added a commit to stenciljs/core that referenced this pull request May 22, 2023
This upgrades the version of TypeScript bundled with Stencil to 5.0.4. In order to support the upgrade we have to do a few things:

- edit the Rollup plugin we use to bundle typescript to account for changes in how typescript is bundled now (this changed for the 5.0.0 release)
- fix tests which assert on e.g. transformer output to account for small, mostly one-character differences in output with the strings we have in tests
- move the location where we prevent `.d.ts` files being written to disk during `stencil build` for test files
See also a documentation PR here: stenciljs/site#1117

It was also necessary to make a few tweaks to how the Karma tests are run to account for some changes in how TypeScript resolves modules.
@alicewriteswrongs alicewriteswrongs merged commit 5ab249a into main May 22, 2023
@alicewriteswrongs alicewriteswrongs deleted the ap/typescript-5 branch May 22, 2023 18: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.

3 participants