Skip to content

Commit

Permalink
ci: add renovate config
Browse files Browse the repository at this point in the history
This adds a renovate.json file to the .github directory to configure
Renovate. This will allow Renovate to automatically update dependencies.
And this pull request also remove some useless dependencies in binding.
  • Loading branch information
Brooooooklyn committed Mar 9, 2024
1 parent 0e72dc2 commit f0e3806
Show file tree
Hide file tree
Showing 3 changed files with 61 additions and 824 deletions.
42 changes: 42 additions & 0 deletions .github/renovate.json
@@ -0,0 +1,42 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:recommended", ":disablePeerDependencies"],
"labels": ["dependencies"],
"ignorePaths": [
"**/node_modules/**",
"**/bower_components/**",
"**/vendor/**",
"**/examples/**",
"**/__tests__/**",
"**/test/**",
"**/__fixtures__/**"
],
"packageRules": [
{
"matchPackageNames": ["napi", "napi-build", "napi-derive"],
"rangeStrategy": "replace",
"groupName": "napi-rs"
},
{
"matchPackageNames": ["oxlint"],
"rangeStrategy": "replace",
"groupName": "oxlint"
},
{
"groupName": "all non-major dependencies",
"groupSlug": "all-minor-patch",
"matchPackagePatterns": ["*"],
"excludePackagePatterns": ["oxlint"],
"matchUpdateTypes": ["minor", "patch"]
}
],
"commitMessagePrefix": "chore: ",
"commitMessageAction": "bump up",
"commitMessageTopic": "{{depName}} version",
"ignoreDeps": [],
"postUpdateOptions": ["yarnDedupeHighest"],
"lockFileMaintenance": {
"enabled": true,
"extends": ["schedule:weekly"]
}
}
6 changes: 0 additions & 6 deletions crates/rolldown_binding/package.json
Expand Up @@ -59,15 +59,9 @@
"@napi-rs/cli": "^2.18.0",
"@swc-node/register": "^1.5.4",
"@swc/core": "^1.3.22",
"@typescript-eslint/eslint-plugin": "^5.46.0",
"@typescript-eslint/parser": "^5.46.0",
"ava": "^5.1.0",
"benny": "^3.7.1",
"chalk": "^5.2.0",
"eslint": "^8.29.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.2",
"lint-staged": "^13.1.0",
"npm-run-all": "^4.1.5",
Expand Down

0 comments on commit f0e3806

Please sign in to comment.