angular / components

Component infrastructure and Material Design components for Angular
https://material.angular.io
MIT License
24.33k stars 6.73k forks source link

Multiple npm packages on npmjs.com - material2 and @angular/material #2898

Closed vlodko closed 7 years ago

vlodko commented 7 years ago

Proposal:

I'm seeing multiple different npm packages on npmjs.com: material2, @angular/material and angular2-material which is a list of component actually.

All of them are pointing to the same github repo: https://github.com/angular/material2.

Is there a possibility to have only one official page for material2 package because it's quite confusing? Thanks

emoralesb05 commented 7 years ago

angular2-material was the name the package had before, and anything published in npm stays there forever (unless you talk to the npm people).

The rebranding and supported packages are @angular/material, so just ignore the other ones.

devversion commented 7 years ago

@emoralesb05 Yeah that's true. Also the NPM package material2 is not an official one.

vlodko commented 7 years ago

@emoralesb05 @DevVersion thanks for clarification. Can I use angular2-material separate packages? Do you have plan to update those?

devversion commented 7 years ago

@vlodko No those angular2-material packages are outdated and all newer versions of Angular Material will be released under @angular/material.

By using tree-shaking you will automatically only include the packages you use in your Angular application.

vlodko commented 7 years ago

@DevVersion thanks for reply! Need to add tree-shaking to the project now :)

angular-automatic-lock-bot[bot] commented 5 years ago

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.