Skip to content

Commit d13c9c7

Browse files
chore: sync dependabot config
1 parent 5117631 commit d13c9c7

1 file changed

Lines changed: 73 additions & 0 deletions

File tree

.github/dependabot.yml

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
# PM4 package: Laravel is provided by the host app; composer.json is only for this package's own PHP code/deps.
2+
# JS build: Vue 2 + Laravel Mix (manifest: package.json). Built assets under public/js/ are not scanned by Dependabot.
3+
#
4+
# Policy: NO routine version-update PRs (open-pull-requests-limit: 0).
5+
# Security/CVE PRs are handled by Dependabot security updates (org Settings → Code security).
6+
# Security PRs are batched into one PR per ecosystem (patch/minor).
7+
# Major security PRs will still open if no patch/minor fix exists — treat as manual review.
8+
#
9+
# Vue 2 pin: security fixes requiring Vue 3+ will be suppressed — accepted risk,
10+
# migration not planned. Same applies to vue-loader, vue-template-compiler, @vue/cli.
11+
#
12+
# Webpack pin: develop lockfile pins 5.91.0; Dependabot security PRs may bump to 5.107+.
13+
# 5.106.0 is the last release that still ships SizeFormatHelpers (Laravel Mix compat).
14+
# Block webpack >= 5.107 so batched security PRs keep other bumps without breaking the build.
15+
#
16+
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
17+
version: 2
18+
updates:
19+
- package-ecosystem: npm
20+
directory: /
21+
schedule:
22+
interval: weekly
23+
day: monday
24+
open-pull-requests-limit: 0
25+
ignore:
26+
# If you ever raise `open-pull-requests-limit`, this skips routine major bumps.
27+
# Note: update-types has no effect on security updates.
28+
- dependency-name: "*"
29+
update-types: ["version-update:semver-major"]
30+
- dependency-name: "vue"
31+
versions: [">=3.0.0"] # stay on Vue 2.x — suppresses security PRs requiring v3+ too
32+
- dependency-name: "@vue/cli*"
33+
versions: [">=5.0.0"] # CLI v5+ is Vue 3 era
34+
- dependency-name: "vue-loader"
35+
versions: [">=17.0.0"] # vue-loader v17+ drops Vue 2 support
36+
- dependency-name: "vue-template-compiler"
37+
versions: [">=3.0.0"] # must stay in sync with Vue 2.x
38+
- dependency-name: "webpack"
39+
versions: [">=5.107.0"] # 5.106.0 last with SizeFormatHelpers; block 5.107+ security bumps
40+
groups:
41+
npm-security:
42+
applies-to: security-updates # batches all JS security PRs into one
43+
patterns: # note: update-types has no effect here for security
44+
- "*"
45+
ignore:
46+
- dependency-name: "vue"
47+
versions: [">=3.0.0"] # stay on Vue 2.x — suppresses security PRs requiring v3+ too
48+
- dependency-name: "@vue/cli*"
49+
versions: [">=5.0.0"] # CLI v5+ is Vue 3 era
50+
- dependency-name: "vue-loader"
51+
versions: [">=17.0.0"] # vue-loader v17+ drops Vue 2 support
52+
- dependency-name: "vue-template-compiler"
53+
versions: [">=3.0.0"] # must stay in sync with Vue 2.x
54+
- dependency-name: "webpack"
55+
versions: [">=5.107.0"] # 5.106.0 last with SizeFormatHelpers; block 5.107+ security bumps
56+
57+
- package-ecosystem: composer
58+
directory: /
59+
schedule:
60+
interval: weekly
61+
day: monday
62+
open-pull-requests-limit: 0
63+
ignore:
64+
# If you ever raise `open-pull-requests-limit`, this skips routine major bumps.
65+
# Note: update-types has no effect on security updates.
66+
- dependency-name: "*"
67+
update-types: ["version-update:semver-major"]
68+
groups:
69+
composer-security:
70+
applies-to: security-updates # batches all PHP security PRs into one
71+
patterns:
72+
- "*"
73+

0 commit comments

Comments
 (0)