Skip to content

Commit

Permalink
chore: add Dependabot configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
greatislander committed Jul 29, 2022
1 parent 103d5d3 commit 6625312
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 6 deletions.
27 changes: 27 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -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
10 changes: 4 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand All @@ -43,6 +42,5 @@
"no-descending-specificity": null,
"no-duplicate-at-import-rules": null
}
},
"gitHead": "d8f356c924ea88204d555650f7c9a28a66ba2292"
}
}

0 comments on commit 6625312

Please sign in to comment.