这是indexloc提供的服务,不要输入任何密码
Skip to content
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 docs/site/components/in-version.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { fetchDistTags } from "../app/api/binaries/version/route";
// This is an optimization to avoid fetching the latest version of turbo from npm
// It doesn't strictly need to always be up to date, but it will avoid a network
// request on page loads that use this component.
const STATIC_LATEST_RELEASE = "2.1.3";
const STATIC_LATEST_RELEASE = "2.4.4";

if (!valid(STATIC_LATEST_RELEASE)) {
throw new Error(`Invalid static version "${STATIC_LATEST_RELEASE}"`);
Expand Down
17 changes: 0 additions & 17 deletions docs/site/content/repo-docs/reference/configuration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ description: Learn how to configure Turborepo through `turbo.json`.
---

import { Callout } from '#/components/callout';
import { InVersion } from '#/components/in-version';
import { ExperimentalBadge } from '#/components/experimental-badge';
import Link from 'next/link';

Expand Down Expand Up @@ -519,22 +518,6 @@ Label a `persistent` task as `interruptible` to allow it to be restarted by `tur
that are affected. However, if a task is persistent, it will not be restarted by default.
To enable restarting persistent tasks, set `interruptible` to `true`.

### `with`

A list of tasks that will be ran alongside this task. This is most useful for long-running tasks that you want to ensure always run at the same time.

```json title="./apps/web/turbo.json"
{
"tasks": {
"dev": {
"with": ["api#dev"],
"persistent": true,
"cache": false
}
}
}
```

## Boundaries

The `boundaries` tag allows you to define rules for the [`boundaries` command](/repo/docs/reference/boundaries).
Expand Down
Loading