-
Notifications
You must be signed in to change notification settings - Fork 8
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
Package publishing workflow and Angular packaging update [Retroactive PR] #207
Closed
rajsite
wants to merge
39
commits into
pre-angular-workflow-update
from
post-angular-workflow-update
Closed
Package publishing workflow and Angular packaging update [Retroactive PR] #207
rajsite
wants to merge
39
commits into
pre-angular-workflow-update
from
post-angular-workflow-update
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Pull Request ## 🤨 Rationale - Prevent beachball from publishing to npm (but preserve package bumps and git tags) @ni/nimble-angular - Remove workarounds to enable beachball publishing of @ni/nimble-angular - Add separate pipeline to publish @ni/nimble-angular ## 👩💻 Implementation See above. ## 🧪 Testing Doing it live. ## ✅ Checklist <!--- Review the list and put an x in the boxes that apply or ~~strike through~~ around items that don't (along with an explanation). --> - [x] I have updated the project documentation to reflect my changes or determined no changes are needed. Skipped for now.
# Pull Request ## 🤨 Rationale Continues on #203 - Disables beachball npm package publishing in CI (keeps package versioning and tagging) - Moves all npm package publishing to separate workflow ## 👩💻 Implementation See above. ## 🧪 Testing Doing it live. ## ✅ Checklist - [x] I have updated the project documentation to reflect my changes or determined no changes are needed. Will follow-up after.
Beachball uses yargs under the hood which has the --no- convention: https://github.com/yargs/yargs/blob/main/docs/api.md
…ld) (#205) # Pull Request ## 🤨 Rationale Minor edit made to nimble-tokens CONTRIBUTING.md to test publishing infrastructure changes. ## 👩💻 Implementation Updated nimble-tokens CONTRIBUTING.md ## 🧪 Testing Doing it live. ## ✅ Checklist - [x] I have updated the project documentation to reflect my changes or determined no changes are needed. Coming later.
# Pull Request ## 🤨 Rationale A minor change to tokens to trigger a multipackage publish and test of the publishing workflows. ## 👩💻 Implementation Tweaked markdown in CONTRIBUTING.md for nimble tokens. ## 🧪 Testing Doing it live. ## ✅ Checklist - [x] I have updated the project documentation to reflect my changes or determined no changes are needed. No docs, only tests.
jattasNI
approved these changes
Nov 24, 2021
brianehenry
approved these changes
Nov 29, 2021
1 task
Closing in favor of #209 which addresses feedback in this PR. |
rajsite
added a commit
that referenced
this pull request
Nov 30, 2021
# Pull Request ## 🤨 Rationale The change covers [TASK 1741883](https://ni.visualstudio.com/DevCentral/_workitems/edit/1741883) which is to switch nimble-angular to be a View Engine based build as discussed in the [ensuring library version compatibility topic](https://v12.angular.io/guide/creating-libraries#ensuring-library-version-compatibility). 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 - [x] I have updated the project documentation to reflect my changes or determined no changes are needed. Updated beachball workflow discussion.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull Request
🤨 Rationale
This PR covers the changes associated with TASK 1744736 and covers the commits pushed directly to main to address the task.
Note: This PR will not be merged, it is being used to gather feedback for a follow-up PR.
The goal of this change was to be able to customize the publish behavior for Beachball during the
beachball publish
action (which does versioning and publishing) and this was accomplished by completely decoupling package versioning from package publishing.Before these changes the workflow was as follows:
So at a high-level changes to the above workflow are the following:
The new workflow is as follows:
Pros:
Cons:
👩💻 Implementation
See above.
🧪 Testing
Did it live, in production :)
✅ Checklist