Skip to content

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

chore: update renovate config

Myles Scolnickcb4e6fe692e2
diff --git a/.github/renovate.json b/.github/renovate.json
deleted file mode 100644
index 01040e8b1c..0000000000
--- a/.github/renovate.json
+++ /dev/null
@@ -1,68 +0,0 @@
-{
- "$schema": "https://docs.renovatebot.com/renovate-schema.json",
- "extends": ["config:recommended", "schedule:monthly"],
- "labels": ["dependencies"],
- "pin": {
- "enabled": false
- },
- "rangeStrategy": "bump",
- "postUpdateOptions": ["pnpmDedupe"],
- "pre-commit": {
- "enabled": true
- },
- "pep621": {
- "enabled": true
- },
- "packageRules": [
- {
- "matchCategories": ["python"],
- "enabled": true,
- "matchPackageNames": ["/.*sphinx.*/", "/.*ruff.*/"]
- },
- {
- "matchDepTypes": ["peerDependencies", "project.dependencies"],
- "enabled": false
- },
- {
- "groupName": "pre-commit dependencies",
- "matchManagers": ["pre-commit"],
- "description": "Weekly update of pre-commit dependencies"
- },
- {
- "matchPackageNames": ["node"],
- "enabled": false
- },
- {
- "matchUpdateTypes": ["minor", "patch"],
- "groupName": "all non-major dependencies",
- "groupSlug": "all-minor-patch",
- "matchPackageNames": [
- "!/.*eslint.*/",
- "!/.*radix.*/",
- "!/.*storybook.*/",
- "!geopandas",
- "!typescript",
- "!react-resizable-panels",
- "!openapi-fetch"
- ]
- },
- {
- "groupName": "all radix dependencies",
- "groupSlug": "all-radix",
- "matchUpdateTypes": ["patch"],
- "matchPackageNames": ["/.*radix.*/"]
- },
- {
- "groupName": "all storybook dependencies",
- "groupSlug": "all-storybook",
- "matchUpdateTypes": ["minor", "patch", "major"],
- "matchPackageNames": ["/.*storybook.*/"]
- },
- {
- "groupName": "all eslint dependencies",
- "groupSlug": "all-eslint",
- "matchUpdateTypes": ["minor", "patch", "major"],
- "matchPackageNames": ["/.*eslint.*/"]
- }
- ]
-}
diff --git a/.github/renovate.json5 b/.github/renovate.json5
new file mode 100644
index 0000000000..6ecce6c128
--- /dev/null
+++ b/.github/renovate.json5
@@ -0,0 +1,128 @@
+{
+ "$schema": "https://docs.renovatebot.com/renovate-schema.json",
+ "extends": ["config:recommended", "schedule:monthly"],
+ "minReleaseAge": "3 days",
+ "labels": ["dependencies"],
+ "pin": {
+ "enabled": false
+ },
+ "rangeStrategy": "bump",
+ "postUpdateOptions": ["pnpmDedupe"],
+ "pre-commit": {
+ "enabled": true
+ },
+ "pep621": {
+ "enabled": true
+ },
+ "packageRules": [
+ // Only upgrade ruff, mkdocs, pytest
+ {
+ "matchCategories": ["python"],
+ "enabled": true,
+ "matchPackageNames": ["/.*ruff.*/", "/.*mkdocs.*/", "/.*pytest.*/"]
+ },
+ // Don't upgrade npm peerDependencies or python project dependencies
+ {
+ "matchDepTypes": ["peerDependencies", "project.dependencies"],
+ "enabled": false
+ },
+ // Upgrade pre-commit dependencies weekly
+ {
+ "groupName": "pre-commit dependencies",
+ "matchManagers": ["pre-commit"],
+ "description": "Weekly update of pre-commit dependencies"
+ },
+ // Don't upgrade node
+ {
+ "matchPackageNames": ["node"],
+ "enabled": false
+ },
+ // Group all GitHub Actions dependencies
+ {
+ "groupName": "GitHub Actions",
+ "matchManagers": ["github-actions"],
+ "groupSlug": "github-actions",
+ "matchUpdateTypes": ["minor", "patch", "major"]
+ },
+ // Group all Docker dependencies
+ {
+ "groupName": "Docker updates",
+ "matchDatasources": ["docker"],
+ "groupSlug": "docker",
+ "matchUpdateTypes": ["minor", "patch", "major"]
+ },
+ // Upgrade all npm non-major dependencies
+ {
+ "matchManagers": ["npm"],
+ "matchUpdateTypes": ["minor", "patch"],
+ "groupName": "all npm non-major dependencies",
+ "groupSlug": "all-npm-minor-patch",
+ "matchPackageNames": [
+ "!/.*eslint.*/",
+ "!/.*radix.*/",
+ "!/.*storybook.*/",
+ "!/.*geopandas.*/",
+ "!/.*typescript.*/",
+ "!/.*openapi-fetch.*/",
+ "!/.*react-aria.*/"
+ ],
+ "schedule": ["on the 1st day of the month"]
+ },
+ // Group all CodeMirror dependencies
+ {
+ "groupName": "codemirror dependencies",
+ "matchPackagePatterns": ["^@codemirror/", "^@lezer/", "^@uiw/codemirror-", "codemirror-"],
+ "groupSlug": "codemirror",
+ "matchUpdateTypes": ["minor", "patch", "major"],
+ "schedule": ["on the 7th day of the month"]
+ },
+ // Group React Aria dependencies
+ {
+ "groupName": "react-aria dependencies",
+ "matchPackagePatterns": ["^@react-aria/", "^react-aria-"],
+ "groupSlug": "react-aria",
+ "matchUpdateTypes": ["minor", "patch", "major"],
+ "schedule": ["on the 14th day of the month"]
+ },
+ // Group testing dependencies
+ {
+ "groupName": "testing dependencies",
+ "matchPackagePatterns": ["^@testing-library/", "^@playwright/", "vitest"],
+ "groupSlug": "testing",
+ "matchDepTypes": ["devDependencies"],
+ "schedule": ["on the 21st day of the month"]
+ },
+ // Group build tools
+ {
+ "groupName": "build tools",
+ "matchPackageNames": ["vite", "typescript", "postcss", "tailwindcss", "autoprefixer"],
+ "matchDepTypes": ["devDependencies"],
+ "matchUpdateTypes": ["minor", "patch"],
+ "schedule": ["on the 23rd day of the month"]
+ },
+ // Group all radix dependencies
+ {
+ "groupName": "all radix dependencies",
+ "groupSlug": "all-radix",
+ "matchUpdateTypes": ["patch", "minor", "major"],
+ "matchPackageNames": ["/.*radix.*/"],
+ "schedule": ["on the 25th day of the month"]
+ },
+ // Group all storybook dependencies
+ {
+ "groupName": "all storybook dependencies",
+ "groupSlug": "all-storybook",
+ "matchUpdateTypes": ["minor", "patch", "major"],
+ "matchPackageNames": ["/.*storybook.*/"],
+ "schedule": ["on the 27th day of the month"]
+ },
+ // Group all eslint dependencies
+ {
+ "groupName": "all eslint dependencies",
+ "groupSlug": "all-eslint",
+ "matchUpdateTypes": ["minor", "patch", "major"],
+ "matchPackageNames": ["/.*eslint.*/"],
+ "schedule": ["on the 28th day of the month"]
+ }
+ ]
+}