Transform composes to random interpolations for emotion 8.
npm install -g jscodeshift
npm install https://github.com/emotion-js/emotion-composes-codemod
jscodeshift -t emotion-composes-codemod/transforms/composes <path>
Will modify files in place, so make sure you can recover if it goes wrong!
In
css`
composes: ${flex};
`
Out
css`
${flex};
`
Random interpolations do not support interpolating regular class names like composes.