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

Upgrade to TypeScript 4.6 #4190

Merged
merged 7 commits into from
Mar 3, 2022
Merged
Show file tree
Hide file tree
Changes from 5 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
6 changes: 6 additions & 0 deletions .changeset/polite-laws-cheat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'create-svelte': patch
'@sveltejs/kit': patch
---

Upgrade to TypeScript 4.6
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"playwright-chromium": "^1.19.1",
"prettier": "^2.5.0",
"rollup": "^2.60.2",
"typescript": "~4.5.5"
"typescript": "~4.6.2"
},
"type": "module"
}
2 changes: 1 addition & 1 deletion packages/adapter-cloudflare/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
"moduleResolution": "node",
"allowSyntheticDefaultImports": true
},
"include": ["index.js", "files"]
"include": ["./index.js", "./files"]
}
2 changes: 1 addition & 1 deletion packages/create-svelte/shared/+typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"check:watch": "svelte-check --tsconfig ./tsconfig.json --watch"
},
"devDependencies": {
"typescript": "~4.5.4",
"typescript": "~4.6.2",
"tslib": "^2.3.1",
"svelte-check": "^2.2.6",
"svelte-preprocess": "^4.10.1"
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 @@ -13,7 +13,7 @@
"@sveltejs/kit": "workspace:*",
"svelte": "^3.44.0",
"svelte-preprocess": "^4.9.8",
"typescript": "~4.5.5"
"typescript": "~4.6.2"
},
"type": "module",
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/create-svelte/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
"moduleResolution": "node",
"allowSyntheticDefaultImports": true
},
"include": ["scripts/**/*", "index.js", "bin.js", "utils.js"]
"include": ["./scripts/**/*", "./index.js", "./bin.js", "./utils.js"]
}
12 changes: 6 additions & 6 deletions packages/kit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,13 @@
"lint": "eslint --ignore-path .gitignore --ignore-pattern \"src/packaging/test/**\" \"{src,test}/**/*.{ts,mjs,js,svelte}\" && npm run check-format",
"check": "tsc && npm run check:integration && npm run check:prerendering",
"check:integration": "npm run check:integration:amp && npm run check:integration:basics && npm run check:integration:options && npm run check:integration:options-2",
"check:integration:amp": "cd test/apps/amp && pnpm check",
"check:integration:basics": "cd test/apps/basics && pnpm check",
"check:integration:options": "cd test/apps/options && pnpm check",
"check:integration:options-2": "cd test/apps/options-2 && pnpm check",
"check:integration:amp": "cd test/apps/amp && pnpm build && pnpm check",
"check:integration:basics": "cd test/apps/basics && pnpm build && pnpm check",
"check:integration:options": "cd test/apps/options && pnpm build && pnpm check",
"check:integration:options-2": "cd test/apps/options-2 && pnpm build && pnpm check",
"check:prerendering": "npm run check:prerendering:basics && npm run check:prerendering:options",
"check:prerendering:basics": "cd test/prerendering/basics && pnpm check",
"check:prerendering:options": "cd test/prerendering/options && pnpm check",
"check:prerendering:basics": "cd test/prerendering/basics && pnpm build && pnpm check",
"check:prerendering:options": "cd test/prerendering/options && pnpm build && pnpm check",
benmccann marked this conversation as resolved.
Show resolved Hide resolved
"format": "npm run check-format -- --write",
"check-format": "prettier --check . --config ../../.prettierrc --ignore-path .gitignore",
"prepublishOnly": "npm run build",
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 @@ -16,7 +16,7 @@
"cross-env": "^7.0.3",
"svelte": "^3.43.0",
"svelte-check": "^2.2.10",
"typescript": "~4.5.5"
"typescript": "~4.6.2"
},
"type": "module"
}
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 @@ -16,7 +16,7 @@
"cross-env": "^7.0.3",
"svelte": "^3.43.0",
"svelte-check": "^2.2.10",
"typescript": "~4.5.5"
"typescript": "~4.6.2"
},
"type": "module"
}
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": "^3.43.0",
"svelte-check": "^2.2.10",
"typescript": "~4.5.5"
"typescript": "~4.6.2"
},
"type": "module"
}
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": "^3.43.0",
"svelte-check": "^2.2.10",
"typescript": "~4.5.5"
"typescript": "~4.6.2"
},
"type": "module"
}
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 @@ -13,7 +13,7 @@
"@sveltejs/kit": "workspace:*",
"svelte": "^3.43.0",
"svelte-check": "^2.2.10",
"typescript": "~4.5.5",
"typescript": "~4.6.2",
"uvu": "^0.5.2"
},
"type": "module"
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": "^3.43.0",
"svelte-check": "^2.2.10",
"typescript": "~4.5.5",
"typescript": "~4.6.2",
"uvu": "^0.5.2"
},
"type": "module"
Expand Down
Loading