Skip to content

Commit 1e336b6

Browse files
authored
fix(cli.js): Fix package installation on yarn 2+ (#3012)
1 parent 639fcad commit 1e336b6

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changes/fix-yarn-pnp.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"cli.js": patch
3+
---
4+
5+
Automatically unplug `@tauri-apps/cli` in yarn 2+ installations to fix the download of the rust-cli.

tooling/cli.js/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"url": "https://opencollective.com/tauri"
1717
},
1818
"scripts": {
19+
"postinstall": "",
1920
"build": "rimraf ./dist && rollup -c --silent",
2021
"build-release": "rimraf ./dist && cross-env NODE_ENV=production rollup -c",
2122
"test": "cross-env NODE_OPTIONS=--experimental-vm-modules jest --runInBand --forceExit --no-cache --testPathIgnorePatterns=\"(build|dev)\"",

0 commit comments

Comments
 (0)