diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index e25058458275..76a6e13d169c 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -23,7 +23,7 @@ You can now run SvelteKit by linking it into your project with [pnpm `overrides` Entry points to be aware of are: -- [`packages/create-svelte`](https://github.com/sveltejs/kit/tree/master/packages/create-svelte) - code that's run when you create a new project with `npm init svelte@next` +- [`packages/create-svelte`](https://github.com/sveltejs/kit/tree/master/packages/create-svelte) - code that's run when you create a new project with `npm init svelte` - [`packages/kit/src/packaging`](https://github.com/sveltejs/kit/tree/master/packages/kit/src/packaging) - for the `svelte-kit package` command - [`packages/kit/src/core/dev/index.js`](https://github.com/sveltejs/kit/blob/master/packages/kit/src/core/dev/index.js) - for the dev-mode server - [`packages/kit/src/core/build/index.js`](https://github.com/sveltejs/kit/blob/master/packages/kit/src/core/build/index.js) - for the production server diff --git a/documentation/docs/00-introduction.md b/documentation/docs/00-introduction.md index b4a6a8467bce..def484bf2321 100644 --- a/documentation/docs/00-introduction.md +++ b/documentation/docs/00-introduction.md @@ -23,7 +23,7 @@ You don't need to know Svelte to understand the rest of this guide, but it will The easiest way to start building a SvelteKit app is to run `npm init`: ```bash -npm init svelte@next my-app +npm init svelte my-app cd my-app npm install npm run dev diff --git a/documentation/docs/09-adapters.md b/documentation/docs/09-adapters.md index c90007807c91..a144f27f7390 100644 --- a/documentation/docs/09-adapters.md +++ b/documentation/docs/09-adapters.md @@ -20,7 +20,7 @@ You can deploy to the following platforms with the default adapter, `adapter-aut #### Node.js -To create a simple Node server, install the [`@sveltejs/adapter-node@next`](https://github.com/sveltejs/kit/tree/master/packages/adapter-node) package and update your `svelte.config.js`: +To create a simple Node server, install the [`@sveltejs/adapter-node`](https://github.com/sveltejs/kit/tree/master/packages/adapter-node) package and update your `svelte.config.js`: ```diff /// file: svelte.config.js @@ -44,7 +44,7 @@ export default { #### Static sites -Most adapters will generate static HTML for any [prerenderable](/docs/page-options#prerender) pages of your site. In some cases, your entire app might be prerenderable, in which case you can use [`@sveltejs/adapter-static@next`](https://github.com/sveltejs/kit/tree/master/packages/adapter-static) to generate static HTML for _all_ your pages. A fully static site can be hosted on a wide variety of platforms, including static hosts like [GitHub Pages](https://pages.github.com/). +Most adapters will generate static HTML for any [prerenderable](/docs/page-options#prerender) pages of your site. In some cases, your entire app might be prerenderable, in which case you can use [`@sveltejs/adapter-static`](https://github.com/sveltejs/kit/tree/master/packages/adapter-static) to generate static HTML for _all_ your pages. A fully static site can be hosted on a wide variety of platforms, including static hosts like [GitHub Pages](https://pages.github.com/). ```diff /// file: svelte.config.js diff --git a/packages/adapter-cloudflare-workers/README.md b/packages/adapter-cloudflare-workers/README.md index c02c44c0e08a..eb6420d22882 100644 --- a/packages/adapter-cloudflare-workers/README.md +++ b/packages/adapter-cloudflare-workers/README.md @@ -17,7 +17,7 @@ _**Comparisons**_ ## Usage -Install with `npm i -D @sveltejs/adapter-cloudflare-workers@next`, then add the adapter to your `svelte.config.js`: +Install with `npm i -D @sveltejs/adapter-cloudflare-workers`, then add the adapter to your `svelte.config.js`: ```js import adapter from '@sveltejs/adapter-cloudflare-workers'; diff --git a/packages/adapter-cloudflare/README.md b/packages/adapter-cloudflare/README.md index 78038be7cf34..0da47f1f200a 100644 --- a/packages/adapter-cloudflare/README.md +++ b/packages/adapter-cloudflare/README.md @@ -20,7 +20,7 @@ _**Comparisons**_ ## Installation ```sh -$ npm i --save-dev @sveltejs/adapter-cloudflare@next +$ npm i --save-dev @sveltejs/adapter-cloudflare ``` ## Usage diff --git a/packages/adapter-netlify/README.md b/packages/adapter-netlify/README.md index 8ba42157d3f0..056408674e8e 100644 --- a/packages/adapter-netlify/README.md +++ b/packages/adapter-netlify/README.md @@ -6,10 +6,8 @@ If you're using [adapter-auto](../adapter-auto), you don't need to install this ## Installation -> ⚠️ For the time being, the latest version of adapter-netlify is at the @next tag. If you get the error `config.kit.adapter should be an object with an "adapt" method.`, this is a sign that you are using the wrong version (eg `1.0.0-next.0` instead of `1.0.0-next.9`). - ```bash -npm i -D @sveltejs/adapter-netlify@next +npm i -D @sveltejs/adapter-netlify ``` You can then configure it inside of `svelte.config.js`: diff --git a/packages/adapter-node/README.md b/packages/adapter-node/README.md index 7c54bce37c00..8477e12ba3e8 100644 --- a/packages/adapter-node/README.md +++ b/packages/adapter-node/README.md @@ -4,7 +4,7 @@ ## Usage -Install with `npm i -D @sveltejs/adapter-node@next`, then add the adapter to your `svelte.config.js`: +Install with `npm i -D @sveltejs/adapter-node`, then add the adapter to your `svelte.config.js`: ```js // svelte.config.js diff --git a/packages/adapter-static/README.md b/packages/adapter-static/README.md index 9c363858f0c4..6158f7d1c41e 100644 --- a/packages/adapter-static/README.md +++ b/packages/adapter-static/README.md @@ -4,7 +4,7 @@ ## Usage -Install with `npm i -D @sveltejs/adapter-static@next`, then add the adapter to your `svelte.config.js`: +Install with `npm i -D @sveltejs/adapter-static`, then add the adapter to your `svelte.config.js`: ```js // svelte.config.js diff --git a/packages/adapter-static/test/apps/spa/README.md b/packages/adapter-static/test/apps/spa/README.md index 695980c4c324..c7f00c26d735 100644 --- a/packages/adapter-static/test/apps/spa/README.md +++ b/packages/adapter-static/test/apps/spa/README.md @@ -8,14 +8,12 @@ If you're seeing this, you've probably already done this step. Congrats! ```bash # create a new project in the current directory -npm init svelte@next +npm init svelte # create a new project in my-app -npm init svelte@next my-app +npm init svelte my-app ``` -> Note: the `@next` is temporary - ## Developing Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server: diff --git a/packages/create-svelte/shared/README.md b/packages/create-svelte/shared/README.md index 94a48f5ff868..374efec4c10b 100644 --- a/packages/create-svelte/shared/README.md +++ b/packages/create-svelte/shared/README.md @@ -8,14 +8,12 @@ If you're seeing this, you've probably already done this step. Congrats! ```bash # create a new project in the current directory -npm init svelte@next +npm init svelte # create a new project in my-app -npm init svelte@next my-app +npm init svelte my-app ``` -> Note: the `@next` is temporary - ## Developing Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server: diff --git a/packages/create-svelte/templates/default/src/routes/about.svelte b/packages/create-svelte/templates/default/src/routes/about.svelte index 569d3e177e74..b884210f66c2 100644 --- a/packages/create-svelte/templates/default/src/routes/about.svelte +++ b/packages/create-svelte/templates/default/src/routes/about.svelte @@ -26,8 +26,7 @@ following into your command line and following the prompts:

- -
npm init svelte@next
+
npm init svelte

The page you're looking at is purely static HTML, with no client-side interactivity needed. diff --git a/packages/kit/README.md b/packages/kit/README.md index a88ce859b415..5d71e03d00a5 100644 --- a/packages/kit/README.md +++ b/packages/kit/README.md @@ -5,7 +5,7 @@ This is the [SvelteKit](https://kit.svelte.dev) framework and CLI. The quickest way to get started is via the [create-svelte](https://github.com/sveltejs/kit/tree/master/packages/create-svelte) package: ```bash -npm init svelte@next my-app +npm init svelte my-app cd my-app npm install npm run dev diff --git a/sites/kit.svelte.dev/src/routes/index.svelte b/sites/kit.svelte.dev/src/routes/index.svelte index 77cde32f2450..98a6d418409d 100644 --- a/sites/kit.svelte.dev/src/routes/index.svelte +++ b/sites/kit.svelte.dev/src/routes/index.svelte @@ -83,7 +83,7 @@


-npm init svelte@next my-app
+npm init svelte my-app
 cd my-app
 npm install
 npm run dev -- --open