-
Notifications
You must be signed in to change notification settings - Fork 0
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
0 parents
commit 6f0c374
Showing
7 changed files
with
5,588 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,26 @@ | ||
name: CI | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- run: corepack enable | ||
- uses: actions/setup-node@v3 | ||
with: | ||
cache: "pnpm" | ||
|
||
- name: 📦 Install dependencies | ||
run: pnpm install | ||
|
||
- name: 🧪 Test project | ||
run: pnpm test |
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,8 @@ | ||
*.iml | ||
*.log | ||
|
||
.idea | ||
.vscode | ||
|
||
.DS_Store | ||
node_modules |
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,30 @@ | ||
# @RightCapitalHQ/renovate-config | ||
|
||
[![build status][ci-image]][ci-url] [![License]][license] | ||
|
||
A [shareable config preset](https://docs.renovatebot.com/config-presets/) for Renovate used in [RightCapital](https://www.rightcapital.com/). | ||
|
||
## Usage | ||
|
||
Enable Renovate in your repository and just `extends` in *renovate.json*. | ||
|
||
```json | ||
{ | ||
"extends": [ | ||
"github>RightCapitalHQ/renovate-config" | ||
] | ||
} | ||
``` | ||
> [!NOTE] | ||
> You don't have to do `npm i -D @RightCapitalHQ/renovate-config`. Renovate fetches it from this GitHub repo automatically. | ||
## References | ||
|
||
- [Renovate Docs](https://docs.renovatebot.com/) | ||
- [Configuration Options \| Renovate Docs](https://docs.renovatebot.com/configuration-options/) | ||
- [Default Presets \| Renovate Docs](https://docs.renovatebot.com/presets-default/) | ||
- [Other shareable configs in GitHub](https://github.com/search?o=desc&q=%22renovate-config%22&s=stars&type=Repositories&utf8=%E2%9C%93) | ||
|
||
## License | ||
|
||
[MIT License](https://opensource.org/licenses/MIT) |
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,32 @@ | ||
{ | ||
"automergeType": "pr", | ||
"description": "Default config for RightCapital repositories", | ||
"extends": [ | ||
"config:base", | ||
":pinAllExceptPeerDependencies" | ||
], | ||
"labels": [ | ||
"renovate" | ||
], | ||
"npm": { | ||
"commitMessageTopic": "{{prettyDepType}} {{depName}}" | ||
}, | ||
"packageRules": [ | ||
{ | ||
"description": "Automerge non-major updates", | ||
"groupName": "Non-major Updates", | ||
"groupSlug": "auto-merge-non-major-updates", | ||
"matchUpdateTypes": ["minor", "patch", "lockFileMaintenance"], | ||
"automerge": true | ||
} | ||
], | ||
"platformAutomerge": true, | ||
"postUpdateOptions": [ | ||
"npmDedupe", | ||
"pnpmDedupe", | ||
"yarnDedupeFewer" | ||
], | ||
"prCreation": "immediate", | ||
"rangeStrategy": "auto" | ||
} | ||
|
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,29 @@ | ||
{ | ||
"name": "@rightcapitalhq/renovate-config", | ||
"version": "0.0.1", | ||
"description": "A shareable config preset for Renovate used in RightCapital", | ||
"keywords": [ | ||
"npm", | ||
"pnpm", | ||
"renovate", | ||
"renovate-presets" | ||
], | ||
"license": "MIT", | ||
"homepage": "https://github.com/RightCapitalHQ/renovate-config", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/RightCapitalHQ/renovate-config.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/RightCapitalHQ/renovate-config/issues" | ||
}, | ||
"scripts": { | ||
"validate": "renovate-config-validator default.json", | ||
"test": "pnpm run validate", | ||
"prepare": "pnpm run test" | ||
}, | ||
"devDependencies": { | ||
"renovate": "latest" | ||
}, | ||
"packageManager": "pnpm@8.6.12" | ||
} |
Oops, something went wrong.