-
Notifications
You must be signed in to change notification settings - Fork 11.9k
feat(@schematics/angular): add option to setup new workspace or appli… #28579
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(@schematics/angular): add option to setup new workspace or appli… #28579
Conversation
Hi @alan-agius4, Thanks. |
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.
Thanks for this, overall this looks good.
Would be great if you can also add some UTs.
packages/schematics/angular/application/files/standalone-files/src/app/app.config.ts.template
Outdated
Show resolved
Hide resolved
packages/schematics/angular/application/files/module-files/src/main.ts.template
Outdated
Show resolved
Hide resolved
8bb8e49
to
68ce3fb
Compare
Hi @alan-agius4, |
The problem is that in the templates, you have missing some |
packages/schematics/angular/application/files/standalone-files/src/app/app.config.ts.template
Outdated
Show resolved
Hide resolved
packages/schematics/angular/application/files/module-files/src/main.ts.template
Outdated
Show resolved
Hide resolved
Hi @alan-agius4, |
Likely because you do globally you do not have the local copy |
68ce3fb
to
c2cbc19
Compare
Hi @alan-agius4, Thanks |
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.
Thank you for your contribution! I’ve provided some feedback for you.
packages/schematics/angular/application/files/module-files/src/main.ts.template
Outdated
Show resolved
Hide resolved
packages/schematics/angular/application/files/standalone-files/src/app/app.config.ts.template
Outdated
Show resolved
Hide resolved
c2cbc19
to
2c95406
Compare
Hi @alan-agius4, |
@alan-agius4 I believe all request changes done. |
packages/schematics/angular/application/files/module-files/src/main.ts.template
Outdated
Show resolved
Hide resolved
tests/legacy-cli/e2e/tests/generate/application/application-zoneless.ts
Outdated
Show resolved
Hide resolved
c5bad57
to
d6dec23
Compare
Hi @alan-agius4, Many thanks. |
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.
thanks, see above.
...ges/schematics/angular/application/files/module-files/src/app/app.component.spec.ts.template
Outdated
Show resolved
Hide resolved
packages/schematics/angular/application/files/module-files/src/main.ts.template
Outdated
Show resolved
Hide resolved
packages/schematics/angular/application/files/module-files/src/main.ts.template
Outdated
Show resolved
Hide resolved
...schematics/angular/application/files/standalone-files/src/app/app.component.spec.ts.template
Outdated
Show resolved
Hide resolved
d6dec23
to
b197d6d
Compare
Hi @alan-agius4, Many thanks. |
...ges/schematics/angular/application/files/module-files/src/app/app.component.spec.ts.template
Outdated
Show resolved
Hide resolved
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.
Thanks, there are still a few issues.
packages/schematics/angular/application/files/module-files/src/main.ts.template
Outdated
Show resolved
Hide resolved
packages/schematics/angular/application/files/module-files/src/main.ts.template
Outdated
Show resolved
Hide resolved
...ges/schematics/angular/application/files/module-files/src/app/app.component.spec.ts.template
Outdated
Show resolved
Hide resolved
...schematics/angular/application/files/standalone-files/src/app/app.component.spec.ts.template
Outdated
Show resolved
Hide resolved
packages/schematics/angular/application/files/module-files/src/main.ts.template
Outdated
Show resolved
Hide resolved
b197d6d
to
8efbb42
Compare
Ok thanks, I have updated the PR with the requested changes. |
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.
Thanks again for this, almost there.
packages/schematics/angular/application/files/module-files/src/main.ts.template
Show resolved
Hide resolved
packages/schematics/angular/application/files/module-files/src/main.ts.template
Outdated
Show resolved
Hide resolved
tests/legacy-cli/e2e/tests/generate/application/application-zoneless.ts
Outdated
Show resolved
Hide resolved
8efbb42
to
93ecc46
Compare
I think I did everything. I just have doubts about e2e if they pass, I tried to follow what you suggested. Thanks again. |
…cation as zoneless mode
93ecc46
to
83f5934
Compare
@alan-agius4 Thanks I'm waiting |
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.
LGTM, thanks
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Introduces option
--experimental-zoneless
to setup workspace or application as zoneless mode.PR Checklist
Please check to confirm your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Closes #28370
Does this PR introduce a breaking change?