NPM workspaces to share code in UI extensions

Please pass on my thanks to the team that made it possible to share code between UI extensions!

I had a Settings Page AND an App Home Page with the same duplicated components (git submodules)… and now I have only one folder with all of my components.

Here’s the official docs: Share code between your extensions using npm workspaces - HubSpot docs

Any reduction in WTFs/minute is welcome!

Thank you

Mike

This is a great feature! I just learned this now.

Thanks for sharing your excitement @felixmacaspac, I’m glad you found the NPM workspaces feature helpful!
If you have any questions or want to share how you’re using it, we’d love to hear more.
And thanks so much @Mike_Eastwood for your positive feedback, I’ve shared it internally!
Happy coding!
Bérangère