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

fix ng discover, relative init, and nextjs javascript flavor #5500

Merged
merged 6 commits into from
Feb 10, 2023

Conversation

jamesdaniels
Copy link
Member

@jamesdaniels jamesdaniels commented Feb 9, 2023

Fixes #5146, and more

@codecov-commenter
Copy link

Codecov Report

Base: 56.19% // Head: 56.19% // No change to project coverage 👍

Coverage data is based on head (4620cb2) compared to base (bc87d15).
Patch coverage: 37.50% of modified lines in pull request are covered.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #5500   +/-   ##
=======================================
  Coverage   56.19%   56.19%           
=======================================
  Files         317      317           
  Lines       21461    21461           
  Branches     4381     4381           
=======================================
  Hits        12059    12059           
  Misses       8342     8342           
  Partials     1060     1060           
Impacted Files Coverage Δ
src/frameworks/index.ts 15.18% <ø> (ø)
src/frameworks/vite/index.ts 36.36% <25.00%> (ø)
src/frameworks/angular/index.ts 9.62% <50.00%> (ø)
src/frameworks/next/index.ts 14.21% <50.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
Member

@leoortizz leoortizz left a comment

Choose a reason for hiding this comment

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

Looks good

execSync(`npx --yes -p @angular/cli@latest ng new ${setup.hosting.source} --skip-git`, {
stdio: "inherit",
});
export async function init(setup: any, config: any) {
Copy link
Member

Choose a reason for hiding this comment

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

it would be good to have a type for setup and config

Copy link
Member Author

Choose a reason for hiding this comment

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

SG. I'll take in a follow on as we rework init to be testable.

@jamesdaniels jamesdaniels merged commit 17de2ab into master Feb 10, 2023
@jamesdaniels jamesdaniels deleted the jamesdaniels_fixNgDiscoverAndInit branch February 10, 2023 02:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

init hosting with experimental webframework fails with detecting angular workspace
3 participants