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

chore: update nx to latest, simplify config #7428

Merged
merged 2 commits into from
Jan 17, 2024

Conversation

JamesHenry
Copy link
Contributor

Contains all the latest fixes and DX improvements relevant to nx release

@@ -25,15 +26,10 @@
},
"projectChangelogs": true
},
"groups": {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

A single group is no longer required, we can use the projects shorthand and not need the nested structure (and not need to give it a name)

@@ -56,8 +56,6 @@ const yargs = require('nx/node_modules/yargs');

const { workspaceVersion, projectsVersionData } = await releaseVersion({
specifier: options.version,
// stage package.json updates to be committed later by the changelog command
stageChanges: true,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is essentially always needed for the common case, so it's true by default now

"releaseTagPattern": "{version}",
"changelog": {
"git": {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Committing and tagging by default after/as part of the changelog generation step just makes a lot sense based on more and more real world usage, so we updated the latest nx to make it so and can streamline the config. As before the logs, in both dry-run and non dry-run, explain when and what git commands are/would be running

@benlesh benlesh merged commit 7f36e90 into ReactiveX:master Jan 17, 2024
3 checks passed
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