You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Installing @cartesi/cli, either through npm install or brew install download the npm package all install all its dependencies.
The total size of the package installation for cartesi 0.16.1 is currently at ~55Mb.
Inquirer
Discussion about size here
There are several alternatives.
One that deserves more research is @clack/prompts
Giget
This library is being used in create command to download code from the templates repository.
Need to research why it's a little large, why, and if we need it.
Viem
There is an issue with how it is structured discussed here
📈 Subtasks
discuss solution for oclif
discuss solution for inquirer
discuss solution for giget
discuss solution for viem
🎯 Definition of Done
size reduced
The text was updated successfully, but these errors were encountered:
tuler
changed the title
Reduce CLI installation size
Reduce installation size
May 1, 2024
execa is not that big, but if we need an alternative, let's keep an eye on nano-spawn
Interesting. Even though it's immature, it's maintained by the same people of execa. And I don't really care about most of the extra features of execa compared to nano-spawn.
📚 Context
Installing @cartesi/cli, either through npm install or brew install download the npm package all install all its dependencies.
The total size of the package installation for cartesi 0.16.1 is currently at ~55Mb.
✔️ Solution
oclif alternatives
https://www.npmjs.com/package/commander
https://www.npmjs.com/package/clipanion
https://www.npmjs.com/package/cleye
https://github.com/adbayb/termost (includes enquirer)
Inquirer
Discussion about size here
There are several alternatives.
One that deserves more research is @clack/prompts
Giget
This library is being used in
create
command to download code from the templates repository.Need to research why it's a little large, why, and if we need it.
Viem
There is an issue with how it is structured discussed here
📈 Subtasks
🎯 Definition of Done
The text was updated successfully, but these errors were encountered: