Migrate package management from pnpm to Bun and refresh vulnerable dependencies#47
Draft
Migrate package management from pnpm to Bun and refresh vulnerable dependencies#47
Conversation
Co-authored-by: warengonzaga <15052701+warengonzaga@users.noreply.github.com> Agent-Logs-Url: https://github.com/wgtechlabs/unthread-webhook-server/sessions/5f4e086b-dfe8-4d11-8265-00e469769b14
Copilot created this pull request from a session on behalf of
warengonzaga
March 26, 2026 04:06
View session
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.
This updates the repo to use Bun as the package manager and script runner in place of pnpm, while keeping the existing runtime and test stack intact. It also refreshes the dependency set to current compatible versions and removes the audit findings reported in the project.
Package management
pnpmtobunonly-allow,.npmrc,pnpm-lock.yaml)Dependency updates
npmdependencyoverridesfor vulnerable transitive packages:flattedpicomatchCI and container flow
pnpmtobunDeveloper workflow and docs
Example of the intended behavior after this change:
{ "packageManager": "bun@1.3.11", "scripts": { "test": "vitest run", "test:watch": "vitest", "build": "tsc" }, "overrides": { "flatted": "3.4.2", "picomatch": "4.0.4" } }This means:
bun installbun run ...