Skip to content

Commit bd46a1c

Browse files
authored
Removed @vitest/utils patch that broke the production build (TryGhost#28011)
no ref TryGhost#28009 shipped a `pnpm patch` of `@vitest/utils`. The production Docker build runs `pnpm install --prod`, which fails with `ENOENT: no such file or directory, open '/patches/@vitest__utils@4.1.5.patch'` — the `patches/` directory isn't part of the Docker build context, so `package.json`'s `patchedDependencies` reference points at a file that isn't there.
1 parent afd8b4e commit bd46a1c

3 files changed

Lines changed: 9 additions & 38 deletions

File tree

package.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -144,10 +144,7 @@
144144
"sharp",
145145
"sqlite3",
146146
"ssh2"
147-
],
148-
"patchedDependencies": {
149-
"@vitest/utils@4.1.5": "patches/@vitest__utils@4.1.5.patch"
150-
}
147+
]
151148
},
152149
"devDependencies": {
153150
"@playwright/test": "catalog:",

patches/@vitest__utils@4.1.5.patch

Lines changed: 0 additions & 21 deletions
This file was deleted.

pnpm-lock.yaml

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

0 commit comments

Comments
 (0)