Skip to content

Commit

Permalink
Merge pull request #60 from pressbooks/composer-update
Browse files Browse the repository at this point in the history
Update composer, add dependabot.yml
  • Loading branch information
cmurtagh authored Apr 14, 2022
2 parents d0cc9c8 + 19544d9 commit 0c4639b
Show file tree
Hide file tree
Showing 5 changed files with 62 additions and 205 deletions.
14 changes: 14 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
version: 2
updates:
# 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: "weekly"
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
2 changes: 1 addition & 1 deletion .github/workflows/.pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [ '14' ]
node: [ '16' ]

name: Node ${{ matrix.node }}
steps:
Expand Down
3 changes: 1 addition & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@
"This theme is named after American-Canadian activist, journalist, and author Jane Jacobs, who is responsible for the New Urbanism movement in urban studies. It is designed for academic writing, particularly textbooks, but is also suitable for fiction. Headings and body type are set in Montserrat.",
"type": "wordpress-theme",
"require": {
"composer/installers": "~1.3"
"composer/installers": "^2"
},
"require-dev": {
"humanmade/coding-standards": "^0.2.1"
},
"archive": {
"exclude": [".github"]
Expand Down
246 changes: 45 additions & 201 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"author": "Pressbooks (Book Oven Inc.)",
"license": "GPL-3.0-or-later",
"engines": {
"node": ">= 6.9.4"
"node": ">= 16"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 0c4639b

Please sign in to comment.