From 499ef6ad4fd9534ffee47c51f663afa3f6cb6b24 Mon Sep 17 00:00:00 2001 From: Ben McCann <322311+benmccann@users.noreply.github.com> Date: Mon, 4 Dec 2023 01:24:42 -0800 Subject: [PATCH] breaking: @sveltejs/vite-plugin-svelte is now a peer dependency (#11184) ... and will need to be installed in each project using SvelteKit Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com> --- .changeset/nervous-snails-chew.md | 5 + packages/adapter-auto/package.json | 1 + packages/adapter-netlify/package.json | 1 + packages/adapter-node/package.json | 1 + packages/adapter-static/package.json | 1 + .../test/apps/prerendered/package.json | 1 + .../adapter-static/test/apps/spa/package.json | 1 + packages/adapter-vercel/package.json | 1 + .../templates/default/package.template.json | 1 + .../templates/skeleton/package.template.json | 1 + .../skeletonlib/package.template.json | 1 + packages/kit/package.json | 3 +- packages/kit/test/apps/amp/package.json | 1 + packages/kit/test/apps/basics/package.json | 1 + packages/kit/test/apps/dev-only/package.json | 1 + packages/kit/test/apps/embed/package.json | 1 + packages/kit/test/apps/options-2/package.json | 1 + packages/kit/test/apps/options/package.json | 1 + packages/kit/test/apps/writes/package.json | 1 + .../package.json | 1 + .../package.json | 1 + .../package.json | 1 + .../package.json | 1 + .../apps/private-dynamic-env/package.json | 1 + .../package.json | 1 + .../apps/private-static-env/package.json | 1 + .../package.json | 1 + .../apps/server-only-folder/package.json | 1 + .../package.json | 1 + .../apps/server-only-module/package.json | 1 + .../apps/syntax-error/package.json | 1 + .../kit/test/prerendering/basics/package.json | 1 + .../test/prerendering/options/package.json | 1 + .../test/prerendering/paths-base/package.json | 1 + playgrounds/basic/package.json | 1 + pnpm-lock.yaml | 145 +++++++++++++++++- sites/kit.svelte.dev/package.json | 1 + 37 files changed, 179 insertions(+), 8 deletions(-) create mode 100644 .changeset/nervous-snails-chew.md diff --git a/.changeset/nervous-snails-chew.md b/.changeset/nervous-snails-chew.md new file mode 100644 index 000000000000..8822f934a577 --- /dev/null +++ b/.changeset/nervous-snails-chew.md @@ -0,0 +1,5 @@ +--- +'@sveltejs/kit': major +--- + +breaking: `@sveltejs/vite-plugin-svelte` is now a peer dependency and will need to be installed in each project using SvelteKit diff --git a/packages/adapter-auto/package.json b/packages/adapter-auto/package.json index d3597a50d364..36b3c2e9b590 100644 --- a/packages/adapter-auto/package.json +++ b/packages/adapter-auto/package.json @@ -31,6 +31,7 @@ }, "devDependencies": { "@sveltejs/kit": "workspace:^", + "@sveltejs/vite-plugin-svelte": "^3.0.0", "@types/node": "^16.18.6", "typescript": "^5.3.2" }, diff --git a/packages/adapter-netlify/package.json b/packages/adapter-netlify/package.json index 616c02e80ea6..135e3f62c755 100644 --- a/packages/adapter-netlify/package.json +++ b/packages/adapter-netlify/package.json @@ -43,6 +43,7 @@ "@rollup/plugin-json": "^6.0.1", "@rollup/plugin-node-resolve": "^15.2.3", "@sveltejs/kit": "workspace:^", + "@sveltejs/vite-plugin-svelte": "^3.0.0", "@types/node": "^16.18.6", "@types/set-cookie-parser": "^2.4.2", "rollup": "^4.2.0", diff --git a/packages/adapter-node/package.json b/packages/adapter-node/package.json index b1007fc5fea5..238d0862d45e 100644 --- a/packages/adapter-node/package.json +++ b/packages/adapter-node/package.json @@ -35,6 +35,7 @@ "devDependencies": { "@polka/url": "^1.0.0-next.23", "@sveltejs/kit": "workspace:^", + "@sveltejs/vite-plugin-svelte": "^3.0.0", "@types/node": "^16.18.6", "c8": "^8.0.0", "polka": "^1.0.0-next.23", diff --git a/packages/adapter-static/package.json b/packages/adapter-static/package.json index ae4fec21a246..072f0bb4181e 100644 --- a/packages/adapter-static/package.json +++ b/packages/adapter-static/package.json @@ -32,6 +32,7 @@ "devDependencies": { "@playwright/test": "1.30.0", "@sveltejs/kit": "workspace:^", + "@sveltejs/vite-plugin-svelte": "^3.0.0", "@types/node": "^16.18.6", "sirv": "^2.0.3", "svelte": "^4.2.7", diff --git a/packages/adapter-static/test/apps/prerendered/package.json b/packages/adapter-static/test/apps/prerendered/package.json index 47e017fd311d..61170ba61167 100644 --- a/packages/adapter-static/test/apps/prerendered/package.json +++ b/packages/adapter-static/test/apps/prerendered/package.json @@ -10,6 +10,7 @@ }, "devDependencies": { "@sveltejs/kit": "workspace:^", + "@sveltejs/vite-plugin-svelte": "^3.0.0", "sirv-cli": "^2.0.2", "svelte": "^4.2.7", "vite": "^5.0.4" diff --git a/packages/adapter-static/test/apps/spa/package.json b/packages/adapter-static/test/apps/spa/package.json index 55102e3c859c..481bc4189caf 100644 --- a/packages/adapter-static/test/apps/spa/package.json +++ b/packages/adapter-static/test/apps/spa/package.json @@ -11,6 +11,7 @@ "devDependencies": { "@sveltejs/adapter-node": "workspace:^", "@sveltejs/kit": "workspace:^", + "@sveltejs/vite-plugin-svelte": "^3.0.0", "sirv-cli": "^2.0.2", "svelte": "^4.2.7", "vite": "^5.0.4" diff --git a/packages/adapter-vercel/package.json b/packages/adapter-vercel/package.json index 8497012b4dc5..0c2eaf0cc532 100644 --- a/packages/adapter-vercel/package.json +++ b/packages/adapter-vercel/package.json @@ -36,6 +36,7 @@ }, "devDependencies": { "@sveltejs/kit": "workspace:^", + "@sveltejs/vite-plugin-svelte": "^3.0.0", "@types/node": "^16.18.6", "typescript": "^5.3.2", "vitest": "^0.34.5" diff --git a/packages/create-svelte/templates/default/package.template.json b/packages/create-svelte/templates/default/package.template.json index 2656cadf5d16..8f014656f24f 100644 --- a/packages/create-svelte/templates/default/package.template.json +++ b/packages/create-svelte/templates/default/package.template.json @@ -11,6 +11,7 @@ "@neoconfetti/svelte": "^1.0.0", "@sveltejs/adapter-auto": "^2.0.0", "@sveltejs/kit": "^1.27.4", + "@sveltejs/vite-plugin-svelte": "^3.0.0", "svelte": "^4.2.7", "vite": "^5.0.3" }, diff --git a/packages/create-svelte/templates/skeleton/package.template.json b/packages/create-svelte/templates/skeleton/package.template.json index c2d045ab47b1..8b034168da3d 100644 --- a/packages/create-svelte/templates/skeleton/package.template.json +++ b/packages/create-svelte/templates/skeleton/package.template.json @@ -10,6 +10,7 @@ "devDependencies": { "@sveltejs/adapter-auto": "^2.0.0", "@sveltejs/kit": "^1.27.4", + "@sveltejs/vite-plugin-svelte": "^3.0.0", "svelte": "^4.2.7", "vite": "^5.0.3" }, diff --git a/packages/create-svelte/templates/skeletonlib/package.template.json b/packages/create-svelte/templates/skeletonlib/package.template.json index 90cdd2785475..572c8f1580cc 100644 --- a/packages/create-svelte/templates/skeletonlib/package.template.json +++ b/packages/create-svelte/templates/skeletonlib/package.template.json @@ -22,6 +22,7 @@ "@sveltejs/adapter-auto": "^2.0.0", "@sveltejs/kit": "^1.27.4", "@sveltejs/package": "^2.0.0", + "@sveltejs/vite-plugin-svelte": "^3.0.0", "publint": "^0.1.9", "svelte": "^4.2.7", "tslib": "^2.4.1", diff --git a/packages/kit/package.json b/packages/kit/package.json index d8de289034a4..e70ae71160fb 100644 --- a/packages/kit/package.json +++ b/packages/kit/package.json @@ -11,7 +11,6 @@ "homepage": "https://kit.svelte.dev", "type": "module", "dependencies": { - "@sveltejs/vite-plugin-svelte": "^3.0.0", "@types/cookie": "^0.5.1", "cookie": "^0.5.0", "devalue": "^4.3.1", @@ -27,6 +26,7 @@ }, "devDependencies": { "@playwright/test": "1.30.0", + "@sveltejs/vite-plugin-svelte": "^3.0.0", "@types/connect": "^3.4.35", "@types/node": "^16.18.6", "@types/sade": "^1.7.4", @@ -40,6 +40,7 @@ "vitest": "^0.34.5" }, "peerDependencies": { + "@sveltejs/vite-plugin-svelte": "^3.0.0", "svelte": "^4.0.0 || ^5.0.0-next.0", "vite": "^5.0.3" }, diff --git a/packages/kit/test/apps/amp/package.json b/packages/kit/test/apps/amp/package.json index 11eef8113870..b8add6edf3ad 100644 --- a/packages/kit/test/apps/amp/package.json +++ b/packages/kit/test/apps/amp/package.json @@ -14,6 +14,7 @@ "devDependencies": { "@sveltejs/amp": "workspace:^", "@sveltejs/kit": "workspace:^", + "@sveltejs/vite-plugin-svelte": "^3.0.0", "cross-env": "^7.0.3", "dropcss": "^1.0.16", "svelte": "^4.2.7", diff --git a/packages/kit/test/apps/basics/package.json b/packages/kit/test/apps/basics/package.json index 09717a403c69..96e00f1f05bd 100644 --- a/packages/kit/test/apps/basics/package.json +++ b/packages/kit/test/apps/basics/package.json @@ -15,6 +15,7 @@ }, "devDependencies": { "@sveltejs/kit": "workspace:^", + "@sveltejs/vite-plugin-svelte": "^3.0.0", "cross-env": "^7.0.3", "marked": "^11.0.0", "svelte": "^4.2.7", diff --git a/packages/kit/test/apps/dev-only/package.json b/packages/kit/test/apps/dev-only/package.json index e8bec0c94122..a4f620655fe1 100644 --- a/packages/kit/test/apps/dev-only/package.json +++ b/packages/kit/test/apps/dev-only/package.json @@ -11,6 +11,7 @@ }, "devDependencies": { "@sveltejs/kit": "workspace:^", + "@sveltejs/vite-plugin-svelte": "^3.0.0", "cross-env": "^7.0.3", "svelte": "^4.2.7", "svelte-check": "^3.4.4", diff --git a/packages/kit/test/apps/embed/package.json b/packages/kit/test/apps/embed/package.json index dfe7bf395191..3023f1e23bc0 100644 --- a/packages/kit/test/apps/embed/package.json +++ b/packages/kit/test/apps/embed/package.json @@ -13,6 +13,7 @@ }, "devDependencies": { "@sveltejs/kit": "workspace:^", + "@sveltejs/vite-plugin-svelte": "^3.0.0", "cross-env": "^7.0.3", "svelte": "^4.2.7", "svelte-check": "^3.4.4", diff --git a/packages/kit/test/apps/options-2/package.json b/packages/kit/test/apps/options-2/package.json index 25efab46664b..3754f98d3b05 100644 --- a/packages/kit/test/apps/options-2/package.json +++ b/packages/kit/test/apps/options-2/package.json @@ -14,6 +14,7 @@ "devDependencies": { "@sveltejs/adapter-node": "workspace:^", "@sveltejs/kit": "workspace:^", + "@sveltejs/vite-plugin-svelte": "^3.0.0", "cross-env": "^7.0.3", "svelte": "^4.2.7", "svelte-check": "^3.4.4", diff --git a/packages/kit/test/apps/options/package.json b/packages/kit/test/apps/options/package.json index 28dfd291a09e..9a2105e944e6 100644 --- a/packages/kit/test/apps/options/package.json +++ b/packages/kit/test/apps/options/package.json @@ -13,6 +13,7 @@ }, "devDependencies": { "@sveltejs/kit": "workspace:^", + "@sveltejs/vite-plugin-svelte": "^3.0.0", "cross-env": "^7.0.3", "svelte": "^4.2.7", "svelte-check": "^3.4.4", diff --git a/packages/kit/test/apps/writes/package.json b/packages/kit/test/apps/writes/package.json index b54302d4918e..d3121fab578e 100644 --- a/packages/kit/test/apps/writes/package.json +++ b/packages/kit/test/apps/writes/package.json @@ -13,6 +13,7 @@ }, "devDependencies": { "@sveltejs/kit": "workspace:^", + "@sveltejs/vite-plugin-svelte": "^3.0.0", "cross-env": "^7.0.3", "svelte": "^4.2.7", "svelte-check": "^3.4.4", diff --git a/packages/kit/test/build-errors/apps/prerender-entry-generator-mismatch/package.json b/packages/kit/test/build-errors/apps/prerender-entry-generator-mismatch/package.json index 07673540b01a..7e9a3a371604 100644 --- a/packages/kit/test/build-errors/apps/prerender-entry-generator-mismatch/package.json +++ b/packages/kit/test/build-errors/apps/prerender-entry-generator-mismatch/package.json @@ -11,6 +11,7 @@ "devDependencies": { "@sveltejs/adapter-auto": "workspace:^", "@sveltejs/kit": "workspace:^", + "@sveltejs/vite-plugin-svelte": "^3.0.0", "svelte": "^4.2.7", "svelte-check": "^3.4.4", "typescript": "^5.3.2", diff --git a/packages/kit/test/build-errors/apps/prerenderable-incorrect-fragment/package.json b/packages/kit/test/build-errors/apps/prerenderable-incorrect-fragment/package.json index 07673540b01a..7e9a3a371604 100644 --- a/packages/kit/test/build-errors/apps/prerenderable-incorrect-fragment/package.json +++ b/packages/kit/test/build-errors/apps/prerenderable-incorrect-fragment/package.json @@ -11,6 +11,7 @@ "devDependencies": { "@sveltejs/adapter-auto": "workspace:^", "@sveltejs/kit": "workspace:^", + "@sveltejs/vite-plugin-svelte": "^3.0.0", "svelte": "^4.2.7", "svelte-check": "^3.4.4", "typescript": "^5.3.2", diff --git a/packages/kit/test/build-errors/apps/prerenderable-not-prerendered/package.json b/packages/kit/test/build-errors/apps/prerenderable-not-prerendered/package.json index 4f757a56dbba..aae1a2a9b292 100644 --- a/packages/kit/test/build-errors/apps/prerenderable-not-prerendered/package.json +++ b/packages/kit/test/build-errors/apps/prerenderable-not-prerendered/package.json @@ -11,6 +11,7 @@ "devDependencies": { "@sveltejs/adapter-auto": "workspace:^", "@sveltejs/kit": "workspace:^", + "@sveltejs/vite-plugin-svelte": "^3.0.0", "svelte": "^4.2.7", "svelte-check": "^3.4.4", "typescript": "^5.3.2", diff --git a/packages/kit/test/build-errors/apps/private-dynamic-env-dynamic-import/package.json b/packages/kit/test/build-errors/apps/private-dynamic-env-dynamic-import/package.json index b22bfa48572e..5c54d455cf8c 100644 --- a/packages/kit/test/build-errors/apps/private-dynamic-env-dynamic-import/package.json +++ b/packages/kit/test/build-errors/apps/private-dynamic-env-dynamic-import/package.json @@ -11,6 +11,7 @@ }, "devDependencies": { "@sveltejs/kit": "workspace:^", + "@sveltejs/vite-plugin-svelte": "^3.0.0", "svelte": "^4.2.7", "svelte-check": "^3.4.4", "typescript": "^5.3.2", diff --git a/packages/kit/test/build-errors/apps/private-dynamic-env/package.json b/packages/kit/test/build-errors/apps/private-dynamic-env/package.json index 0eb72dbb2a46..7287cc96c49e 100644 --- a/packages/kit/test/build-errors/apps/private-dynamic-env/package.json +++ b/packages/kit/test/build-errors/apps/private-dynamic-env/package.json @@ -11,6 +11,7 @@ }, "devDependencies": { "@sveltejs/kit": "workspace:^", + "@sveltejs/vite-plugin-svelte": "^3.0.0", "svelte": "^4.2.7", "svelte-check": "^3.4.4", "typescript": "^5.3.2", diff --git a/packages/kit/test/build-errors/apps/private-static-env-dynamic-import/package.json b/packages/kit/test/build-errors/apps/private-static-env-dynamic-import/package.json index ca1940eb3722..67df9194d60f 100644 --- a/packages/kit/test/build-errors/apps/private-static-env-dynamic-import/package.json +++ b/packages/kit/test/build-errors/apps/private-static-env-dynamic-import/package.json @@ -11,6 +11,7 @@ }, "devDependencies": { "@sveltejs/kit": "workspace:^", + "@sveltejs/vite-plugin-svelte": "^3.0.0", "svelte": "^4.2.7", "svelte-check": "^3.4.4", "typescript": "^5.3.2", diff --git a/packages/kit/test/build-errors/apps/private-static-env/package.json b/packages/kit/test/build-errors/apps/private-static-env/package.json index 6c456688e520..d6724659cb24 100644 --- a/packages/kit/test/build-errors/apps/private-static-env/package.json +++ b/packages/kit/test/build-errors/apps/private-static-env/package.json @@ -11,6 +11,7 @@ }, "devDependencies": { "@sveltejs/kit": "workspace:^", + "@sveltejs/vite-plugin-svelte": "^3.0.0", "cross-env": "^7.0.3", "svelte": "^4.2.7", "svelte-check": "^3.4.4", diff --git a/packages/kit/test/build-errors/apps/server-only-folder-dynamic-import/package.json b/packages/kit/test/build-errors/apps/server-only-folder-dynamic-import/package.json index e9cf0049feb0..1265ec72d3ee 100644 --- a/packages/kit/test/build-errors/apps/server-only-folder-dynamic-import/package.json +++ b/packages/kit/test/build-errors/apps/server-only-folder-dynamic-import/package.json @@ -11,6 +11,7 @@ }, "devDependencies": { "@sveltejs/kit": "workspace:^", + "@sveltejs/vite-plugin-svelte": "^3.0.0", "svelte": "^4.2.7", "svelte-check": "^3.4.4", "typescript": "^5.3.2", diff --git a/packages/kit/test/build-errors/apps/server-only-folder/package.json b/packages/kit/test/build-errors/apps/server-only-folder/package.json index dda29bcddf76..000ce866150e 100644 --- a/packages/kit/test/build-errors/apps/server-only-folder/package.json +++ b/packages/kit/test/build-errors/apps/server-only-folder/package.json @@ -11,6 +11,7 @@ }, "devDependencies": { "@sveltejs/kit": "workspace:^", + "@sveltejs/vite-plugin-svelte": "^3.0.0", "svelte": "^4.2.7", "svelte-check": "^3.4.4", "typescript": "^5.3.2", diff --git a/packages/kit/test/build-errors/apps/server-only-module-dynamic-import/package.json b/packages/kit/test/build-errors/apps/server-only-module-dynamic-import/package.json index 1bc4a6796d4b..5eb4a95d586b 100644 --- a/packages/kit/test/build-errors/apps/server-only-module-dynamic-import/package.json +++ b/packages/kit/test/build-errors/apps/server-only-module-dynamic-import/package.json @@ -11,6 +11,7 @@ }, "devDependencies": { "@sveltejs/kit": "workspace:^", + "@sveltejs/vite-plugin-svelte": "^3.0.0", "svelte": "^4.2.7", "svelte-check": "^3.4.4", "typescript": "^5.3.2", diff --git a/packages/kit/test/build-errors/apps/server-only-module/package.json b/packages/kit/test/build-errors/apps/server-only-module/package.json index 9e9015681fcb..1a27539c9d02 100644 --- a/packages/kit/test/build-errors/apps/server-only-module/package.json +++ b/packages/kit/test/build-errors/apps/server-only-module/package.json @@ -11,6 +11,7 @@ }, "devDependencies": { "@sveltejs/kit": "workspace:^", + "@sveltejs/vite-plugin-svelte": "^3.0.0", "svelte": "^4.2.7", "svelte-check": "^3.4.4", "typescript": "^5.3.2", diff --git a/packages/kit/test/build-errors/apps/syntax-error/package.json b/packages/kit/test/build-errors/apps/syntax-error/package.json index 4a612a019f53..40f66ce7dfcd 100644 --- a/packages/kit/test/build-errors/apps/syntax-error/package.json +++ b/packages/kit/test/build-errors/apps/syntax-error/package.json @@ -9,6 +9,7 @@ }, "devDependencies": { "@sveltejs/kit": "workspace:^", + "@sveltejs/vite-plugin-svelte": "^3.0.0", "svelte": "^4.2.7", "svelte-check": "^3.4.4", "typescript": "^5.3.2", diff --git a/packages/kit/test/prerendering/basics/package.json b/packages/kit/test/prerendering/basics/package.json index cc66b6cb5926..715884f57dbd 100644 --- a/packages/kit/test/prerendering/basics/package.json +++ b/packages/kit/test/prerendering/basics/package.json @@ -12,6 +12,7 @@ }, "devDependencies": { "@sveltejs/kit": "workspace:^", + "@sveltejs/vite-plugin-svelte": "^3.0.0", "svelte": "^4.2.7", "svelte-check": "^3.4.4", "typescript": "^5.3.2", diff --git a/packages/kit/test/prerendering/options/package.json b/packages/kit/test/prerendering/options/package.json index 441d4cf99f47..7e38243d058f 100644 --- a/packages/kit/test/prerendering/options/package.json +++ b/packages/kit/test/prerendering/options/package.json @@ -11,6 +11,7 @@ }, "devDependencies": { "@sveltejs/kit": "workspace:^", + "@sveltejs/vite-plugin-svelte": "^3.0.0", "svelte": "^4.2.7", "svelte-check": "^3.4.4", "typescript": "^5.3.2", diff --git a/packages/kit/test/prerendering/paths-base/package.json b/packages/kit/test/prerendering/paths-base/package.json index a198a9d4e994..e05b74ae03a1 100644 --- a/packages/kit/test/prerendering/paths-base/package.json +++ b/packages/kit/test/prerendering/paths-base/package.json @@ -11,6 +11,7 @@ }, "devDependencies": { "@sveltejs/kit": "workspace:^", + "@sveltejs/vite-plugin-svelte": "^3.0.0", "svelte": "^4.2.7", "svelte-check": "^3.4.4", "typescript": "^5.3.2", diff --git a/playgrounds/basic/package.json b/playgrounds/basic/package.json index 096640146049..8bc74aa5e5df 100644 --- a/playgrounds/basic/package.json +++ b/playgrounds/basic/package.json @@ -10,6 +10,7 @@ "devDependencies": { "@sveltejs/adapter-auto": "workspace:*", "@sveltejs/kit": "workspace:*", + "@sveltejs/vite-plugin-svelte": "^3.0.0", "svelte": "^4.2.7", "typescript": "^5.3.2", "vite": "^5.0.4" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f499e71ddeb1..2f1eea69ae16 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -54,6 +54,9 @@ importers: '@sveltejs/kit': specifier: workspace:^ version: link:../kit + '@sveltejs/vite-plugin-svelte': + specifier: ^3.0.0 + version: 3.0.1(svelte@4.2.7)(vite@5.0.4) '@types/node': specifier: ^16.18.6 version: 16.18.6 @@ -138,6 +141,9 @@ importers: '@sveltejs/kit': specifier: workspace:^ version: link:../kit + '@sveltejs/vite-plugin-svelte': + specifier: ^3.0.0 + version: 3.0.1(svelte@4.2.7)(vite@5.0.4) '@types/node': specifier: ^16.18.6 version: 16.18.6 @@ -175,6 +181,9 @@ importers: '@sveltejs/kit': specifier: workspace:^ version: link:../kit + '@sveltejs/vite-plugin-svelte': + specifier: ^3.0.0 + version: 3.0.1(svelte@4.2.7)(vite@5.0.4) '@types/node': specifier: ^16.18.6 version: 16.18.6 @@ -202,6 +211,9 @@ importers: '@sveltejs/kit': specifier: workspace:^ version: link:../kit + '@sveltejs/vite-plugin-svelte': + specifier: ^3.0.0 + version: 3.0.1(svelte@4.2.7)(vite@5.0.4) '@types/node': specifier: ^16.18.6 version: 16.18.6 @@ -223,6 +235,9 @@ importers: '@sveltejs/kit': specifier: workspace:^ version: link:../../../../kit + '@sveltejs/vite-plugin-svelte': + specifier: ^3.0.0 + version: 3.0.1(svelte@4.2.7)(vite@5.0.4) sirv-cli: specifier: ^2.0.2 version: 2.0.2 @@ -241,6 +256,9 @@ importers: '@sveltejs/kit': specifier: workspace:^ version: link:../../../../kit + '@sveltejs/vite-plugin-svelte': + specifier: ^3.0.0 + version: 3.0.1(svelte@4.2.7)(vite@5.0.4) sirv-cli: specifier: ^2.0.2 version: 2.0.2 @@ -263,6 +281,9 @@ importers: '@sveltejs/kit': specifier: workspace:^ version: link:../kit + '@sveltejs/vite-plugin-svelte': + specifier: ^3.0.0 + version: 3.0.1(svelte@4.2.7)(vite@5.0.4) '@types/node': specifier: ^16.18.6 version: 16.18.6 @@ -386,9 +407,6 @@ importers: packages/kit: dependencies: - '@sveltejs/vite-plugin-svelte': - specifier: ^3.0.0 - version: 3.0.1(svelte@4.2.7)(vite@5.0.4) '@types/cookie': specifier: ^0.5.1 version: 0.5.1 @@ -429,6 +447,9 @@ importers: '@playwright/test': specifier: 1.30.0 version: 1.30.0 + '@sveltejs/vite-plugin-svelte': + specifier: ^3.0.0 + version: 3.0.1(svelte@4.2.7)(vite@5.0.4) '@types/connect': specifier: ^3.4.35 version: 3.4.35 @@ -471,6 +492,9 @@ importers: '@sveltejs/kit': specifier: workspace:^ version: link:../../.. + '@sveltejs/vite-plugin-svelte': + specifier: ^3.0.0 + version: 3.0.1(svelte@4.2.7)(vite@5.0.4) cross-env: specifier: ^7.0.3 version: 7.0.3 @@ -495,6 +519,9 @@ importers: '@sveltejs/kit': specifier: workspace:^ version: link:../../.. + '@sveltejs/vite-plugin-svelte': + specifier: ^3.0.0 + version: 3.0.1(svelte@4.2.7)(vite@5.0.4) cross-env: specifier: ^7.0.3 version: 7.0.3 @@ -519,6 +546,9 @@ importers: '@sveltejs/kit': specifier: workspace:^ version: link:../../.. + '@sveltejs/vite-plugin-svelte': + specifier: ^3.0.0 + version: 3.0.1(svelte@4.2.7)(vite@5.0.4) cross-env: specifier: ^7.0.3 version: 7.0.3 @@ -540,6 +570,9 @@ importers: '@sveltejs/kit': specifier: workspace:^ version: link:../../.. + '@sveltejs/vite-plugin-svelte': + specifier: ^3.0.0 + version: 3.0.1(svelte@4.2.7)(vite@5.0.4) cross-env: specifier: ^7.0.3 version: 7.0.3 @@ -561,6 +594,9 @@ importers: '@sveltejs/kit': specifier: workspace:^ version: link:../../.. + '@sveltejs/vite-plugin-svelte': + specifier: ^3.0.0 + version: 3.0.1(svelte@4.2.7)(vite@5.0.4) cross-env: specifier: ^7.0.3 version: 7.0.3 @@ -585,6 +621,9 @@ importers: '@sveltejs/kit': specifier: workspace:^ version: link:../../.. + '@sveltejs/vite-plugin-svelte': + specifier: ^3.0.0 + version: 3.0.1(svelte@4.2.7)(vite@5.0.4) cross-env: specifier: ^7.0.3 version: 7.0.3 @@ -606,6 +645,9 @@ importers: '@sveltejs/kit': specifier: workspace:^ version: link:../../.. + '@sveltejs/vite-plugin-svelte': + specifier: ^3.0.0 + version: 3.0.1(svelte@4.2.7)(vite@5.0.4) cross-env: specifier: ^7.0.3 version: 7.0.3 @@ -636,6 +678,9 @@ importers: '@sveltejs/kit': specifier: workspace:^ version: link:../../../.. + '@sveltejs/vite-plugin-svelte': + specifier: ^3.0.0 + version: 3.0.1(svelte@4.2.7)(vite@5.0.4) svelte: specifier: ^4.2.7 version: 4.2.7 @@ -657,6 +702,9 @@ importers: '@sveltejs/kit': specifier: workspace:^ version: link:../../../.. + '@sveltejs/vite-plugin-svelte': + specifier: ^3.0.0 + version: 3.0.1(svelte@4.2.7)(vite@5.0.4) svelte: specifier: ^4.2.7 version: 4.2.7 @@ -678,6 +726,9 @@ importers: '@sveltejs/kit': specifier: workspace:^ version: link:../../../.. + '@sveltejs/vite-plugin-svelte': + specifier: ^3.0.0 + version: 3.0.1(svelte@4.2.7)(vite@5.0.4) svelte: specifier: ^4.2.7 version: 4.2.7 @@ -696,6 +747,9 @@ importers: '@sveltejs/kit': specifier: workspace:^ version: link:../../../.. + '@sveltejs/vite-plugin-svelte': + specifier: ^3.0.0 + version: 3.0.1(svelte@4.2.7)(vite@5.0.4) svelte: specifier: ^4.2.7 version: 4.2.7 @@ -714,6 +768,9 @@ importers: '@sveltejs/kit': specifier: workspace:^ version: link:../../../.. + '@sveltejs/vite-plugin-svelte': + specifier: ^3.0.0 + version: 3.0.1(svelte@4.2.7)(vite@5.0.4) svelte: specifier: ^4.2.7 version: 4.2.7 @@ -732,6 +789,9 @@ importers: '@sveltejs/kit': specifier: workspace:^ version: link:../../../.. + '@sveltejs/vite-plugin-svelte': + specifier: ^3.0.0 + version: 3.0.1(svelte@4.2.7)(vite@5.0.4) cross-env: specifier: ^7.0.3 version: 7.0.3 @@ -753,6 +813,9 @@ importers: '@sveltejs/kit': specifier: workspace:^ version: link:../../../.. + '@sveltejs/vite-plugin-svelte': + specifier: ^3.0.0 + version: 3.0.1(svelte@4.2.7)(vite@5.0.4) svelte: specifier: ^4.2.7 version: 4.2.7 @@ -771,6 +834,9 @@ importers: '@sveltejs/kit': specifier: workspace:^ version: link:../../../.. + '@sveltejs/vite-plugin-svelte': + specifier: ^3.0.0 + version: 3.0.1(svelte@4.2.7)(vite@5.0.4) svelte: specifier: ^4.2.7 version: 4.2.7 @@ -789,6 +855,9 @@ importers: '@sveltejs/kit': specifier: workspace:^ version: link:../../../.. + '@sveltejs/vite-plugin-svelte': + specifier: ^3.0.0 + version: 3.0.1(svelte@4.2.7)(vite@5.0.4) svelte: specifier: ^4.2.7 version: 4.2.7 @@ -807,6 +876,9 @@ importers: '@sveltejs/kit': specifier: workspace:^ version: link:../../../.. + '@sveltejs/vite-plugin-svelte': + specifier: ^3.0.0 + version: 3.0.1(svelte@4.2.7)(vite@5.0.4) svelte: specifier: ^4.2.7 version: 4.2.7 @@ -825,6 +897,9 @@ importers: '@sveltejs/kit': specifier: workspace:^ version: link:../../../.. + '@sveltejs/vite-plugin-svelte': + specifier: ^3.0.0 + version: 3.0.1(svelte@4.2.7)(vite@5.0.4) svelte: specifier: ^4.2.7 version: 4.2.7 @@ -843,6 +918,9 @@ importers: '@sveltejs/kit': specifier: workspace:^ version: link:../../../.. + '@sveltejs/vite-plugin-svelte': + specifier: ^3.0.0 + version: 3.0.1(svelte@4.2.7)(vite@5.0.4) svelte: specifier: ^4.2.7 version: 4.2.7 @@ -861,6 +939,9 @@ importers: '@sveltejs/kit': specifier: workspace:^ version: link:../../.. + '@sveltejs/vite-plugin-svelte': + specifier: ^3.0.0 + version: 3.0.1(svelte@4.2.7)(vite@5.0.4) svelte: specifier: ^4.2.7 version: 4.2.7 @@ -882,6 +963,9 @@ importers: '@sveltejs/kit': specifier: workspace:^ version: link:../../.. + '@sveltejs/vite-plugin-svelte': + specifier: ^3.0.0 + version: 3.0.1(svelte@4.2.7)(vite@5.0.4) svelte: specifier: ^4.2.7 version: 4.2.7 @@ -903,6 +987,9 @@ importers: '@sveltejs/kit': specifier: workspace:^ version: link:../../.. + '@sveltejs/vite-plugin-svelte': + specifier: ^3.0.0 + version: 3.0.1(svelte@4.2.7)(vite@5.0.4) svelte: specifier: ^4.2.7 version: 4.2.7 @@ -1004,6 +1091,9 @@ importers: '@sveltejs/kit': specifier: workspace:* version: link:../../packages/kit + '@sveltejs/vite-plugin-svelte': + specifier: ^3.0.0 + version: 3.0.1(svelte@4.2.7)(vite@5.0.4) svelte: specifier: ^4.2.7 version: 4.2.7 @@ -1041,6 +1131,9 @@ importers: '@sveltejs/site-kit': specifier: 6.0.0-next.52 version: 6.0.0-next.52(@sveltejs/kit@packages+kit)(svelte@4.2.7) + '@sveltejs/vite-plugin-svelte': + specifier: ^3.0.0 + version: 3.0.1(svelte@4.2.7)(vite@5.0.4) '@types/d3-geo': specifier: ^3.0.4 version: 3.0.4 @@ -1381,6 +1474,7 @@ packages: cpu: [arm64] os: [android] requiresBuild: true + dev: true optional: true /@esbuild/android-arm@0.18.20: @@ -1407,6 +1501,7 @@ packages: cpu: [arm] os: [android] requiresBuild: true + dev: true optional: true /@esbuild/android-x64@0.18.20: @@ -1433,6 +1528,7 @@ packages: cpu: [x64] os: [android] requiresBuild: true + dev: true optional: true /@esbuild/darwin-arm64@0.18.20: @@ -1459,6 +1555,7 @@ packages: cpu: [arm64] os: [darwin] requiresBuild: true + dev: true optional: true /@esbuild/darwin-x64@0.18.20: @@ -1485,6 +1582,7 @@ packages: cpu: [x64] os: [darwin] requiresBuild: true + dev: true optional: true /@esbuild/freebsd-arm64@0.18.20: @@ -1511,6 +1609,7 @@ packages: cpu: [arm64] os: [freebsd] requiresBuild: true + dev: true optional: true /@esbuild/freebsd-x64@0.18.20: @@ -1537,6 +1636,7 @@ packages: cpu: [x64] os: [freebsd] requiresBuild: true + dev: true optional: true /@esbuild/linux-arm64@0.18.20: @@ -1563,6 +1663,7 @@ packages: cpu: [arm64] os: [linux] requiresBuild: true + dev: true optional: true /@esbuild/linux-arm@0.18.20: @@ -1589,6 +1690,7 @@ packages: cpu: [arm] os: [linux] requiresBuild: true + dev: true optional: true /@esbuild/linux-ia32@0.18.20: @@ -1615,6 +1717,7 @@ packages: cpu: [ia32] os: [linux] requiresBuild: true + dev: true optional: true /@esbuild/linux-loong64@0.18.20: @@ -1641,6 +1744,7 @@ packages: cpu: [loong64] os: [linux] requiresBuild: true + dev: true optional: true /@esbuild/linux-mips64el@0.18.20: @@ -1667,6 +1771,7 @@ packages: cpu: [mips64el] os: [linux] requiresBuild: true + dev: true optional: true /@esbuild/linux-ppc64@0.18.20: @@ -1693,6 +1798,7 @@ packages: cpu: [ppc64] os: [linux] requiresBuild: true + dev: true optional: true /@esbuild/linux-riscv64@0.18.20: @@ -1719,6 +1825,7 @@ packages: cpu: [riscv64] os: [linux] requiresBuild: true + dev: true optional: true /@esbuild/linux-s390x@0.18.20: @@ -1745,6 +1852,7 @@ packages: cpu: [s390x] os: [linux] requiresBuild: true + dev: true optional: true /@esbuild/linux-x64@0.18.20: @@ -1771,6 +1879,7 @@ packages: cpu: [x64] os: [linux] requiresBuild: true + dev: true optional: true /@esbuild/netbsd-x64@0.18.20: @@ -1797,6 +1906,7 @@ packages: cpu: [x64] os: [netbsd] requiresBuild: true + dev: true optional: true /@esbuild/openbsd-x64@0.18.20: @@ -1823,6 +1933,7 @@ packages: cpu: [x64] os: [openbsd] requiresBuild: true + dev: true optional: true /@esbuild/sunos-x64@0.18.20: @@ -1849,6 +1960,7 @@ packages: cpu: [x64] os: [sunos] requiresBuild: true + dev: true optional: true /@esbuild/win32-arm64@0.18.20: @@ -1875,6 +1987,7 @@ packages: cpu: [arm64] os: [win32] requiresBuild: true + dev: true optional: true /@esbuild/win32-ia32@0.18.20: @@ -1901,6 +2014,7 @@ packages: cpu: [ia32] os: [win32] requiresBuild: true + dev: true optional: true /@esbuild/win32-x64@0.18.20: @@ -1927,6 +2041,7 @@ packages: cpu: [x64] os: [win32] requiresBuild: true + dev: true optional: true /@eslint-community/eslint-utils@4.4.0(eslint@8.52.0): @@ -2444,7 +2559,7 @@ packages: vite: 5.0.4(@types/node@16.18.6)(lightningcss@1.21.8) transitivePeerDependencies: - supports-color - dev: false + dev: true /@sveltejs/vite-plugin-svelte@3.0.1(svelte@4.2.7)(vite@5.0.4): resolution: {integrity: sha512-CGURX6Ps+TkOovK6xV+Y2rn8JKa8ZPUHPZ/NKgCxAmgBrXReavzFl8aOSCj3kQ1xqT7yGJj53hjcV/gqwDAaWA==} @@ -2464,7 +2579,7 @@ packages: vitefu: 0.2.5(vite@5.0.4) transitivePeerDependencies: - supports-color - dev: false + dev: true /@svitejs/changesets-changelog-github-compact@1.1.0: resolution: {integrity: sha512-qhUGGDHcpbY2zpjW3SwqchuW8J/5EzlPFud7xNntHKA7f3a/mx5+g+ruJKFHSAiVZYo30PALt+AyhmPUNKH/Og==} @@ -2553,6 +2668,7 @@ packages: /@types/node@16.18.6: resolution: {integrity: sha512-vmYJF0REqDyyU0gviezF/KHq/fYaUbFhkcNbQCuPGFQj6VTbXuHZoxs/Y7mutWe73C8AC6l9fFu8mSYiBAqkGA==} + dev: true /@types/normalize-package-data@2.4.1: resolution: {integrity: sha512-Gj7cI7z+98M282Tqmp2K5EIsoouUEzbBJhQQzDE3jSIRk6r9gsz0oUokqIUR4u1R3dMHo0pDHM7sNOHyhulypw==} @@ -3527,6 +3643,7 @@ packages: resolution: {integrity: sha512-pGjwhsmsp4kL2RTz08wcOlGN83otlqHeD/Z5T8GXZB+/YcpQ/dgo+lbU8ZsGxV0HIvqqxo9l7mqYwyYMD9bKDg==} engines: {node: '>=0.10'} hasBin: true + dev: true /detect-libc@2.0.2: resolution: {integrity: sha512-UX6sGumvvqSaXgdKGUsgZWqcUyIXZ/vZTrlRT/iobiKhGL0zL4d3osHj3uqllWJK+i+sixDS/3COVEOFbupFyw==} @@ -3776,6 +3893,7 @@ packages: '@esbuild/win32-arm64': 0.19.8 '@esbuild/win32-ia32': 0.19.8 '@esbuild/win32-x64': 0.19.8 + dev: true /escalade@3.1.1: resolution: {integrity: sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==} @@ -4761,6 +4879,7 @@ packages: cpu: [arm64] os: [darwin] requiresBuild: true + dev: true optional: true /lightningcss-darwin-x64@1.21.8: @@ -4769,6 +4888,7 @@ packages: cpu: [x64] os: [darwin] requiresBuild: true + dev: true optional: true /lightningcss-freebsd-x64@1.21.8: @@ -4777,6 +4897,7 @@ packages: cpu: [x64] os: [freebsd] requiresBuild: true + dev: true optional: true /lightningcss-linux-arm-gnueabihf@1.21.8: @@ -4785,6 +4906,7 @@ packages: cpu: [arm] os: [linux] requiresBuild: true + dev: true optional: true /lightningcss-linux-arm64-gnu@1.21.8: @@ -4793,6 +4915,7 @@ packages: cpu: [arm64] os: [linux] requiresBuild: true + dev: true optional: true /lightningcss-linux-arm64-musl@1.21.8: @@ -4801,6 +4924,7 @@ packages: cpu: [arm64] os: [linux] requiresBuild: true + dev: true optional: true /lightningcss-linux-x64-gnu@1.21.8: @@ -4809,6 +4933,7 @@ packages: cpu: [x64] os: [linux] requiresBuild: true + dev: true optional: true /lightningcss-linux-x64-musl@1.21.8: @@ -4817,6 +4942,7 @@ packages: cpu: [x64] os: [linux] requiresBuild: true + dev: true optional: true /lightningcss-win32-x64-msvc@1.21.8: @@ -4825,6 +4951,7 @@ packages: cpu: [x64] os: [win32] requiresBuild: true + dev: true optional: true /lightningcss@1.21.8: @@ -4842,6 +4969,7 @@ packages: lightningcss-linux-x64-gnu: 1.21.8 lightningcss-linux-x64-musl: 1.21.8 lightningcss-win32-x64-msvc: 1.21.8 + dev: true /lilconfig@2.1.0: resolution: {integrity: sha512-utWOt/GHzuUxnLKxB6dk81RoOeoNeHgbrXiuGk4yyF5qlRz+iIVWu56E2fqGHFrXz0QNUhLB/8nKqvRH66JKGQ==} @@ -5141,6 +5269,7 @@ packages: resolution: {integrity: sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA==} engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} hasBin: true + dev: true /napi-build-utils@1.0.2: resolution: {integrity: sha512-ONmRUqK7zj7DWX0D9ADe03wbwOBZxNAfF20PlGfCWQcD3+/MakShIHrMqx9YwPTfxDdF1zLeL+RGZiR9kGMLdg==} @@ -5498,6 +5627,7 @@ packages: nanoid: 3.3.6 picocolors: 1.0.0 source-map-js: 1.0.2 + dev: true /prebuild-install@7.1.1: resolution: {integrity: sha512-jAXscXWMcCK8GgCoHOfIr0ODh5ai8mj63L2nWrjuAgXE6tDyYGnx4/8o/rCgU+B4JSyZBKbeZqzhtwtC3ovxjw==} @@ -6244,7 +6374,7 @@ packages: svelte: ^3.19.0 || ^4.0.0 dependencies: svelte: 4.2.7 - dev: false + dev: true /svelte-local-storage-store@0.6.0(svelte@4.2.7): resolution: {integrity: sha512-UbCY/yT/YUadU5IX/gZkoRQnA+ebFZHKKQjlJvfWHnBj3CPe9sNn8ndxYz/xy4LUzGjuBLq8+wH5RYK54ba3wA==} @@ -6868,6 +6998,7 @@ packages: rollup: 4.6.1 optionalDependencies: fsevents: 2.3.3 + dev: true /vitefu@0.2.5(vite@5.0.4): resolution: {integrity: sha512-SgHtMLoqaeeGnd2evZ849ZbACbnwQCIwRH57t18FxcXoZop0uQu0uzlIhJBlF/eWVzuce0sHeqPcDo+evVcg8Q==} @@ -6878,7 +7009,7 @@ packages: optional: true dependencies: vite: 5.0.4(@types/node@16.18.6)(lightningcss@1.21.8) - dev: false + dev: true /vitest@0.34.5(lightningcss@1.21.8)(playwright@1.30.0): resolution: {integrity: sha512-CPI68mmnr2DThSB3frSuE5RLm9wo5wU4fbDrDwWQQB1CWgq9jQVoQwnQSzYAjdoBOPoH2UtXpOgHVge/uScfZg==} diff --git a/sites/kit.svelte.dev/package.json b/sites/kit.svelte.dev/package.json index 49d12f833eed..1ed2a905edb4 100644 --- a/sites/kit.svelte.dev/package.json +++ b/sites/kit.svelte.dev/package.json @@ -18,6 +18,7 @@ "@sveltejs/enhanced-img": "workspace:^", "@sveltejs/kit": "workspace:^", "@sveltejs/site-kit": "6.0.0-next.52", + "@sveltejs/vite-plugin-svelte": "^3.0.0", "@types/d3-geo": "^3.0.4", "@types/node": "^16.18.6", "browserslist": "^4.21.10",