File tree 4 files changed +233
-139
lines changed
4 files changed +233
-139
lines changed Original file line number Diff line number Diff line change 20
20
"check" : " svelte-check"
21
21
},
22
22
"devDependencies" : {
23
- "@sveltejs/adapter-static" : " ^1.0.0-next.17 " ,
24
- "@sveltejs/kit" : " ^1.0.0-next.156 " ,
23
+ "@sveltejs/adapter-static" : " ^1.0.0-next.20 " ,
24
+ "@sveltejs/kit" : " ^1.0.0-next.178 " ,
25
25
"@svicons/octicons" : " ^0.1.3" ,
26
- "@typescript-eslint/eslint-plugin" : " ^4.29.2 " ,
27
- "@typescript-eslint/parser" : " ^4.29.2 " ,
26
+ "@typescript-eslint/eslint-plugin" : " ^4.32.0 " ,
27
+ "@typescript-eslint/parser" : " ^4.32.0 " ,
28
28
"eslint" : " ^7.32.0" ,
29
29
"eslint-plugin-svelte3" : " ^3.2.0" ,
30
30
"js-yaml" : " ^4.1.0" ,
31
31
"node-fetch" : " ^3.0.0" ,
32
32
"prettier" : " ^2.3.2" ,
33
33
"prettier-plugin-svelte" : " ^2.3.1" ,
34
34
"puppeteer" : " ^10.4.0" ,
35
- "svelte" : " ^3.42.2 " ,
35
+ "svelte" : " ^3.43.1 " ,
36
36
"svelte-check" : " ^2.2.4" ,
37
37
"svelte-multiselect" : " ^1.1.11" ,
38
- "svelte-preprocess" : " ^4.7.4 " ,
39
- "svelte2tsx" : " ^0.4.5 " ,
38
+ "svelte-preprocess" : " ^4.9.7 " ,
39
+ "svelte2tsx" : " ^0.4.7 " ,
40
40
"typescript" : " ^4.3.5" ,
41
- "vite" : " ^2.5.0 "
41
+ "vite" : " ^2.6.2 "
42
42
},
43
43
"keywords" : [
44
44
" svelte-kit" ,
Original file line number Diff line number Diff line change 1
1
<script lang =" ts" >
2
- import type { Site } from ' ../global'
2
+ import { Site } from ' ../global'
3
3
import Modal from ' ./Modal.svelte'
4
4
import Screenshot from ' ./Screenshot.svelte'
5
5
import MarkGithub from ' @svicons/octicons/mark-github.svelte'
Original file line number Diff line number Diff line change 6
6
"target" : " es2020" ,
7
7
"moduleResolution" : " node" , // needed for import { ... } from 'svelte' in TS files
8
8
9
- // Svelte Preprocess cannot figure out whether you have a value or a type, so tell TypeScript
10
- // to enforce using `import type` instead of `import` for Types.
11
- "importsNotUsedAsValues" : " error" ,
12
-
13
9
// To have warnings/errors of the Svelte compiler at the correct position,
14
10
// enable source maps by default.
15
11
"sourceMap" : true ,
You can’t perform that action at this time.
0 commit comments