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

feature: add mobile option on ng new #599

Merged
merged 1 commit into from
May 2, 2016
Merged

feature: add mobile option on ng new #599

merged 1 commit into from
May 2, 2016

Conversation

hansl
Copy link
Contributor

@hansl hansl commented May 2, 2016

Fixes #596.

@@ -0,0 +1,14 @@
{
"short_name": "<%= htmlComponentName %>",
Copy link
Member

Choose a reason for hiding this comment

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

short_name should still be human readable. If CLI doesn't have something appropriate, just omit it.

@alxhub
Copy link
Member

alxhub commented May 2, 2016

LGTM pending one comment.

const fullAppName = stringUtils.dasherize(options.entity.name)
.replace(/-(.)/g, (_, l) => ' ' + l.toUpperCase())
.replace(/^./, (l) => l.toUpperCase());
console.log(options.mobile)
Copy link
Contributor

@Brocco Brocco May 2, 2016

Choose a reason for hiding this comment

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

Please remove this

@Brocco
Copy link
Contributor

Brocco commented May 2, 2016

One small nit, but otherwise lgtm

@hansl
Copy link
Contributor Author

hansl commented May 2, 2016

All done.

@hansl hansl force-pushed the mobile branch 3 times, most recently from a06d180 to de9b1ac Compare May 2, 2016 04:14
@hansl hansl merged commit 3044dfe into angular:master May 2, 2016
@hansl hansl deleted the mobile branch May 2, 2016 05:33
@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 9, 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.

Add --mobile as option to "ng new"
3 participants