Skip to content

Commit

Permalink
svelte-kit sync before checks - closes #5779 (#6339)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich-Harris authored Aug 27, 2022
1 parent 9b50590 commit c3818b2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/weak-feet-cheer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'create-svelte': patch
---

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

0 comments on commit c3818b2

Please sign in to comment.