Skip to content

Commit

Permalink
.md only: npm init astro --> npm create astro (#4760)
Browse files Browse the repository at this point in the history
* .md only: npm init astro --> npm create astro

For consistency with withastro/docs#360. Docs always use `npm create astro` (never `npm init astro`), README.md files in this repo should do the same.

Search:
`\b(npm|yarn|pnpm) init astro\b`
Replace:
`$1 create astro`

Except for two instances:

1. `packages/create-astro/CHANGELOG.md` -- skipped because changelog.

2. `packages/create-astro/test/create-astro.test.js.skipped` -- skipped, old test disabled in withastro/astro#3168.

* docs: add `@latest` to `npm create astro`
Co-authored-by: Bjorn Lu <[email protected]>

Co-authored-by: Michael Rienstra <[email protected]>
  • Loading branch information
mrienstra and michaelgoodmoney authored Sep 16, 2022
1 parent 99a5941 commit b2cdb6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/minimal/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Astro Starter Kit: Minimal

```
npm init astro -- --template minimal
npm create astro@latest -- --template minimal
```

[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/withastro/astro/tree/latest/examples/minimal)
Expand Down

0 comments on commit b2cdb6d

Please sign in to comment.