8000 chore: release package(s) by JounQin · Pull Request #476 · un-ts/prettier · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

chore: release package(s) #476

8000
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

Merged
merged 1 commit into from
Jun 8, 2025
Merged

chore: release package(s) #476

merged 1 commit into from
Jun 8, 2025

Conversation

JounQin
Copy link
Member
@JounQin JounQin commented Jun 8, 2025

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to master, this PR will be updated.

Releases

prettier-plugin-pkg@0.21.1

Patch Changes

Summary by CodeRabbit

  • New Features
    • Added an option to specify a preset for sorting dependencies in the package.json file, with support for both npm and npm-plus sorting orders.
  • Chores
    • Updated the package version to 0.21.1.
    • Updated changelog to reflect the new feature.

Copy link
coderabbitai bot commented Jun 8, 2025

Walkthrough

A changeset file documenting the addition of the packageSortOrderPreset option was removed, while the CHANGELOG.md and package.json for the prettier-plugin-pkg package were updated to reflect the new version 0.21.1 and the inclusion of the sorting preset feature.

Changes

File(s) Change Summary
.changeset/silver-shirts-relax.md Removed changeset file documenting the addition of packageSortOrderPreset feature.
packages/pkg/CHANGELOG.md Added changelog entry for version 0.21.1, describing the new sorting preset option.
packages/pkg/package.json Updated package version from 0.21.0 to 0.21.1.

Possibly related PRs

Suggested reviewers

  • JounQin

Poem

🐇
A hop, a skip, a version bump,
Sorting presets take the jump.
With changelog lines and numbers new,
The package order’s clear and true.
Silver shirts may now relax,
For order’s brought to JSON stacks!


📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 953fc3e and f8e2cdd.

📒 Files selected for processing (3)
  • .changeset/silver-shirts-relax.md (0 hunks)
  • packages/pkg/CHANGELOG.md (1 hunks)
  • packages/pkg/package.json (1 hunks)
💤 Files with no reviewable changes (1)
  • .changeset/silver-shirts-relax.md
🧰 Additional context used
🪛 LanguageTool
packages/pkg/CHANGELOG.md

