Skip to content

Commit

Permalink
Merge pull request vercel#128 from vercel/use-latest
Browse files Browse the repository at this point in the history
Use @latest everywhere npx is used
  • Loading branch information
jaredpalmer authored Dec 9, 2021
2 parents e28b364 + e99eb09 commit bffcc19
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 11 deletions.
2 changes: 1 addition & 1 deletion create-turbo/templates/npm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ This turborepo has some additional tools already setup for you:

## Setup

This repository is used in the `npx create-turbo` command, and selected when choosing which package manager you wish to use with your monorepo (NPM).
This repository is used in the `npx create-turbo@latest` command, and selected when choosing which package manager you wish to use with your monorepo (NPM).

### Build

Expand Down
2 changes: 1 addition & 1 deletion create-turbo/templates/pnpm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ This turborepo has some additional tools already setup for you:

## Setup

This repository is used in the `npx create-turbo` command, and selected when choosing which package manager you wish to use with your monorepo (PNPM).
This repository is used in the `npx create-turbo@latest` command, and selected when choosing which package manager you wish to use with your monorepo (PNPM).

### Build

Expand Down
8 changes: 2 additions & 6 deletions docs/components/pages/home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,8 @@ const features = [
];

function Page() {
const { theme } = useTheme();
const onClick = () => {
copy("npx create-turbo");
copy("npx create-turbo@latest");
toast.success("Copied to clipboard");
};
return (
Expand Down Expand Up @@ -103,10 +102,7 @@ function Page() {
<div className="max-w-xl mx-auto mt-5 sm:flex sm:justify-center md:mt-8">
<div className="rounded-md ">
<Link href="/docs">
<a
href="#"
className="flex items-center justify-center w-full px-8 py-3 text-base font-medium text-white no-underline bg-black border border-transparent rounded-md dark:bg-white dark:text-black betterhover:hover:bg-gray-700 md:py-3 md:text-lg md:px-10 md:leading-6"
>
<a className="flex items-center justify-center w-full px-8 py-3 text-base font-medium text-white no-underline bg-black border border-transparent rounded-md dark:bg-white dark:text-black betterhover:hover:bg-gray-700 md:py-3 md:text-lg md:px-10 md:leading-6">
Start building →
</a>
</Link>
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/docs/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import Beta from "../../components/beta";
If you're starting a brand new monorepo, you can get started with a single command.

```sh
npx create-turbo
npx create-turbo@latest
```

Follow the prompts to bootstrap a brand new Turborepo.
Expand Down
2 changes: 1 addition & 1 deletion examples/basic/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ This turborepo has some additional tools already setup for you:

## Setup

This repository is used in the `npx create-turbo` command, and selected when choosing which package manager you wish to use with your monorepo (YARN).
This repository is used in the `npx create-turbo@latest` command, and selected when choosing which package manager you wish to use with your monorepo (YARN).

### Build

Expand Down
2 changes: 1 addition & 1 deletion examples/with-pnpm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ This turborepo has some additional tools already setup for you:

## Setup

This repository is used in the `npx create-turbo` command, and selected when choosing which package manager you wish to use with your monorepo (PNPM).
This repository is used in the `npx create-turbo@latest` command, and selected when choosing which package manager you wish to use with your monorepo (PNPM).

### Build

Expand Down

0 comments on commit bffcc19

Please sign in to comment.