Devlog 4: Migrated fully to pnpm 12.1 and fixed a concerning phantom dependency!
A dozen or so more hours into this project since I started logging, and I just realized I could migrate to the “better npm.” Not a very eventful devlog, but it’s weird that I just now realize I have free will. It’s literally better in every way. (What am I doing?)
What’s important to highlight, though, is that this decision literally exposed an implicit coupling in my dependencies. Brittle architecture, if you will.
Once upon a while ago, I imported clsx while using tailwind-merge and then I never thought about it again because it worked out of the box. However, I never actually installed clsx independently… It was a phantom dependency, which just so happened to resolve itself because npm just makes it work while pnpm actually cares about what’s good for your codebase. I can’t believe this kind of code smell really just started fouling now.
As a side note, I fixed some other bugs that accidentally showed up along the way, such as the Vercel badge not linking to the website properly, as well as README improvements, some of which, of course, reflect the new documentation.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.