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

Adds Bun package manager support (detection, install commands, schema/types) and introduces Bun-focused system tests/projects.

  • Core/App:
    • Add bun to PackageManagerEnum in schema.graphql and to PACKAGE_MANAGERS in packages/types.
    • Detect bun.lock in ProjectLifecycleManager.getPackageManagerUsed().
    • Wizard install command supports Bun (bun add -D).
  • System Tests/Tooling:
    • Dependency installer detects conflicting lockfiles incl. bun.lock and runs appropriate installer (getBunCommand, getPnpmCommand).
    • Implement getBunCommand (env-based cache) and getPnpmCommand utilities; enhance runner to pass env to execa.
    • Update cache bootstrap to optionally install Cypress via Bun.
    • Improve projects-yarn-install.js:
      • Workspace package detection (supports yarn/npm/pnpm/bun lockfiles).
      • Skip Bun projects during CI cache step; export isWorkspacePackage.
  • New System-Test Projects:
    • bun-with-deps, bun-component-testing (React + TS), bun-workspace (workspaces), and pristine-bun fixtures with bun.lock.
  • Tests:
    • New specs: Bun CLI usage, e2e/component with Bun, TypeScript with Bun, workspace handling, and workspace detection unit tests.

Written by Cursor Bugbot for commit 3c6bcc5. 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 #67581

Run Properties:  status check passed Passed #67581  •  git commit 3c6bcc5c1c: Update bun_cli_spec.ts
Project cypress
Branch Review bun-support
Run status status check passed Passed #67581
Run duration 19m 00s
Commit git commit 3c6bcc5c1c: Update bun_cli_spec.ts
Committer Jennifer Shehane
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 13
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%
  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