Skip to content

build(deps-dev): bump prettier-plugin-astro to 1.1.2 - #139

Merged
jvcorredor merged 1 commit into
mainfrom
cscs.dev-117-prettier-plugin-astro-1
Nov 3, 2026
Merged

jvcorredor merged 1 commit into
mainfrom
cscs.dev-117-prettier-plugin-astro-1

Conversation

@jvcorredor

Copy link
Copy Markdown
Contributor

Supersedes #110 (Dependabot bump; its build job failed at format:check).

Summary

 package.json
-  "prettier-plugin-astro": "^0.14.1"
+  "prettier-plugin-astro": "^1.1.2"      # peer: prettier ^3.5.3 (repo has ^3.8.1)
 src/**/*.astro                          # 7 files re-run through `prettier --write`
   long class="..." attrs   stay on one line (no wrapping)
   {expr && (...)} / .map() hug the brace
   inline whitespace made explicit: {" "}

No .prettierrc.mjs change was needed. 1.1.2 was published 2026-10-23, so it clears the 7-day cooldown.

Evidence

  • Before: chore(deps-dev): bump prettier-plugin-astro from 0.14.1 to 1.1.2 #110 build job: prettier --check . reports "Code style issues found in 11 files" (all .astro).
    After: local run of every ci.yml step except test:pb (PocketBase download) and the Containerfile/netlify pin checks, which this change does not touch: eslint . clean, prettier --check . "All matched files use Prettier code style!", astro check 0 errors, vitest run 249/249, astro build and build-storybook succeed, scripts/test-agent-hooks.sh passes.
  • Formatting-only: diff -r dist-before dist-after of astro build output (before vs after the .astro reformat) is empty. Welcome.astro is not imported anywhere, so it is not covered by the build diff; its changes are the same style rules ({" "} preserves the original spaces).

Merge Danger

Door: two-way

Blast Radius: dev-tooling

Only the formatter changes; dist/ is byte-identical. Open PRs touching these .astro files may need a re-format.

Refs: #117

🤖 Generated with Claude Code

Supersedes Dependabot #110, whose build job failed at `format:check`:
1.x formats .astro files differently (long class attributes stay on one
line, `{expr && (...)}` and `.map()` hug the brace, inline whitespace is
made explicit with `{" "}`). Re-formatted the 7 affected files with
`prettier --write`. `astro build` output (dist/) is byte-identical
before and after the reformat. No config change was needed; the peer
range is prettier ^3.5.3.

Refs: #117

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@netlify

netlify Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for cscsdev ready!

Name Link
🔨 Latest commit 2394ddb
🔍 Latest deploy log https://app.netlify.com/projects/cscsdev/deploys/6ae9dd1df90247afbbeb87e4
😎 Deploy Preview https://deploy-preview-139--cscsdev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@jvcorredor

Copy link
Copy Markdown
Contributor Author

Review verdicts

One combined cold reviewer (correctness + supply chain). dist/ from a fresh build of main and of this branch is byte-identical (63 files). The unused Welcome.astro was also built through a temporary page, and its output matched too.

# Finding Severity Verdict
1 Title uses build(deps-dev) where Dependabot uses chore(deps-dev) nit reject: build is a valid Conventional Commits type for a dependency change
2 Body's {" "} wording is loose for the Welcome.astro hunks nit reject: the built output is identical, so the wording misleads no one
3 #110 must be closed by hand after merge nit fix: closing it as superseded after merge
4 Welcome.astro is dead starter code nit reject: out of scope for a dependency bump

No fix verdicts on the code. CI is green. Merging.

@jvcorredor
jvcorredor merged commit 20a7a07 into main Nov 3, 2026
5 checks passed
@jvcorredor
jvcorredor deleted the cscs.dev-117-prettier-plugin-astro-1 branch November 3, 2026 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant