pnpm uses npm lmao

This commit is contained in:
Jozef Steinhübl 2023-10-21 18:19:20 +02:00
parent c3cfef6205
commit 3b86592cb1
No known key found for this signature in database
GPG key ID: E944BC293F5FF7E7
3 changed files with 25 additions and 3 deletions

View file

@ -77,7 +77,8 @@
},
"BetterRoleDot": {
"enabled": true,
"bothStyles": false
"bothStyles": false,
"copyRoleColorInProfilePopout": false
},
"BetterUploadButton": {
"enabled": false
@ -586,6 +587,12 @@
},
"Dearrow": {
"enabled": false
},
"OnePingPerDM": {
"enabled": false
},
"PermissionFreeWill": {
"enabled": false
}
},
"notifications": {
@ -598,6 +605,6 @@
"authenticated": true,
"url": "https://api.vencord.dev/",
"settingsSync": true,
"settingsSyncVersion": 1694953114463
"settingsSyncVersion": 1697115966658
}
}

View file

@ -41,4 +41,16 @@ if [[ $1 == "install" ]]; then
exit
fi
# Trick publish command
if [[ $1 == "publish" ]]; then
corepack npm $@
exit
fi
# Trick info command
if [[ $1 == "info" ]]; then
corepack npm $@
exit
fi
pnpm $@

5
.zshrc
View file

@ -118,7 +118,10 @@ export PATH="$ZIGD_HOME:$PATH"
# pnpm
export PNPM_HOME="/home/hyro/.local/share/pnpm"
export PATH="$PNPM_HOME:$PATH"
case ":$PATH:" in
*":$PNPM_HOME:"*) ;;
*) export PATH="$PNPM_HOME:$PATH" ;;
esac
# pnpm end
# bun