Skip to content

Commit 4cf8bf3

Browse files
authored
build(e2e): commit package-lock.json for the Playwright suite (#9199)
`e2e/` has been a Dependabot `npm` directory since #9089 but ships only a `package.json` with a caret range. Without a lockfile every install resolves whatever Playwright release is current, and Dependabot has to guess the "from" version (#9098 was titled "1.63.0 -> 1.62.1" while it actually raised the range from ^1.58.2). - Add `e2e/package-lock.json` (lockfileVersion 3, public npm registry), resolving `@playwright/test` ^1.63.0 to 1.63.0. `package.json` is the npm-init scaffold and declares no `packageManager`, so npm is the natural tool; `**/*.json` is already excluded in `.licenserc.yaml`. - Update the `/e2e` comment in `.github/dependabot.yml`: the directory now has a lockfile. `versioning-strategy: increase` stays, so the declared range and the locked version move together. Signed-off-by: DoDiODev <DoDiDev@proton.me>
1 parent 9b71603 commit 4cf8bf3

2 files changed

Lines changed: 61 additions & 2 deletions

File tree

‎.github/dependabot.yml‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,9 @@ updates:
102102
open-pull-requests-limit: 5
103103
commit-message:
104104
prefix: build(deps)
105-
# This directory has no lockfile. Without `increase`, Dependabot would stay
106-
# silent as long as a new release still satisfies the declared caret range.
105+
# Raise the caret range in package.json together with package-lock.json so
106+
# the declared minimum always matches the locked version. The default
107+
# `auto` may classify this non-private package as a library and only widen.
107108
versioning-strategy: increase
108109
groups:
109110
e2e-minor-patch:

‎e2e/package-lock.json‎

Lines changed: 58 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)