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(core): add standalone api prompt to CNW #14886

Merged
merged 1 commit into from
Feb 10, 2023

Conversation

Coly010
Copy link
Contributor

@Coly010 Coly010 commented Feb 9, 2023

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

@vercel
Copy link

vercel bot commented Feb 9, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
nx-dev ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Feb 10, 2023 at 7:21PM (UTC)

.prompt([
{
name: 'standaloneApi',
message: 'Would you like to use Standalone APIs in your application?',
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
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?',
Copy link
Contributor Author

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?

@@ -56,6 +56,11 @@
]
}
},
"standaloneApi": {
"description": "Use the Standalone APIs if generating an Angular application.",
Copy link
Collaborator

@FrozenPandaz FrozenPandaz Feb 10, 2023

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?

@FrozenPandaz FrozenPandaz merged commit 4f09949 into nrwl:master Feb 10, 2023
@github-actions
Copy link

github-actions bot commented Mar 3, 2023

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 3, 2023
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.

None yet

5 participants