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

Angular: Add built-in Ivy support instead of relying on addon #15229

Merged
merged 4 commits into from
Jun 16, 2021

Conversation

kroeder
Copy link
Member

@kroeder kroeder commented Jun 14, 2021

Issue:

What I did

This PR integrates storybook-angular-addon-ivy into
the mono-repo. This allows us to remove the ivy addon
package.

How to test

tba

This addon integrates storybook-angular-addon-ivy into
the mono-repo. This allows us to remove the ivy addon
package.
@nx-cloud
Copy link

nx-cloud bot commented Jun 14, 2021

Nx Cloud Report

CI ran the following commands for commit ffc861a. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this branch

Status Command
#000000 nx run-many --target=prepare --all --parallel --max-parallel=15

Sent with 💌 from NxCloud.

@github-actions
Copy link
Contributor

github-actions bot commented Jun 14, 2021

Fails
🚫 PR is marked with "in progress" label.

Generated by 🚫 dangerJS against ffc861a

options
);

if (!angularOptions.enableIvy) {
Copy link
Member Author

Choose a reason for hiding this comment

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

Should actually default to "true" if user-land has not passed in enableIvy

Copy link
Member

@shilman shilman left a comment

Choose a reason for hiding this comment

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

LGTM except for:

  • Fixing the default value handling
  • documentation

*/
export const runNgcc = () => {
ngccProcess({
// should be async: true but does not work due to
Copy link
Contributor

Choose a reason for hiding this comment

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

Shouldn't we change this or should we wait ?

Copy link
Member Author

Choose a reason for hiding this comment

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

It does work without being async. The downside is if someone starts the user app + storybook at the same time and both start ngcc then storybook will most likely crash

So it's an edge case but it also does not work yet to set it to async

@kroeder
Copy link
Member Author

kroeder commented Jun 15, 2021

@shilman I added docs and successfully tested it locally with npm link

@kroeder
Copy link
Member Author

kroeder commented Jun 16, 2021

@shilman any idea why the e2e-tests-core step fails?

@shilman
Copy link
Member

shilman commented Jun 16, 2021

@kroeder This is falling on next also. @gaetanmaisse is on top of it

@kroeder kroeder marked this pull request as ready for review June 16, 2021 06:47
Copy link
Member

@shilman shilman left a comment

Choose a reason for hiding this comment

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

LGTM!

@shilman shilman changed the title feat(angular): integrate addon-ivy Angular: Add built-in Ivy support instead of relying on addon Jun 16, 2021
@shilman shilman merged commit ad2172e into next Jun 16, 2021
@shilman shilman deleted the integrate-addon-ivy branch June 16, 2021 15:31
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.

3 participants