Skip to content

chore: use pnpm catalog#28236

Merged
aqrln merged 7 commits intoprisma:mainfrom
dulmandakh:use-pnpm-catalog
Oct 9, 2025
Merged

chore: use pnpm catalog#28236
aqrln merged 7 commits intoprisma:mainfrom
dulmandakh:use-pnpm-catalog

Conversation

@dulmandakh
Copy link
Copy Markdown
Contributor

@dulmandakh dulmandakh commented Oct 7, 2025

this PR introduces PNPM catalog to ease dependency version management. https://pnpm.io/catalogs

@dulmandakh
Copy link
Copy Markdown
Contributor Author

@aqrln @jacek-prisma any suggestions? should I proceed with it and put more dependencies into catalog?

@jacek-prisma
Copy link
Copy Markdown
Contributor

@dulmandakh I think it's a good idea to use the catalog for most dependencies

@aqrln
Copy link
Copy Markdown
Member

aqrln commented Oct 8, 2025

I like this as well. We are already using workspace dependencies in https://github.com/prisma/prisma-engines, so it's nice if we can do the same on TypeScript side.

@dulmandakh dulmandakh marked this pull request as ready for review October 8, 2025 18:12
Copilot AI review requested due to automatic review settings October 8, 2025 18:12
Copy link
Copy Markdown
Contributor

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 introduces PNPM catalog to centralize dependency version management across the workspace. The catalog allows for consistent versioning by defining dependency versions once in the root workspace file.

Key changes:

  • Added catalog section to pnpm-workspace.yaml with 68 common dependencies and their versions
  • Updated all package.json files to reference catalog versions using "catalog:" instead of explicit version numbers
  • Removed some unused devDependencies (like vitest) from certain packages

Reviewed Changes

Copilot reviewed 33 out of 34 changed files in this pull request and generated 13 comments.

File Description
pnpm-workspace.yaml Added catalog section with 68 dependency versions
packages/*/package.json Updated dependency references to use catalog versions
package.json Updated root dependencies to use catalog versions
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@aqrln aqrln added this to the 6.18.0 milestone Oct 9, 2025
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Oct 9, 2025
@dulmandakh
Copy link
Copy Markdown
Contributor Author

@aqrln please retry the failing test

@aqrln aqrln merged commit 10fab6b into prisma:main Oct 9, 2025
811 of 813 checks passed
jacek-prisma added a commit that referenced this pull request Oct 10, 2025
jacek-prisma added a commit that referenced this pull request Oct 10, 2025
This reverts commit 10fab6b.

This reverts the inclusion and usages of pnpm catalog. The reason for
reverting the change is that it breaks the prisma-engines test pipeline
(see
https://github.com/prisma/prisma-engines/actions/runs/18382915995/job/52373895545)
and we have no simple fix for it.
aqrln added a commit that referenced this pull request Oct 16, 2025
Conflicts in `packages/config` were automatically solved using
[Mergiraf](https://mergiraf.org/).

Commits:

- **fix: fix neon listener leak (#28255)**
- **feat(qpe): add an option to disable logging to console (#28253)**
- **feat(adapter-mssql): support multiSubnetFailover flag in connection
string (#28261)**
- **chore: use pnpm catalog (#28236)**
- **fix: revert "chore: use pnpm catalog (#28236)" (#28271)**
- **chore: upgrade OpenTelemetry deps and refresh tracing setup in
client (#28268)**
- **chore(deps): update engines to
6.18.0-3.b03d75f1a67e62289420f5697c28a3ff8dbb0424 (#28258)**
- **feat(qpe): expose package version as an export (#28275)**
- **feat: support OpenTelemetry in loadable sub-commands (#28272)**
- **chore(deps): update engines to
6.18.0-6.9bf76dbea6c9e34d59a3577015bd1e94bfda7624 (#28288)**
- **fix(adapter-pg): historical dates (#28212)**
- **chore(deps): update engines to
6.18.0-7.d3fc122f88ca3ce86f67a797debfb179a39ccf48 (#28293)**
- **fix: support multiple Prisma instances with different providers
(#28291)**
- **feat(config): add support for `engine?: 'js' | 'classic'` (#28266)**
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm This PR has been approved by a maintainer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants