From 6625312537d0befdcd1a01f6b4bba8293153e41a Mon Sep 17 00:00:00 2001 From: Ned Zimmerman Date: Fri, 29 Jul 2022 13:38:55 -0300 Subject: [PATCH] chore: add Dependabot configuration --- .github/dependabot.yml | 27 +++++++++++++++++++++++++++ package.json | 10 ++++------ 2 files changed, 31 insertions(+), 6 deletions(-) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..1b3837f --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,27 @@ +version: 2 +updates: + # Maintain dependencies for npm + - package-ecosystem: "npm" + # Look for `package.json` and `package-lock.json` files in the root directory + directory: "/" + # Check for updates weekly + schedule: + interval: "monthly" + allow: + # Allow direct updates only (for packages named in package.json) + - dependency-type: "direct" + # Allow up to 10 open pull requests for npm dependencies + open-pull-requests-limit: 10 + + # Maintain dependencies for Composer + - package-ecosystem: "composer" + # Look for `composer.json` and `composer.lock` files in the root directory + directory: "/" + # Check for updates weekly + schedule: + interval: "monthly" + allow: + # Allow direct updates only (for packages named in composer.json) + - dependency-type: "direct" + # Allow up to 10 open pull requests for composer dependencies + open-pull-requests-limit: 10 diff --git a/package.json b/package.json index 6982c16..bbe3d59 100644 --- a/package.json +++ b/package.json @@ -12,15 +12,14 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/pressbooks/pressbooks-book.git", - "directory": "packages/buckram" + "url": "git+https://github.com/pressbooks/buckram.git" }, "author": "Pressbooks (Book Oven Inc.)", "license": "GPL-3.0-or-later", "bugs": { - "url": "https://github.com/pressbooks/pressbooks-book/issues" + "url": "https://github.com/pressbooks/buckram/issues" }, - "homepage": "https://github.com/pressbooks/pressbooks-book/tree/master/packages/buckram#readme", + "homepage": "https://github.com/pressbooks/buckram#readme", "engines": { "node": ">= 14" }, @@ -43,6 +42,5 @@ "no-descending-specificity": null, "no-duplicate-at-import-rules": null } - }, - "gitHead": "d8f356c924ea88204d555650f7c9a28a66ba2292" + } }