Check for duplicates
Component
dev-tools and possibly other plugins that depend on each other.
Description
dev-tools depends on a few other packages in samples, but instead of linking against them it's compiling all of their code into the published dev-tools package. The downstream effect of this is that if there's a version mismatch between block-tools and its dependencies (like block-test) anything that depends on dev-tools may get the wrong version.
I ran into this with browser tests which depends on dev-tools and block-test. Updating only the block-test version didn't do anything because it was only loading dev-tools and using the version that was compiled into it.
Reproduction steps
- In Blockly, update package.json to use [email protected] and [email protected]
- Start the playground and switch to Test Blocks
- Check the Statement category and you'll see the version from [email protected] instead of @7.0.2
Stack trace
Screenshots
No response