10000 Support dockercompose and github-actions-workflow by remcohaszing · Pull Request #17101 · prettier/prettier · GitHub
[go: up one dir, main page]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support dockercompose and github-actions-workflow #17101

Merged
merged 4 commits into from
Feb 12, 2025

Conversation

remcohaszing
Copy link
Contributor

Description

This adds support for the dockercompose and github-actions-workflow languages in VSCode. The dockercompose language is registered by https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-docker. The github-actions-workflow language is registered by https://marketplace.visualstudio.com/items?itemName=GitHub.vscode-github-actions. Both these languages apply to regular YAML files that can be formatted with Prettier.

Checklist

  • I’ve added tests to confirm my change works.
  • (If changing the API or CLI) I’ve documented the changes I’ve made (in the docs/ directory).
  • (If the change is user-facing) I’ve added my changes to changelog_unreleased/*/XXXX.md file following changelog_unreleased/TEMPLATE.md.
  • I’ve read the contributing guidelines.

Try the playground for this PR

The `dockercompose` language in VSCode is registered by
https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-docker.
The `github-actions-workflow` language in VSCode is registered by
https://marketplace.visualstudio.com/items?itemName=GitHub.vscode-github-actions.
Both these languages apply to regular YAML files that can be formatted
with Prettier.
Copy link
pkg-pr-new bot commented Feb 11, 2025

Open in Stackblitz

npm i https://pkg.pr.new/prettier@17101

commit: ecc75b6

Copy link
Member
@sosukesuzuki sosukesuzuki left a comment

Choose a reason for hiding this comment

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

Please add change log using yarn gen:changelog

Co-authored-by: SUZUKI Sosuke <aosukeke@gmail.com>
Copy link
Member
@sosukesuzuki sosukesuzuki left a comment

Choose a reason for hiding this comment

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

LGTM! Thank you for working on this, if CI passes, I'll merge this

@sosukesuzuki sosukesuzuki merged commit 9cf8ec2 into prettier:main Feb 12, 2025
31 checks passed
renovate bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Feb 14, 2025
| datasource | package  | from  | to    |
| ---------- | -------- | ----- | ----- |
| npm        | prettier | 3.4.2 | 3.5.1 |


## [v3.5.1](https://github.com/prettier/prettier/blob/HEAD/CHANGELOG.md#351)

[diff](prettier/prettier@3.5.0...3.5.1)

##### Fix CLI crash when cache for old version exists ([#17100](prettier/prettier#17100) by [@sosukesuzuki](https://github.com/sosukesuzuki))

Prettier 3.5 uses a different cache format than previous versions, Prettier 3.5.0 crashes when reading existing cache file, Prettier 3.5.1 fixed the problem.

##### Support dockercompose and github-actions-workflow in VSCode ([#17101](prettier/prettier#17101) by [@remcohaszing](https://github.com/remcohaszing))

Prettier now supports the `dockercompose` and `github-actions-workflow` languages in Visual Studio Code.


## [v3.5.0](https://github.com/prettier/prettier/blob/HEAD/CHANGELOG.md#350)

[diff](prettier/prettier@3.4.2...3.5.0)

🔗 [Release Notes](https://prettier.io/blog/2025/02/09/3.5.0.html)
renovate bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Feb 14, 2025
| datasource | package  | from  | to    |
| ---------- | -------- | ----- | ----- |
| npm        | prettier | 3.4.2 | 3.5.1 |


## [v3.5.1](https://github.com/prettier/prettier/blob/HEAD/CHANGELOG.md#351)

[diff](prettier/prettier@3.5.0...3.5.1)

##### Fix CLI crash when cache for old version exists ([#17100](prettier/prettier#17100) by [@sosukesuzuki](https://github.com/sosukesuzuki))

Prettier 3.5 uses a different cache format than previous versions, Prettier 3.5.0 crashes when reading existing cache file, Prettier 3.5.1 fixed the problem.

##### Support dockercompose and github-actions-workflow in VSCode ([#17101](prettier/prettier#17101) by [@remcohaszing](https://github.com/remcohaszing))

Prettier now supports the `dockercompose` and `github-actions-workflow` languages in Visual Studio Code.


## [v3.5.0](https://github.com/prettier/prettier/blob/HEAD/CHANGELOG.md#350)

[diff](prettier/prettier@3.4.2...3.5.0)

🔗 [Release Notes](https://prettier.io/blog/2025/02/09/3.5.0.html)
renovate bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Feb 15, 2025
| datasource | package  | from  | to    |
| ---------- | -------- | ----- | ----- |
| npm        | prettier | 3.4.2 | 3.5.1 |


## [v3.5.1](https://github.com/prettier/prettier/blob/HEAD/CHANGELOG.md#351)

[diff](prettier/prettier@3.5.0...3.5.1)

##### Fix CLI crash when cache for old version exists ([#17100](prettier/prettier#17100) by [@sosukesuzuki](https://github.com/sosukesuzuki))

Prettier 3.5 uses a different cache format than previous versions, Prettier 3.5.0 crashes when reading existing cache file, Prettier 3.5.1 fixed the problem.

##### Support dockercompose and github-actions-workflow in VSCode ([#17101](prettier/prettier#17101) by [@remcohaszing](https://github.com/remcohaszing))

Prettier now supports the `dockercompose` and `github-actions-workflow` languages in Visual Studio Code.


## [v3.5.0](https://github.com/prettier/prettier/blob/HEAD/CHANGELOG.md#350)

[diff](prettier/prettier@3.4.2...3.5.0)

🔗 [Release Notes](https://prettier.io/blog/2025/02/09/3.5.0.html)
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.

2 participants
0