Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bump dts-buddy and typescript #11013

Closed
wants to merge 7 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/polite-beers-build.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@sveltejs/kit': patch
---

chore: bump `dts-buddy` and `typescript`
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"prettier": "^2.8.0",
"rollup": "^3.29.4",
"svelte": "^4.2.2",
"typescript": "^4.9.4"
"typescript": "^5.2.2"
},
"packageManager": "pnpm@8.10.2",
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion packages/adapter-auto/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"devDependencies": {
"@sveltejs/kit": "workspace:^",
"@types/node": "^16.18.6",
"typescript": "^4.9.4"
"typescript": "^5.2.2"
},
"dependencies": {
"import-meta-resolve": "^4.0.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/adapter-cloudflare-workers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"devDependencies": {
"@cloudflare/kv-asset-handler": "^0.3.0",
"@types/node": "^16.18.6",
"typescript": "^4.9.4"
"typescript": "^5.2.2"
},
"peerDependencies": {
"@sveltejs/kit": "^1.0.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/adapter-cloudflare/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"devDependencies": {
"@types/node": "^16.18.6",
"@types/ws": "^8.5.3",
"typescript": "^4.9.4"
"typescript": "^5.2.2"
},
"peerDependencies": {
"@sveltejs/kit": "^1.0.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/adapter-netlify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"@types/node": "^16.18.6",
"@types/set-cookie-parser": "^2.4.2",
"rollup": "^3.29.4",
"typescript": "^4.9.4",
"typescript": "^5.2.2",
"vitest": "^0.34.5"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/adapter-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"c8": "^8.0.0",
"polka": "^1.0.0-next.23",
"sirv": "^2.0.3",
"typescript": "^4.9.4",
"typescript": "^5.2.2",
"vitest": "^0.34.5"
},
"dependencies": {
Expand Down
1 change: 1 addition & 0 deletions packages/adapter-static/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ See https://kit.svelte.dev/docs/page-options#prerender for more details`
}

const {
// @ts-expect-error this is a very stupid error
pages = 'build',
assets = pages,
fallback,
Expand Down
2 changes: 1 addition & 1 deletion packages/adapter-static/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"@types/node": "^16.18.6",
"sirv": "^2.0.3",
"svelte": "^4.2.2",
"typescript": "^4.9.4",
"typescript": "^5.2.2",
"vite": "^4.4.9"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/adapter-vercel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"devDependencies": {
"@sveltejs/kit": "workspace:^",
"@types/node": "^16.18.6",
"typescript": "^4.9.4",
"typescript": "^5.2.2",
"vitest": "^0.34.5"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/create-svelte/templates/default/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"@sveltejs/adapter-auto": "workspace:*",
"@sveltejs/kit": "workspace:*",
"svelte": "^4.2.2",
"typescript": "^5.0.0",
"typescript": "^5.2.2",
"vite": "^4.4.9"
},
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion packages/enhanced-img/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"@types/node": "^16.18.6",
"estree-walker": "^3.0.3",
"svelte": "^4.0.5",
"typescript": "^4.9.4",
"typescript": "^5.2.2",
"vite": "^4.4.2",
"vitest": "^0.34.0"
}
Expand Down
4 changes: 2 additions & 2 deletions packages/kit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@
"@types/node": "^16.18.6",
"@types/sade": "^1.7.4",
"@types/set-cookie-parser": "^2.4.2",
"dts-buddy": "^0.2.4",
"dts-buddy": "^0.4.0",
"rollup": "^3.29.4",
"svelte": "^4.2.2",
"svelte-preprocess": "^5.0.4",
"typescript": "^4.9.4",
"typescript": "^5.2.2",
"vite": "^4.4.9",
"vitest": "^0.34.5"
},
Expand Down
2 changes: 2 additions & 0 deletions packages/kit/src/core/sync/write_tsconfig.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ test('Allows generated tsconfig to be mutated', () => {

const config = get_tsconfig(kit, false);

// @ts-expect-error
assert.equal(config.extends, 'some/other/tsconfig.json');
});

