Skip to content

Commit

Permalink
docs(create): create new projects always using latest version (#9328)
Browse files Browse the repository at this point in the history
  • Loading branch information
iamandrewluca authored Sep 13, 2024
1 parent dc0d254 commit 1cc9669
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 7 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@ __generated__
# system
.DS_Store
*.vscode

.pnpm-store
2 changes: 1 addition & 1 deletion docs/app/(site)/for-developers/page-client.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export default function ForDevelopers () {
marginTop: '2.5rem',
})}
>
<CodeBox code="npm create keystone-app" />
<CodeBox code="npm create keystone-app@latest" />
<Button
as="a"
href="/docs"
Expand Down
2 changes: 1 addition & 1 deletion docs/app/(site)/page-client.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export default function PageClient () {
marginTop: '2.5rem',
})}
>
<CodeBox code="npm create keystone-app" />
<CodeBox code="npm create keystone-app@latest" />
<Button
as="a"
href="/docs"
Expand Down
2 changes: 1 addition & 1 deletion docs/components/content/EndCta.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export function EndCta ({ grad = 'grad1', ...props }: EndCtaProps) {
</Type>
</li>
</ul>
<CodeBox code="npm create keystone-app" css={{ margin: '2rem 0' }} />
<CodeBox code="npm create keystone-app@latest" css={{ margin: '2rem 0' }} />
<div>
<Button as="a" href="/docs" size="large" shadow>
Get started <ArrowR />
Expand Down
2 changes: 1 addition & 1 deletion docs/content/blog/general-availability.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Here's a few of the other cool things we shipped in Keystone this year:
- [JSON field](/docs/fields/json)
- [17 example projects](/docs/examples) to explore Keystone's many features and get you up and running on the web

This release completes a body of work that make **Keystone 6 our best developer experience yet**. If you've been waiting to tryout Keystone 6 **there's never been a better time**. Just `npm create keystone-app` or read our [getting started guide](/docs/getting-started) to take your first steps.
This release completes a body of work that make **Keystone 6 our best developer experience yet**. If you've been waiting to tryout Keystone 6 **there's never been a better time**. Just `npm create keystone-app@latest` or read our [getting started guide](/docs/getting-started) to take your first steps.

## What's Next

Expand Down
2 changes: 1 addition & 1 deletion docs/content/docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ It generates some files for you and installs all the dependencies you need to ru
## Quick Start

```sh
npm create keystone-app
npm create keystone-app@latest
cd my-app
npm run dev
```
Expand Down
2 changes: 1 addition & 1 deletion docs/next-env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
/// <reference types="next/image-types/global" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.
// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
2 changes: 1 addition & 1 deletion docs/public/assets/getting-started/cover.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1cc9669

Please sign in to comment.