Skip to content

fix: make cli aware when run in npx/pnpx context #7315

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

Merged
merged 1 commit into from
Jun 2, 2025
Merged

Conversation

mrstork
Copy link
Contributor

@mrstork mrstork commented May 30, 2025

Summary

Changes the output of init and link commands to be aware of the npx/pnpx context they are being run in
Part of FRB-1840


For us to review and ship your PR efficiently, please perform the following steps:

  • Open a bug/issue before writing your code 🧑‍💻. This ensures we can discuss the changes and get feedback from everyone that should be involved. If you`re fixing a typo or something that`s on fire 🔥 (e.g. incident related), you can skip this step.
  • Read the contribution guidelines 📖. This ensures your code follows our style guide and
    passes our tests.
  • Update or add tests (if any source code was changed or added) 🧪
  • Update or add documentation (if features were changed or added) 📝
  • Make sure the status checks below are successful ✅

A picture of a cute animal (not mandatory, but encouraged)

Copy link

github-actions bot commented May 30, 2025

📊 Benchmark results

Comparing with 2b2cad3

  • Dependency count: 1,148 (no change)
  • Package size: 271 MB (no change)
  • Number of ts-expect-error directives: 397 (no change)

@mrstork mrstork marked this pull request as ready for review May 30, 2025 19:36
@mrstork mrstork requested a review from a team as a code owner May 30, 2025 19:36
@mrstork mrstork force-pushed the cli-aware-of-npx branch from 8de8bac to c1d69f2 Compare May 30, 2025 19:40
@mrstork mrstork merged commit a02d312 into main Jun 2, 2025
62 of 66 checks passed
@mrstork mrstork deleted the cli-aware-of-npx branch June 2, 2025 18:47
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.

2 participants