feat: migrate releases to Nx version plans and new decoupled release flow#281
Draft
Hotell wants to merge 9 commits intomicrosoft:mainfrom
Draft
feat: migrate releases to Nx version plans and new decoupled release flow#281Hotell wants to merge 9 commits intomicrosoft:mainfrom
Hotell wants to merge 9 commits intomicrosoft:mainfrom
Conversation
e7ffdaf to
1bf0081
Compare
dbb5bff to
0b2872d
Compare
Hotell
commented
Jan 20, 2025
This was referenced Jan 20, 2025
0b2872d to
2815452
Compare
e519074 to
4ec0665
Compare
4ec0665 to
d46d7fe
Compare
Hotell
commented
Feb 27, 2025
Contributor
Author
There was a problem hiding this comment.
no longer needed - we use nx release plan:check
Hotell
commented
Feb 27, 2025
| @@ -0,0 +1,5 @@ | |||
| --- | |||
| react-shadow: patch | |||
| --- | |||
Hotell
commented
Feb 27, 2025
| @@ -0,0 +1,7 @@ | |||
| { | |||
| "type": "none", | |||
fdf9205 to
54c87e1
Compare
54c87e1 to
0a2c5ce
Compare
Hotell
commented
Apr 1, 2025
| - run: yarn check-dependencies | ||
|
|
||
| - name: 'Check version plans' | ||
| run: yarn nx release plan:check |
Contributor
Author
There was a problem hiding this comment.
nx is used for releases, so we need it to be installed -> removing artificial ci-change workflow
Hotell
commented
Apr 1, 2025
| @@ -1 +1,3 @@ | |||
| export { createRoot, root } from './root'; | |||
|
|
|||
| export const apiV2 = 'noop'; | |||
3a4c74c to
55820f5
Compare
This file contains hidden or 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
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.
Pre-requirements
New Behaviour
migrates releases from beachball to NX Release Plans which add various needed features to our release process
dry-runmode for all release steps ( including npm publish )npm publisherrorsPublishindefinitely until registry contains all required assets that were part of the pipelineNew Release pipeline architecture:
flowchart LR subgraph Release assets['build,lint,test,type-check']-->bump-versions-->generate-changelogs-->push-to-origin end subgraph Publish build-production-assets-->npm-publish end Release-->RS RS -- yes --> Publish RS -- no --> FAIL Publish-->PS PS -- yes --> OK PS -- no --> FAIL RS@{ shape: diamond, label: "Release success?" } PS@{ shape: diamond, label: "Publish success?" } OK["pipeline success"] FAIL["pipeline failure"]TODO:
Release plans Missing features:
NX release cli issues:
releasecommand is missing--git-pushand--git-remoteavailable in sub-commands nrwl/nx#30551releasewont runnx-release-publishtarget and it's dependencies nrwl/nx#30552Dependency-Check rule issues