Skip to content

Conversation

@carlansley
Copy link
Collaborator

Fixes #55

@carlansley carlansley self-assigned this Jun 25, 2025
@github-actions
Copy link

Beta Published - Install Command: npm install @checkdigit/prettier-config@7.1.0-PR.56-2d21

@carlansley carlansley requested a review from Copilot June 25, 2025 17:33
Copy link

Copilot AI left a comment

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 the prettier configuration to version 3.6.1 and synchronizes various dependency and Node.js engine versions across configuration files and CI workflows.

  • Bump package version and update prettier version checks
  • Update peerDependencies and add a new prettier plugin
  • Update Node.js versions in CI workflows and package engine

Reviewed Changes

Copilot reviewed 6 out of 7 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
package.json Version bump, updated prettier version checks, and dependency updates including engine version change
index.json Added a new prettier plugin entry
SECURITY.md Updated version support details
.github/workflows/publish.yml Updated Node.js version used in publish workflow
.github/workflows/publish-beta.yml Updated Node.js version and removed a beta package validation step
.github/workflows/ci.yml Updated Node.js versions in CI workflows
Comments suppressed due to low confidence (2)

.github/workflows/publish-beta.yml:38

  • The removal of the beta package validation step may reduce confidence in the beta release process. Confirm that this change is intentional and consider updating documentation to explain the revised validation strategy.
        run: npm publish --tag beta

package.json:38

  • [nitpick] Ensure that the Node.js engine version specified in package.json is consistent with the updated versions used in CI workflows (i.e., Node.js 24.x). This alignment may prevent confusion about supported runtime versions.
    "node": ">=22.15"

"ci:lint": "",
"ci:style": "npm run prettier",
"ci:test": "npm run ci:style && prettier --version | grep -q '3.5.3'",
"ci:test": "npm run ci:style && prettier --version | grep -q '3.6.1'",
Copy link

Copilot AI Jun 25, 2025

Choose a reason for hiding this comment

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

[nitpick] Consider using a more robust version comparison method instead of a hard-coded grep check to verify the Prettier version. This can help avoid false negatives due to minor formatting or version string changes.

Copilot uses AI. Check for mistakes.
run: npm publish --tag beta
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN_PUBLISH }}
- name: Validate Published Beta NPM Package
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

had to remove this action, since it doesn't currently work with non-typescript modules

@carlansley carlansley requested review from le-cong and ramaghanta June 25, 2025 17:35
Copy link

@le-cong le-cong left a comment

Choose a reason for hiding this comment

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

lftm

@github-actions
Copy link

❌ PR review status - has 1 reviewer outstanding

Copy link

@ramaghanta ramaghanta left a comment

Choose a reason for hiding this comment

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

lftm

@carlansley carlansley merged commit 37531ba into main Jun 25, 2025
7 of 9 checks passed
@carlansley carlansley deleted the prettier-3.6.1 branch June 25, 2025 20:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update to Prettier v3.6.1

4 participants