-
Notifications
You must be signed in to change notification settings - Fork 391
build: update CLI version to 1.7.2 #366
Conversation
|
I guess
Note: While e2e failure isn't related to this PR, the saucelabs:
... was caused by these changes and I'm trying to figure out what's causing this error. Can you take a look, @jelbourn? Thanks. |
jelbourn
left a comment
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.
@rafaelss95 can you break this up into smaller PRs? It's difficult to review so many unrelated changes at once.
|
@jelbourn In fact, there are no unrelated changes. The proposed changes are a fully update in Look at the PR #143, for example, the So, what I did here was: I created a fresh new project and compared all the changes, and there are a lot of changes, as you could seen. |
|
It's not really necessary to update tslint rules and the source code at the same time as the CLI version. |
|
Well, those tslint rules are the default in the latest |
|
Yeah- we don't necessarily use the default tslint rules here, anyway; we'd really want the same rules as the main material2 repo (except for the custom rules, which I don't want to copy-paste). |
|
No problem, I undid the changes in tslint file. |
|
@amcdnl could you do a review pass? |
amcdnl
left a comment
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.
I think it looks good overall, couple of questions for the author.
| clearTimeout(lastTimeoutId); | ||
| // 100ms timeout is used to allow the page to settle before moving focus for screen readers. | ||
| lastTimeoutId = setTimeout(() => this.el.nativeElement.focus(), 100); | ||
| lastTimeoutId = window.setTimeout(() => this.el.nativeElement.focus(), 100); |
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.
Why the window here?
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.
Not sure, but I guess I got an error when tried to run a specific command.
| @@ -1,2 +1,2 @@ | |||
| export * from './material-docs-app'; | |||
| export * from './app-module'; | |||
| export * from './app.module'; | |||
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.
@jelbourn prefers the app-module format.
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.
Really? :( I'll change ASAP.
tsconfig.json
Outdated
| { | ||
| "compileOnSave": false, | ||
| "compilerOptions": { | ||
| "allowSyntheticDefaultImports": true, |
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.
Why was this added?
|
@rafaelss95 - Can you rebase? |
|
@amcdnl I've rebased, however now there a lot of errors. Lint errors (which ones I fixed in this PR) and others coming from |
|
Done in #431. |
Closes #195.