Expand All @@ -82,6 +83,7 @@ test('Allows generated tsconfig to be replaced', () => {

const config = get_tsconfig(kit, false);

// @ts-expect-error
assert.equal(config.extends, 'some/other/tsconfig.json');
});

Expand Down
2 changes: 1 addition & 1 deletion packages/kit/src/runtime/app/navigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export const beforeNavigate = /* @__PURE__ */ client_method('before_navigate');
* If a function (or a `Promise` that resolves to a function) is returned from the callback, it will be called once the DOM has updated.
*
* `onNavigate` must be called during a component initialization. It remains active as long as the component is mounted.
* @type {(callback: (navigation: import('@sveltejs/kit').OnNavigate) => import('../../types/internal.js').MaybePromise<(() => void) | void>) => void}
* @type {(callback: (navigation: import('@sveltejs/kit').OnNavigate) => import('types').MaybePromise<(() => void) | void>) => void}
* @param {(navigation: import('@sveltejs/kit').OnNavigate) => void} callback
* @returns {void}
*/
Expand Down
2 changes: 1 addition & 1 deletion packages/kit/test/apps/amp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"dropcss": "^1.0.16",
"svelte": "^4.2.2",
"svelte-check": "^3.4.4",
"typescript": "^4.9.4",
"typescript": "^5.2.2",
"vite": "^4.4.9"
},
"type": "module"
Expand Down
2 changes: 1 addition & 1 deletion packages/kit/test/apps/basics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"marked": "^10.0.0",
"svelte": "^4.2.2",
"svelte-check": "^3.4.4",
"typescript": "^4.9.4",
"typescript": "^5.2.2",
"vite": "^4.4.9"
},
"type": "module"
Expand Down
2 changes: 1 addition & 1 deletion packages/kit/test/apps/dev-only/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"cross-env": "^7.0.3",
"svelte": "^4.2.2",
"svelte-check": "^3.4.4",
"typescript": "^4.9.4",
"typescript": "^5.2.2",
"vite": "^4.4.9"
},
"type": "module"
Expand Down
2 changes: 1 addition & 1 deletion packages/kit/test/apps/embed/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"cross-env": "^7.0.3",
"svelte": "^4.2.2",
"svelte-check": "^3.4.4",
"typescript": "^4.9.4",
"typescript": "^5.2.2",
"vite": "^4.4.9"
},
"type": "module"
Expand Down
2 changes: 1 addition & 1 deletion packages/kit/test/apps/options-2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"cross-env": "^7.0.3",
"svelte": "^4.2.2",
"svelte-check": "^3.4.4",
"typescript": "^4.9.4",
"typescript": "^5.2.2",
"vite": "^4.4.9"
},
"type": "module"
Expand Down
2 changes: 1 addition & 1 deletion packages/kit/test/apps/options/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"cross-env": "^7.0.3",
"svelte": "^4.2.2",
"svelte-check": "^3.4.4",
"typescript": "^4.9.4",
"typescript": "^5.2.2",
"vite": "^4.4.9"
},
"type": "module"
Expand Down
2 changes: 1 addition & 1 deletion packages/kit/test/apps/writes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"cross-env": "^7.0.3",
"svelte": "^4.2.2",
"svelte-check": "^3.4.4",
"typescript": "^4.9.4",
"typescript": "^5.2.2",
"vite": "^4.4.9"
},
"type": "module"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"@sveltejs/kit": "workspace:^",
"svelte": "^4.2.2",
"svelte-check": "^3.4.4",
"typescript": "^4.9.4",
"typescript": "^5.2.2",
"vite": "^4.4.9"
},
"type": "module"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"@sveltejs/kit": "workspace:^",
"svelte": "^4.2.2",
"svelte-check": "^3.4.4",
"typescript": "^4.9.4",
"typescript": "^5.2.2",
"vite": "^4.4.9"
},
"type": "module"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"@sveltejs/kit": "workspace:^",
"svelte": "^4.2.2",
"svelte-check": "^3.4.4",
"typescript": "^4.9.4",
"typescript": "^5.2.2",
"vite": "^4.4.9"
},
"type": "module"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"@sveltejs/kit": "workspace:^",
"svelte": "^4.2.2",
"svelte-check": "^3.4.4",
"typescript": "^4.9.4",
"typescript": "^5.2.2",
"vite": "^4.4.9"
},
"type": "module"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"@sveltejs/kit": "workspace:^",
"svelte": "^4.2.2",
"svelte-check": "^3.4.4",
"typescript": "^4.9.4",
"typescript": "^5.2.2",
"vite": "^4.4.9"
},
"type": "module"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"@sveltejs/kit": "workspace:^",
"svelte": "^4.2.2",
"svelte-check": "^3.4.4",
"typescript": "^4.9.4",
"typescript": "^5.2.2",
"vite": "^4.4.9"
},
"type": "module"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"cross-env": "^7.0.3",
"svelte": "^4.2.2",
"svelte-check": "^3.4.4",
"typescript": "^4.9.4",
"typescript": "^5.2.2",
"vite": "^4.4.9"
},
"type": "module"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"@sveltejs/kit": "workspace:^",
"svelte": "^4.2.2",
"svelte-check": "^3.4.4",
"typescript": "^4.9.4",
"typescript": "^5.2.2",
"vite": "^4.4.9"
},
"type": "module"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"@sveltejs/kit": "workspace:^",
"svelte": "^4.2.2",
"svelte-check": "^3.4.4",
"typescript": "^4.9.4",
"typescript": "^5.2.2",
"vite": "^4.4.9"
},
"type": "module"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"@sveltejs/kit": "workspace:^",
"svelte": "^4.2.2",
"svelte-check": "^3.4.4",
"typescript": "^4.9.4",
"typescript": "^5.2.2",
"vite": "^4.4.9"
},
"type": "module"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"@sveltejs/kit": "workspace:^",
"svelte": "^4.2.2",
"svelte-check": "^3.4.4",
"typescript": "^4.9.4",
"typescript": "^5.2.2",
"vite": "^4.4.9"
},
"type": "module"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"@sveltejs/kit": "workspace:^",
"svelte": "^4.2.2",
"svelte-check": "^3.4.4",
"typescript": "^4.9.4",
"typescript": "^5.2.2",
"vite": "^4.4.9"
},
"type": "module"
Expand Down
2 changes: 1 addition & 1 deletion packages/kit/test/prerendering/basics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"@sveltejs/kit": "workspace:^",
"svelte": "^4.2.2",
"svelte-check": "^3.4.4",
"typescript": "^4.9.4",
"typescript": "^5.2.2",
"vite": "^4.4.9",
"vitest": "^0.34.5"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/kit/test/prerendering/options/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"@sveltejs/kit": "workspace:^",
"svelte": "^4.2.2",
"svelte-check": "^3.4.4",
"typescript": "^4.9.4",
"typescript": "^5.2.2",
"vite": "^4.4.9",
"vitest": "^0.34.5"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/kit/test/prerendering/paths-base/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"@sveltejs/kit": "workspace:^",
"svelte": "^4.2.2",
"svelte-check": "^3.4.4",
"typescript": "^4.9.4",
"typescript": "^5.2.2",
"vite": "^4.4.9",
"vitest": "^0.34.5"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/migrate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"semver": "^7.5.3",
"tiny-glob": "^0.2.9",
"ts-morph": "^20.0.0",
"typescript": "^5.0.4"
"typescript": "^5.2.2"
},
"devDependencies": {
"@types/node": "^16.18.6",
Expand Down
2 changes: 1 addition & 1 deletion packages/package/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"@types/semver": "^7.5.0",
"svelte": "^4.2.2",
"svelte-preprocess": "^5.0.4",
"typescript": "^4.9.4",
"typescript": "^5.2.2",
"uvu": "^0.5.6"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion playgrounds/basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"@sveltejs/adapter-auto": "workspace:*",
"@sveltejs/kit": "workspace:*",
"svelte": "^4.2.2",
"typescript": "^5.0.0",
"typescript": "^5.2.2",
"vite": "^4.4.9"
},
"type": "module"
Expand Down
Loading
Loading