Skip to content

Commit

Permalink
Configure Renovate (#690)
Browse files Browse the repository at this point in the history
* Add renovate.json

* config updates

* add beachball ignores

* Change files

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Elizabeth Craig <[email protected]>
  • Loading branch information
renovate[bot] and ecraig12345 authored Aug 6, 2022
1 parent 8d96c5f commit ad533bf
Show file tree
Hide file tree
Showing 6 changed files with 40 additions and 8 deletions.
7 changes: 0 additions & 7 deletions .prettierrc

This file was deleted.

16 changes: 16 additions & 0 deletions .prettierrc.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"trailingComma": "es5",
"tabWidth": 2,
"singleQuote": true,
"printWidth": 120,
"arrowParens": "avoid",
"overrides": [
{
// format .json5 files as jsonc for VS Code support
"files": ["*.json5"],
"options": {
"parser": "json"
}
}
]
}
6 changes: 6 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,11 @@
"search.exclude": {
"**/node_modules": true,
"**/lib": true
},
"files.associations": {
// VS Code doesn't have json5 support, so handle .json5 files as jsonc.
// Note that Prettier must also be configured to format *.json5 as jsonc
// (since json5 allows things like unquoted keys that jsonc doesn't).
"*.json5": "jsonc"
}
}
3 changes: 2 additions & 1 deletion beachball.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@ module.exports = {
ignorePatterns: [
'.*ignore',
'.github/**',
'.prettierrc',
'.prettierrc.json5',
'.vscode/**',
'docs/**',
'jest.*.js',
'renovate.json5',
'src/__e2e__/**',
'src/__tests__/**',
'src/fixtures/**',
Expand Down
7 changes: 7 additions & 0 deletions change/beachball-a7c5fc58-9710-4dee-8e31-5ebf13294b2f.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "none",
"comment": "Configure Renovate",
"packageName": "beachball",
"email": "[email protected]",
"dependentChangeType": "none"
}
9 changes: 9 additions & 0 deletions renovate.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"github>ecraig12345/renovate-config:beachballLibraryRecommended",
"github>ecraig12345/renovate-config:groupJest",
"github>ecraig12345/renovate-config:keepFresh"
],
"labels": ["renovate"]
}

0 comments on commit ad533bf

Please sign in to comment.