feat(scripts/normalize-package): add version if missing

This commit is contained in:
Julien Fontanet
2019-05-09 09:23:49 +02:00
parent 8882f1b019
commit c54b9189a6

View File

@@ -28,6 +28,10 @@ require('exec-promise')(() =>
url: 'https://github.com/vatesfr/xen-orchestra.git',
}
if (!('version' in pkg)) {
pkg.version = '0.0.0'
}
delete pkg.standard
deleteProperties(pkg, 'config', ['commitizen'])