Skip to content

Conversation

@JounQin
Copy link
Member

@JounQin JounQin commented Jun 26, 2025

prettier/prettier#17669

Important

Remove prettierCli export and update dependencies for Prettier and Angular support.

  • Behavior:
    • Remove prettierCli export from index.js and index.d.ts in packages/config.
    • Update nano-staged/base.js to use prettier --write directly instead of prettierCli.
  • Dependencies:
    • Bump @angular/compiler, @angular/compiler-cli, and @angular/core to ^20.0.5 in package.json.
    • Bump eslint-import-resolver-typescript to ^4.4.4 in packages/eslint-config/package.json.
    • Bump prettier-plugin-sh to ^0.18.0 in packages/prettier-config/package.json.

This description was created by Ellipsis for 491c1f2. You can customize this summary. It will automatically update as commits are pushed.

Summary by CodeRabbit

  • Bug Fixes

    • Resolved handling of the PRETTIER_EXPERIMENTAL_CLI environment variable, ensuring compatibility with native Prettier support.
    • Updated Prettier command usage to a static string for improved reliability.
  • Chores

    • Updated Angular-related devDependencies to the latest patch versions.
    • Bumped versions of eslint-import-resolver-typescript and prettier-plugin-sh dependencies for maintenance.
  • Refactor

    • Removed the export and usage of the prettierCli constant from configuration files.

@JounQin JounQin requested a review from Copilot June 26, 2025 04:49
@JounQin JounQin self-assigned this Jun 26, 2025
@JounQin JounQin added dependencies Pull requests that update a dependency file internal This affects the hidden internals labels Jun 26, 2025
@changeset-bot
Copy link

changeset-bot bot commented Jun 26, 2025

🦋 Changeset detected

Latest commit: 5ead429

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

This PR includes changesets to release 3 packages
Name Type
@1stg/nano-staged Patch
@1stg/config Patch
@1stg/prettier-config 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
Copy link

coderabbitai bot commented Jun 26, 2025

Walkthrough

This update removes the prettierCli export and its dynamic logic from the codebase, reverting to hardcoded Prettier CLI commands. It also updates several dependencies, including Angular packages, eslint-import-resolver-typescript, and prettier-plugin-sh. Changesets are added to document these updates and clarify Prettier environment variable handling.

Changes

Files/Areas Change Summary
packages/config/index.js, packages/config/index.d.ts, packages/nano-staged/base.js Removed prettierCli export and its usage; now uses hardcoded 'prettier --write' command.
.changeset/proud-clowns-check.md, .changeset/thin-dolls-tap.md Added changeset entries documenting patch updates and clarifying Prettier CLI environment support.
package.json, packages/eslint-config/package.json, packages/prettier-config/package.json Updated versions of Angular, eslint-import-resolver-typescript, and prettier-plugin-sh dependencies.

Sequence Diagram(s)

sequenceDiagram
    participant Developer
    participant nano-staged/base.js
    participant config/index.js

    Developer->>nano-staged/base.js: Runs Prettier command
    nano-staged/base.js->>config/index.js: (Old) Import prettierCli
    config/index.js-->>nano-staged/base.js: (Old) Return dynamic CLI string
    nano-staged/base.js-->>Developer: (Now) Use 'prettier --write' directly
Loading

Possibly related PRs

Suggested labels

bug

Poem

A bunny hops through fields of code,
Removing exports, lightening the load.
Prettier’s path is now set in stone,
No more dynamic CLI to bemoan.
With dependencies fresh and neat,
This patch makes the configs complete!
🐇✨

Warning

There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure.

🔧 ESLint

If the error stems from missing dependencies, add them to the package.json file. For unrecoverable errors (e.g., due to private dependencies), disable the tool in the CodeRabbit configuration.

packages/nano-staged/base.js

