fix: use pnpm catalog#30
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Centralizes Node/TS/tooling dependency versions by adopting pnpm’s workspace catalog, so packages can reference shared versions via catalog: rather than duplicating semver ranges across the repo.
Changes:
- Add a workspace
catalogtopnpm-workspace.yamldefining shared versions for common tooling/deps (TypeScript, Vite, Vitest, etc.). - Replace per-package version specifiers with
catalog:in multiplepackage.jsonfiles across examples, packages, and integration test web source. - Regenerate
pnpm-lock.yamlto record catalog usage and updated resolutions.
Reviewed changes
Copilot reviewed 8 out of 9 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| tests/integration/web-src/package.json | Switch devDependencies (node types / TS / Vite) to catalog:. |
| pnpm-workspace.yaml | Introduce the workspace catalog with shared dependency versions. |
| pnpm-lock.yaml | Record catalog definitions and update importers to use specifier: 'catalog:' plus refreshed resolutions. |
| packages/ipc/package.json | Use catalog: for cborg, tsdown, and typescript. |
| packages/ipc-eventa/package.json | Use catalog: for @moeru/eventa, tsdown, typescript, and vitest. |
| packages/cli/package.json | Use catalog: for CLI deps/devDeps (citty/execa/vite/ts tooling). |
| package.json | Use catalog: for root devDependencies (biome/types/bumpp/execa/ini). |
| examples/eventa-csharp/web/package.json | Use catalog: for @moeru/eventa and web tooling devDependencies. |
| examples/basic-ipc/web/package.json | Use catalog: for web tooling devDependencies. |
Files not reviewed (1)
- pnpm-lock.yaml: Generated file
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.