Is Supabase CLI not available via npm (node packag...
# help
l
Is Supabase CLI not available via npm (node package manager)? https://github.com/supabase/cli
n
Hello @Ludvig! This thread has been automatically created from your message in #843999948717555735 a ``few seconds ago``. Pinging @User so that they see this as well! Want to unsubscribe from this thread? Right-click the thread in Discord (or use the ... menu) and select Leave Thread to unsubscribe from future updates. Want to change the title? Use the
/title
command! We have solved your problem? Click the button below to archive it.
o
Hi Indeed the CLI is not available via npm. You still can ask for it by creating an issue on the repo
n
Ludvig (2022-04-19)
l
There is an issue about it already https://github.com/supabase/cli/issues/127
Makes very little sense that it's not published there
Is it because it's written in go?
o
The CLI includes a lot of stuff not easy to do using nodejs (mainly docker stuff if i remember correctly). It makes more sense to use golang for that, but i agree it should be published to npm, it is just kinda tricky to do it
l
How can we figure this out and where is this on the priority list? How much is being done to fix it?
Or is the cli under heavy/early development atm and therefore there are big steps such as this still missing?
o
There is some steps missing, you can see them in the readme file of the project
l
What is completed is already great functionality, which web devs using supabase could benefit a lot from. Does it not make sense to try and figure out the hard parts to be able to publish the CLI to npm, and then continue working on it from there? It needs to be done at some point anyways, and will it not only get harder, the more the code grows, as long as the CLI is being developed without npm in mind?
I'd like to help but I know nothing about Go and publishing packages to npm
Still a junior dev
o
You can try to contribute by making an up to date library of "go-npm"
I still can try to make a PR later if it's really necessary
l
There might be a fork which is more up to date? https://github.com/gzuidhof/go-npm
o
Indeed, can you share the link to this project in the issue directly to inform the team about it please?
l
Done
o
Thanks you!
l
No, thank YOU. Supabase and their open source work is AWESOME
Let me know if there is something else I can do as a junior noob to push for this to happen.
o
I guess the fastest way to implement it would be to make a pull request
I think patience would be the key here
l
If i'd try to make a pull request on this i'd probably fail miserably. I'll have patience and keep an eye on the issue 🙂