eik-lib / cli

CLI to publish packages and import maps to Eik, and to manage aliases
https://eik.dev
1 stars 3 forks source link

Refactor project structure #578

Open digitalsadhu opened 3 months ago

digitalsadhu commented 3 months ago

I believe we should refactor the CLI into a multi package repo with the following packages

/
  /packages
    /sdk
    /cli

SDK would be published as @eik/sdk and would be the JavaScript API surface CLI would continue to be published as @eik/cli and would be the cli surface and would depend on @eik/sdk

wkillerud commented 2 months ago

I've only written one test with the JS API, but I didn't mind having to import that from the CLI. If we refactor it's another user-facing package to introduce and document.

If we do refactor I would prefer we split at the repo level like all our other modules to keep things consistent.