Skip to content

Commit 3e149e6

Browse files
committed
drop importsNotUsedAsValues thanks to sveltejs/svelte-preprocess#392
1 parent 27f4555 commit 3e149e6

File tree

4 files changed

+233
-139
lines changed

4 files changed

+233
-139
lines changed

site/package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,25 +20,25 @@
2020
"check": "svelte-check"
2121
},
2222
"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",
2525
"@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",
2828
"eslint": "^7.32.0",
2929
"eslint-plugin-svelte3": "^3.2.0",
3030
"js-yaml": "^4.1.0",
3131
"node-fetch": "^3.0.0",
3232
"prettier": "^2.3.2",
3333
"prettier-plugin-svelte": "^2.3.1",
3434
"puppeteer": "^10.4.0",
35-
"svelte": "^3.42.2",
35+
"svelte": "^3.43.1",
3636
"svelte-check": "^2.2.4",
3737
"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",
4040
"typescript": "^4.3.5",
41-
"vite": "^2.5.0"
41+
"vite": "^2.6.2"
4242
},
4343
"keywords": [
4444
"svelte-kit",

site/src/components/SiteList.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script lang="ts">
2-
import type { Site } from '../global'
2+
import { Site } from '../global'
33
import Modal from './Modal.svelte'
44
import Screenshot from './Screenshot.svelte'
55
import MarkGithub from '@svicons/octicons/mark-github.svelte'

site/tsconfig.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@
66
"target": "es2020",
77
"moduleResolution": "node", // needed for import { ... } from 'svelte' in TS files
88

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-
139
// To have warnings/errors of the Svelte compiler at the correct position,
1410
// enable source maps by default.
1511
"sourceMap": true,

0 commit comments

Comments
 (0)