Skip to content

Commit d155e56

Browse files
committed
[fix] Run svelte-kit sync before svelte-check in check scripts
Helps with #5779
1 parent 7b305af commit d155e56

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

Diff for: .changeset/selfish-tips-divide.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'create-svelte': patch
3+
---
4+
5+
Run svelte-kit sync before svelte-check in check scripts

Diff for: packages/create-svelte/shared/+typescript/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"scripts": {
3-
"check": "svelte-check --tsconfig ./tsconfig.json",
4-
"check:watch": "svelte-check --tsconfig ./tsconfig.json --watch"
3+
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
4+
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch"
55
},
66
"devDependencies": {
77
"typescript": "^4.7.4",

0 commit comments

Comments
 (0)