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

Provide a ZIP file or single file for using Scale without NodeJS #2136

Closed
SebastianGode opened this issue Sep 20, 2023 · 4 comments · Fixed by #2153
Closed

Provide a ZIP file or single file for using Scale without NodeJS #2136

SebastianGode opened this issue Sep 20, 2023 · 4 comments · Fixed by #2153
Labels
feature New component features and enhancements

Comments

@SebastianGode
Copy link

SebastianGode commented Sep 20, 2023

Describe the feature request
Currently it's hard to use Scale without NodeJS as compared to e.g. React there are no static UMD builds from scale available. This means a user either would need to manually compile the whole project and then copy the dist folder to it's target project or he would need to use the slow UNPKG CDN from here: https://unpkg.com/browse/@telekom/[email protected]/dist/
It would be great to have a ZIP file on each tag with the dist output of the build.

Describe the use case
Not every website is using NodeJS as environment. In some cases it's not even possible to use NodeJS. Scale should however be also usable in those websites.

Describe alternatives you've considered
The alternative of providing a ZIP file would be to instead provide a UMD build consisting only of a single JavaScript and CSS file which you can copy to the destination project. That would make using it even easier and less complex. This already has been discussed in this issue: #642 (comment)
With the current state of the project the resulting two files however will be extremely large. While it would be the better solution and other projeccts like e.g. React do this as well (see https://unpkg.com/browse/[email protected]/umd/) it would need some sort of optimization to get the files smaller.

@SebastianGode SebastianGode added the feature New component features and enhancements label Sep 20, 2023
@tischrei
Copy link

Really needed for our (Python based) Sphinx projects.

@acstll
Copy link
Collaborator

acstll commented Sep 27, 2023

It would be great to have a ZIP file on each tag with the dist output of the build.

Let's do this 👍

Thanks for opening this @SebastianGode

@acstll
Copy link
Collaborator

acstll commented Sep 27, 2023

@SebastianGode @tischrei here's a first test, done manually, so you can try it out and make it is what we need.

https://github.com/telekom/scale/releases/tag/v3.0.0-beta.141

We'll automate this next.

@tischrei
Copy link

Hi @acstll ,
this is what we need. It works very well. 😄
I would be happy to see this as an automated release.

Thanks in advance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New component features and enhancements
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants