chartist-js / chartist

Simple responsive charts
https://chartist.dev
MIT License
13.33k stars 2.54k forks source link

precompiled releases again like before #1388

Closed bobmagicii closed 1 year ago

bobmagicii commented 1 year ago

Would you like to work on this feature?

What problem are you trying to solve?

A long time ago Chartist used to be get the JS/CSS and go. Is it possible to get there again?

We are not a JS shop. NPM install fails on our local machines with puppetmaster things with the latest release on Github here as of this posting. Servers demand three full screens of node packages to install NPM, which I don't want to do since it doesn't compile on my local machine anyway. PNPM install instructions (copy pasting a command into admin powershell) also fail on Windows.

Primary requirement in our evaluations is just, can it load via ES6 modules, because as I said, not a JS shop. I know I am a moron but I am not this big of a moron. Getting roadblocked every which way.

Describe the solution you'd like

a dist folder in the releases

Describe alternatives you've considered

installing npm on a server i dont care about image image

downloading release from github and compiling it in vscode. starting with npm install. image

f7 in vs code, also installing pnpm copying their 1 line install for windows. image

also tried yarn like your readme suggested but i don't want to talk about that.

Documentation, Adoption, Migration Strategy

No response

bobmagicii commented 1 year ago

the only reason im so adamant about this is

image

i miss this lol

dangreen commented 1 year ago

@bobmagicii Hi. You can use unpkg for it:

https://unpkg.com/chartist@1.3.0/dist/index.umd.js https://unpkg.com/chartist@1.3.0/dist/index.css

bobmagicii commented 1 year ago

Ah, OK, cheers yeah that is fine.

I would only still persist the original request because just having it would be nice.

Originally how I fell down this path of pain was the home page download button currently goes to this 404: https://github.com/gionkunz/chartist-js/tree/develop/dist

Then I got crafty "ok ill get it from github releases" which the repo button on the home page takes you to the legacy repo: https://github.com/gionkunz/chartist-js

An then all my pain above. So it was really a terrible day all around.

There is something weird to me about JS people in that the JS ecosystem just never works for me and makes me cry and stuff. But when they release dists we can get along well enough.