-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dd39a06
commit c6b0bf8
Showing
3 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- | ||
title: boundaries | ||
description: API reference for the `turbo boundaries` command | ||
--- | ||
|
||
import { ExperimentalBadge } from '#/components/experimental-badge'; | ||
import { Callout } from '#/components/callout'; | ||
|
||
<ExperimentalBadge>Experimental</ExperimentalBadge> | ||
|
||
Boundaries ensure that caching and other Turborepo features work correctly by checking for package manager Workspace violations. | ||
|
||
```bash title="Terminal" | ||
turbo boundaries | ||
``` | ||
|
||
This command will notify for three types of violations: | ||
|
||
- Importing a file outside of the package's directory | ||
- Importing a type without declaring the import as a type | ||
- Importing a package that is not specified in dependencies | ||
|
||
<Callout title="Boundaries RFC"> | ||
This feature is experimental, and we're looking for your feedback on [the | ||
Boundaries RFC](https://github.com/vercel/turborepo/discussions/9435). | ||
Additionally, please provide your use cases for user-defined Boundaries to | ||
help inform the next iteration of our design. | ||
</Callout> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,7 @@ | |
"run", | ||
"watch", | ||
"prune", | ||
"boundaries", | ||
"ls", | ||
"query", | ||
"generate", | ||
|