Skip to content

chore: bump @reteps/dockerfmt to v0.5.1 - #507

Merged
JounQin merged 1 commit into
un-ts:masterfrom
reteps:bump-dockerfmt
Apr 6, 2026
Merged

JounQin merged 1 commit into
un-ts:masterfrom
reteps:bump-dockerfmt

Conversation

@reteps

@reteps reteps commented Apr 6, 2026 •

Copy link
Copy Markdown
Contributor

Bumps @reteps/dockerfmt from ^0.3.6 to ^0.5.1.

0.5.0 fixes the dockerfmt bindings to work, and 0.5.1 avoids clobbering the Go runtime.

Also includes improved Dockerfile formatting — continuation lines now properly respect the configured indent option.

Hopefully, this closes #506 and closes #497

Summary by CodeRabbit

  • Chores
    • Updated the dockerfmt dependency to v0.5.1.

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
@changeset-bot

changeset-bot Bot commented Apr 6, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: d1c5f86

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
prettier-plugin-sh Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@coderabbitai

coderabbitai Bot commented Apr 6, 2026 •

Copy link
Copy Markdown
📝 Walkthrough

Walkthrough

A changeset entry and dependency update that bumps the @reteps/dockerfmt package from version ^0.3.6 to ^0.5.1 in the prettier-plugin-sh package, declaring a patch release.

Changes

Cohort / File(s) Summary
Dependency Bump
.changeset/bump-dockerfmt.md, packages/sh/package.json
Updates @reteps/dockerfmt dependency to v0.5.1 with corresponding changeset documentation.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

Suggested reviewers

  • JounQin

Poem

🐰 A tiny hop, a version climb,
From 0.3.6 to 0.5.1 time,
Dockerfmt dances, fresh and new,
One changeset whispers, "Let's renew!" ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately describes the main change: bumping the @reteps/dockerfmt dependency to v0.5.1, which is the primary purpose of the PR.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@sonarqubecloud

sonarqubecloud Bot commented Apr 6, 2026

Copy link
Copy Markdown

@codesandbox-ci

codesandbox-ci Bot commented Apr 6, 2026

Copy link
Copy Markdown

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​reteps/​dockerfmt@​0.3.6 ⏵ 0.5.110010074 +191 +6100

View full report

@pkg-pr-new

pkg-pr-new Bot commented Apr 6, 2026

Copy link
Copy Markdown

Open in StackBlitz

prettier-plugin-autocorrect

npm i https://pkg.pr.new/prettier-plugin-autocorrect@507

prettier-plugin-pkg

npm i https://pkg.pr.new/prettier-plugin-pkg@507

prettier-plugin-sh

npm i https://pkg.pr.new/prettier-plugin-sh@507

prettier-plugin-sql

npm i https://pkg.pr.new/prettier-plugin-sql@507

prettier-plugin-toml

npm i https://pkg.pr.new/prettier-plugin-toml@507

commit: d1c5f86

@codecov

codecov Bot commented Apr 6, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.28%. Comparing base (f5e0bb6) to head (d1c5f86).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #507      +/-   ##
==========================================
- Coverage   88.13%   87.28%   -0.85%     
==========================================
  Files          10       10              
  Lines         236      236              
  Branches       66       66              
==========================================
- Hits          208      206       -2     
- Misses         27       29       +2     
  Partials        1        1              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@JounQin
JounQin requested a review from Copilot April 6, 2026 05:10

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates prettier-plugin-sh’s Dockerfile formatter backend by bumping @reteps/dockerfmt to ^0.5.1, aligning with the stated fixes for Dockerfile heredocs and formatting behavior.

Changes:

  • Bump @reteps/dockerfmt from ^0.3.6 to ^0.5.1 in packages/sh.
  • Update lockfile and snapshot expectations to reflect the new Dockerfile formatting output (notably continuation-line indentation).
  • Add a Changeset entry to publish the bump as a patch release.

Reviewed changes

Copilot reviewed 2 out of 4 changed files in this pull request and generated no comments.

File Description
packages/sh/package.json Updates the @reteps/dockerfmt dependency version to ^0.5.1.
yarn.lock Updates the resolved @reteps/dockerfmt lock entry and workspace dependency reference.
packages/sh/test/__snapshots__/fixtures.spec.ts.snap Adjusts expected Dockerfile formatting snapshots for the new indentation/continuation behavior.
.changeset/bump-dockerfmt.md Adds a patch Changeset documenting the dependency bump for release notes/versioning.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@JounQin
JounQin merged commit 52a4625 into un-ts:master Apr 6, 2026
26 of 27 checks passed
@coderabbitai coderabbitai Bot mentioned this pull request Jul 10, 2026
1 task
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.

[prettier-plugin-sh] Heredoc syntax in Dockerfile is not supported. [prettier-plugin-sh] attatches random characters at the end of dockerfile

3 participants