Skip to content

chore: consolidate prettierignore and prettierrc files: autogen#8082

Merged
feywind merged 15 commits intomainfrom
feywind-gh4581-prettier-ag
Apr 24, 2026
Merged

chore: consolidate prettierignore and prettierrc files: autogen#8082
feywind merged 15 commits intomainfrom
feywind-gh4581-prettier-ag

Conversation

@feywind
Copy link
Copy Markdown
Contributor

@feywind feywind commented Apr 20, 2026

Split from #7948 to handle just autogen library changes.

Regarding: googleapis/librarian#4581

@feywind feywind requested a review from a team as a code owner April 20, 2026 19:35
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request introduces a Prettier configuration, adds gts as a development dependency, and updates a test assertion in the processing package. The most significant change is the addition of the build/protos directory to the files array in numerous package.json files across the monorepo to ensure these files are included in published packages. Feedback focuses on improving the consistency of the files array ordering across packages and removing a duplicate entry found in the google-cloud-translate configuration.

Comment thread packages/google-cloud-automl/package.json Outdated
Comment thread packages/google-cloud-translate/package.json Outdated
@feywind feywind force-pushed the feywind-gh4581-prettier-ag branch from c85a8f5 to e5c9d30 Compare April 20, 2026 21:59
@feywind feywind force-pushed the feywind-gh4581-prettier-ag branch from e5c9d30 to ce2d909 Compare April 20, 2026 22:11
@pearigee
Copy link
Copy Markdown
Contributor

Do we need to update the generator as well to stop automatically producing these? Is that in a separate PR?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Do we need this change? Can we remove it?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

These changes (the exitCode and the \* in the other file) were both hard errors on the linter when running through the CI. They're sensible changes anyway, so I am okay with going ahead with them. I'm not sure why they're only on storage-control, but this library is fairly old, so it might've predated the harmonization efforts.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Was this change made by running the formatter?

@feywind
Copy link
Copy Markdown
Contributor Author

feywind commented Apr 23, 2026

Do we need to update the generator as well to stop automatically producing these? Is that in a separate PR?

It looks like I filtered that out in this PR, but it might be best to do it separately anyway.

@feywind
Copy link
Copy Markdown
Contributor Author

feywind commented Apr 23, 2026

Do we need to update the generator as well to stop automatically producing these? Is that in a separate PR?

#8104

@feywind feywind merged commit a47507c into main Apr 24, 2026
32 checks passed
@feywind feywind deleted the feywind-gh4581-prettier-ag branch April 24, 2026 17:14
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