Oops! Something went wrong! :(

ESLint: 9.29.0

Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'typescript-eslint' imported from /eslint.config.js
at Object.getPackageJSONURL (node:internal/modules/package_json_reader:255:9)
at packageResolve (node:internal/modules/esm/resolve:767:81)
at moduleResolve (node:internal/modules/esm/resolve:853:18)
at defaultResolve (node:internal/modules/esm/resolve:983:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:801:12)
at #cachedDefaultResolve (node:internal/modules/esm/loader:725:25)
at ModuleLoader.resolve (node:internal/modules/esm/loader:708:38)
at ModuleLoader.getModuleJobForImport (node:internal/modules/esm/loader:309:38)
at #link (node:internal/modules/esm/module_job:202:49)

✨ Finishing Touches
  • 📝 Generate Docstrings

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.

@codesandbox-ci
Copy link

codesandbox-ci bot commented Jun 26, 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

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 removes the custom prettierCli override (since Prettier now supports the PRETTIER_EXPERIMENTAL_CLI env itself) and bumps several dependencies.

  • Bump prettier-plugin-sh to v0.18.0
  • Remove prettierCli export and usage, hardcoding prettier --write in nano-staged hooks
  • Bump eslint-import-resolver-typescript and Angular devDependencies

Reviewed Changes

Copilot reviewed 7 out of 9 changed files in this pull request and generated no comments.

Show a summary per file
File Description
packages/prettier-config/package.json Updated prettier-plugin-sh version to ^0.18.0
packages/nano-staged/base.js Removed dynamic prettierCli, now uses prettier --write
packages/eslint-config/package.json Updated eslint-import-resolver-typescript to ^4.4.4
packages/config/index.js Removed prettierCli export
package.json Bumped Angular devDependencies to 20.0.5
.changeset/thin-dolls-tap.md Added changeset for prettier-plugin-sh bump
.changeset/proud-clowns-check.md Added changeset for removing PRETTIER_EXPERIMENTAL_CLI logic
Comments suppressed due to low confidence (2)

packages/config/index.js:45

  • Update project documentation (e.g., README or docs site) to remove references to the PRETTIER_EXPERIMENTAL_CLI environment variable and note its native support in Prettier.
export const preferPrettier = isEnvEnabled('CONFIG_PREFER_PRETTIER')

.changeset/proud-clowns-check.md:6

  • [nitpick] Clarify this changeset description to mention the removal of the prettierCli override and deprecation of the PRETTIER_EXPERIMENTAL_CLI flag for clearer release notes.
fix: `PRETTIER_EXPERIMENTAL_CLI` env is already supported in prettier itself

@socket-security
Copy link

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

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​angular/​compiler-cli@​20.0.4 ⏵ 20.0.510010074 +197 +1100
Updated@​angular/​compiler@​20.0.4 ⏵ 20.0.51001007797 +1100
Updated@​angular/​core@​20.0.4 ⏵ 20.0.510010079 +197 +1100

View full report

@github-actions
Copy link
Contributor

📊 Package size report   0%↑

File Before After
.changeset/proud-clowns-check.md 135 B
.changeset/thin-dolls-tap.md 85 B
packages/config/index.d.ts 341 B -9.68%↓308 B
packages/config/index.js 1.3 kB -9.47%↓1.1 kB
packages/nano-staged/base.js 1.4 kB -1.81%↓1.4 kB
Total (Includes all files) 3.5 MB 0%↑3.5 MB
Tarball size 1.1 MB 0.01%↑1.1 MB
Unchanged files
File Size
.browserslistrc 41 B
.changeset/config.json 311 B
.changeset/README.md 510 B
.codesandbox/ci.json 63 B
.commitlintrc 35 B
.editorconfig 145 B
.gitattributes 115 B
.github/workflows/autofix.yml 913 B
.github/workflows/ci.yml 1.6 kB
.github/workflows/pkg-pr-new.yml 646 B
.github/workflows/pkg-size.yml 702 B
.github/workflows/release.yml 1.4 kB
.markuplintrc 96 B
.nano-staged.js 48 B
.nvmrc 6 B
.postcssrc.cjs 49 B
.prettierignore 41 B
.prettierrc 24 B
.remarkrc 42 B
.renovaterc 49 B
.simple-git-hooks.js 49 B
.stylelintignore 209 B
.stylelintrc 90 B
.yarn/plugins/plugin-prepare-lifecycle.cjs 202 B
.yarn/releases/yarn-4.9.2.cjs 3.0 MB
.yarnrc.yml 397 B
CHANGELOG.md 1.1 kB
default.json 499 B
eslint.config.js 516 B
global.d.ts 53 B
LICENSE 1.1 kB
package.json 2.7 kB
packages/app-config/CHANGELOG.md 53.6 kB
packages/app-config/package.json 744 B
packages/app-config/README.md 2.7 kB
packages/babel-preset/CHANGELOG.md 24.5 kB
packages/babel-preset/config.js 43 B
packages/babel-preset/index.js 5.6 kB
packages/babel-preset/package.json 1.6 kB
packages/babel-preset/README.md 2.7 kB
packages/browserslist-config/_not.js 140 B
packages/browserslist-config/alauda-legacy.js 51 B
packages/browserslist-config/alauda.js 129 B
packages/browserslist-config/CHANGELOG.md 7.5 kB
packages/browserslist-config/index.js 116 B
packages/browserslist-config/latest.js 186 B
packages/browserslist-config/modern.js 167 B
packages/browserslist-config/package.json 570 B
packages/browserslist-config/README.md 2.7 kB
packages/commitlint-config/CHANGELOG.md 14.2 kB
packages/commitlint-config/index.js 537 B
packages/commitlint-config/package.json 633 B
packages/commitlint-config/README.md 2.7 kB
packages/common-config/CHANGELOG.md 49.9 kB
packages/common-config/package.json 930 B
packages/common-config/README.md 2.7 kB
packages/config/CHANGELOG.md 3.7 kB
packages/config/package.json 599 B
packages/config/README.md 2.7 kB
packages/eslint-config/_util.js 2.2 kB
packages/eslint-config/angular.js 1.3 kB
packages/eslint-config/base.d.ts 109 B
packages/eslint-config/base.js 5.6 kB
packages/eslint-config/CHANGELOG.md 60.3 kB
packages/eslint-config/index.d.ts 58 B
packages/eslint-config/index.js 58 B
packages/eslint-config/jest.js 391 B
packages/eslint-config/js-base.js 1.4 kB
packages/eslint-config/js.js 582 B
packages/eslint-config/loose.d.ts 110 B
packages/eslint-config/loose.js 1.4 kB
packages/eslint-config/overrides.d.ts 1.2 kB
packages/eslint-config/overrides.js 6.3 kB
packages/eslint-config/package.json 3.1 kB
packages/eslint-config/react.js 1.7 kB
packages/eslint-config/README.md 2.7 kB
packages/eslint-config/recommended.d.ts 116 B
packages/eslint-config/recommended.js 142 B
packages/eslint-config/test.js 309 B
packages/eslint-config/ts-base.js 4.0 kB
packages/eslint-config/vitest.js 396 B
packages/eslint-config/vue.js 1.5 kB
packages/markuplint-config/angular.js 122 B
packages/markuplint-config/base.d.ts 87 B
packages/markuplint-config/base.js 413 B
packages/markuplint-config/CHANGELOG.md 6.5 kB
packages/markuplint-config/index.d.ts 36 B
packages/markuplint-config/index.js 36 B
packages/markuplint-config/package.json 934 B
packages/markuplint-config/README.md 2.7 kB
packages/markuplint-config/vue.d.ts 85 B
packages/markuplint-config/vue.js 240 B
packages/nano-staged/_utils.js 429 B
packages/nano-staged/CHANGELOG.md 2.5 kB
packages/nano-staged/index.js 36 B
packages/nano-staged/ngc.js 216 B
packages/nano-staged/package.json 971 B
packages/nano-staged/README.md 2.7 kB
packages/nano-staged/tsc.js 255 B
packages/nano-staged/vue-tsc.js 249 B
packages/postcss-config/CHANGELOG.md 17.7 kB
packages/postcss-config/index.d.ts 88 B
packages/postcss-config/index.js 1.3 kB
packages/postcss-config/package.json 1.2 kB
packages/postcss-config/README.md 2.7 kB
packages/prettier-config/angular.d.ts 36 B
packages/prettier-config/angular.js 210 B
packages/prettier-config/base.d.ts 92 B
packages/prettier-config/base.js 2.0 kB
packages/prettier-config/CHANGELOG.md 28.9 kB
packages/prettier-config/index.d.ts 36 B
packages/prettier-config/index.js 36 B
packages/prettier-config/next.d.ts 36 B
packages/prettier-config/next.js 220 B
packages/prettier-config/package.json 1.5 kB
packages/prettier-config/quote.d.ts 36 B
packages/prettier-config/quote.js 94 B
packages/prettier-config/README.md 2.7 kB
packages/prettier-config/semi/angular.d.ts 37 B
packages/prettier-config/semi/angular.js 90 B
packages/prettier-config/semi/index.d.ts 37 B
packages/prettier-config/semi/index.js 87 B
packages/prettier-config/semi/next.d.ts 37 B
packages/prettier-config/semi/next.js 87 B
packages/prettier-config/semi/quote.d.ts 37 B
packages/prettier-config/semi/quote.js 88 B
packages/prettier-config/semi/vue.d.ts 37 B
packages/prettier-config/semi/vue.js 86 B
packages/prettier-config/vue.d.ts 36 B
packages/prettier-config/vue.js 206 B
packages/remark-preset/CHANGELOG.md 8.8 kB
packages/remark-preset/index.js 1.3 kB
packages/remark-preset/package.json 1.1 kB
packages/remark-preset/README.md 2.7 kB
packages/simple-git-hooks/CHANGELOG.md 4.6 kB
packages/simple-git-hooks/index.js 193 B
packages/simple-git-hooks/package.json 711 B
packages/simple-git-hooks/README.md 2.7 kB
packages/stylelint-config/_overrides.js 939 B
packages/stylelint-config/base.d.ts 76 B
packages/stylelint-config/base.js 1.5 kB
packages/stylelint-config/CHANGELOG.md 23.5 kB
packages/stylelint-config/index.d.ts 80 B
packages/stylelint-config/index.js 72 B
packages/stylelint-config/loose.d.ts 78 B
packages/stylelint-config/loose.js 76 B
packages/stylelint-config/modules.d.ts 82 B
packages/stylelint-config/modules.js 263 B
packages/stylelint-config/package.json 1.3 kB
packages/stylelint-config/README.md 2.7 kB
packages/stylelint-config/scss/base.d.ts 76 B
packages/stylelint-config/scss/base.js 1.4 kB
packages/stylelint-config/scss/index.d.ts 36 B
packages/stylelint-config/scss/index.js 36 B
packages/stylelint-config/scss/loose.d.ts 78 B
packages/stylelint-config/scss/loose.js 369 B
packages/tsconfig/angular.json 306 B
packages/tsconfig/app.json 282 B
packages/tsconfig/CHANGELOG.md 11.4 kB
packages/tsconfig/dom-lib.json 158 B
packages/tsconfig/erasable.json 147 B
packages/tsconfig/lib.json 189 B
packages/tsconfig/loose.json 180 B
packages/tsconfig/ng-lib.json 387 B
packages/tsconfig/node.json 171 B
packages/tsconfig/node16.json 192 B
packages/tsconfig/nodenext.json 196 B
packages/tsconfig/package.json 602 B
packages/tsconfig/README.md 2.7 kB
packages/tsconfig/tsconfig.json 680 B
README.md 4.0 kB
tests/_test.ts 1.1 kB
tests/global.d.ts 41 B
tests/test.cjs 742 B
tests/test.component.html 142 B
tests/test.component.ts 198 B
tests/test.css 53 B
tests/test.d.ts 409 B
tests/test.html 191 B
tests/test.js 753 B
tests/test.json 23 B
tests/test.json5 22 B
tests/test.jsonc 37 B
tests/test.less 315 B
tests/test.md 61 B
tests/test.mdx 143 B
tests/test.pug 17 B
tests/test.scss 381 B
tests/test.sh 20 B
tests/test.spec.js 129 B
tests/test.spec.ts 671 B
tests/test.svg 1.2 kB
tests/test.toml 16 B
tests/test.vue 436 B
tests/test.yaml 13 B
tests/test.yml 13 B
tests/test1.jsx 347 B
tests/test2.ts 1.8 kB
tests/test3.tsx 484 B
tsconfig.json 41 B
vitest.config.ts 227 B

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

@pkg-pr-new
Copy link

pkg-pr-new bot commented Jun 26, 2025

Open in StackBlitz

@1stg/app-config

npm i https://pkg.pr.new/@1stg/app-config@386

@1stg/babel-preset

npm i https://pkg.pr.new/@1stg/babel-preset@386

@1stg/browserslist-config

npm i https://pkg.pr.new/@1stg/browserslist-config@386

@1stg/commitlint-config

npm i https://pkg.pr.new/@1stg/commitlint-config@386

@1stg/common-config

npm i https://pkg.pr.new/@1stg/common-config@386

@1stg/config

npm i https://pkg.pr.new/@1stg/config@386

@1stg/eslint-config

npm i https://pkg.pr.new/@1stg/eslint-config@386

@1stg/markuplint-config

npm i https://pkg.pr.new/@1stg/markuplint-config@386

@1stg/nano-staged

npm i https://pkg.pr.new/@1stg/nano-staged@386

@1stg/postcss-config

npm i https://pkg.pr.new/@1stg/postcss-config@386

@1stg/prettier-config

npm i https://pkg.pr.new/@1stg/prettier-config@386

@1stg/remark-preset

npm i https://pkg.pr.new/@1stg/remark-preset@386

@1stg/simple-git-hooks

npm i https://pkg.pr.new/@1stg/simple-git-hooks@386

@1stg/stylelint-config

npm i https://pkg.pr.new/@1stg/stylelint-config@386

@1stg/tsconfig

npm i https://pkg.pr.new/@1stg/tsconfig@386

commit: 5ead429

@codecov
Copy link

codecov bot commented Jun 26, 2025

Codecov Report

Attention: Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.

Project coverage is 0.00%. Comparing base (1203256) to head (5ead429).
Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
packages/nano-staged/base.js 0.00% 2 Missing ⚠️
Additional details and impacted files
@@          Coverage Diff           @@
##           master    #386   +/-   ##
======================================
  Coverage    0.00%   0.00%           
======================================
  Files          39      39           
  Lines         281     278    -3     
  Branches      131     129    -2     
======================================
+ Misses        281     278    -3     

☔ 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

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Nitpick comments (1)
packages/nano-staged/base.js (1)

23-24: Duplicate literal 'prettier --write' – extract to a constant for maintainability.

The same string appears three times; if the invocation ever changes (flags, path, quoted for Windows, etc.) it must be updated in multiple places.

+const PRETTIER_CMD = 'prettier --write'
 ...
-      [files]: 'prettier --write',
+      [files]: PRETTIER_CMD,
 ...
-      ...(useEslintPrettier ? [] : ['prettier --write']),
+      ...(useEslintPrettier ? [] : [PRETTIER_CMD]),
 ...
-    ...(useStylelintPrettier ? [] : ['prettier --write']),
+    ...(useStylelintPrettier ? [] : [PRETTIER_CMD]),

A small refactor, but it removes duplication and makes future tweaks safer.

Also applies to: 32-33, 40-41

📜 Review details

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

📥 Commits

Reviewing files that changed from the base of the PR and between 1203256 and 5ead429.

⛔ Files ignored due to path filters (1)
  • yarn.lock is excluded by !**/yarn.lock, !**/*.lock
📒 Files selected for processing (8)
  • .changeset/proud-clowns-check.md (1 hunks)
  • .changeset/thin-dolls-tap.md (1 hunks)
  • package.json (1 hunks)
  • packages/config/index.d.ts (0 hunks)
  • packages/config/index.js (0 hunks)
  • packages/eslint-config/package.json (1 hunks)
  • packages/nano-staged/base.js (2 hunks)
  • packages/prettier-config/package.json (1 hunks)
💤 Files with no reviewable changes (2)
  • packages/config/index.d.ts
  • packages/config/index.js
🧰 Additional context used
🪛 GitHub Check: codecov/patch
packages/nano-staged/base.js

[warning] 32-32: packages/nano-staged/base.js#L32
Added line #L32 was not covered by tests


[warning] 40-40: packages/nano-staged/base.js#L40
Added line #L40 was not covered by tests

🔇 Additional comments (6)
packages/eslint-config/package.json (1)

80-80: Verify resolver release notes & peer-dependency alignment
eslint-import-resolver-typescript was bumped to ^4.4.4. This package occasionally tightens its required typescript range. Please make sure the repo’s pinned typescript (root devDependencies) satisfies the new resolver’s peer range and that eslint --print-config still resolves parserOptions.project correctly in CI.

package.json (1)

28-30: Patch-level Angular bump looks safe; double-check lock-file and angular-eslint coupling
Going from 20.0.420.0.5 should be non-breaking, yet the monorepo uses [email protected]. Confirm that the minor patch does not require an angular-eslint upgrade and that your lock-file regenerated cleanly (yarn install --immutable).

packages/prettier-config/package.json (1)

41-41: 👍 Upgrade to [email protected]
No breaking changes reported in the changelog; the bump aligns with Prettier 3.6.1. Formatting CI should cover any regressions.

.changeset/thin-dolls-tap.md (1)

1-6: Changeset correctly reflects the dependency bump
File is well-formed and uses patch release as expected.

.changeset/proud-clowns-check.md (1)

1-7: Changeset message mirrors code removal of prettierCli
Documentation and versioning metadata look good.

packages/nano-staged/base.js (1)

1-1: prettierCli import clean-up looks good, but double-check for stragglers.

The explicit removal of prettierCli keeps the dependency surface smaller and avoids dead code.
Please run a quick repo-wide search to ensure no stale references slipped through.

#!/bin/bash
# Verify that prettierCli is no longer referenced anywhere.
rg --line-number --word-regexp 'prettierCli'

@JounQin JounQin merged commit 97cedcc into master Jun 26, 2025
24 checks passed
@JounQin JounQin deleted the fix/prettier_cli branch June 26, 2025 04:57
Copy link

@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 491c1f2 in 10 minutes and 20 seconds. Click for details.
  • Reviewed 117 lines of code in 8 files
  • Skipped 1 files when reviewing.
  • Skipped posting 8 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/proud-clowns-check.md:6
  • Draft comment:
    Changelog message is clear; ensure it follows our conventions.
  • Reason this comment was not posted:
    Confidence changes required: 0% <= threshold 50% None
2. .changeset/thin-dolls-tap.md:5
  • Draft comment:
    Dependency bump for prettier-plugin-sh logged correctly.
  • Reason this comment was not posted:
    Confidence changes required: 0% <= threshold 50% None
3. package.json:28
  • Draft comment:
    Angular packages updated to 20.0.5; ensure these patch updates are compatible with consumers.
  • Reason this comment was not posted:
    Confidence changes required: 10% <= threshold 50% None
4. packages/config/index.d.ts:7
  • Draft comment:
    Removed 'prettierCli' export from type definitions; ensure consumers update their imports accordingly.
  • Reason this comment was not posted:
    Comment did not seem useful. Confidence is useful = 0% <= threshold 50% The comment is purely informative, reminding the PR author to ensure consumers update their imports. It doesn't provide a specific code suggestion or ask for a test to be written.
5. packages/config/index.js:44
  • Draft comment:
    Removed 'prettierCli' export since Prettier now natively supports the experimental CLI flag. Verify that dependent code uses the default 'prettier' command.
  • Reason this comment was not posted:
    Comment did not seem useful. Confidence is useful = 0% <= threshold 50% The comment is asking the PR author to verify that dependent code uses the default 'prettier' command after removing 'prettierCli' export. This is asking the author to double-check something, which violates the rules.
6. packages/eslint-config/package.json:78
  • Draft comment:
    Bumped eslint-import-resolver-typescript to ^4.4.4; double-check compatibility with the ESLint setup.
  • Reason this comment was not posted:
    Confidence changes required: 0% <= threshold 50% None
7. packages/nano-staged/base.js:1
  • Draft comment:
    Removed 'prettierCli' import and now using hardcoded 'prettier --write'. Confirm this change is intentional since it removes dynamic CLI behavior based on env.
  • Reason this comment was not posted:
    Comment looked like it was already resolved.
8. packages/prettier-config/package.json:41
  • Draft comment:
    Updated prettier-plugin-sh to ^0.18.0; verify that this update doesn't introduce breaking changes.
  • Reason this comment was not posted:
    Confidence changes required: 0% <= threshold 50% None

Workflow ID: wflow_CnXBxfLB9L9zSaq5

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file internal This affects the hidden internals

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant