Skip to content

Commit

Permalink
Turn on Dependabot for NPM (#71)
Browse files Browse the repository at this point in the history
I think I hadn't configured this previously because of interest in publishing this as a library on NPM (#42), but to be honest I don't recall exactly. In any case, I realized today I could create separate update configuration for dev and production dependencies, which solves any issues I think I would have been concerned about. (There are no production dependencies right now, but I'll have to shift hast/unified/etc. to production to publish on NPM, at which point the separate configs will matter.)
  • Loading branch information
Mr0grog committed Jun 21, 2023
1 parent 9847b03 commit 97bed4f
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,19 @@ updates:
directory: "/"
schedule:
interval: "weekly"

- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "weekly"
day: "tuesday"
allow:
- dependency-type: "development"

- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "monthly"
allow:
- dependency-type: "production"
versioning-strategy: widen

0 comments on commit 97bed4f

Please sign in to comment.