build: migrate repo to use pnpm as the package manager (#10607)

* build: migrate repo to use `pnpm` as the pacakge manager

* corepack enable

* update lock file

* format files

* format .github

* fix audit js

* wrap in quotes

* --frozen-lockfile

* simplify packageManager field

* lockfile

* remove cache from audit workflow
This commit is contained in:
Amr Bashir
2024-08-17 05:04:08 +03:00
committed by GitHub
parent 9e891933d8
commit 01f6aa3405
75 changed files with 5692 additions and 5360 deletions

View File

@@ -6,7 +6,7 @@
echo "Building API definitions..."
cd tooling\api
yarn; yarn build
pnpm i; pnpm build
cd ..\..
echo "Installing the Tauri Rust CLI..."
@@ -23,8 +23,8 @@ $result = $host.ui.PromptForChoice("Node.js CLI", "Do you want to install the No
switch ($result) {
0{
cd tooling\cli\node
yarn; yarn build; yarn link
pnpm i; pnpm build; pnpm link
cd ..\..
echo "Tauri Node.js CLI installed. use `yarn link @tauri-apps/cli` and run it with '$ yarn tauri [COMMAND]'."
echo "Tauri Node.js CLI installed. use `pnpm link @tauri-apps/cli` and run it with '$ pnpm tauri [COMMAND]'."
}
}

View File

@@ -6,7 +6,7 @@
echo "Building API definitions..."
cd tooling/api
yarn && yarn build
pnpm i && pnpm build
cd ../..
echo "Building the Tauri Rust CLI..."
@@ -20,9 +20,9 @@ select yn in "Yes" "No"; do
case $yn in
Yes )
cd tooling/cli/node
yarn && yarn build && yarn link
pnpm i && pnpm build && pnpm link
cd ../../..
echo "Tauri Node.js CLI installed. use `yarn link @tauri-apps/cli` and run it with '$ yarn tauri [COMMAND]'."
echo "Tauri Node.js CLI installed. use `pnpm link @tauri-apps/cli` and run it with '$ pnpm tauri [COMMAND]'."
break;;
No ) break;;
esac