Commit 91eec75
committed
fix(cli): create empty yarn.lock for yarn projects in migration
Yarn Berry's hardened mode on public PRs forbids lockfile creation but
allows updating an existing one. The YARN_ENABLE_HARDENED_MODE env var
cannot override this auto-detection. Instead, create an empty yarn.lock
during migration so yarn install treats it as an update.1 parent 174331e commit 91eec75
2 files changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
147 | | - | |
148 | | - | |
149 | 147 | | |
150 | 148 | | |
151 | 149 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1126 | 1126 | | |
1127 | 1127 | | |
1128 | 1128 | | |
| 1129 | + | |
| 1130 | + | |
| 1131 | + | |
| 1132 | + | |
| 1133 | + | |
| 1134 | + | |
| 1135 | + | |
| 1136 | + | |
1129 | 1137 | | |
1130 | 1138 | | |
1131 | 1139 | | |
| |||
0 commit comments