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

Which files need to be hosted? #6437

Closed
pvnr0082t opened this issue Mar 26, 2017 · 6 comments
Closed

Which files need to be hosted? #6437

pvnr0082t opened this issue Mar 26, 2017 · 6 comments
Labels
support: question Community support but can be turned into an improvement

Comments

@pvnr0082t
Copy link

Problem description

Hi @hai-cea @oliviertassinari ,
We are cdnjs team, we want to host this project in cdnjs.
But I'm not sure which files published on NPM(or we can get files from GitHub repo) need to be added, could you please tell me? Thank you.

cdnjs/cdnjs#10908

@oliviertassinari
Copy link
Member

Thanks for your interest. We don't expose any bundle on the master branch.
However we exposed the two following one on the next branch:

  • /dist/material-ui.js
  • /dist/material-ui.min.js

@oliviertassinari oliviertassinari added the support: question Community support but can be turned into an improvement label Mar 26, 2017
@pvnr0082t
Copy link
Author

@oliviertassinari Thanks for your information, but the auto-updater in CDNJS can only fetch from version released, can't fetch from material-ui@latest automatically. Is it possible to release bundle files on NPM or GitHub repo? Thanks.

@oliviertassinari
Copy link
Member

It's on npm under the 1.0.0-alphaX versions. Is that enough or does it need to be under the latest tag of npm?

@pvnr0082t
Copy link
Author

@oliviertassinari Oh, I see dist directory after 1.0.0-alpha.4 on NPM, but I think we should wait for the stable version with dist directory.

Another question, because we host all versions of libraries, could you please provide bundled files of previous versions? Or it's fine to host the latest stable versions with bundled files?

@oliviertassinari oliviertassinari added this to the next milestone Mar 27, 2017
@oliviertassinari
Copy link
Member

Or it's fine to host the latest stable versions with bundled files?

I'm adding this issue to the next milestone. We will ping you once the official stable release is ready. I don't have time to provide releases for the previous versions. Maybe someone will.
I think that it's fine to host the latest stable versions with bundled files.

@oliviertassinari oliviertassinari removed this from the v1.0.0-prerelease milestone Jul 4, 2017
@oliviertassinari
Copy link
Member

We are publishing a /umd folder. You should be able to simply host material-ui.production.min.js from https://unpkg.com/material-ui@1.0.0-beta.6/umd/. Let us know if you need more information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
support: question Community support but can be turned into an improvement
Projects
None yet
Development

No branches or pull requests

2 participants