Skip to content

build: use genrule to generate example module #17615

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

Merged

Conversation

devversion
Copy link
Member

@devversion devversion commented Nov 5, 2019

Since we no longer use NGC for generating the package output
of the examples, we can start using the genrule for the ExampleModule again.

This means that we can fully remove the example module tasks from gulp. Additionally
renames the material-examples package to examples and removes the module.ts
workaround for the examples since we do not need a flat module index file with ngtsc.

@googlebot googlebot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Nov 5, 2019
@devversion devversion added blocked This issue is blocked by some external factor, such as a prerequisite PR pr: merge safe target: patch This PR is targeted for the next patch release labels Nov 5, 2019
@devversion devversion force-pushed the build/get-rid-of-examples-module branch from f13e741 to 97ac76b Compare November 5, 2019 19:55
@devversion devversion force-pushed the build/get-rid-of-examples-module branch 2 times, most recently from b30e044 to 7042b92 Compare November 6, 2019 09:37
@devversion devversion removed the blocked This issue is blocked by some external factor, such as a prerequisite PR label Nov 6, 2019
@devversion devversion marked this pull request as ready for review November 6, 2019 09:55
@devversion devversion requested review from andrewseguin, jelbourn and a team as code owners November 6, 2019 09:55
@devversion devversion force-pushed the build/get-rid-of-examples-module branch from 7042b92 to caf0cfe Compare November 6, 2019 11:36
Since we no longer use NGC for generating the package output
of the examples, we can start using the genrule for the
`ExampleModule` again.

This means that we can fully remove the example module tasks
from gulp. Additionally renames the `material-examples` package
to `components-examples` and removes the `module.ts` workaround
for the examples since we do not need a flat module index file with ngtsc.
@devversion devversion force-pushed the build/get-rid-of-examples-module branch from caf0cfe to 5181897 Compare November 6, 2019 15:27
Copy link
Member

@jelbourn jelbourn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jelbourn jelbourn added merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note pr: lgtm action: merge The PR is ready for merge by the caretaker labels Nov 6, 2019
@jelbourn
Copy link
Member

jelbourn commented Nov 6, 2019

Caretaker note: the docs-site will need a corresponding update

Copy link
Member

@josephperrott josephperrott left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mmalerba
Copy link
Contributor

mmalerba commented Nov 6, 2019

@devversion can you link a PR for the material.angular.io side changes so I can merge them together?

@devversion
Copy link
Member Author

There is no PR yet. I planned on doing the docs PR once this PR is merged and the docs content has been pushed to the docs-content repo.

@mmalerba mmalerba merged commit 59d3984 into angular:master Nov 6, 2019
@angular-automatic-lock-bot
Copy link

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.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Dec 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker cla: yes PR author has agreed to Google's Contributor License Agreement merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note target: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants