Skip to content

Conversation

@hoegertn
Copy link
Contributor

Fixes #

Remove the local versioning implementation and re-export from cdk-devops instead.

Changes:
- Update versioning/index.ts to re-export from cdk-devops
- Keep VersioningSetup locally (projen-specific task creation)
- Remove local versioning source files (types, config, strategy, etc.)
- Remove versioning unit tests
- Add cdk-devops as peer dependency
- Update setup.ts to import from and require cdk-devops

BREAKING CHANGE: Versioning API now comes from cdk-devops. Some factory
methods like VersioningOutputs.standard() may have different signatures
or may need to be added to cdk-devops.
- Update exports to include all cdk-devops types and aliases
- Add VersioningOutputsFactory and alias as VersioningOutputs for backward compatibility
- Export computeVersion function
- Simplify setup.ts to use static computeVersion instead of inline script

This significantly reduces code duplication by using the version computation
logic from cdk-devops directly.
@github-actions github-actions bot requested a review from Lock128 November 23, 2025 22:56
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.

3 participants