-
-
Notifications
You must be signed in to change notification settings - Fork 10.1k
CLI: Support addon-vitest setup when --skip-install is passed #33718
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
Changes from all commits
304eb5a
906df16
7a5f4d7
b6464e0
c5e9676
73addfb
388db38
1bee851
1efe45f
6755af1
5f277da
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -79,11 +79,15 @@ export class PNPMProxy extends JsPackageManager { | |
|
|
||
| public runPackageCommand({ | ||
| args, | ||
| useRemotePkg = false, | ||
| ...options | ||
| }: Omit<ExecuteCommandOptions, 'command'> & { args: string[] }): ResultPromise { | ||
| }: Omit<ExecuteCommandOptions, 'command'> & { | ||
| args: string[]; | ||
| useRemotePkg?: boolean; | ||
| }): ResultPromise { | ||
| return executeCommand({ | ||
| command: 'pnpm', | ||
| args: ['exec', ...args], | ||
| args: [useRemotePkg ? 'dlx' : 'exec', ...args], | ||
| ...options, | ||
| }); | ||
| } | ||
|
Comment on lines
80
to
93
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🏁 Script executed: #!/bin/bash
# Search for runPackageCommand implementations in other proxies
echo "=== Checking NPMProxy ==="
rg -n "runPackageCommand" code/core/src/common/js-package-manager/NPMProxy.ts -A 10 | head -30
echo ""
echo "=== Checking Yarn1Proxy ==="
rg -n "runPackageCommand" code/core/src/common/js-package-manager/Yarn1Proxy.ts -A 10 | head -30
echo ""
echo "=== Checking Yarn2Proxy ==="
rg -n "runPackageCommand" code/core/src/common/js-package-manager/Yarn2Proxy.ts -A 10 | head -30
echo ""
echo "=== Checking BunProxy ==="
rg -n "runPackageCommand" code/core/src/common/js-package-manager/BunProxy.ts -A 10 | head -30Repository: storybookjs/storybook Length of output: 1209 Address inconsistency: Other package manager proxies lack The PNPMProxy implementation adds
Either add 🤖 Prompt for AI Agents |
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should have a comment here, explaining why we need to do it this way.