stalgiag / p5.xr

a library that helps turn p5.js sketches into immersive experiences using WebXR
GNU Lesser General Public License v2.1
117 stars 25 forks source link

Fix npm package version, bump minor version #239

Closed TiborUdvari closed 1 month ago

TiborUdvari commented 1 month ago

I've noticed some mistakes in the published npm versions, which you can see here: https://www.jsdelivr.com/package/npm/p5.xr?tab=files

There are some versions like 0.4.65 and 0.4.66. I'm guessing these were meant to be between 0.4.6 and 0.4.7, but they are being recognized as the latest versions in the CDN.

The current version should be 0.4.17. To clean things up, I’m planning to bump the minor version to start fresh. Jumping directly to 0.4.69 would likely cause confusion.

As far as I remember, it's not possible to unpublish from npm (thanks to the leftpad incident).

I also fixed the release workflow in 8418ec02eb7cbe49b8f55e86e52c6b689625be0a, which wasn't building the project before deploying to npm.

TiborUdvari commented 1 month ago

So I bumped to 0.5.0, we should be ok now. It took a while to update on the CDN, but I found this handy page to purge the cache.

https://www.jsdelivr.com/tools/purge

I also appended @latest to the download link in the docs, because when I wanted a specific version I never know where to put the version number, that way it's a little more clear.

84ae399f963e1baa62a9197dd89c13d30b0c5b8b