Skip to content

chore: specify TypeScript version with ~#18406

Merged
patak-cat merged 2 commits intovitejs:mainfrom
sapphi-red:chore/specify-ts-version-with-tilde
Oct 21, 2024
Merged

chore: specify TypeScript version with ~#18406
patak-cat merged 2 commits intovitejs:mainfrom
sapphi-red:chore/specify-ts-version-with-tilde

Conversation

@sapphi-red
Copy link
Copy Markdown
Member

Description

Since TS does not follow semver, it's better to use ~ instead of ^. It doesn't matter much as we have a lockfile pushed, but slightly better for the create-vite templates.

Also this will reduce things like #18402 happening.

@sapphi-red sapphi-red added the p1-chore Doesn't change code behavior (priority) label Oct 21, 2024
@bolt-new-by-stackblitz
Copy link
Copy Markdown

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

bluwy
bluwy previously approved these changes Oct 21, 2024
@patak-cat patak-cat merged commit 70bb8de into vitejs:main Oct 21, 2024
@sapphi-red sapphi-red deleted the chore/specify-ts-version-with-tilde branch October 21, 2024 07:56
moonlitusun pushed a commit to moonlitusun/vite that referenced this pull request May 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

p1-chore Doesn't change code behavior (priority)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants