diff --git a/package.json b/package.json index d3ff0662e..7bf289568 100644 --- a/package.json +++ b/package.json @@ -2,6 +2,9 @@ "name": "firebase-tools-ui", "version": "0.1.0", "private": true, + "engines": { + "node": ">= 8.0.0" + }, "dependencies": { "@rmwc/button": "^5.7.2", "@rmwc/card": "^5.7.2", diff --git a/renovate.json5 b/renovate.json5 new file mode 100644 index 000000000..332e94ff2 --- /dev/null +++ b/renovate.json5 @@ -0,0 +1,37 @@ +// This file configures the Renovate bot on GitHub. See: +// https://docs.renovatebot.com/configuration-options/ +// This is a JSON5 (json5.org) file which supports comments and unquoted keys. +{ + extends: [ + "config:base", + ":preserveSemverRanges", + ], + packageRules: [ + { + // Do not upgrade Node.js versions ("engine" field in package.json). + packageNames: ["node"], + enabled: false, + }, + + // BEGIN version constraints for Node.js 8 support. + // TODO: Remove these once Renovate learns to ignore incompatible versions. + // https://github.com/renovatebot/renovate/issues/4826 + { + packageNames: ["@testing-library/react"], + allowedVersions: '<10', + }, + { + packageNames: ["husky"], + allowedVersions: '<4', + }, + { + packageNames: ["lint-staged"], + allowedVersions: '<10', + }, + { + packageNames: ["prettier"], + allowedVersions: '<2', + }, + // END version constraints for Node.js 8 support. + ], +}