-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
chore: fix local dev missing dep #5167
Conversation
✅ Deploy Preview for fastidious-cascaron-4ded94 ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Ah, that's where it was used. Can't we just use
|
The main advantage is that this version works on Windows (I think). See https://github.com/mysticatea/npm-run-all/blob/master/docs/run-p.md |
We use pnpm's |
Thanks for the PR. I also noticed that and just wanted to confirm with others. There are two $ pnpm dev
...
packages/browser dev: command not found: run-p
packages/browser dev: Failed
/home/hiroshi/code/others/vitest/packages/browser:
ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL @vitest/[email protected] dev: `rimraf dist && run-p dev:node dev:client`
Exit status 127
ELIFECYCLE Command failed with exit code 1. vitest/packages/browser/package.json Lines 47 to 49 in 5ed537f
vitest/packages/ui/package.json Lines 41 to 43 in c441a75
How about using (EDIT: created a PR #5174) diff --git a/packages/browser/package.json b/packages/browser/package.json
index efeba6c3..8f1c4b4c 100644
--- a/packages/browser/package.json
+++ b/packages/browser/package.json
@@ -49 +49 @@
- "dev": "rimraf dist && run-p dev:node dev:client",
+ "dev": "rimraf dist && pnpm run --stream '/^dev:/'",
diff --git a/packages/ui/package.json b/packages/ui/package.json
index b7189664..70412026 100644
--- a/packages/ui/package.json
+++ b/packages/ui/package.json
@@ -43 +43 @@
- "dev:ui": "run-p dev dev:client",
+ "dev:ui": "pnpm run --stream '/^(dev|dev:client)$/'", |
We merged pnpm --stream instead |
Nice, I didn't know about this pnpm feature |
Description
I noticed the package wasn't installed to run the project. If that's intentional, ignore the PR or feel free to just add manually and close this
Please don't delete this checklist! Before submitting the PR, please make sure you do the following:
pnpm-lock.yaml
unless you introduce a new test example.Tests
pnpm test:ci
.Documentation
pnpm run docs
command.Changesets
feat:
,fix:
,perf:
,docs:
, orchore:
.