-
-
Notifications
You must be signed in to change notification settings - Fork 90
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
Replace syncVersions by version grouping #125
Comments
Challenges with current approachConsidering the following issues:
💡 IdeaA single virtual project named "workspace" with a global configuration should allow more control. In the future, if we need it for some reason, we can even run a The new configuration could look something like this. {
"name": "workspace",
"root": ".",
"architect": {
"version": {
"builder": "@jscutlery/semver:version",
"options": {
"configs": [
{
"name": "rx-state",
"type": "independent",
// path is optional for independent versioning
// as we can just pick the projectRoot in workspace.json
// "path": "packages/rx-state", // we need this for git log & changelog path & root package.json
},
{
"name": "cdk",
"type": "group",
"path": "packages/cdk",
"packages": [
"packages/cdk/operators",
"packages/cdk/helpers", // or even a wildcard "packages/cdk/*"
]
}
]
}
}
}
} Later, this could evolve into something like:
in order to move semver.json configs inside projects and stop the workspace.json clutter. DrawbackThe main drawback is that we can't use nx options like |
Is this still a planned feature? |
This is a follow-up to the following discussion #98.
Given a repo with 3 packages a, b & c, one should be able to sync versions for a & b but still keep independent versioning for c; meaning that changing a would have to bump b as well.
The solution we agreed to is to use the project structure for grouping (using folders).
Example:
2021-04-29 update
vMAJOR.MINOR.PATCH
group-name-MAJOR.MINOR.PATCH
cc. @LayZeeDK, @NachoVazquez, @santoshyadavdev, and @SerkanSipahi.
The text was updated successfully, but these errors were encountered: