diff --git a/.changeset/chilly-meals-hug.md b/.changeset/chilly-meals-hug.md new file mode 100644 index 000000000000..19b6a10f47fd --- /dev/null +++ b/.changeset/chilly-meals-hug.md @@ -0,0 +1,5 @@ +--- +'create-svelte': patch +--- + +Adding new 'hello world' templates - skeleton and default variants -. Applying it to the CLI as well diff --git a/examples/svelte-kit-demo/.gitignore b/examples/svelte-kit-demo/.gitignore deleted file mode 100644 index 9a7b33b97ced..000000000000 --- a/examples/svelte-kit-demo/.gitignore +++ /dev/null @@ -1,6 +0,0 @@ -.DS_Store -/node_modules -/build -/.svelte -/.vercel_build_output -/workers-site \ No newline at end of file diff --git a/examples/svelte-kit-demo/README.md b/examples/svelte-kit-demo/README.md deleted file mode 100644 index 1adcebcf25f0..000000000000 --- a/examples/svelte-kit-demo/README.md +++ /dev/null @@ -1,17 +0,0 @@ -# svelte-kit-demo - -This is a simple app to demonstrate a few different features of SvelteKit, and to ensure that the various adapters are working correctly. - -## Deployments - -### Vercel - -- URL: https://kit-zeta.vercel.app/ -- Info: https://vercel.com/sveltejs/kit -- Build command: `npm run build:vercel` - -### Cloudflare Workers - -- URL: https://svelte-kit-demo.halfnelson.workers.dev -- Build command: `npm run build:cloudflare-workers` -- Deploy Command: `wrangler publish` diff --git a/examples/svelte-kit-demo/package.json b/examples/svelte-kit-demo/package.json deleted file mode 100644 index 7c4662e029f7..000000000000 --- a/examples/svelte-kit-demo/package.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "name": "svelte-kit-demo", - "version": "1.0.0", - "private": true, - "type": "module", - "scripts": { - "dev": "svelte-kit dev", - "build": "svelte-kit build", - "start": "svelte-kit start", - "build:vercel": "ADAPTER=@sveltejs/adapter-vercel OPTIONS={} npm run build", - "build:cloudflare-workers": "ADAPTER=@sveltejs/adapter-cloudflare-workers OPTIONS={} npm run build" - }, - "devDependencies": { - "@sveltejs/adapter-node": "workspace:*", - "@sveltejs/adapter-static": "workspace:*", - "@sveltejs/adapter-vercel": "workspace:*", - "@sveltejs/adapter-cloudflare-workers": "workspace:*", - "@sveltejs/kit": "workspace:*", - "svelte": "^3.35.0" - } -} diff --git a/examples/svelte-kit-demo/src/app.html b/examples/svelte-kit-demo/src/app.html deleted file mode 100644 index 4b89e97a1e21..000000000000 --- a/examples/svelte-kit-demo/src/app.html +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - %svelte.head% - - -
%svelte.body%
- - \ No newline at end of file diff --git a/examples/svelte-kit-demo/src/hooks/index.js b/examples/svelte-kit-demo/src/hooks/index.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/examples/svelte-kit-demo/src/lib/Nav.svelte b/examples/svelte-kit-demo/src/lib/Nav.svelte deleted file mode 100644 index 5085704f6e3d..000000000000 --- a/examples/svelte-kit-demo/src/lib/Nav.svelte +++ /dev/null @@ -1,41 +0,0 @@ - - - - - \ No newline at end of file diff --git a/examples/svelte-kit-demo/src/routes/$layout.svelte b/examples/svelte-kit-demo/src/routes/$layout.svelte deleted file mode 100644 index aec614890cde..000000000000 --- a/examples/svelte-kit-demo/src/routes/$layout.svelte +++ /dev/null @@ -1,25 +0,0 @@ - - - - -