mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-07 12:33:36 +09:00
- setup corepack for pnpm and forbid yarn usage with "engines" field - converted yarn lockfile into pnpm lockfile with `pnpm import` command - replaced yarn with pnpm in scripts and github actions, had to use custom cache to support corepack This PR is only migration. Will use new pnpm features in other PRs. ```diff du -ckd1 node_modules (yarn) - 1125032 du -ckd1 node_modules/.pnpm + 857456 ``` Install time (including cache downloads) in github actions reduced from 42s to 23s ## Before requesting a review - [ ] if the PR is WIP - use draft mode - [ ] made a self-review - [ ] added inline comments where things may be not obvious (the "why", not "what") - [ ] what kind of review is needed? - [x] conceptual - [X] detailed - [ ] with testing ## Test cases - [ ] step by step interaction description and what is expected to happen ## Before merging - [ ] tested locally and on preview environment (preview dev login: 5de6) - [ ] updated [test cases](https://github.com/webstudio-is/webstudio-designer/blob/main/apps/designer/docs/test-cases.md) document - [ ] added tests - [ ] if any new env variables are added, added them to `.env.example` and the `designer/env-check.js` if mandatory