emilhe / dash-extensions

The dash-extensions package is a collection of utility functions, syntax extensions, and Dash components that aim to improve the Dash development experience
https://www.dash-extensions.com/
MIT License
417 stars 59 forks source link

Publish to unpkg CDN #284

Closed cesarqdt closed 1 year ago

cesarqdt commented 1 year ago

Hi! Thanks for this project that brings new components to the Dash ecosystem!

I would like to use dash-extensions for a Dash project in production where I prefer to use the unpkg CDN for delivering the JS sources of Dash components. However I noticed that the sources for dash-extensions are inexistent on unpkg.

https://unpkg.com/dash_extensions

Cannot find package dash_extensions@latest

Do you plan to publish your components to NPM to make them available on unpkg? Thanks

emilhe commented 1 year ago

Thanks! I have just published the latests non-rc release (1.0.3) to npm. Could you test if it works as intended? If so, I'll add the step to the CICD pipeline, thus making all new releases available.

EDIT: Please note that it's published with a dash, not an underscore, i.e. https://unpkg.com/dash-extensions@1.0.3/README.md

cesarqdt commented 1 year ago

Thanks @emilhe, I have tested on 1.0.3 and confirm that the packages are in the CDN and the pages are rendering from it. Please add it into the CICD pipeline so new releases would also upload the unpkg.

emilhe commented 1 year ago

I have added the required steps to the pipeline from version 1.0.4 :)

cesarqdt commented 12 months ago

Hi @emilhe since last week this stoped working, any idea why the JS are not being loaded? Here's the screenshot of the network tab (which was 200 response code last week).

Screenshot 2023-10-10 at 11 18 22