Components: Nightly builds @angular2-material/XXXX@next

Created on 29 May 2016  路  11Comments  路  Source: angular/components

Bug, feature request, or proposal: feature/proposal

What is the expected behavior?

Provide nightly builds reflecting master in NPM

What is the current behavior?

No nightly builds.

What is the use-case or motivation for changing an existing behavior?

Currently there are a lot of things evolving, sometimes a feature exists in master for a while until it is released. One can "compile" his own version with little effort but this mean hassle for the project, either npm link the clone or removing the material dependencies from package.json and loosing the npm dependency inspection

Having @angular2-material/core@next will ease up the process.

Which versions of Angular, Material, OS, browsers are affected?

None

P3 dev-infra feature has pr

Most helpful comment

We publish all of our builds to git repos instead (example). you can install them from there via:

npm install angular/core-builds#optionalTagOrHash

I prefer git repos because they allow us to publish artifacts after each commit without flooding the npm. Additionally, it's easy to review what's being published and see the diffs as well we remove old version whenever we want to (unpublishing from npm is tricky and sometimes impossible).

All 11 comments

I think this would be something really useful.

We could manage this with the CI.

@IgorMinar are there any plans to do this for angular/angular? if so we should do it the same way.

We publish all of our builds to git repos instead (example). you can install them from there via:

npm install angular/core-builds#optionalTagOrHash

I prefer git repos because they allow us to publish artifacts after each commit without flooding the npm. Additionally, it's easy to review what's being published and see the diffs as well we remove old version whenever we want to (unpublishing from npm is tricky and sometimes impossible).

@IgorMinar That's great to know :)
Very cool solution, import tokens stay the same!

Do you have it in the docs? I googled angular nightly multiple times over the last year, never found a result...

I think it should be in the docs somewhere, I can find time to do it if you think it's needed.

material2 is going to add a lot of XXX-builds to the angular github account.
Don't you think it's better to put the builds in another github account, like angular-next? Is there a special need for it to be in the angular account?

@jelbourn There's another issue here, if material2 adopts this, how can one use both angular nightly and material2 nightly? material2 will have to reference angular nightly or else NPM havoc.

any progress on this?

Rather than going to npm, packages for each commit will be available through GitHub (similar to angular/angular).

Per-commit builds on a Github repository are now available (See angular/material2-builds)

npm i https://github.com/angular/material2-builds

This installs the current version on GitHub to your node_modules as same as a normal NPM package.

Hey,

i have problems with the build. I just run

npm install -g angular-cli
ng new myProject
npm i https://github.com/angular/material2-builds

Then i added Materialmodule.forRoot() to my app.module and run ng serve.
After this i get the following error:

Can't bind to 'mdrippletrigger' since it isn't a known property of 'div'. ("f="!_isRippleDisabled()" class="md-button-ripple" [class.md-button-ripple-round]="_isRoundButton()" [ERROR ->][mdrippletrigger]="_getHostElement()" [mdripplecolor]="_isRoundButton() ? 'rgba(255, 255, 255, 0.2)' "): MdButton@0:183...

Any ideas whats wrong?

@Chris1308 that build was broken. This will happen when installing from master- that's why we do releases :)

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._

Was this page helpful?
0 / 5 - 0 ratings

Related issues

constantinlucian picture constantinlucian  路  3Comments

theunreal picture theunreal  路  3Comments

LoganDupont picture LoganDupont  路  3Comments

shlomiassaf picture shlomiassaf  路  3Comments

dzrust picture dzrust  路  3Comments