From d5db6edde18c35285c28416a01fa29c221fad4a0 Mon Sep 17 00:00:00 2001 From: Aryan Date: Thu, 27 Aug 2026 14:32:24 +0530 Subject: [PATCH] fix(web): add the pinned prettier deps to web/app's lockfile 64db30c791 added prettier and prettier-plugin-tailwindcss to web/app/package.json without regenerating web/app/bun.lock, so `bun install --frozen-lockfile` fails on main: error: lockfile had changes, but lockfile is frozen note: try re-running without --frozen-lockfile and commit the updated lockfile web/app/test.sh installs with a frozen lockfile, so the web-app-checks manifest entry fails for every PR that touches web/app/src/** -- it surfaced on #12262, whose only web change is a regenerated omiApi.generated.ts client. Other open PRs are green because none of them trip the trigger paths. Reproduces on a pristine checkout of main with no branch involved: mkdir -p /tmp/mainweb git archive origin/main web/app | tar -x -C /tmp/mainweb cd /tmp/mainweb/web/app && bun install --frozen-lockfile web/admin took the same package.json edit in that commit but its lockfile already resolves, so this is scoped to web/app. Regenerated with a plain `bun install`. The diff is the two declared deps and their resolution entries, six lines, no transitive drift: + "prettier": "^2.8.8", + "prettier-plugin-tailwindcss": "^0.3.0", + "prettier": ["prettier@2.8.8", ...] + "prettier-plugin-tailwindcss": ["prettier-plugin-tailwindcss@0.3.0", ...] Verified: `bun install --frozen-lockfile` succeeds against a cleared node_modules, and `bash web/app/test.sh` passes 66 files / 394 tests. Failure-Class: none --- web/app/bun.lock | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/web/app/bun.lock b/web/app/bun.lock index 30d2f6e3c0b..0bc1aee3ba9 100644 --- a/web/app/bun.lock +++ b/web/app/bun.lock @@ -64,6 +64,8 @@ "eslint": "^9", "jsdom": "^29.1.1", "postcss": "~8.5.18", + "prettier": "^2.8.8", + "prettier-plugin-tailwindcss": "^0.3.0", "tailwindcss": "^3.4.1", "tailwindcss-animate": "^1.0.7", "typescript": "^5.7", @@ -1253,6 +1255,10 @@ "prelude-ls": ["prelude-ls@1.2.1", "", {}, "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g=="], + "prettier": ["prettier@2.8.8", "", { "bin": { "prettier": "bin-prettier.js" } }, "sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q=="], + + "prettier-plugin-tailwindcss": ["prettier-plugin-tailwindcss@0.3.0", "", { "peerDependencies": { "@ianvs/prettier-plugin-sort-imports": "*", "@prettier/plugin-pug": "*", "@shopify/prettier-plugin-liquid": "*", "@shufo/prettier-plugin-blade": "*", "@trivago/prettier-plugin-sort-imports": "*", "prettier": ">=2.2.0", "prettier-plugin-astro": "*", "prettier-plugin-css-order": "*", "prettier-plugin-import-sort": "*", "prettier-plugin-jsdoc": "*", "prettier-plugin-marko": "*", "prettier-plugin-organize-attributes": "*", "prettier-plugin-organize-imports": "*", "prettier-plugin-style-order": "*", "prettier-plugin-svelte": "*", "prettier-plugin-twig-melody": "*" }, "optionalPeers": ["@ianvs/prettier-plugin-sort-imports", "@prettier/plugin-pug", "@shopify/prettier-plugin-liquid", "@shufo/prettier-plugin-blade", "@trivago/prettier-plugin-sort-imports", "prettier-plugin-astro", "prettier-plugin-css-order", "prettier-plugin-import-sort", "prettier-plugin-jsdoc", "prettier-plugin-marko", "prettier-plugin-organize-attributes", "prettier-plugin-organize-imports", "prettier-plugin-style-order", "prettier-plugin-svelte", "prettier-plugin-twig-melody"] }, "sha512-009/Xqdy7UmkcTBpwlq7jsViDqXAYSOMLDrHAdTMlVZOrKfM2o9Ci7EMWTMZ7SkKBFTG04UM9F9iM2+4i6boDA=="], + "pretty-format": ["pretty-format@27.5.1", "", { "dependencies": { "ansi-regex": "^5.0.1", "ansi-styles": "^5.0.0", "react-is": "^17.0.1" } }, "sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ=="], "prop-types": ["prop-types@15.8.1", "", { "dependencies": { "loose-envify": "^1.4.0", "object-assign": "^4.1.1", "react-is": "^16.13.1" } }, "sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg=="],