Replace Sharp image backend with Photon (#86437)

* refactor: replace sharp image backend with photon

* refactor: remove whatsapp jimp dependency

* chore: remove stale sharp install workarounds

* test: keep image fixtures off photon

* test: use valid prompt image fixtures

* test: account for optimized PNG fixtures

* test: use valid minimax image fixtures
This commit is contained in:
Peter Steinberger
2026-05-25 15:04:44 +01:00
committed by GitHub
parent 32ddfc22f5
commit b9f975b64e
48 changed files with 1424 additions and 3000 deletions

View File

@@ -199,7 +199,7 @@ describe("install-cli.sh", () => {
expect(result.stdout).toContain("branch=--no-frozen-lockfile");
expect(result.stdout).toContain("tag=--frozen-lockfile");
expect(script).toContain(
'CI="${CI:-true}" SHARP_IGNORE_GLOBAL_LIBVIPS="$SHARP_IGNORE_GLOBAL_LIBVIPS" run_pnpm -C "$repo_dir" install "$install_lockfile_flag"',
'CI="${CI:-true}" run_pnpm -C "$repo_dir" install "$install_lockfile_flag"',
);
});