Skip to content

Commit

Permalink
fix: update svelte-check to v3.x in svelte-ts template
Browse files Browse the repository at this point in the history
The svelte-ts template installs Typescript in v5.x, although svelte-preprocess, which is defined as v4.x and is a dependency of svelte-check, does not mention Typescript 5 as a valid peer dependency. Bumping svelte-check to v3 resolves the issue, because then svelte-preprocess v5 is used under the hood, which defines Typescript 5 as a valid peer dependency. Package managers, which throw an error for unmet peer dependencies, will not fail anymore.
  • Loading branch information
valentinpalkovic committed May 5, 2023
1 parent 775505d commit fbd7d51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/create-vite/template-svelte-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"@sveltejs/vite-plugin-svelte": "^2.0.4",
"@tsconfig/svelte": "^4.0.1",
"svelte": "^3.58.0",
"svelte-check": "^2.10.3",
"svelte-check": "^3.3.1",
"tslib": "^2.5.0",
"typescript": "^5.0.2",
"vite": "^4.3.2"
Expand Down

0 comments on commit fbd7d51

Please sign in to comment.