-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(docs): added more details on inject command
- Loading branch information
Showing
5 changed files
with
79 additions
and
26 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
@@ -1,14 +1,23 @@ | ||
# Preset: renovatebot | ||
|
||
## Manual steps after inject | ||
## Usage | ||
|
||
After injection, Renovate bot must be enabled for the repo on Github. | ||
### Inject into existing package | ||
`npx @sanity/plugin-kit inject --preset-only --preset renovatebot` | ||
|
||
This can be done by adding the repo to Github Renovatebot app allow-list. | ||
### Use to init plugin | ||
`npx @sanity/plugin-kit init --preset renovatebot <new-plugin-name>` | ||
|
||
## What does it do? | ||
|
||
Sets up the repo | ||
|
||
- Adds Sanity dependabot preset dependency. | ||
- Adds `renovate.json` to configure the above dependency for Renovatebot | ||
|
||
## Manual steps after inject | ||
|
||
After injection, Renovate bot must be enabled for the repo on Github. | ||
|
||
This can be done by adding the repo to Github Renovatebot app allow-list. | ||
|
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