Skip to content

Commit

Permalink
[fix] Run svelte-kit sync before svelte-check in check scripts (#6037)
Browse files Browse the repository at this point in the history
Helps with #5779
  • Loading branch information
dummdidumm authored Aug 18, 2022
1 parent dfeb672 commit e5f6bf1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/selfish-tips-divide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'create-svelte': patch
---

Run svelte-kit sync before svelte-check in check scripts
4 changes: 2 additions & 2 deletions packages/create-svelte/shared/+typescript/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"scripts": {
"check": "svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-check --tsconfig ./tsconfig.json --watch"
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch"
},
"devDependencies": {
"typescript": "^4.7.4",
Expand Down

0 comments on commit e5f6bf1

Please sign in to comment.