Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why isn't this package on NPM? #12

Closed
phiresky opened this issue May 15, 2021 · 4 comments
Closed

Why isn't this package on NPM? #12

phiresky opened this issue May 15, 2021 · 4 comments
Labels
faq Frequently asked question

Comments

@phiresky
Copy link

The library does not seem to be on NPM right now. Is that intentional?

@rhashimoto
Copy link
Owner

rhashimoto commented May 15, 2021

Sort of? I guess there are reasons; not sure if they are actually good reasons.

  • I'm lazy - Learning how to publish on NPM has never been high on my list.
  • Unsure about benefits - The tiny fraction of developers for whom it might be interesting or useful will probably find it. It seems easy enough to reference a package with a git link.
  • It's not stable - This is an experiment that is one month old. I haven't gotten around to incorporating it into my own web app yet. Right now it's more of a proof-of-concept than a component. Update: It's older than a month and has had some use. The library itself has been pretty stable, but examples (e.g. IndexedDbVFS) have not.
  • Low traffic is a happy place - I don't have any motivation to mess with that.

Counterpoints welcome!

@rhashimoto rhashimoto changed the title NPM release? Why isn't this package on NPM? May 16, 2021
@rhashimoto rhashimoto added the faq Frequently asked question label May 16, 2021
@guillempuche
Copy link

It would be nice to publish as npm package, everyone knows how to install it.

I have errors installing it with yarn add wa-sqlite@github:rhashimoto/wa-sqlite or yarn add wa-sqlite@github:rhashimoto/wa-sqlite#v0.9.11 (Yarn Berry)

Packing wa-sqlite@https://github.com/rhashimoto/wa-sqlite.git#commit=390744d41c61aa0bbd53d3c738abef5e23f71cc4 from sources
Using Yarn for bootstrap. Reason: "__metadata" key found in yarn.lock

➤ YN0036: Calling the "prepack" lifecycle script
➤ YN0000: wa-sqlite@workspace:. STDERR make: *** No rule to make target `tmp/obj/dist/sqlite3.o', needed by `dist/wa-sqlite.mjs'.  Stop.
➤ YN0036: Prepack script failed (exit code 2, logs can be found here: /private/var/folders/ys/spt316fs5sxck01gjy40s1rc0000gn/T/xfs-9811de01/prepack.log); run yarn prepack to investigate
➤ YN0000: Failed with errors in 0s 11ms

@AntonOfTheWoods
Copy link

It also appears others find it worth publishing their versions too, so that might cause some community confusion... https://www.npmjs.com/package/@journeyapps/wa-sqlite/v/0.0.0-dev-20231130012731

@guillempuche
Copy link

True, i don't know which one is up-to-date with your repo.

https://www.npmjs.com/search?q=wa-sqlite
imatge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
faq Frequently asked question
Projects
None yet
Development

No branches or pull requests

4 participants