-
Notifications
You must be signed in to change notification settings - Fork 357
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
feat(): upgrade to [email protected] and [email protected] #967
Conversation
Getting an error on npm ERR! A complete log of this run can be found in: |
updating the dev dependency |
Whoops, good catch @Josh-Schoen . I think that was introduced with the layout.scss changes. |
Ah nvm, i think its the |
fixed~ |
@emoralesb05 do you see any issues with the dev dependencies listed above? |
@ianqueue thats actually an issue thats happening since [email protected].. it happens with any animation inside another animation. in this case @Josh-Schoen i didnt run into that issue.. not sure why you are running into it |
Just adding a note here in the off chance it comes of. For anyone using Jest to test, a workaround is required in your Global Mocks related to animations. Specifically, the
Credit to @marcojahn for the workaround. |
@emoralesb05 - the difference is somewhat nuanced for sure... I'm comparing what is in prod now and they behave differently fwiw regarding the expansion panels. You can see the difference if you navigate between Demo and Code tabs here... https://teradata.github.io/covalent/#/components/expansion-panel Basically they lose state on this branch... but not in master ( may be furtherly broken as you stated ). Good to know about the animations. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same text distortion issue on |
Cool, was fixing the dynamic forms one so we are good to go on that one, i dont see the data-table one though |
Ah, you mean the data-table API docs? yeah, we need to change that into an |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Nice - any idea when this will get published to npm? |
You can use the nightly builds for the time being |
will the node < 7 constraint be lifted (i've tried a build and found at the 1st sight no problem)? I' made these changes (at commit ba18ef5 from 'develop')
(I don't know that node-sass update was necessary or not, but anyway, that was installed. the 'require-dir' bump is needed to 'npm run build') with this config I ran 'npm run reinstall:latest' (I don't use yarn yet), and after that, both 'ng serve' and 'npm run build' worked as expected. my setup (+ npm 5.5.1): [incze@hp6000 covalent]$ ng version
_ _ ____ _ ___
/ \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _|
/ △ \ | '_ \ / _` | | | | |/ _` | '__| | | | | | |
/ ___ \| | | | (_| | |_| | | (_| | | | |___| |___ | |
/_/ \_\_| |_|\__, |\__,_|_|\__,_|_| \____|_____|___|
|___/
Angular CLI: 1.5.0
Node: 8.9.1
OS: linux x64
Angular: 5.0.1
... animations, common, compiler, compiler-cli, core, forms
... http, platform-browser, platform-browser-dynamic
... platform-server, router
@angular/cdk: 5.0.0-rc0
@angular/cli: 1.5.0
@angular/material: 5.0.0-rc0
@angular-devkit/build-optimizer: 0.0.32
@angular-devkit/core: 0.0.20
@angular-devkit/schematics: 0.0.35
@ngtools/json-schema: 1.1.0
@ngtools/webpack: 1.8.0
@schematics/angular: 0.1.2
typescript: 2.4.2
webpack: 3.8.1 |
@lincze thats a restriction we do on our repo since we dont want people developing features use anything over node 7.. you can use whatever you want in your projects that use covalent since its package.json based. |
* chore(): upgrade to [email protected] and material 5.0.0-rc * fix(): add test.ts to spec.json * fix(): breaking change replace MatDrawerToggleResult with void return * chore(): add TrackByFunction type to virtual scroll * fix(): remove deprecated methods and classes * feat(): breaking change from angular 5 we have to register specific locales now * fix(): test registered and unregistered locales * fix(): fix navigation-drawer layout alignment because of material breaking change * chore(): add aliases for `aot` and `reinstall:latest` * fix(data-table): fixed clickable demo * fix(menu): add height:auto to lists inside td-menu * fix(dynamic-forms): fix input width for demo * chore(): add node-sass rebuild for yarn reinstall
Description
Following the breaking changes from https://github.com/angular/material2/releases/tag/5.0.0-rc0, this will give covalent the 5.0.0-rc0 support plus [email protected] support
What's included
Test Steps
yarn install
ng serve
General Tests for Every PR
ng serve --aot
still works.npm run lint
passes.npm test
passes and code coverage is not lower.npm run build
still works.