Skip to content

Commit cd7c191

Browse files
committed
Update docs
1 parent 641335d commit cd7c191

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

docs/site/content/repo-docs/reference/boundaries.mdx

+16
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,22 @@ Likewise, you can add restrictions for a tag's dependents, i.e. packages that im
8383
}
8484
```
8585

86+
Package names can also be used in place of a tag in allow and deny lists.
87+
88+
```json title="turbo.json"
89+
{
90+
"boundaries": {
91+
"tags": {
92+
"private": {
93+
"dependents": {
94+
"deny": ["@repo/my-pkg"]
95+
}
96+
}
97+
}
98+
}
99+
}
100+
```
101+
86102
Tags allow you to ensure that the wrong package isn't getting imported somewhere in your graph. These rules are
87103
applied even for dependencies of dependencies, so if you import a package that in turn imports another package
88104
with a denied tag, you will still get a rule violation.

0 commit comments

Comments
 (0)