Skip to content

Commit 30e8f41

Browse files
authored
[chore] cleanup lingering references to npm init (#5566)
* [chore] cleanup lingering references to npm init * update intro docs
1 parent 13c3fea commit 30e8f41

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ You can now run SvelteKit by linking it into your project with [pnpm `overrides`
2323

2424
Entry points to be aware of are:
2525

26-
- [`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`
26+
- [`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 create svelte@latest`
2727
- [`packages/kit/src/packaging`](https://github.com/sveltejs/kit/tree/master/packages/kit/src/packaging) - for the `svelte-kit package` command
2828
- [`packages/kit/src/vite/index.js`](https://github.com/sveltejs/kit/blob/master/packages/kit/src/vite/index.js) - for the Vite plugin
2929
- [`packages/kit/src/core/sync/index.js`](https://github.com/sveltejs/kit/blob/master/packages/kit/src/core/sync/sync.js) - for `svelte-kit sync`, which regenerates routing info and type definitions

documentation/docs/00-introduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ You don't need to know Svelte to understand the rest of this guide, but it will
2323
The easiest way to start building a SvelteKit app is to run `npm create`:
2424

2525
```bash
26-
npm create svelte my-app
26+
npm create svelte@latest my-app
2727
cd my-app
2828
npm install
2929
npm run dev

packages/create-svelte/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
A CLI for creating new [SvelteKit](https://kit.svelte.dev) projects. Just run...
44

55
```bash
6-
npm init svelte
6+
npm create svelte@latest
77
```
88

99
...and follow the prompts.

packages/create-svelte/shared/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ If you're seeing this, you've probably already done this step. Congrats!
88

99
```bash
1010
# create a new project in the current directory
11-
npm init svelte
11+
npm create svelte@latest
1212

1313
# create a new project in my-app
14-
npm init svelte my-app
14+
npm create svelte@latest my-app
1515
```
1616

1717
## Developing

packages/create-svelte/templates/default/src/routes/about.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
following into your command line and following the prompts:
2828
</p>
2929

30-
<pre>npm init svelte</pre>
30+
<pre>npm create svelte@latest</pre>
3131

3232
<p>
3333
The page you're looking at is purely static HTML, with no client-side interactivity needed.

packages/kit/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ This is the [SvelteKit](https://kit.svelte.dev) framework and CLI.
55
The quickest way to get started is via the [create-svelte](https://github.com/sveltejs/kit/tree/master/packages/create-svelte) package:
66

77
```bash
8-
npm init svelte my-app
8+
npm create svelte@latest my-app
99
cd my-app
1010
npm install
1111
npm run dev

0 commit comments

Comments
 (0)