Skip to content

chore: migrate vitest + @vitest/coverage-v8 to pnpm catalog#619

Closed
meleksomai wants to merge 1 commit intomainfrom
claude/catalog-vitest-deps
Closed

chore: migrate vitest + @vitest/coverage-v8 to pnpm catalog#619
meleksomai wants to merge 1 commit intomainfrom
claude/catalog-vitest-deps

Conversation

@meleksomai
Copy link
Copy Markdown
Contributor

@meleksomai meleksomai commented Apr 29, 2026

Closing per discussion — pnpm catalogs aren't yet adopted in this repo. The decision on whether to migrate is being tracked separately. The branch can be deleted; the changeset and commits are preserved on claude/catalog-vitest-deps if we want to revisit.

vitest and @vitest/coverage-v8 were hard-pinned in 47 package.json
files. Each new package had to copy the version; each upgrade had to
touch every file. One package (@glion/annotate-profile-segments) had
silently drifted to 4.1.0 while the rest sat on 4.1.2 — two distinct
vitest installs lived in node_modules until pnpm's hoister
deduplicated them.

Changes:
- pnpm-workspace.yaml gains a catalog: block with vitest and
  @vitest/coverage-v8 at 4.1.2
- All 47 package.json files now reference "vitest": "catalog:" and
  "@vitest/coverage-v8": "catalog:"
- @glion/annotate-profile-segments reconciled from 4.1.0 -> 4.1.2
  (its 8 tests pass under the bumped version)
- pnpm install removed 44 entries from node_modules (the dup vitest
  install is gone)

No source changes; no public API impact. Future test-tooling
additions just reference catalog: and stay aligned.

https://claude.ai/code/session_01MvBEUcGkRokNw2GWYVHADg
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Apr 29, 2026

🦋 Changeset detected

Latest commit: 85c295e

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

This PR includes changesets to release 0 packages

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

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

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented Apr 29, 2026

Open in StackBlitz

@glion/ack

npm i https://pkg.pr.new/rethinkhealth/glion/@glion/ack@619

@glion/annotate-delimiters

npm i https://pkg.pr.new/rethinkhealth/glion/@glion/annotate-delimiters@619

@glion/annotate-profile-context

npm i https://pkg.pr.new/rethinkhealth/glion/@glion/annotate-profile-context@619

@glion/annotate-profile-datatypes

npm i https://pkg.pr.new/rethinkhealth/glion/@glion/annotate-profile-datatypes@619

@glion/annotate-profile-fields

npm i https://pkg.pr.new/rethinkhealth/glion/@glion/annotate-profile-fields@619

@glion/annotate-profile-fields-code-systems

npm i https://pkg.pr.new/rethinkhealth/glion/@glion/annotate-profile-fields-code-systems@619

@glion/annotate-profile-segments

npm i https://pkg.pr.new/rethinkhealth/glion/@glion/annotate-profile-segments@619

@glion/ast

npm i https://pkg.pr.new/rethinkhealth/glion/@glion/ast@619

@glion/builder

npm i https://pkg.pr.new/rethinkhealth/glion/@glion/builder@619

@glion/config

npm i https://pkg.pr.new/rethinkhealth/glion/@glion/config@619

@glion/decode-escapes

npm i https://pkg.pr.new/rethinkhealth/glion/@glion/decode-escapes@619

@glion/encode-escapes

npm i https://pkg.pr.new/rethinkhealth/glion/@glion/encode-escapes@619

@glion/cli

npm i https://pkg.pr.new/rethinkhealth/glion/@glion/cli@619

@glion/hl7v2

npm i https://pkg.pr.new/rethinkhealth/glion/@glion/hl7v2@619

@glion/jsonify

npm i https://pkg.pr.new/rethinkhealth/glion/@glion/jsonify@619

@glion/lint-max-message-size

npm i https://pkg.pr.new/rethinkhealth/glion/@glion/lint-max-message-size@619

@glion/lint-message-version

npm i https://pkg.pr.new/rethinkhealth/glion/@glion/lint-message-version@619

@glion/lint-no-trailing-empty-field

