这是indexloc提供的服务,不要输入任何密码
Skip to content

Use @latest everywhere npx is used #128

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 9, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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