Skip to content

Conversation

@jennifer-shehane
Copy link
Member

@jennifer-shehane jennifer-shehane commented Sep 26, 2025

  • Closes

Additional details

Steps to test

How has the user experience changed?

PR Tasks


Note

Add Bun as a first-class package manager (detection, install commands, schema/types) with comprehensive system test coverage and tooling updates.

  • App/Data Context:
    • Detect bun via bun.lock in ProjectLifecycleManager.getPackageManagerUsed().
    • Add Bun install command to wizard (WizardDataSource.installDependenciesCommand).
  • Types & Schema:
    • Extend PACKAGE_MANAGERS to include bun.
    • Add bun to GraphQL PackageManagerEnum.
  • System Tests / Dep Installer:
    • New getBunCommand with cache env (BUN_INSTALL_CACHE_DIR).
    • Update installer to recognize bun.lock, resolve lockfile conflicts, and run Bun/Pnpm/Yarn/Npm accordingly; support commands with custom env.
    • Add getPnpmCommand and enhance lockfile detection.
  • System Test Projects & Specs:
    • Add Bun projects: bun-with-deps, bun-component-testing (React + TS), bun-workspace, and pristine-bun.
    • New specs validating Bun CLI (open/run/install/verify), e2e, component, TypeScript, and workspaces.
  • Scripts/CI:
    • bootstrap-docker-container.sh: support installing Cypress via bun add.
    • projects-yarn-install.js: workspace detection utility, skip Bun projects during cache step; export helper and add tests.
    • Bump CI cache version.

Written by Cursor Bugbot for commit 340ccca. This will update automatically on new commits. Configure here.

@jennifer-shehane jennifer-shehane self-assigned this Sep 26, 2025
cursor[bot]

This comment was marked as outdated.

@cypress
Copy link

cypress bot commented Sep 26, 2025

cypress    Run #67638

Run Properties:  status check passed Passed #67638  •  git commit 340cccaf67: bump circle cache
Project cypress
Branch Review bun-support
Run status status check passed Passed #67638
Run duration 24m 43s
Commit git commit 340cccaf67: bump circle cache
Committer Jennifer Shehane
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 6
Tests that did not run due to a developer annotating a test with .skip  Pending 1097
Tests that did not run due to a failure in a mocha hook  Skipped 4
Tests that passed  Passing 26698
View all changes introduced in this branch ↗︎

Warning

Partial Report: The results for the Application Quality reports may be incomplete.

UI Coverage  45.48%
  Untested elements 188  
  Tested elements 161  
Accessibility  98.01%
  Failed rules  4 critical   8 serious   2 moderate   2 minor
  Failed elements 101  

@MikeMcC399
Copy link
Contributor

@jennifer-shehane

Does this mean that you are now considering supporting Bun?

  • As package manager alternative?
  • As Node.js alternative?
  • Or both?

There are a couple of related issues / PRs:

@jennifer-shehane jennifer-shehane marked this pull request as draft October 15, 2025 17:03
@jennifer-shehane
Copy link
Member Author

@MikeMcC399 Yes, was trying it out to see what the blockers were. It seems to be mostly working fine, but we need to restructure some of the test installs.

@jennifer-shehane jennifer-shehane marked this pull request as ready for review November 18, 2025 20:31
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.

3 participants