-
Notifications
You must be signed in to change notification settings - Fork 6.8k
build: add schematics to @angular/material package #10351
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
Conversation
e6d98cc
to
a2c25ae
Compare
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, a few nits.
@@ -16,7 +16,6 @@ import { | |||
} from '@angular-devkit/schematics'; | |||
import 'rxjs/add/operator/merge'; | |||
import * as ts from 'typescript'; | |||
import * as stringUtils from '@schematics/angular/strings'; | |||
import { addDeclarationToModule, addExportToModule } from './ast-utils'; |
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 something that was added in this PR, but the spaces between the curly braces are inconsistent with the rest of the project.
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.
Done
tools/gulp/tasks/material-release.ts
Outdated
*/ | ||
task('material:prepare-release', sequenceTask( | ||
'material:build', | ||
['material:copy-prebuilt-themes', 'material:bundle-theming-scss'] | ||
['material:build', "schematics:build"], |
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.
schematics:build
should be in single quotes.
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.
Done
tools/gulp/tasks/material-release.ts
Outdated
)); | ||
|
||
task('material:copy-schematics', () => { | ||
src(schematicsGlobs).pipe(dest(join(join(releasePath, 'schematics')))); |
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.
The second join
around the first join
seems unnecessary.
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.
Done
a2c25ae
to
342e130
Compare
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
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
a4a7c85
to
a9aa88d
Compare
This also fixes a handful of minor issues with the blueprints
a9aa88d
to
1fc7dcf
Compare
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
This also fixes a handful of minor issues with the blueprints