-
-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(groups): manage intersecting range versions
- Loading branch information
1 parent
f7c87a8
commit 96d6c6d
Showing
34 changed files
with
1,128 additions
and
1,411 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
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,67 @@ | ||
--- | ||
id: banned | ||
title: Banned | ||
--- | ||
|
||
import Pills from '@site/src/components/pill'; | ||
import Packages from '@site/src/partials/version-group-config/packages.mdx'; | ||
import Dependencies from '@site/src/partials/version-group-config/dependencies.mdx'; | ||
import DependencyTypes from '@site/src/partials/version-group-config/dependency-types.mdx'; | ||
import Label from '@site/src/partials/version-group-config/label.mdx'; | ||
|
||
# Banned | ||
|
||
Remove dependencies which you've decided should never be used. | ||
|
||
:::info | ||
|
||
- One of the possible values for the [`versionGroups`](../version-groups.mdx) | ||
configuration array. | ||
- Learn more in our [guide to Version Groups](../../guide/version-groups.mdx). | ||
|
||
::: | ||
|
||
## `isBanned` boolean | ||
|
||
<Pills required /> | ||
|
||
```json title="Completely ban a dependency from being used anywhere" | ||
{ | ||
"versionGroups": [ | ||
{ | ||
"packages": ["**"], | ||
"dependencies": ["never-gonna"], | ||
"isBanned": true | ||
} | ||
] | ||
} | ||
``` | ||
|
||
```json title="Ban a dependency from being used in production" | ||
{ | ||
"versionGroups": [ | ||
{ | ||
"packages": ["my-fast-ui"], | ||
"dependencies": ["huge-filesize-party"], | ||
"dependencyTypes": ["prod"], | ||
"isBanned": true | ||
} | ||
] | ||
} | ||
``` | ||
|
||
## `packages` string[] | ||
|
||
<Packages /> | ||
|
||
## `dependencies` string[] | ||
|
||
<Dependencies /> | ||
|
||
## `dependencyTypes` string[] | ||
|
||
<DependencyTypes /> | ||
|
||
## `label` string | ||
|
||
<Label /> |
Oops, something went wrong.