Repository navigation
Commit 203f0ca
committed
Move the Gherkin linter pin into package.json
Drops the WP_CLI_TEST_GHERKIN_LINT_VERSION override, which was configuration
nobody asked for, and puts the pinned version somewhere a dependency bot can
see it. A version string inside a shell script is invisible to Dependabot; a
devDependency in package.json is not.
The package.json exists only to hold that pin: it is private, has no scripts,
and nothing runs `npm install` against it. The runner reads the version out of
it and fails loudly if it is missing, rather than quietly falling through to
whatever the latest release happens to be.
Note that picking these updates up needs an npm entry in the dependabot.yml
that wp-cli/.github syncs out.
Refs wp-cli/wp-cli#6161
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VcGmbu6CYzGGhP3jXuWDkJ1 parent 1d6afbc commit 203f0ca
4 files changed
Lines changed: 24 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
132 | | - | |
133 | | - | |
| 132 | + | |
| 133 | + | |
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
143 | | - | |
144 | | - | |
| 143 | + | |
| 144 | + | |
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | | - | |
47 | | - | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
48 | 56 | | |
49 | 57 | | |
50 | 58 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
0 commit comments