Commit 072e73b 1 parent dfbc7e1 commit 072e73b Copy full SHA for 072e73b
File tree 3 files changed +38
-0
lines changed
3 files changed +38
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ title : boundaries
3
+ description : API reference for the `turbo boundaries` command
4
+ ---
5
+
6
+ import { ExperimentalBadge } from ' #/components/experimental-badge' ;
7
+ import { Callout } from ' #/components/callout' ;
8
+
9
+ <ExperimentalBadge >Experimental</ExperimentalBadge >
10
+
11
+ Boundaries ensure that Turborepo features work correctly by checking for package manager Workspace violations.
12
+
13
+ ``` bash title="Terminal"
14
+ turbo boundaries
15
+ ```
16
+
17
+ This command will notify for two types of violations:
18
+
19
+ - Importing a file outside of the package's directory
20
+ - Importing a package that is not specified as a dependency in the package's ` package.json `
21
+
22
+ <Callout title = " Boundaries RFC" >
23
+ This feature is experimental, and we're looking for your feedback on [ the
24
+ Boundaries RFC] ( https://github.com/vercel/turborepo/discussions/9435 ) .
25
+ Additionally, please provide your use cases for user-defined Boundaries to
26
+ help inform the next iteration of our design.
27
+ </Callout >
Original file line number Diff line number Diff line change @@ -45,11 +45,21 @@ Turborepo's API reference is broken up into the following sections:
45
45
description = " Run tasks using `turbo`."
46
46
/>
47
47
48
+ <Card
49
+ title = " watch"
50
+ href = " /repo/docs/reference/watch"
51
+ description = " Dependency-aware, single-process task watcher."
52
+ />
48
53
<Card
49
54
title = " prune"
50
55
href = " /repo/docs/reference/prune"
51
56
description = " Create partial monorepos for target workspaces."
52
57
/>
58
+ <Card
59
+ title = " boundaries"
60
+ href = " /repo/docs/reference/boundaries"
61
+ description = " Enforce best practices in your monorepo."
62
+ />
53
63
<Card
54
64
title = " ls"
55
65
href = " /repo/docs/reference/ls"
Original file line number Diff line number Diff line change 11
11
" run" ,
12
12
" watch" ,
13
13
" prune" ,
14
+ " boundaries" ,
14
15
" ls" ,
15
16
" query" ,
16
17
" generate" ,
You can’t perform that action at this time.
0 commit comments