Skip to content

Commit 737c29a

Browse files
committed
Turn on Dependabot for NPM
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.)
1 parent 9847b03 commit 737c29a

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/dependabot.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,19 @@ updates:
44
directory: "/"
55
schedule:
66
interval: "weekly"
7+
8+
- package-ecosystem: "npm"
9+
directory: "/"
10+
schedule:
11+
interval: "weekly"
12+
day: "tuesday"
13+
allow:
14+
- dependency-type: "development"
15+
16+
- package-ecosystem: "npm"
17+
directory: "/"
18+
schedule:
19+
interval: "monthly"
20+
allow:
21+
- dependency-type: "production"
22+
versioning-strategy: widen

0 commit comments

Comments
 (0)