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

Switch to a View Engine based build #209

Merged
merged 3 commits into from
Nov 30, 2021
Merged

Switch to a View Engine based build #209

merged 3 commits into from
Nov 30, 2021

Conversation

rajsite
Copy link
Member

@rajsite rajsite commented Nov 30, 2021

Pull Request

🤨 Rationale

The change covers TASK 1741883 which is to switch nimble-angular to be a View Engine based build as discussed in the ensuring library version compatibility topic.

This PR also addresses the feedback given in #207.

👩‍💻 Implementation

  • Change angular-workspace/projects/ni/nimble-angular/tsconfig.lib.prod.json to "enableIvy": false.
  • Modify the publish step to rebuild the package before publish.
    • During the full build angular runs ngcc in the built library package mutating the contents. The library must be rebuilt to a clean state before publish.

🧪 Testing

Relies on existing test infrastructure.

✅ Checklist

  • I have updated the project documentation to reflect my changes or determined no changes are needed. Updated beachball workflow discussion.

package.json Show resolved Hide resolved
angular-workspace/package.json Show resolved Hide resolved
@rajsite rajsite enabled auto-merge (squash) November 30, 2021 19:47
@rajsite rajsite disabled auto-merge November 30, 2021 19:56
@rajsite rajsite merged commit ca4ee0c into main Nov 30, 2021
@rajsite rajsite deleted the view-engine-build branch November 30, 2021 19:57
@rajsite
Copy link
Member Author

rajsite commented Nov 30, 2021

@brianehenry I did an override to merge the PR but if you have feedback I can address it in a follow-up

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants