Skip to content

Commit 11074fa

Browse files
authored
(chore) Bump svelte-preprocess (#1001)
Added tsconfig.json to test folder because svelte-preprocess can now deal with extends which the previously loaded tsconfig contained which made it compile to commonjs.
1 parent 9b9e0e6 commit 11074fa

File tree

3 files changed

+15
-5
lines changed

3 files changed

+15
-5
lines changed

packages/language-server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
"prettier-plugin-svelte": "~2.3.0",
5858
"source-map": "^0.7.3",
5959
"svelte": "~3.38.2",
60-
"svelte-preprocess": "~4.6.1",
60+
"svelte-preprocess": "~4.7.3",
6161
"svelte2tsx": "*",
6262
"typescript": "*",
6363
"vscode-css-languageservice": "5.0.0",
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"compilerOptions": {
3+
"strict": true,
4+
/**
5+
This is actually not needed, but makes the tests faster
6+
because TS does not look up other types.
7+
*/
8+
"types": ["svelte"]
9+
}
10+
}

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2432,10 +2432,10 @@ svelte-preprocess@^4.0.0:
24322432
detect-indent "^6.0.0"
24332433
strip-indent "^3.0.0"
24342434

2435-
svelte-preprocess@~4.6.1:
2436-
version "4.6.9"
2437-
resolved "https://registry.yarnpkg.com/svelte-preprocess/-/svelte-preprocess-4.6.9.tgz#073d923eb351b98b6c6a454ba5feee981cd9dbf5"
2438-
integrity sha512-SROWH0rB0DJ+0Ii264cprmNu/NJyZacs5wFD71ya93Cg/oA2lKHgQm4F6j0EWA4ktFMzeuJJm/eX6fka39hEHA==
2435+
svelte-preprocess@~4.7.3:
2436+
version "4.7.3"
2437+
resolved "https://registry.yarnpkg.com/svelte-preprocess/-/svelte-preprocess-4.7.3.tgz#454fa059c2400b15e7a3caeca18993cff9df0e96"
2438+
integrity sha512-Zx1/xLeGOIBlZMGPRCaXtlMe4ZA0faato5Dc3CosEqwu75MIEPuOstdkH6cy+RYTUYynoxzNaDxkPX4DbrPwRA==
24392439
dependencies:
24402440
"@types/pug" "^2.0.4"
24412441
"@types/sass" "^1.16.0"

0 commit comments

Comments
 (0)