Skip to content

chore(deps): replace which-pm-runs with package-manager-detector#16901

Merged
ematipico merged 6 commits into
mainfrom
ocavue/deps363
Jun 2, 2026
Merged

chore(deps): replace which-pm-runs with package-manager-detector#16901
ematipico merged 6 commits into
mainfrom
ocavue/deps363

Conversation

@ocavue

@ocavue ocavue commented May 28, 2026

Copy link
Copy Markdown
Contributor

Changes

Since astro depends on @astrojs/telemetry, all dependencies of @astrojs/telemetry are also (transitive) dependencies of astro.

This PR replaces which-pm-runs with package-manager-detector in @astrojs/telemetry. package-manager-detector is already a direct dependency of astro (and @astrojs/upgrade).

Result: one fewer transitive dependency for the astro package. The total number of dependencies dropped from 247 to 246.

image

Testing

Green CI

Docs

I need a changeset file to trigger a release.

which-pm-runs uses sync API and package-manager-detector uses async API, so some internal implementations are tweaked. No public API has changed.

@changeset-bot

changeset-bot Bot commented May 28, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 3ece39a

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

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

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@ocavue ocavue marked this pull request as ready for review May 28, 2026 22:03
Comment thread .changeset/swap-which-pm-runs.md Outdated
@ocavue ocavue requested a review from ematipico June 2, 2026 13:52
@ematipico ematipico merged commit e8fe0f5 into main Jun 2, 2026
25 checks passed
@ematipico ematipico deleted the ocavue/deps363 branch June 2, 2026 13:58
ematipico added a commit that referenced this pull request Jun 2, 2026
* chore: move integration tests to unit tests (#16869)

* chore(deps): replace which-pm-runs with package-manager-detector (#16901)

* chore(deps): update dependency hono to v4.12.18 [security] (#16669)

* Fix false positive missing-content audit for hidden anchors (#16016)

* fix: remove dead else branch in csp insertDirective (#16921)

Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>

* chore: avoid formatter conflicts (#16897)

---------

Co-authored-by: ocavue <ocavue@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Felmon <felmonon@gmail.com>
Co-authored-by: Stefan Machhammer <stefan.machhi@gmail.com>
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