Commit b7317b1
authored
In certain scenarios, running `bazel run @npm2//:sync` does not reliably update the aspect lock files. For example:
```
# Update the version in package.json
$ yarn bazel run @npm2//:sync # Lock file is updated
$ git restore .aspect
$ yarn bazel run @npm2//:sync # Lock file is NOT updated
```
Switching to `bazel sync --only=repo` guarantees that the lock file is consistently updated.
More context: https://angular-team.slack.com/archives/C042EU9T5/p1739398554132249
1 parent 389821c commit b7317b1
1 file changed
+5
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
259 | 259 | | |
260 | 260 | | |
261 | 261 | | |
262 | | - | |
| 262 | + | |
263 | 263 | | |
264 | 264 | | |
265 | 265 | | |
266 | 266 | | |
267 | | - | |
268 | 267 | | |
269 | | - | |
| 268 | + | |
270 | 269 | | |
271 | 270 | | |
272 | 271 | | |
273 | 272 | | |
274 | | - | |
275 | | - | |
276 | | - | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
277 | 276 | | |
278 | | - | |
279 | 277 | | |
280 | 278 | | |
281 | 279 | | |
0 commit comments