Commit beb0449
[rush-lib] Add async APIs for disk-touching methods in PackageJsonEditor, CommonVersionsConfiguration, and VersionPolicy (microsoft#5724)
* Refactor PackageJsonEditor.
* fixup! Refactor PackageJsonEditor.
* fixup! Refactor PackageJsonEditor.
* Add changelog entry for PackageJsonEditor async API refactor.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* Update a downstream project to use the async APIs.
---------
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 9938fd5 commit beb0449
File tree
19 files changed
+441
-232
lines changed- common
- changes/@microsoft/rush
- reviews/api
- libraries/rush-lib/src
- api
- test
- cli/actions
- logic
- installManager
- versionMismatch
- repo-scripts/repo-toolbox/src/cli/actions
19 files changed
+441
-232
lines changedLines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
| 140 | + | |
140 | 141 | | |
| 142 | + | |
141 | 143 | | |
| 144 | + | |
142 | 145 | | |
| 146 | + | |
143 | 147 | | |
144 | 148 | | |
145 | 149 | | |
| |||
1097 | 1101 | | |
1098 | 1102 | | |
1099 | 1103 | | |
1100 | | - | |
| 1104 | + | |
1101 | 1105 | | |
1102 | 1106 | | |
| 1107 | + | |
| 1108 | + | |
1103 | 1109 | | |
1104 | 1110 | | |
1105 | 1111 | | |
1106 | 1112 | | |
1107 | | - | |
| 1113 | + | |
1108 | 1114 | | |
| 1115 | + | |
| 1116 | + | |
1109 | 1117 | | |
1110 | 1118 | | |
1111 | 1119 | | |
| |||
1648 | 1656 | | |
1649 | 1657 | | |
1650 | 1658 | | |
| 1659 | + | |
1651 | 1660 | | |
| 1661 | + | |
| 1662 | + | |
1652 | 1663 | | |
| 1664 | + | |
1653 | 1665 | | |
1654 | 1666 | | |
1655 | 1667 | | |
| |||
Lines changed: 46 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
189 | | - | |
190 | | - | |
| 189 | + | |
191 | 190 | | |
192 | 191 | | |
193 | 192 | | |
194 | 193 | | |
195 | 194 | | |
196 | 195 | | |
197 | | - | |
198 | | - | |
| 196 | + | |
199 | 197 | | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
200 | 225 | | |
201 | 226 | | |
202 | 227 | | |
| |||
242 | 267 | | |
243 | 268 | | |
244 | 269 | | |
245 | | - | |
| 270 | + | |
246 | 271 | | |
247 | 272 | | |
248 | 273 | | |
| |||
257 | 282 | | |
258 | 283 | | |
259 | 284 | | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
260 | 301 | | |
261 | 302 | | |
262 | 303 | | |
| |||
0 commit comments