chore(desktop): Update package scripts to use pnpm for linting and formatting

- Prefix eslint and prettier commands with pnpm
- Ensure consistent script execution across the desktop package

Signed-off-by: Innei <tukon479@gmail.com>
This commit is contained in:
Innei 2025-03-04 14:30:43 +08:00
parent 9b0db3024e
commit fcde08bb98
No known key found for this signature in database
GPG Key ID: 0F62D33977F021F7
1 changed files with 2 additions and 2 deletions

View File

@ -82,8 +82,8 @@
"tsx scripts/apply-changelog.ts ${NEW_VERSION}",
"git add changelog",
"tsx plugins/vite/generate-main-hash.ts",
"eslint --fix package.json",
"prettier --ignore-unknown --write package.json",
"pnpm eslint --fix package.json",
"pnpm prettier --ignore-unknown --write package.json",
"git add package.json"
],
"after": [