Skip to content

Commit

Permalink
chore(release): 0.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
liby committed Aug 9, 2023
0 parents commit 6f0c374
Show file tree
Hide file tree
Showing 7 changed files with 5,588 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/ci.yml
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
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
*.iml
*.log

.idea
.vscode

.DS_Store
node_modules
30 changes: 30 additions & 0 deletions README.md
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)
32 changes: 32 additions & 0 deletions default.json
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"
}

29 changes: 29 additions & 0 deletions package.json
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"
}
Loading

0 comments on commit 6f0c374

Please sign in to comment.