Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.

feat: detect bun package manager #4752

Merged
merged 1 commit into from
Sep 11, 2023
Merged

Conversation

colinhacks
Copy link
Contributor

@colinhacks colinhacks commented Aug 29, 2023

Depends on expo/expo#24168

Why

Detect bun package manager in create-expo-app

How

  • Checks npm_config_user_agent for bun

Test Plan

Tests have been addeed to resolvePackageManager.test.ts

EvanBacon added a commit to expo/expo that referenced this pull request Sep 8, 2023
# Why

Adds Bun as a recognized package manager

Sister PR: expo/expo-cli#4752

# How

Added `@expo/package-manager`

# Test Plan

Added `BunPackageManager-test.ts` and added Bun tests to
`nodeManagers-test.ts`.

<!--
Please describe how you tested this change and how a reviewer could
reproduce your test, especially if this PR does not include automated
tests! If possible, please also provide terminal output and/or
screenshots demonstrating your test/reproduction.
-->

# Checklist

---------

Co-authored-by: Evan Bacon <baconbrix@gmail.com>
Co-authored-by: Expo Bot <34669131+expo-bot@users.noreply.github.com>
brentvatne pushed a commit to expo/expo that referenced this pull request Sep 11, 2023
Adds Bun as a recognized package manager

Sister PR: expo/expo-cli#4752

Added `@expo/package-manager`

Added `BunPackageManager-test.ts` and added Bun tests to
`nodeManagers-test.ts`.

<!--
Please describe how you tested this change and how a reviewer could
reproduce your test, especially if this PR does not include automated
tests! If possible, please also provide terminal output and/or
screenshots demonstrating your test/reproduction.
-->

---------

Co-authored-by: Evan Bacon <baconbrix@gmail.com>
Co-authored-by: Expo Bot <34669131+expo-bot@users.noreply.github.com>
@brentvatne brentvatne merged commit 171bf4e into expo:main Sep 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants