From 715dfdd2236111d475ba451046ac8c4e272a937f Mon Sep 17 00:00:00 2001 From: Doug Webb Date: Wed, 4 Oct 2023 22:09:03 +0200 Subject: [PATCH] fix: specified `initial-scale=1` on all viewport meta tags (#10793) --- .changeset/bright-cycles-argue.md | 5 +++++ packages/adapter-static/test/apps/prerendered/src/app.html | 2 +- packages/adapter-static/test/apps/spa/src/app.html | 2 +- packages/create-svelte/templates/default/src/app.html | 2 +- packages/create-svelte/templates/skeleton/src/app.html | 2 +- packages/kit/test/apps/amp/src/app.html | 2 +- packages/kit/test/apps/basics/src/app.html | 2 +- packages/kit/test/apps/dev-only/src/app.html | 2 +- packages/kit/test/apps/options-2/src/app.html | 2 +- packages/kit/test/apps/options/source/template.html | 2 +- packages/kit/test/apps/writes/src/app.html | 2 +- .../apps/prerender-entry-generator-mismatch/src/app.html | 2 +- .../apps/prerenderable-incorrect-fragment/src/app.html | 2 +- .../apps/prerenderable-not-prerendered/src/app.html | 2 +- .../apps/private-dynamic-env-dynamic-import/src/app.html | 2 +- .../test/build-errors/apps/private-dynamic-env/src/app.html | 2 +- .../apps/private-static-env-dynamic-import/src/app.html | 2 +- .../test/build-errors/apps/private-static-env/src/app.html | 2 +- .../apps/server-only-folder-dynamic-import/src/app.html | 2 +- .../test/build-errors/apps/server-only-folder/src/app.html | 2 +- .../apps/server-only-module-dynamic-import/src/app.html | 2 +- .../test/build-errors/apps/server-only-module/src/app.html | 2 +- .../kit/test/build-errors/apps/syntax-error/src/app.html | 2 +- packages/kit/test/prerendering/basics/src/app.html | 2 +- packages/kit/test/prerendering/options/src/app.html | 2 +- packages/kit/test/prerendering/paths-base/src/app.html | 2 +- playgrounds/basic/src/app.html | 2 +- sites/kit.svelte.dev/src/app.html | 2 +- 28 files changed, 32 insertions(+), 27 deletions(-) create mode 100644 .changeset/bright-cycles-argue.md diff --git a/.changeset/bright-cycles-argue.md b/.changeset/bright-cycles-argue.md new file mode 100644 index 000000000000..295bd3f4722e --- /dev/null +++ b/.changeset/bright-cycles-argue.md @@ -0,0 +1,5 @@ +--- +"create-svelte": patch +--- + +fix: specified `initial-scale=1` on all viewport meta tags diff --git a/packages/adapter-static/test/apps/prerendered/src/app.html b/packages/adapter-static/test/apps/prerendered/src/app.html index c071adef3d54..568b69b887b8 100644 --- a/packages/adapter-static/test/apps/prerendered/src/app.html +++ b/packages/adapter-static/test/apps/prerendered/src/app.html @@ -2,7 +2,7 @@ - + %sveltekit.head% diff --git a/packages/adapter-static/test/apps/spa/src/app.html b/packages/adapter-static/test/apps/spa/src/app.html index c071adef3d54..568b69b887b8 100644 --- a/packages/adapter-static/test/apps/spa/src/app.html +++ b/packages/adapter-static/test/apps/spa/src/app.html @@ -2,7 +2,7 @@ - + %sveltekit.head% diff --git a/packages/create-svelte/templates/default/src/app.html b/packages/create-svelte/templates/default/src/app.html index effe0d0d266c..6769ed5e89c5 100644 --- a/packages/create-svelte/templates/default/src/app.html +++ b/packages/create-svelte/templates/default/src/app.html @@ -3,7 +3,7 @@ - + %sveltekit.head% diff --git a/packages/create-svelte/templates/skeleton/src/app.html b/packages/create-svelte/templates/skeleton/src/app.html index effe0d0d266c..6769ed5e89c5 100644 --- a/packages/create-svelte/templates/skeleton/src/app.html +++ b/packages/create-svelte/templates/skeleton/src/app.html @@ -3,7 +3,7 @@ - + %sveltekit.head% diff --git a/packages/kit/test/apps/amp/src/app.html b/packages/kit/test/apps/amp/src/app.html index 6a2cc4a91d2f..da318e7a69d2 100644 --- a/packages/kit/test/apps/amp/src/app.html +++ b/packages/kit/test/apps/amp/src/app.html @@ -2,7 +2,7 @@ - + %sveltekit.head% diff --git a/packages/kit/test/apps/basics/src/app.html b/packages/kit/test/apps/basics/src/app.html index aa17593fe727..08b778adde4c 100644 --- a/packages/kit/test/apps/basics/src/app.html +++ b/packages/kit/test/apps/basics/src/app.html @@ -2,7 +2,7 @@ - + %sveltekit.head% diff --git a/packages/kit/test/apps/dev-only/src/app.html b/packages/kit/test/apps/dev-only/src/app.html index d169577acb70..1e37ecc2fa81 100644 --- a/packages/kit/test/apps/dev-only/src/app.html +++ b/packages/kit/test/apps/dev-only/src/app.html @@ -2,7 +2,7 @@ - + %sveltekit.head% diff --git a/packages/kit/test/apps/options-2/src/app.html b/packages/kit/test/apps/options-2/src/app.html index 900e4978e59d..779b2f927d0c 100644 --- a/packages/kit/test/apps/options-2/src/app.html +++ b/packages/kit/test/apps/options-2/src/app.html @@ -2,7 +2,7 @@ - + %sveltekit.head% diff --git a/packages/kit/test/apps/options/source/template.html b/packages/kit/test/apps/options/source/template.html index 3a12690637fb..4347ea201852 100644 --- a/packages/kit/test/apps/options/source/template.html +++ b/packages/kit/test/apps/options/source/template.html @@ -2,7 +2,7 @@ - + %sveltekit.head% diff --git a/packages/kit/test/apps/writes/src/app.html b/packages/kit/test/apps/writes/src/app.html index fd1a543e0223..419c2fe0b79d 100644 --- a/packages/kit/test/apps/writes/src/app.html +++ b/packages/kit/test/apps/writes/src/app.html @@ -2,7 +2,7 @@ - + %sveltekit.head% diff --git a/packages/kit/test/build-errors/apps/prerender-entry-generator-mismatch/src/app.html b/packages/kit/test/build-errors/apps/prerender-entry-generator-mismatch/src/app.html index 5b53ef7e3ae7..2f8367462108 100644 --- a/packages/kit/test/build-errors/apps/prerender-entry-generator-mismatch/src/app.html +++ b/packages/kit/test/build-errors/apps/prerender-entry-generator-mismatch/src/app.html @@ -3,7 +3,7 @@ - + %sveltekit.head% diff --git a/packages/kit/test/build-errors/apps/prerenderable-incorrect-fragment/src/app.html b/packages/kit/test/build-errors/apps/prerenderable-incorrect-fragment/src/app.html index 5b53ef7e3ae7..2f8367462108 100644 --- a/packages/kit/test/build-errors/apps/prerenderable-incorrect-fragment/src/app.html +++ b/packages/kit/test/build-errors/apps/prerenderable-incorrect-fragment/src/app.html @@ -3,7 +3,7 @@ - + %sveltekit.head% diff --git a/packages/kit/test/build-errors/apps/prerenderable-not-prerendered/src/app.html b/packages/kit/test/build-errors/apps/prerenderable-not-prerendered/src/app.html index 5b53ef7e3ae7..2f8367462108 100644 --- a/packages/kit/test/build-errors/apps/prerenderable-not-prerendered/src/app.html +++ b/packages/kit/test/build-errors/apps/prerenderable-not-prerendered/src/app.html @@ -3,7 +3,7 @@ - + %sveltekit.head% diff --git a/packages/kit/test/build-errors/apps/private-dynamic-env-dynamic-import/src/app.html b/packages/kit/test/build-errors/apps/private-dynamic-env-dynamic-import/src/app.html index 5b53ef7e3ae7..2f8367462108 100644 --- a/packages/kit/test/build-errors/apps/private-dynamic-env-dynamic-import/src/app.html +++ b/packages/kit/test/build-errors/apps/private-dynamic-env-dynamic-import/src/app.html @@ -3,7 +3,7 @@ - + %sveltekit.head% diff --git a/packages/kit/test/build-errors/apps/private-dynamic-env/src/app.html b/packages/kit/test/build-errors/apps/private-dynamic-env/src/app.html index 5b53ef7e3ae7..2f8367462108 100644 --- a/packages/kit/test/build-errors/apps/private-dynamic-env/src/app.html +++ b/packages/kit/test/build-errors/apps/private-dynamic-env/src/app.html @@ -3,7 +3,7 @@ - + %sveltekit.head% diff --git a/packages/kit/test/build-errors/apps/private-static-env-dynamic-import/src/app.html b/packages/kit/test/build-errors/apps/private-static-env-dynamic-import/src/app.html index 5b53ef7e3ae7..2f8367462108 100644 --- a/packages/kit/test/build-errors/apps/private-static-env-dynamic-import/src/app.html +++ b/packages/kit/test/build-errors/apps/private-static-env-dynamic-import/src/app.html @@ -3,7 +3,7 @@ - + %sveltekit.head% diff --git a/packages/kit/test/build-errors/apps/private-static-env/src/app.html b/packages/kit/test/build-errors/apps/private-static-env/src/app.html index 5b53ef7e3ae7..2f8367462108 100644 --- a/packages/kit/test/build-errors/apps/private-static-env/src/app.html +++ b/packages/kit/test/build-errors/apps/private-static-env/src/app.html @@ -3,7 +3,7 @@ - + %sveltekit.head% diff --git a/packages/kit/test/build-errors/apps/server-only-folder-dynamic-import/src/app.html b/packages/kit/test/build-errors/apps/server-only-folder-dynamic-import/src/app.html index 5b53ef7e3ae7..2f8367462108 100644 --- a/packages/kit/test/build-errors/apps/server-only-folder-dynamic-import/src/app.html +++ b/packages/kit/test/build-errors/apps/server-only-folder-dynamic-import/src/app.html @@ -3,7 +3,7 @@ - + %sveltekit.head% diff --git a/packages/kit/test/build-errors/apps/server-only-folder/src/app.html b/packages/kit/test/build-errors/apps/server-only-folder/src/app.html index 5b53ef7e3ae7..2f8367462108 100644 --- a/packages/kit/test/build-errors/apps/server-only-folder/src/app.html +++ b/packages/kit/test/build-errors/apps/server-only-folder/src/app.html @@ -3,7 +3,7 @@ - + %sveltekit.head% diff --git a/packages/kit/test/build-errors/apps/server-only-module-dynamic-import/src/app.html b/packages/kit/test/build-errors/apps/server-only-module-dynamic-import/src/app.html index 5b53ef7e3ae7..2f8367462108 100644 --- a/packages/kit/test/build-errors/apps/server-only-module-dynamic-import/src/app.html +++ b/packages/kit/test/build-errors/apps/server-only-module-dynamic-import/src/app.html @@ -3,7 +3,7 @@ - + %sveltekit.head% diff --git a/packages/kit/test/build-errors/apps/server-only-module/src/app.html b/packages/kit/test/build-errors/apps/server-only-module/src/app.html index 5b53ef7e3ae7..2f8367462108 100644 --- a/packages/kit/test/build-errors/apps/server-only-module/src/app.html +++ b/packages/kit/test/build-errors/apps/server-only-module/src/app.html @@ -3,7 +3,7 @@ - + %sveltekit.head% diff --git a/packages/kit/test/build-errors/apps/syntax-error/src/app.html b/packages/kit/test/build-errors/apps/syntax-error/src/app.html index 5b53ef7e3ae7..2f8367462108 100644 --- a/packages/kit/test/build-errors/apps/syntax-error/src/app.html +++ b/packages/kit/test/build-errors/apps/syntax-error/src/app.html @@ -3,7 +3,7 @@ - + %sveltekit.head% diff --git a/packages/kit/test/prerendering/basics/src/app.html b/packages/kit/test/prerendering/basics/src/app.html index d35c108bb8f2..3b96b1bd319c 100644 --- a/packages/kit/test/prerendering/basics/src/app.html +++ b/packages/kit/test/prerendering/basics/src/app.html @@ -2,7 +2,7 @@ - + %sveltekit.head% diff --git a/packages/kit/test/prerendering/options/src/app.html b/packages/kit/test/prerendering/options/src/app.html index cee411bbea8f..44d8856ccf32 100644 --- a/packages/kit/test/prerendering/options/src/app.html +++ b/packages/kit/test/prerendering/options/src/app.html @@ -2,7 +2,7 @@ - + %sveltekit.head% diff --git a/packages/kit/test/prerendering/paths-base/src/app.html b/packages/kit/test/prerendering/paths-base/src/app.html index 19fc5c4abe53..d2d75b458564 100644 --- a/packages/kit/test/prerendering/paths-base/src/app.html +++ b/packages/kit/test/prerendering/paths-base/src/app.html @@ -2,7 +2,7 @@ - + %sveltekit.head% diff --git a/playgrounds/basic/src/app.html b/playgrounds/basic/src/app.html index effe0d0d266c..6769ed5e89c5 100644 --- a/playgrounds/basic/src/app.html +++ b/playgrounds/basic/src/app.html @@ -3,7 +3,7 @@ - + %sveltekit.head% diff --git a/sites/kit.svelte.dev/src/app.html b/sites/kit.svelte.dev/src/app.html index 85194f22a5fc..3bd537d3636c 100644 --- a/sites/kit.svelte.dev/src/app.html +++ b/sites/kit.svelte.dev/src/app.html @@ -2,7 +2,7 @@ - +