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

Update Docs #1794

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 7 commits into from
Sep 6, 2022
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 .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"heybourn.headwind",
"ms-azuretools.vscode-docker",
"ms-vscode-remote.remote-containers",
"silvenon.mdx",
"unifiedjs.vscode-mdx",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for updating this as well!

"windmilleng.vscode-go-autotest",
"yzhang.markdown-all-in-one",
"zxh404.vscode-proto3"
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/docs/ci/circleci.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Using Turborepo with CircleCI
description: How to use CircleCI with Turborepo to optimize your CI workflow
---

import { Tabs, Tab } from '../../../components/Tabs'
import { Tabs, Tab } from "../../../components/Tabs";

# Using Turborepo with CircleCI

Expand Down
2 changes: 1 addition & 1 deletion docs/pages/docs/ci/github-actions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Using Turborepo with GitHub Actions
description: How to use GitHub Actions with Turborepo to optimize your CI workflow
---

import { Tabs, Tab } from '../../../components/Tabs'
import { Tabs, Tab } from "../../../components/Tabs";

# Using Turborepo with GitHub Actions

Expand Down
2 changes: 1 addition & 1 deletion docs/pages/docs/ci/gitlabci.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Using Turborepo with GitLab CI
description: How to use GitLab CI with Turborepo to optimize your CI workflow
---

import { Tabs, Tab } from '../../../components/Tabs'
import { Tabs, Tab } from "../../../components/Tabs";

# Using Turborepo with GitLab CI

Expand Down
2 changes: 1 addition & 1 deletion docs/pages/docs/ci/travisci.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Using Turborepo with Travis CI
description: How to use Travis CI with Turborepo to optimize your CI workflow
---

import { Tabs, Tab } from '../../../components/Tabs'
import { Tabs, Tab } from "../../../components/Tabs";

# Using Turborepo with Travis CI

Expand Down
18 changes: 14 additions & 4 deletions docs/pages/docs/core-concepts/remote-caching.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ description: Share cache artifacts across machines for even faster builds.
---

import Callout from "../../../components/Callout";
import { Tabs, Tab } from "../../../components/Tabs";

# Remote Caching

Expand Down Expand Up @@ -32,7 +33,7 @@ npx turbo login

Next, link your Turborepo to your remote cache:

```
```sh
npx turbo link
```

Expand All @@ -41,9 +42,18 @@ Your cache artifacts will now be stored locally _and_ in your Remote Cache.

To verify, delete your local Turborepo cache with:

```sh
rm -rf ./node_modules/.cache/turbo
```
<Tabs items={['unix', 'win']} storageKey="selected-os">
<Tab>
```sh
rm -rf ./node_modules/.cache/turbo
```
</Tab>
<Tab>
```sh
rd /s /q "./node_modules/.cache/turbo"
```
</Tab>
</Tabs>

Then run the same build again. If things are working properly, `turbo` should not execute tasks locally, but rather download both the logs and artifacts from your Remote Cache and replay them back to you.

Expand Down
2 changes: 1 addition & 1 deletion docs/pages/docs/guides/migrate-from-lerna.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ Say you have a Lerna-powered monorepo setup like so:

To add `turbo`, run the following command in your terminal

import { Tabs, Tab } from '../../../components/Tabs'
import { Tabs, Tab } from "../../../components/Tabs";

<Tabs items={['npm', 'yarn', 'pnpm']} storageKey="selected-pkg-manager">
<Tab>
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/docs/guides/workspaces.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: Use workspaces to organize your turborepo apps and packages.

import Callout from "../../../components/Callout";
import HeartIcon from "@heroicons/react/solid/HeartIcon";
import { Tabs, Tab } from '../../../components/Tabs'
import { Tabs, Tab } from "../../../components/Tabs";

# Getting started with workspaces

Expand Down
2 changes: 1 addition & 1 deletion docs/pages/docs/reference/command-line-reference.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: CLI Reference
description: Turborepo is a high-performance build system for JavaScript and TypeScript codebases.
---

import Callout from '../../../components/Callout'
import Callout from "../../../components/Callout";

# Command-Line Reference

Expand Down