Skip to content
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(generate): add option to auto-export declarations #3876

Merged
merged 1 commit into from Jan 13, 2017

Conversation

Brocco
Copy link
Contributor

@Brocco Brocco commented Jan 6, 2017

Fixes #3778

@@ -21,7 +21,8 @@ module.exports = {
{ name: 'view-encapsulation', type: String, aliases: ['ve'] },
{ name: 'change-detection', type: String, aliases: ['cd'] },
{ name: 'skip-import', type: Boolean, default: false },
{ name: 'module', type: String, aliases: ['m'] }
{ name: 'module', type: String, aliases: ['m'] },
{ name: 'exports', type: Boolean, default: false }
Copy link
Contributor

Choose a reason for hiding this comment

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

export instead of exports (drop the s).

Copy link
Contributor

Choose a reason for hiding this comment

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

(here and everywhere)

@@ -21,7 +21,8 @@ module.exports = {
{ name: 'view-encapsulation', type: String, aliases: ['ve'] },
{ name: 'change-detection', type: String, aliases: ['cd'] },
{ name: 'skip-import', type: Boolean, default: false },
{ name: 'module', type: String, aliases: ['m'] }
{ name: 'module', type: String, aliases: ['m'] },
{ name: 'exports', type: Boolean, default: false }
Copy link
Contributor

Choose a reason for hiding this comment

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

(here and everywhere)

@hansl
Copy link
Contributor

hansl commented Jan 12, 2017

LGTM. Thanks!

@hansl hansl merged commit 6d63bb4 into angular:master Jan 13, 2017
MRHarrison pushed a commit to MRHarrison/angular-cli that referenced this pull request Feb 9, 2017
@Brocco Brocco deleted the gen-export-option branch February 11, 2017 16:31
@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 Sep 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feature request(ng g c): add option to include generated component in module exports list
3 participants