Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve Package Detection #8306

Merged
merged 12 commits into from
Sep 6, 2023
Merged

Improve Package Detection #8306

merged 12 commits into from
Sep 6, 2023

Conversation

jacobdalamb
Copy link
Contributor

@jacobdalamb jacobdalamb commented Aug 30, 2023

Changes

  • Update preferred-pm and which-pm-runs as latest version now supports Bun.
  • Standardized variable names from pkgManager to packageManager.
  • bunx astro add command correctly uses bun.
  • Telemetry notice returns package manager.

Previous attempts

#8219
#8150

Testing

Manually tested. Here's a screenshot
okay
bun-telemetry

Docs

https://docs.astro.build/en/recipes/bun/

…r, standardized variable names, and fixed integration addition command

Replaced preferred-pm and which-pm with @skarab/detect-package-manager.
Standardized variable names from `pkgManager` to `packageManager`.
Fixed the `bunx astro add` command for adding integrations.
@github-actions github-actions bot added pkg: create-astro Related to the `create-astro` package (scope) pkg: astro Related to the core `astro` package (scope) labels Aug 30, 2023
@jacobdalamb jacobdalamb changed the title Replaced preferred-pm and which-pm with @skarab/detect-package-manage… Refactor Package Detection Aug 30, 2023
@changeset-bot
Copy link

changeset-bot bot commented Aug 30, 2023

🦋 Changeset detected

Latest commit: b075b65

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

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

@jacobdalamb jacobdalamb marked this pull request as draft September 2, 2023 06:52
@jacobdalamb jacobdalamb marked this pull request as ready for review September 2, 2023 07:06
@jacobdalamb jacobdalamb changed the title Refactor Package Detection fix: Add Bun detection Sep 2, 2023
@jacobdalamb jacobdalamb changed the title fix: Add Bun detection Improve Package Detection Sep 2, 2023
@jacobdalamb jacobdalamb marked this pull request as draft September 3, 2023 05:59
@jacobdalamb jacobdalamb marked this pull request as ready for review September 5, 2023 00:04
packages/astro/src/cli/index.ts Outdated Show resolved Hide resolved
.changeset/friendly-clocks-act.md Outdated Show resolved Hide resolved
.changeset/friendly-clocks-act.md Outdated Show resolved Hide resolved
@bluwy bluwy merged commit d2f2a11 into withastro:main Sep 6, 2023
13 checks passed
@astrobot-houston astrobot-houston mentioned this pull request Sep 6, 2023
@jacobdalamb jacobdalamb deleted the improve-bun-detection branch September 6, 2023 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg: astro Related to the core `astro` package (scope) pkg: create-astro Related to the `create-astro` package (scope)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants