diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000000..31442bbfad9 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,79 @@ +# To get started with Dependabot version updates, you'll need to specify which +# package ecosystems to update and where the package manifests are located. +# Please see the documentation for all configuration options: +# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file + +version: 2 +updates: + - package-ecosystem: 'npm' + directory: '/' + open-pull-requests-limit: 1 + schedule: + interval: 'daily' + groups: + graphiql: + patterns: + - 'graphiql' + - '@graphiql/*' + yoga: + patterns: + - 'envelop' + - 'graphql-yoga' + - '@envelop/*' + - '@graphql-yoga/*' + graphql_armor: + patterns: + - '@escape.tech/graphql-armor-*' + radix: + patterns: + - '@radix-ui/*' + - '@radix/*' + stripe: + patterns: + - '@stripe/' + - 'stripe' + urql: + patterns: + - '@urql/' + - 'urql' + sentry: + patterns: + - '@sentry/' + - 'sentry' + trpc: + patterns: + - '@trpc/' + - 'trpc' + supertokens: + patterns: + - 'supertokens' + - '@supertokens/*' + - 'supertokens-*' + graphql-codegen: + patterns: + - '@graphql-codegen/*' + the-guild: + patterns: + - '@theguild/*' + changesets: + patterns: + - '@changesets/*' + graphql-inspector: + patterns: + - '@graphql-inspector/*' + - package-ecosystem: 'docker' + directory: '/docker' + schedule: + interval: 'daily' + - package-ecosystem: 'cargo' + directory: '/' + schedule: + interval: 'daily' + - package-ecosystem: 'github-actions' + directory: '/' + schedule: + interval: 'daily' + - package-ecosystem: 'rust-toolchain' + directory: '/' + schedule: + interval: 'daily' diff --git a/renovate.json b/renovate.json deleted file mode 100644 index 84cbde1bc53..00000000000 --- a/renovate.json +++ /dev/null @@ -1,88 +0,0 @@ -{ - "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "extends": ["github>the-guild-org/shared-config:renovate", ":preserveSemverRanges"], - "prConcurrentLimit": 10, - "dependencyDashboardTitle": "Dependencies Dashboard", - "packageRules": [ - { - "matchPackageNames": ["slonik", "slonik-utilities"], - "enabled": false - }, - { - "groupName": "graphiql", - "matchPackageNames": ["@graphiql/react", "@graphiql/toolkit", "graphiql"] - }, - { - "groupName": "gh-actions/artifact", - "matchPackageNames": ["actions/download-artifact", "actions/upload-artifact"] - }, - { - "groupName": "graphql-armor", - "matchPackageNames": ["@escape.tech/graphql-armor-{/,}**"] - }, - { - "groupName": "Yoga/Envelop", - "matchPackageNames": ["@envelop/{/,}**", "graphql-yoga{/,}**", "@graphql-yoga/{/,}**"] - }, - { - "groupName": "radix", - "recreateWhen": "auto", - "matchPackageNames": ["@radix/{/,}**", "@radix-ui{/,}**"] - }, - { - "groupName": "stripe", - "matchPackageNames": ["@stripe/{/,}**", "stripe{/,}**"] - }, - { - "groupName": "urql", - "recreateWhen": "auto", - "matchPackageNames": ["@urql/{/,}**", "urql{/,}**"] - }, - { - "groupName": "sentry", - "matchPackageNames": ["@sentry/{/,}**", "sentry{/,}**"] - }, - { - "groupName": "trpc", - "matchPackageNames": ["@trpc/{/,}**", "trpc{/,}**"] - }, - { - "groupName": "supertokens", - "matchPackageNames": [ - "supertokens", - "supertokens-node", - "supertokens-react", - "supertokens-auth-react", - "registry.supertokens.io/supertokens/supertokens-postgresql" - ] - }, - { - "groupName": "apollo-router", - "matchSourceUrls": ["(^|/)Cargo\\.toml$"], - "packageFile": "Cargo.toml", - "rangeStrategy": "pin", - "prPriority": 7 - } - ], - "dockerfile": { - "enabled": true, - "fileMatch": [".*?\\.[dD]ockerfile"] - }, - "customManagers": [ - { - "customType": "regex", - "fileMatch": ["deployment/.*?\\.ts$"], - "matchStrings": ["image: (?:'|\")(?.*?):(?.*?)(?:'|\")"], - "datasourceTemplate": "docker", - "versioningTemplate": "docker" - }, - { - "customType": "regex", - "fileMatch": ["deployment/.*?\\.ts$"], - "matchStrings": [ - "helmChart\\((?:'|\")(?.*?)(?:'|\"), (?:'|\")(?.*?)(?:'|\"), (?:'|\")(?.*?)(?:'|\")\\)" - ], - "datasourceTemplate": "helm" - } - ] -}