npm i https://pkg.pr.new/rethinkhealth/glion/@glion/lint-no-trailing-empty-field@619

@glion/lint-profile-events-segments-order

npm i https://pkg.pr.new/rethinkhealth/glion/@glion/lint-profile-events-segments-order@619

@glion/lint-profile-extra-components

npm i https://pkg.pr.new/rethinkhealth/glion/@glion/lint-profile-extra-components@619

@glion/lint-profile-extra-fields

npm i https://pkg.pr.new/rethinkhealth/glion/@glion/lint-profile-extra-fields@619

@glion/lint-profile-field-max-length

npm i https://pkg.pr.new/rethinkhealth/glion/@glion/lint-profile-field-max-length@619

@glion/lint-profile-field-repetition

npm i https://pkg.pr.new/rethinkhealth/glion/@glion/lint-profile-field-repetition@619

@glion/lint-profile-required-components

npm i https://pkg.pr.new/rethinkhealth/glion/@glion/lint-profile-required-components@619

@glion/lint-profile-required-fields

npm i https://pkg.pr.new/rethinkhealth/glion/@glion/lint-profile-required-fields@619

@glion/lint-profile-table-values

npm i https://pkg.pr.new/rethinkhealth/glion/@glion/lint-profile-table-values@619

@glion/lint-required-message-header

npm i https://pkg.pr.new/rethinkhealth/glion/@glion/lint-required-message-header@619

@glion/lint-segment-header-length

npm i https://pkg.pr.new/rethinkhealth/glion/@glion/lint-segment-header-length@619

@glion/mllp

npm i https://pkg.pr.new/rethinkhealth/glion/@glion/mllp@619

@glion/mllp-ack

npm i https://pkg.pr.new/rethinkhealth/glion/@glion/mllp-ack@619

@glion/mllp-client

npm i https://pkg.pr.new/rethinkhealth/glion/@glion/mllp-client@619

@glion/mllp-transport

npm i https://pkg.pr.new/rethinkhealth/glion/@glion/mllp-transport@619

@glion/parser

npm i https://pkg.pr.new/rethinkhealth/glion/@glion/parser@619

@glion/preset-annotate-profile-recommended

npm i https://pkg.pr.new/rethinkhealth/glion/@glion/preset-annotate-profile-recommended@619

@glion/preset-lint-profile-recommended

npm i https://pkg.pr.new/rethinkhealth/glion/@glion/preset-lint-profile-recommended@619

@glion/preset-lint-recommended

npm i https://pkg.pr.new/rethinkhealth/glion/@glion/preset-lint-recommended@619

@glion/profiles

npm i https://pkg.pr.new/rethinkhealth/glion/@glion/profiles@619

@glion/to-hl7v2

npm i https://pkg.pr.new/rethinkhealth/glion/@glion/to-hl7v2@619

@glion/util-query

npm i https://pkg.pr.new/rethinkhealth/glion/@glion/util-query@619

@glion/util-semver

npm i https://pkg.pr.new/rethinkhealth/glion/@glion/util-semver@619

@glion/util-timestamp

npm i https://pkg.pr.new/rethinkhealth/glion/@glion/util-timestamp@619

@glion/util-visit

npm i https://pkg.pr.new/rethinkhealth/glion/@glion/util-visit@619

@glion/utils

npm i https://pkg.pr.new/rethinkhealth/glion/@glion/utils@619

commit: 85c295e

@meleksomai meleksomai closed this Apr 29, 2026
@codspeed-hq
Copy link
Copy Markdown

codspeed-hq Bot commented Apr 29, 2026

Merging this PR will not alter performance

✅ 21 untouched benchmarks


Comparing claude/catalog-vitest-deps (85c295e) with main (5e3d97e)

Open in CodSpeed

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 29, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.81%. Comparing base (5e3d97e) to head (85c295e).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #619   +/-   ##
=======================================
  Coverage   93.81%   93.81%           
=======================================
  Files         134      134           
  Lines        4093     4093           
  Branches     1051     1051           
=======================================
  Hits         3840     3840           
  Misses        253      253           
🚀 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.

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