Skip to content

Commit d1c5f86

Browse files
Peter Stengerclaude
andcommitted
chore: bump @reteps/dockerfmt to v0.5.1
Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
1 parent f5e0bb6 commit d1c5f86

4 files changed

Lines changed: 26 additions & 21 deletions

File tree

‎.changeset/bump-dockerfmt.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"prettier-plugin-sh": patch
3+
---
4+
5+
chore: bump `@reteps/dockerfmt` to v0.5.1

‎packages/sh/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"prettier": "^3.6.0"
4747
},
4848
"dependencies": {
49-
"@reteps/dockerfmt": "^0.3.6",
49+
"@reteps/dockerfmt": "^0.5.1",
5050
"sh-syntax": "^0.5.8"
5151
},
5252
"devDependencies": {

‎packages/sh/test/__snapshots__/fixtures.spec.ts.snap‎

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -868,9 +868,9 @@ RUN set -eux; for x in {1..3}; do echo 'foo'; echo 'bar'; echo "$x"; done
868868
RUN <<EOF
869869
set -eux
870870
for x in {1..3}; do
871-
echo 'foo'
872-
echo 'bar'
873-
echo "$x"
871+
echo 'foo'
872+
echo 'bar'
873+
echo "$x"
874874
done
875875
EOF
876876
"
@@ -883,21 +883,21 @@ exports[`parser and printer > should format 384.Dockerfile fixture correctly 1`]
883883
884884
exports[`parser and printer > should format 398.Dockerfile fixture correctly 1`] = `
885885
"ENV a=1 \\
886-
b=2 \\
887-
# comment
888-
c=3 \\
889-
d=4 \\
890-
# comment
891-
e=5
886+
b=2 \\
887+
# comment
888+
c=3 \\
889+
d=4 \\
890+
# comment
891+
e=5
892892
"
893893
`;
894894
895895
exports[`parser and printer > should format 441.Dockerfile fixture correctly with options: {"indent":4} 1`] = `
896896
"RUN \\
897-
# install dependencies
898-
NODE_ENV=production npm install-clean \\
899-
# cleanup
900-
&& /usr/bin/env bash <(curl -fsSL https://raw.githubusercontent.com/softvisio/scripts/main/env-build-node.sh) cleanup
897+
# install dependencies
898+
NODE_ENV=production npm install-clean \\
899+
# cleanup
900+
&& /usr/bin/env bash <(curl -fsSL https://raw.githubusercontent.com/softvisio/scripts/main/env-build-node.sh) cleanup
901901
"
902902
`;
903903
@@ -921,8 +921,8 @@ exports[`parser and printer > should format Dockerfile fixture correctly 1`] = `
921921
COPY . /app
922922
WORKDIR /app
923923
RUN yarn --frozen-lockfile \\
924-
&& yarn build \\
925-
&& find . -name '*.map' -type f -exec rm -f {} \\;
924+
&& yarn build \\
925+
&& find . -name '*.map' -type f -exec rm -f {} \\;
926926
927927
# 最终的应用
928928
FROM abiosoft/caddy

‎yarn.lock‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3778,10 +3778,10 @@ __metadata:
37783778
languageName: node
37793779
linkType: hard
37803780

3781-
"@reteps/dockerfmt@npm:^0.3.6":
3782-
version: 0.3.6
3783-
resolution: "@reteps/dockerfmt@npm:0.3.6"
3784-
checksum: 10c0/b6ca467ba97ea49071c44d0fbecf131fc8045165e950d0d01372c1834000c58d53f62bff42f09b851f7a9d91899047f071cd8fe57e1fc88fc27e2a3d2bdb214d
3781+
"@reteps/dockerfmt@npm:^0.5.1":
3782+
version: 0.5.1
3783+
resolution: "@reteps/dockerfmt@npm:0.5.1"
3784+
checksum: 10c0/161295c4d307b3bb54c6fa49ab2d53be082fc3303fdbb14e250d5b057cf79beba3c607e6db2df3cbf8b0391c4ba094f8afe4fac7223f3d2688ba22ea108fcb87
37853785
languageName: node
37863786
linkType: hard
37873787

@@ -13256,7 +13256,7 @@ __metadata:
1325613256
version: 0.0.0-use.local
1325713257
resolution: "prettier-plugin-sh@workspace:packages/sh"
1325813258
dependencies:
13259-
"@reteps/dockerfmt": "npm:^0.3.6"
13259+
"@reteps/dockerfmt": "npm:^0.5.1"
1326013260
"@types/common-tags": "npm:^1.8.4"
1326113261
common-tags: "npm:^1.8.2"
1326213262
sh-syntax: "npm:^0.5.8"

0 commit comments

Comments
 (0)