cherry-studio/patches
George·Dong d10f6242f2 refactor: switch workflows from yarn to pnpm
Replace Yarn usage with pnpm in CI workflows to standardize package
management and leverage pnpm's store/cache behavior.

- Use pnpm/action-setup to install pnpm (v) instead of enabling corepack
  and preparing Yarn.
- Retrieve pnpm store path and update cache actions to cache the pnpm
  store and use pnpm-lock.yaml for cache keys and restores.
- Replace yarn commands with pnpm equivalents across workflows:
  install, i18n:sync/translate, format, build:* and tsx invocation.
- Avoid committing lockfile changes by resetting pnpm-lock.yaml instead
  of yarn.lock when checking for changes.
- Update install flags: use pnpm install --frozen-lockfile / --install
  semantics where appropriate.

These changes unify dependency tooling, improve caching correctness,
and ensure CI uses pnpm-specific lockfile and cache paths.
2026-01-03 23:39:10 +08:00
..
@ai-sdk-google-npm-2.0.49-84720f41bd.patch refactor: switch workflows from yarn to pnpm 2026-01-03 23:39:10 +08:00
@ai-sdk-openai-compatible-npm-1.0.28-5705188855.patch refactor: switch workflows from yarn to pnpm 2026-01-03 23:39:10 +08:00
@ai-sdk-openai-npm-2.0.85-27483d1d6a.patch refactor: switch workflows from yarn to pnpm 2026-01-03 23:39:10 +08:00
@anthropic-ai-claude-agent-sdk-npm-0.1.62-23ae56f8c8.patch refactor: switch workflows from yarn to pnpm 2026-01-03 23:39:10 +08:00
@anthropic-ai-vertex-sdk-npm-0.11.4-c19cb41edb.patch refactor: switch workflows from yarn to pnpm 2026-01-03 23:39:10 +08:00
@google-genai-npm-1.0.1-e26f0f9af7.patch refactor: switch workflows from yarn to pnpm 2026-01-03 23:39:10 +08:00
@langchain-core-npm-1.0.2-183ef83fe4.patch refactor: switch workflows from yarn to pnpm 2026-01-03 23:39:10 +08:00
@langchain-openai-npm-1.0.0-474d0ad9d4.patch refactor: switch workflows from yarn to pnpm 2026-01-03 23:39:10 +08:00
@napi-rs-system-ocr-npm-1.0.2-59e7a78e8b.patch refactor: switch workflows from yarn to pnpm 2026-01-03 23:39:10 +08:00
@tavily-core-npm-0.3.1-fe69bf2bea.patch refactor: switch workflows from yarn to pnpm 2026-01-03 23:39:10 +08:00
@tiptap-extension-drag-handle-npm-3.2.0-5a9ebff7c9.patch refactor: switch workflows from yarn to pnpm 2026-01-03 23:39:10 +08:00
antd-npm-5.27.0-aa91c36546.patch refactor: switch workflows from yarn to pnpm 2026-01-03 23:39:10 +08:00
atomically-npm-1.7.0-e742e5293b.patch refactor: switch workflows from yarn to pnpm 2026-01-03 23:39:10 +08:00
electron-updater-npm-6.7.0-47b11bb0d4.patch refactor: switch workflows from yarn to pnpm 2026-01-03 23:39:10 +08:00
epub-npm-1.3.0-8325494ffe.patch refactor: switch workflows from yarn to pnpm 2026-01-03 23:39:10 +08:00
file-stream-rotator-npm-0.6.1-eab45fb13d.patch refactor: switch workflows from yarn to pnpm 2026-01-03 23:39:10 +08:00
libsql-npm-0.4.7-444e260fb1.patch refactor: switch workflows from yarn to pnpm 2026-01-03 23:39:10 +08:00
ollama-ai-provider-v2-npm-1.5.5-8bef249af9.patch refactor: switch workflows from yarn to pnpm 2026-01-03 23:39:10 +08:00
pdf-parse-npm-1.1.1-04a6109b2a.patch refactor: switch workflows from yarn to pnpm 2026-01-03 23:39:10 +08:00
pkce-challenge-npm-4.1.0-fbc51695a3.patch refactor: switch workflows from yarn to pnpm 2026-01-03 23:39:10 +08:00
tesseract.js-npm-6.0.1-2562a7e46d.patch refactor: switch workflows from yarn to pnpm 2026-01-03 23:39:10 +08:00