williamngan / pts

A library for visualization and creative-coding
https://ptsjs.org
Apache License 2.0
5.16k stars 182 forks source link

pts.js, pts.min.js added to .npmignore and are not served by cdns any longer #193

Closed pageSwanson closed 1 year ago

pageSwanson commented 1 year ago

It seems that this commit omits files in the dist folder which would expose functions needed to use Pts as an included script. You reference the instruction here and in your readme using links to unpkg, but the resource is missing.

Any chance you can restore these resources or expose the quickStart function and the Pts namespace some other way? I prefer to include it as a script in my use case as I'd rather not maintain a copy of Pts or have build steps for my static page.

For now I've just updated my reference to pull the 0.10.10 resource specifically, just before this change.

williamngan commented 1 year ago

Thanks for reporting this. I was updating the (old!) build system for v0.11 but missed this CDN use case. This has been fixed in 0.11.2.

williamngan commented 1 year ago

Should be working now. Give it a try and thank you again! https://unpkg.com/pts@0.11.2/dist/pts.js