I Broke My VS Code Extension to Scale It (The Monorepo Journey)
dev.to·2h·
Discuss: DEV
🏗️Build Systems
Preview
Report Post

Building a VS Code extension is fun, but what happens when you want to take that same logic to mobile?

I’ve been working on DotSense, a developer wellness tool. It started as a VS Code extension, but I wanted to expand it to Android using Kotlin & React Native.

The problem? My business logic was tightly coupled to the VS Code API. I couldn’t just "copy-paste" it to mobile.

The Decision: Monorepo Architecture I decided to refactor the entire project into a Monorepo structure using npm workspaces.

packages/core: The "Brain" (Analytics, Gamification, Statistics). Pure TypeScript, no platform dependencies.

packages/vscode-extension: The "Desktop UI". Consumes the core.

packages/mobile: The "Mobile App" 📱 (Coming soon). Will consume the same core.

The "Red Screen...

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help