[uncategorized] ~13-~13: Loose punctuation mark.
Context: ...esets are: npm, npm-plus: - npm: sorts by [npm's document](https://doc...

(UNLIKELY_OPENING_PUNCTUATION)

⏰ Context from checks skipped due to timeout of 90000ms (2)
  • GitHub Check: Codacy Static Code Analysis
  • GitHub Check: Analyze (javascript-typescript)
🔇 Additional comments (2)
packages/pkg/package.json (1)

3-3: Confirm version bump consistency
Version has been correctly bumped to 0.21.1. Ensure that the published package, changelog, and any CI/CD release workflows are aligned with this new version.

packages/pkg/CHANGELOG.md (1)

3-8: Validate new changelog entry
Changelog now includes the 0.21.1 header and patch details for PR #475 (8f1aef9). Verify link correctness and formatting (blank lines before/after sections) to maintain consistency with previous entries.


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
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
codesandbox-ci bot commented Jun 8, 2025

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.

Copy link
Contributor
github-actions bot commented Jun 8, 2025

Deploy preview for prettier ready!

✅ Preview
https://prettier-6nuatu6zg-1stg.vercel.app

Built with commit af063fb.
This pull request is being automatically deployed with vercel-action

Copy link
codecov bot commented Jun 8, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.69%. Comparing base (8f1aef9) to head (af063fb).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #476   +/-   ##
=======================================
  Coverage   86.69%   86.69%           
=======================================
  Files          10       10           
  Lines         203      203           
  Branches       57       57           
=======================================
  Hits          176      176           
  Misses         26       26           
  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.

Copy link
pkg-pr-new bot commented Jun 8, 2025

Open in StackBlitz

prettier-plugin-autocorrect

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

prettier-plugin-pkg

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

prettier-plugin-sh

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

prettier-plugin-sql

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

prettier-plugin-toml

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

commit: af063fb

@github-actions 10000 GitHub Actions
Copy link
Contributor
github-actions bot commented Jun 8, 2025

size-limit report 📦

Path Size
packages/autocorrect/lib/index.js 477 B (0%)
packages/pkg/lib/index.js 758 B (0%)
packages/sh/lib/index.js 2.68 KB (0%)
packages/sql/lib/index.js 2.04 KB (0%)

Copy link
Contributor
@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

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

Important

Looks good to me! 👍

Reviewed everything up to af063fb in 1 minute and 10 seconds. Click for details.
  • Reviewed 53 lines of code in 3 files
  • Skipped 0 files when reviewing.
  • Skipped posting 4 draft comments. View those below.
  • Modify your settings and rules to customize what types of comments Ellipsis leaves. And don't forget to react with 👍 or 👎 to teach Ellipsis.
1. .changeset/silver-shirts-relax.md:1
  • Draft comment:
    Deletion of the changeset file appears expected for release automation. Confirm that this removal is intentional.
  • Reason this comment was not posted:
    Confidence changes required: 0% <= threshold 50% None
2. packages/pkg/package.json:15
  • Draft comment:
    The top-level 'types' field (index.d.cts) differs from the export for ESM (lib/index.d.ts). Confirm this divergence is intentional.
  • Reason this comment was not posted:
    Confidence changes required: 33% <= threshold 50% None
3. packages/pkg/CHANGELOG.md:13
  • Draft comment:
    Typo: Consider changing "npm's document" to "npm's documentation" for clarity.
  • Reason this comment was not posted:
    Decided after close inspection that this draft comment was likely wrong and/or not actionable: usefulness confidence = 10% vs. threshold = 50% This is a very minor wording suggestion in a changelog file. While "documentation" may be marginally more formal than "document", the difference is trivial. The current wording is perfectly understandable. Making this change would create unnecessary work for a negligible benefit. The suggested wording is technically more conventional. A changelog is a form of documentation that will be read by users. While slightly more conventional, the benefit is too small to justify asking for changes. The current wording is clear enough for a changelog entry. Delete this comment. The suggested change is too minor and stylistic to be worth making in a changelog file.
4. packages/pkg/CHANGELOG.md:14
  • Draft comment:
    Typo: Consider changing "compatible to" to "compatible with".
  • Reason this comment was not posted:
    Decided after close inspection that this draft comment was likely wrong and/or not actionable: usefulness confidence = 10% vs. threshold = 50% While the suggestion is technically correct - "compatible with" is more proper English than "compatible to" - changelogs are primarily functional documentation rather than marketing copy. The meaning is perfectly clear either way. Making authors fix minor grammar in changelogs creates unnecessary back-and-forth. The change would make the text more grammatically correct. Poor grammar in documentation could reflect badly on the project. The slight grammar improvement isn't worth the overhead of another review cycle. The current text is perfectly understandable. Delete this comment as it suggests a minor grammatical change that doesn't meaningfully improve understanding.

Workflow ID: wflow_VQO5nM9vdW3saIxn

You can customize Ellipsis by changing your verbosity settings, reacting with 👍 or 👎, replying to comments, or adding code review rules.

Copy link
Contributor
github-actions bot commented Jun 8, 2025

📊 Package size report   0.01%↑

File Before After
.changeset/silver-shirts-relax.md 598 B
packages/pkg/CHANGELOG.md 12.5 kB 6%↑13.3 kB
Total (Includes all files) 3.4 MB 0.01%↑3.4 MB
Tarball size 1.2 MB -0.01%↓1.2 MB
Unchanged files
File Size
.changeset/config.json 313 B
.changeset/README.md 510 B
.codesandbox/ci.json 38 B
.editorconfig 161 B
.gitattributes 152 B
.github/workflows/autofix.yml 928 B
.github/workflows/ci.yml 1.6 kB
.github/workflows/pkg-pr-new.yml 695 B
.github/workflows/pkg-size.yml 609 B
.github/workflows/release.yml 1.3 kB
.github/workflows/size-limit.yml 802 B
.github/workflows/vercel.yml 1.1 kB
.nano-staged.js 48 B
.nvmrc 6 B
.postcssrc.cjs 51 B
.prettierignore 23 B
.prettierrc 24 B
.remarkrc 159 B
.renovaterc 49 B
.simple-git-hooks.js 49 B
.size-limit.json 290 B
.yarn/plugins/plugin-prepare-lifecycle.cjs 202 B
.yarn/releases/yarn-4.9.2.cjs 3.0 MB
.yarnrc.yml 397 B
assets/pkg.svg 15.1 kB
assets/sh.png 14.4 kB
CHANGELOG.md 393 B
docs/App.tsx 1.2 kB
docs/global.css 321 B
docs/index.tsx 211 B
eslint.config.js 503 B
index.html 414 B
LICENSE 1.1 kB
package.json 3.4 kB
packages/autocorrect/CHANGELOG.md 2.2 kB
packages/autocorrect/index.d.cts 63 B
packages/autocorrect/LICENSE 1.1 kB
packages/autocorrect/package.json 1.1 kB
packages/autocorrect/README.md 4.0 kB
packages/autocorrect/src/index.ts 1.4 kB
packages/autocorrect/src/types.ts 78 B
packages/autocorrect/test/__snapshots__/fixtures.spec.ts.snap 4.7 kB
packages/autocorrect/test/fixtures.spec.ts 961 B
packages/autocorrect/test/fixtures/test.css 189 B
packages/autocorrect/test/fixtures/test.go 470 B
packages/autocorrect/test/fixtures/test.html 1.1 kB
packages/autocorrect/test/fixtures/test.md 1.1 kB
packages/autocorrect/test/fixtures/test.py 368 B
packages/autocorrect/test/fixtures/test.rb 234 B
packages/autocorrect/test/fixtures/test0.js 453 B
packages/autocorrect/tsconfig.json 154 B
packages/pkg/index.d.cts 47 B
packages/pkg/LICENSE 16.7 kB
packages/pkg/package.json 1.0 kB
packages/pkg/README.md 7.2 kB
packages/pkg/src/index.ts 2.9 kB
packages/pkg/src/rules/files.ts 1.7 kB
packages/pkg/src/rules/object.ts 899 B
packages/pkg/src/rules/sort.ts 5.5 kB
packages/pkg/src/types.ts 1.1 kB
packages/pkg/src/utils.ts 596 B
packages/pkg/test/__snapshots__/engines.spec.ts.snap 158 B
packages/pkg/test/__snapshots__/files.spec.ts.snap 173 B
packages/pkg/test/__snapshots__/ignore-sort.spec.ts.snap 1.1 kB
packages/pkg/test/__snapshots__/sort-order-preset.spec.ts.snap 7.5 kB
packages/pkg/test/__snapshots__/sort-order.spec.ts.snap 964 B
packages/pkg/test/__snapshots__/test.spec.ts.snap 2.0 kB
packages/pkg/test/engines.spec.ts 417 B
packages/pkg/test/files.spec.ts 409 B
packages/pkg/test/fixtures/fixture1.json 1.0 kB
packages/pkg/test/fixtures/fixture2.json 863 B
packages/pkg/test/fixtures/fixture3.json 430 B
packages/pkg/test/ignore-sort.spec.ts 414 B
packages/pkg/test/sort-order-preset.spec.ts 708 B
packages/pkg/test/sort-order.spec.ts 442 B
packages/pkg/test/test.spec.ts 2.3 kB
packages/pkg/tsconfig.json 154 B
packages/sh/CHANGELOG.md 15.3 kB
packages/sh/index.d.cts 45 B
packages/sh/LICENSE 1.1 kB
packages/sh/package.json 1.4 kB
packages/sh/README.md 10.4 kB
packages/sh/src/index.ts 13.3 kB
packages/sh/test/__snapshots__/fixtures.spec.ts.snap 29.2 kB
packages/sh/test/__snapshots__/shellscript.spec.ts.snap 394 B
packages/sh/test/error.spec.ts 482 B
packages/sh/test/fixtures.spec.ts 1.2 kB
packages/sh/test/fixtures/.dockerignore 108 B
packages/sh/test/fixtures/.nvmrc 6 B
packages/sh/test/fixtures/.properties 177 B
packages/sh/test/fixtures/133.sh 5.2 kB
packages/sh/test/fixtures/162.sh 15.7 kB
packages/sh/test/fixtures/182.sh 1.9 kB
packages/sh/test/fixtures/191.sh 1.7 kB
packages/sh/test/fixtures/278.Dockerfile 32 B
packages/sh/test/fixtures/292.Dockerfile 95 B
packages/sh/test/fixtures/376.Dockerfile 217 B
packages/sh/test/fixtures/384.Dockerfile 51 B
packages/sh/test/fixtures/398.Dockerfile 64 B
packages/sh/test/fixtures/441.Dockerfile 219 B
packages/sh/test/fixtures/445.Dockerfile 198 B
packages/sh/test/fixtures/445.sh 105 B
packages/sh/test/fixtures/Dockerfile 394 B
packages/sh/test/fixtures/hosts 406 B
packages/sh/test/fixtures/jvm.options 162 B
packages/sh/test/fixtures/no-ext 38 B
packages/sh/test/fixtures/shell.sh 368 B
packages/sh/test/loc-functions.spec.ts 1.2 kB
packages/sh/test/parser.spec.ts 2.1 kB
packages/sh/tsconfig.json 154 B
packages/sql/CHANGELOG.md 11.6 kB
packages/sql/index.d.cts 47 B
packages/sql/LICENSE 1.1 kB
packages/sql/package.json 1.3 kB
packages/sql/README.md 7.0 kB
packages/sql/src/index.ts 13.0 kB
packages/sql/test/__snapshots__/fixtures-eol.spec.ts.snap 886 B
packages/sql/test/__snapshots__/fixtures.spec.ts.snap 40.3 kB
packages/sql/test/__snapshots__/sql.spec.ts.snap 374 B
packages/sql/test/fixtures-eol.spec.ts 1.4 kB
packages/sql/test/fixtures-eol/556.sql 73 B
packages/sql/test/fixtures-eol/557.sql 69 B
packages/sql/test/fixtures-eol/558.sql 69 B
packages/sql/test/fixtures-eol/559.sql 73 B
packages/sql/test/fixtures.spec.ts 1.8 kB
packages/sql/test/fixtures/144.sql 68 B
packages/sql/test/fixtures/233.sql 68 B
packages/sql/test/fixtures/277.sql 88 B
packages/sql/test/fixtures/279.sql 106 B
packages/sql/test/fixtures/291.sql 1.2 kB
packages/sql/test/fixtures/334.sql 15 B
packages/sql/test/fixtures/405.sql 160 B
packages/sql/test/fixtures/basic.sql 120 B
packages/sql/test/sql.spec.ts 660 B
packages/sql/tsconfig.json 154 B
packages/toml/CHANGELOG.md 2.2 kB
packages/toml/index.d.cts 49 B
packages/toml/LICENSE 1.1 kB
packages/toml/package.json 1.1 kB
packages/toml/README.md 5.2 kB
packages/toml/src/index.ts 1.3 kB
packages/toml/src/options.ts 2.6 kB
packages/toml/src/types.ts 381 B
packages/toml/test/__snapshots__/fixtures.spec.ts.snap 493 B
packages/toml/test/fixtures.spec.ts 792 B
packages/toml/test/fixtures/comments.toml 87 B
packages/toml/test/fixtures/fixture1.toml 162 B
packages/toml/tsconfig.json 154 B
public/android-chrome-192x192.png 3.5 kB
public/android-chrome-512x512.png 12.6 kB
public/apple-touch-icon.png 3.5 kB
public/favicon-16x16.png 309 B
public/favicon-32x32.png 547 B
public/favicon.ico 15.4 kB
public/site.webmanifest 288 B
README.md 6.8 kB
scripts/format.ts 593 B
scripts/languages.ts 3.0 kB
test/global.d.ts 41 B
test/tsconfig.json 223 B
tsconfig.base.json 89 B
tsconfig.json 275 B
vercel.json 229 B
vite.config.ts 544 B
vitest.config.ts 541 B

🤖 This report was automatically generated by pkg-size-action

@github-actions github-actions bot force-pushed the changeset-release/master branch from af063fb to f8e2cdd Compare June 8, 2025 03:54
Copy link
sonarqubecloud bot commented Jun 8, 2025

@JounQin JounQin merged commit b32eea4 into master Jun 8, 2025
9 checks passed
@JounQin JounQin deleted the changeset-release/master branch June 8, 2025 03:59
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
0