nbd-wtf / nostr-tools

Tools for developing Nostr clients.
The Unlicense
685 stars 188 forks source link

devcontainer config #404

Closed antonioconselheiro closed 3 months ago

antonioconselheiro commented 3 months ago

With devcontainer is possible to start the project into a vscode or intellij without install any dev dependency in our host, neither node nor typescript.

I've created a devcontainer config for this library with just and bun, is a customized environment for this library development, running tests and local build, I hope you find it useful.

just included

fiatjaf commented 3 months ago

Jesus Christ, what are they doing with programmers?

fiatjaf commented 3 months ago

I'll merge this, but I reserve my right to nuke it out of existence if I wake up in a bad mood.

fiatjaf commented 3 months ago

Thank you.

antonioconselheiro commented 3 months ago

It would be very bad to have to controll different versions and dependencies installed on my host notebook (and install stuff into my host machine scares me a little), but surely is in your authority to nuke out of existence anything inside your library.

Thank you for receiving these settings.

antonioconselheiro commented 3 months ago

See this example if you find it interesting, I've created a devcontainer with nak and jq for my nostr client dev environment:

https://github.com/antonioconselheiro/bitcoin-nostred-auction/blob/master/.devcontainer/Dockerfile

Maybe you find this usefull.