Commit 6a4b5ba
authored
Migrate frontend to yarn 4 (#71)
### Description
Since we are no longer tracking `frontend/.yarn/`, and
[yarnrc.yml](https://github.com/Kryha/KREAd/blob/develop/frontend/.yarnrc.yml)
points to it, yarn breaks.
Coincidentally, [yarn 4](https://yarnpkg.com/blog/release/4.0) just
landed and it seems to solve the issue with Corepack:
> "...we used to recommend using the
[yarnPath](https://yarnpkg.com/configuration/yarnrc#yarnPath) setting
pointing to a checked-in binary, but this pattern increased friction
more than we liked - many people didn't like the idea of adding a binary
to their repository, however small. We listened, and worked conjointely
with Node.js on a project called
[Corepack](https://nodejs.org/api/corepack.html). Corepack is a tool
shipped with Node.js 16+ that will automatically select the right
package manager version to run depending on the project you're working
on"
### Acceptance Criteria
- [x] yarn does not depend on `/frontend/.yarn`
- [x] QAd1 parent df362cf commit 6a4b5ba
3 files changed
+10225
-15138
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
2 | 5 | | |
3 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
4 | 10 | | |
5 | 11 | | |
6 | 12 | | |
7 | 13 | | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
| 14 | + | |
| 15 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
| 101 | + | |
| 102 | + | |
102 | 103 | | |
0 commit comments