-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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(core): add standalone api prompt to CNW #14886
feat(core): add standalone api prompt to CNW #14886
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
636fcbe
to
d30658a
Compare
d30658a
to
c697587
Compare
c697587
to
63bb705
Compare
63bb705
to
56689bc
Compare
.prompt([ | ||
{ | ||
name: 'standaloneApi', | ||
message: 'Would you like to use Standalone APIs in your application?', |
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.
message: 'Would you like to use Standalone APIs in your application?', | |
message: 'Would you like to use Standalone Components?', |
.prompt([ | ||
{ | ||
name: 'standaloneApi', | ||
message: 'Would you like to use Standalone APIs in your application?', |
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.
Would you like to use Standalone Components in your application?
56689bc
to
060da09
Compare
@@ -56,6 +56,11 @@ | |||
] | |||
} | |||
}, | |||
"standaloneApi": { | |||
"description": "Use the Standalone APIs if generating an Angular application.", |
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.
This one should change too. Can you fix it in a follow up PR?
This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request. |
Current Behavior
We do not ask if the user would like to use Standalone APIs when generating an Angular application with CNW
Expected Behavior
Angular are soon going to be changing their docs to prioritise Standalone Components + APIs and we already support generating an app with them.
We should ask users if they'd like to use them when generating an application along with a new workspace