From aeafe04f17eaaa5d52100b6b85fcd40606401e37 Mon Sep 17 00:00:00 2001 From: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com> Date: Wed, 4 Sep 2024 15:07:37 +1000 Subject: [PATCH] Use tsc in svelte-virtual --- packages/svelte-virtual/package.json | 5 ++--- packages/svelte-virtual/tsconfig.json | 9 ++++++++- pnpm-lock.yaml | 15 --------------- 3 files changed, 10 insertions(+), 19 deletions(-) diff --git a/packages/svelte-virtual/package.json b/packages/svelte-virtual/package.json index c106108c..daa47dac 100644 --- a/packages/svelte-virtual/package.json +++ b/packages/svelte-virtual/package.json @@ -26,7 +26,7 @@ "scripts": { "clean": "rimraf ./dist && rimraf ./coverage", "test:eslint": "eslint ./src", - "test:types": "svelte-check --tsconfig ./tsconfig.json", + "test:types": "tsc", "test:build": "publint --strict", "build": "svelte-package --input ./src --output ./dist" }, @@ -53,8 +53,7 @@ "devDependencies": { "@sveltejs/package": "^2.3.4", "@sveltejs/vite-plugin-svelte": "^3.1.2", - "svelte": "^4.2.19", - "svelte-check": "^4.0.0" + "svelte": "^4.2.19" }, "peerDependencies": { "svelte": "^3.48.0 || ^4.0.0" diff --git a/packages/svelte-virtual/tsconfig.json b/packages/svelte-virtual/tsconfig.json index 150a89f4..d08876c8 100644 --- a/packages/svelte-virtual/tsconfig.json +++ b/packages/svelte-virtual/tsconfig.json @@ -1,4 +1,11 @@ { "extends": "../../tsconfig.json", - "include": ["src", "eslint.config.js", "svelte.config.js", "vite.config.ts"] + "include": [ + "src/**/*.js", + "src/**/*.ts", + "src/**/*.svelte", + "eslint.config.js", + "svelte.config.js", + "vite.config.ts" + ] } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1d755960..77f0f2ea 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1405,9 +1405,6 @@ importers: svelte: specifier: ^4.2.19 version: 4.2.19 - svelte-check: - specifier: ^4.0.0 - version: 4.0.0(picomatch@4.0.2)(svelte@4.2.19)(typescript@5.4.2) packages/virtual-core: {} @@ -13975,18 +13972,6 @@ snapshots: transitivePeerDependencies: - picomatch - svelte-check@4.0.0(picomatch@4.0.2)(svelte@4.2.19)(typescript@5.4.2): - dependencies: - '@jridgewell/trace-mapping': 0.3.25 - chokidar: 3.6.0 - fdir: 6.3.0(picomatch@4.0.2) - picocolors: 1.0.1 - sade: 1.8.1 - svelte: 4.2.19 - typescript: 5.4.2 - transitivePeerDependencies: - - picomatch - svelte-hmr@0.16.0(svelte@4.2.19): dependencies: svelte: 4.2.19