create - clean workspace
add (update) - compatibility checks
addx2 (incremental update) - detect dependency, possibly bail.
For an add-on like eslint, it most likely has to bail as soon as it detects a discrepency during add and addx2. Loosely coupled packages like component libraries could be able to handle all 3, addx2 could be bumping dependencies and running codemod.
Not sure if this comes in the form of an API, util or just a pattern (and docs) we should to add to the official add-ons.
This came up in #1034. It wasn't immediately obvious to me that I should handle these cases.
create- clean workspaceadd(update) - compatibility checksaddx2(incremental update) - detect dependency, possibly bail.For an add-on like
eslint, it most likely has to bail as soon as it detects a discrepency duringaddandaddx2. Loosely coupled packages like component libraries could be able to handle all 3,addx2could be bumping dependencies and runningcodemod.Not sure if this comes in the form of an API,
utilor just a pattern (and docs) we should to add to the official add-ons.This came up in #1034. It wasn't immediately obvious to me that I should handle these cases.