next_version 0.1.0 copy "next_version: ^0.1.0" to clipboard
next_version: ^0.1.0 copied to clipboard

A package that determines the next package version by analyzing conventional commits.

example/main.dart

import 'package:next_version/next_version.dart';

void main() {
  final currentVersion = Version.parse('1.2.3');
  const commits = ['feat: add a new feature', 'fix: resolve an issue'];
  final nextVersion = currentVersion.nextVersion(commits);
  print('🚀 Next version: $nextVersion');
}
1
likes
160
points
1.31k
downloads

Publisher

verified publisherhalildurmus.dev

Weekly Downloads

A package that determines the next package version by analyzing conventional commits.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

conventional_commit, version

More

Packages that depend on next_version