8 Replies
The CLI shouldn't have tscircuit as a peer IIUC or it should be marked as an optional peer?
idk it looks like we have been trying stuff here...

I feel like the cli shouldn't have peer deps, it should be self contained
so normally i would agree but it's a special case
the CLI runs tsx code and it's expected that it will use the "tscircuit" version that the user has installed to their package
this means that we shouldn't bundle "tscircuit" inside the CLI
what would happen if we made it an optional peer dep i wonder? i'm a bit worried looking at the git blame

i believe their is a status page and test to prevent breakage for that case now, so it could be worth trying
i don't see how it's the wrong solution
now I change it to optional and see how it goes?
yea