feat: support version prefixes for dependencies

Merged
PC
9mo ago
+45-10

Add support for using version prefixes (^, ~) in basePackageValues. When a prefix is used instead of an explicit version, the plugin will resolve the installed version from node_modules and prepend the specified prefix to it.

This allows for cleaner configuration and enables single-source-of-truth for dependency versions while maintaining flexibility in version constraints.

Example usage:
dependencies: {
'axios': '^', // resolves to '^1.13.5' if that's the installed version
'lodash': '~', // resolves to '~4.17.21' if that's the installed version
}