-
Notifications
You must be signed in to change notification settings - Fork 497
Commit 34b948e
fix: add
This approach works with both pnpm 10 and other package managers:
- If Cypress's `postinstall` script has been run, it'll do nothing other
than print a message.
- If `postinstall` hasn't been run, it'll download the Cypress binary.
As for why using `prepare` instead of `postinstall`, please refer to the
discussion thread where `husky` decided to use `prepare`:
- <typicode/husky#884>cypress install
to prepare
script to fix pnpm 10 compatibility1 parent 9d804ae commit 34b948e
1 file changed
+1
-0
lines changedLines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 | + | ||
3 | 4 |
| |
4 | 5 |
| |
5 | 6 |
| |
|
0 commit comments