Skip to content

Commit

Permalink
chore: upgrade to latest Vite and Svelte (#11725)
Browse files Browse the repository at this point in the history
  • Loading branch information
benmccann authored Jan 24, 2024
1 parent bab711e commit bf1a677
Show file tree
Hide file tree
Showing 37 changed files with 356 additions and 355 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"@changesets/cli": "^2.27.1",
"@sveltejs/eslint-config": "^6.0.4",
"@svitejs/changesets-changelog-github-compact": "^1.1.0",
"@typescript-eslint/eslint-plugin": "^6.18.1",
"@typescript-eslint/eslint-plugin": "^6.19.1",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-svelte": "^2.35.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/adapter-static/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@
"@sveltejs/vite-plugin-svelte": "^3.0.1",
"@types/node": "^18.19.3",
"sirv": "^2.0.4",
"svelte": "^4.2.8",
"svelte": "^4.2.9",
"typescript": "^5.3.3",
"vite": "^5.0.11"
"vite": "^5.0.12"
},
"peerDependencies": {
"@sveltejs/kit": "^2.0.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/adapter-static/test/apps/prerendered/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"@sveltejs/kit": "workspace:^",
"@sveltejs/vite-plugin-svelte": "^3.0.1",
"sirv-cli": "^2.0.2",
"svelte": "^4.2.8",
"vite": "^5.0.11"
"svelte": "^4.2.9",
"vite": "^5.0.12"
},
"type": "module"
}
4 changes: 2 additions & 2 deletions packages/adapter-static/test/apps/spa/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"@sveltejs/kit": "workspace:^",
"@sveltejs/vite-plugin-svelte": "^3.0.1",
"sirv-cli": "^2.0.2",
"svelte": "^4.2.8",
"vite": "^5.0.11"
"svelte": "^4.2.9",
"vite": "^5.0.12"
},
"type": "module"
}
2 changes: 1 addition & 1 deletion packages/create-svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"prettier": "^3.1.1",
"prettier-plugin-svelte": "^3.1.2",
"sucrase": "^3.34.0",
"svelte": "^4.2.8",
"svelte": "^4.2.9",
"tiny-glob": "^0.2.9",
"typescript": "^5.3.3",
"vitest": "^1.2.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/create-svelte/templates/default/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
"@sveltejs/adapter-auto": "workspace:*",
"@sveltejs/kit": "workspace:*",
"@sveltejs/vite-plugin-svelte": "^3.0.0",
"svelte": "^4.2.8",
"svelte": "^4.2.9",
"typescript": "^5.3.3",
"vite": "^5.0.11"
"vite": "^5.0.12"
},
"type": "module",
"dependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/enhanced-img/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@
"@types/node": "^18.19.3",
"estree-walker": "^3.0.3",
"rollup": "^4.9.5",
"svelte": "^4.2.8",
"svelte": "^4.2.9",
"typescript": "^5.3.3",
"vite": "^5.0.11",
"vite": "^5.0.12",
"vitest": "^1.2.0"
}
}
4 changes: 2 additions & 2 deletions packages/kit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@
"@types/set-cookie-parser": "^2.4.7",
"dts-buddy": "^0.4.3",
"rollup": "^4.9.5",
"svelte": "^4.2.8",
"svelte": "^4.2.9",
"svelte-preprocess": "^5.1.3",
"typescript": "^5.3.3",
"vite": "^5.0.11",
"vite": "^5.0.12",
"vitest": "^1.2.0"
},
"peerDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/kit/test/apps/amp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
"@sveltejs/vite-plugin-svelte": "^3.0.1",
"cross-env": "^7.0.3",
"dropcss": "^1.0.16",
"svelte": "^4.2.8",
"svelte": "^4.2.9",
"svelte-check": "^3.6.3",
"typescript": "^5.3.3",
"vite": "^5.0.11"
"vite": "^5.0.12"
},
"type": "module"
}
4 changes: 2 additions & 2 deletions packages/kit/test/apps/basics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
"@sveltejs/vite-plugin-svelte": "^3.0.1",
"cross-env": "^7.0.3",
"marked": "^11.1.0",
"svelte": "^4.2.8",
"svelte": "^4.2.9",
"svelte-check": "^3.6.3",
"typescript": "^5.3.3",
"vite": "^5.0.11"
"vite": "^5.0.12"
},
"type": "module"
}
4 changes: 2 additions & 2 deletions packages/kit/test/apps/dev-only/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
"@sveltejs/kit": "workspace:^",
"@sveltejs/vite-plugin-svelte": "^3.0.1",
"cross-env": "^7.0.3",
"svelte": "^4.2.8",
"svelte": "^4.2.9",
"svelte-check": "^3.6.3",
"typescript": "^5.3.3",
"vite": "^5.0.11"
"vite": "^5.0.12"
},
"type": "module"
}
4 changes: 2 additions & 2 deletions packages/kit/test/apps/embed/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
"@sveltejs/kit": "workspace:^",
"@sveltejs/vite-plugin-svelte": "^3.0.1",
"cross-env": "^7.0.3",
"svelte": "^4.2.8",
"svelte": "^4.2.9",
"svelte-check": "^3.6.3",
"typescript": "^5.3.3",
"vite": "^5.0.11"
"vite": "^5.0.12"
},
"type": "module"
}
4 changes: 2 additions & 2 deletions packages/kit/test/apps/no-ssr/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
"@sveltejs/kit": "workspace:^",
"@sveltejs/vite-plugin-svelte": "^3.0.1",
"cross-env": "^7.0.3",
"svelte": "^4.2.8",
"svelte": "^4.2.9",
"svelte-check": "^3.6.3",
"typescript": "^5.3.3",
"vite": "^5.0.11"
"vite": "^5.0.12"
},
"type": "module"
}
4 changes: 2 additions & 2 deletions packages/kit/test/apps/options-2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
"@sveltejs/kit": "workspace:^",
"@sveltejs/vite-plugin-svelte": "^3.0.1",
"cross-env": "^7.0.3",
"svelte": "^4.2.8",
"svelte": "^4.2.9",
"svelte-check": "^3.6.3",
"typescript": "^5.3.3",
"vite": "^5.0.11"
"vite": "^5.0.12"
},
"type": "module"
}
4 changes: 2 additions & 2 deletions packages/kit/test/apps/options/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
"@sveltejs/kit": "workspace:^",
"@sveltejs/vite-plugin-svelte": "^3.0.1",
"cross-env": "^7.0.3",
"svelte": "^4.2.8",
"svelte": "^4.2.9",
"svelte-check": "^3.6.3",
"typescript": "^5.3.3",
"vite": "^5.0.11"
"vite": "^5.0.12"
},
"type": "module"
}
4 changes: 2 additions & 2 deletions packages/kit/test/apps/writes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
"@sveltejs/kit": "workspace:^",
"@sveltejs/vite-plugin-svelte": "^3.0.1",
"cross-env": "^7.0.3",
"svelte": "^4.2.8",
"svelte": "^4.2.9",
"svelte-check": "^3.6.3",
"typescript": "^5.3.3",
"vite": "^5.0.11"
"vite": "^5.0.12"
},
"type": "module"
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
"@sveltejs/adapter-auto": "workspace:^",
"@sveltejs/kit": "workspace:^",
"@sveltejs/vite-plugin-svelte": "^3.0.1",
"svelte": "^4.2.8",
"svelte": "^4.2.9",
"svelte-check": "^3.6.3",
"typescript": "^5.3.3",
"vite": "^5.0.11"
"vite": "^5.0.12"
},
"type": "module"
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
"@sveltejs/adapter-auto": "workspace:^",
"@sveltejs/kit": "workspace:^",
"@sveltejs/vite-plugin-svelte": "^3.0.1",
"svelte": "^4.2.8",
"svelte": "^4.2.9",
"svelte-check": "^3.6.3",
"typescript": "^5.3.3",
"vite": "^5.0.11"
"vite": "^5.0.12"
},
"type": "module"
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
"@sveltejs/adapter-auto": "workspace:^",
"@sveltejs/kit": "workspace:^",
"@sveltejs/vite-plugin-svelte": "^3.0.1",
"svelte": "^4.2.8",
"svelte": "^4.2.9",
"svelte-check": "^3.6.3",
"typescript": "^5.3.3",
"vite": "^5.0.11"
"vite": "^5.0.12"
},
"type": "module"
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
"devDependencies": {
"@sveltejs/kit": "workspace:^",
"@sveltejs/vite-plugin-svelte": "^3.0.1",
"svelte": "^4.2.8",
"svelte": "^4.2.9",
"svelte-check": "^3.6.3",
"typescript": "^5.3.3",
"vite": "^5.0.11"
"vite": "^5.0.12"
},
"type": "module"
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
"devDependencies": {
"@sveltejs/kit": "workspace:^",
"@sveltejs/vite-plugin-svelte": "^3.0.1",
"svelte": "^4.2.8",
"svelte": "^4.2.9",
"svelte-check": "^3.6.3",
"typescript": "^5.3.3",
"vite": "^5.0.11"
"vite": "^5.0.12"
},
"type": "module"
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
"devDependencies": {
"@sveltejs/kit": "workspace:^",
"@sveltejs/vite-plugin-svelte": "^3.0.1",
"svelte": "^4.2.8",
"svelte": "^4.2.9",
"svelte-check": "^3.6.3",
"typescript": "^5.3.3",
"vite": "^5.0.11"
"vite": "^5.0.12"
},
"type": "module"
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
"@sveltejs/kit": "workspace:^",
"@sveltejs/vite-plugin-svelte": "^3.0.1",
"cross-env": "^7.0.3",
"svelte": "^4.2.8",
"svelte": "^4.2.9",
"svelte-check": "^3.6.3",
"typescript": "^5.3.3",
"vite": "^5.0.11"
"vite": "^5.0.12"
},
"type": "module"
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
"devDependencies": {
"@sveltejs/kit": "workspace:^",
"@sveltejs/vite-plugin-svelte": "^3.0.1",
"svelte": "^4.2.8",
"svelte": "^4.2.9",
"svelte-check": "^3.6.3",
"typescript": "^5.3.3",
"vite": "^5.0.11"
"vite": "^5.0.12"
},
"type": "module"
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
"devDependencies": {
"@sveltejs/kit": "workspace:^",
"@sveltejs/vite-plugin-svelte": "^3.0.1",
"svelte": "^4.2.8",
"svelte": "^4.2.9",
"svelte-check": "^3.6.3",
"typescript": "^5.3.3",
"vite": "^5.0.11"
"vite": "^5.0.12"
},
"type": "module"
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
"devDependencies": {
"@sveltejs/kit": "workspace:^",
"@sveltejs/vite-plugin-svelte": "^3.0.1",
"svelte": "^4.2.8",
"svelte": "^4.2.9",
"svelte-check": "^3.6.3",
"typescript": "^5.3.3",
"vite": "^5.0.11"
"vite": "^5.0.12"
},
"type": "module"
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
"devDependencies": {
"@sveltejs/kit": "workspace:^",
"@sveltejs/vite-plugin-svelte": "^3.0.1",
"svelte": "^4.2.8",
"svelte": "^4.2.9",
"svelte-check": "^3.6.3",
"typescript": "^5.3.3",
"vite": "^5.0.11"
"vite": "^5.0.12"
},
"type": "module"
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
"devDependencies": {
"@sveltejs/kit": "workspace:^",
"@sveltejs/vite-plugin-svelte": "^3.0.1",
"svelte": "^4.2.8",
"svelte": "^4.2.9",
"svelte-check": "^3.6.3",
"typescript": "^5.3.3",
"vite": "^5.0.11"
"vite": "^5.0.12"
},
"type": "module"
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
"devDependencies": {
"@sveltejs/kit": "workspace:^",
"@sveltejs/vite-plugin-svelte": "^3.0.1",
"svelte": "^4.2.8",
"svelte": "^4.2.9",
"svelte-check": "^3.6.3",
"typescript": "^5.3.3",
"vite": "^5.0.11"
"vite": "^5.0.12"
},
"type": "module"
}
4 changes: 2 additions & 2 deletions packages/kit/test/build-errors/apps/syntax-error/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
"devDependencies": {
"@sveltejs/kit": "workspace:^",
"@sveltejs/vite-plugin-svelte": "^3.0.1",
"svelte": "^4.2.8",
"svelte": "^4.2.9",
"svelte-check": "^3.6.3",
"typescript": "^5.3.3",
"vite": "^5.0.11"
"vite": "^5.0.12"
},
"type": "module"
}
4 changes: 2 additions & 2 deletions packages/kit/test/prerendering/basics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
"devDependencies": {
"@sveltejs/kit": "workspace:^",
"@sveltejs/vite-plugin-svelte": "^3.0.1",
"svelte": "^4.2.8",
"svelte": "^4.2.9",
"svelte-check": "^3.6.3",
"typescript": "^5.3.3",
"vite": "^5.0.11",
"vite": "^5.0.12",
"vitest": "^1.2.0"
},
"type": "module"
Expand Down
Loading

0 comments on commit bf1a677

Please sign in to comment.