Skip to content

Commit

Permalink
chore: update sveltekit and vite
Browse files Browse the repository at this point in the history
This fixes the underlying issue that required a `skipLibCheck` in the first place.
  • Loading branch information
jamesdabbs committed Jun 3, 2024
1 parent 0eed4ae commit 4c78194
Show file tree
Hide file tree
Showing 7 changed files with 477 additions and 445 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
},
"devDependencies": {
"@types/node": "^20.14.0",
"@vitest/coverage-v8": "^0.34.6",
"@vitest/coverage-v8": "^1.3.0",
"nodemon": "^2.0.22",
"npm-check-updates": "^16.14.12",
"prettier": "^2.8.8",
"prettier-plugin-svelte": "^2.10.1",
"ts-node": "^10.9.2",
"typescript": "^5.4.5",
"vite": "^4.5.3",
"vitest": "^0.34.6"
"vite": "^5.0.0",
"vitest": "^1.3.0"
}
}
4 changes: 1 addition & 3 deletions packages/compile/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@
"removeComments": true,
"sourceMap": true,
"strict": true,
"target": "es2022",
// TODO: workaround for https://github.com/vitejs/vite/issues/15714
"skipLibCheck": true
"target": "es2022"
},
"include": [
"src/**/*"
Expand Down
6 changes: 3 additions & 3 deletions packages/viewer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@
"unist-util-visit": "^4.1.2"
},
"devDependencies": {
"@sveltejs/adapter-cloudflare": "^2.3.4",
"@sveltejs/kit": "1.30.0",
"@sveltejs/vite-plugin-svelte": "^2.5.3",
"@sveltejs/adapter-cloudflare": "^3.0.0",
"@sveltejs/kit": "^2.0.0",
"@sveltejs/vite-plugin-svelte": "^3.0.0",
"@tsconfig/svelte": "^3.0.0",
"@types/debug": "^4.1.12",
"@types/hyperscript": "0.0.7",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ export const load: PageLoad = async function ({
}),
checked(spaceId),
).catch(() => {
throw error(404, `Trait not found ${spaceId} / ${propertyId}`)
error(404, `Trait not found ${spaceId} / ${propertyId}`)
})
}
2 changes: 1 addition & 1 deletion packages/viewer/svelte.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import adapter from '@sveltejs/adapter-cloudflare'
import { vitePreprocess } from '@sveltejs/kit/vite'
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte'

/** @type {import('@sveltejs/kit').Config} */
const config = {
Expand Down
1 change: 1 addition & 0 deletions packages/viewer/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,6 @@
"node_modules/@types"
],
"module": "es2022",
"moduleResolution": "bundler"
}
}
Loading

0 comments on commit 4c78194

Please sign in to comment.