feat(normalize-packages): add license to all packages

This commit is contained in:
Julien Fontanet
2020-05-28 15:03:34 +02:00
parent 3c0ca7026f
commit 7f676c56c8
10 changed files with 21 additions and 9 deletions

View File

@@ -35,5 +35,6 @@
"lodash": "^4.17.15",
"object-hash": "^2.0.1"
},
"private": false
"private": false,
"license": "AGPL-3.0"
}

View File

@@ -11,5 +11,6 @@
},
"engines": {
"node": ">=6"
}
},
"license": "AGPL-3.0"
}

View File

@@ -31,5 +31,6 @@
"scripts": {
"postversion": "npm publish --access public"
},
"version": "0.0.0"
"version": "0.0.0",
"license": "AGPL-3.0"
}

View File

@@ -18,5 +18,6 @@
"dependencies": {
"d3-time-format": "^2.2.3",
"fs-extra": "^8.1.0"
}
},
"license": "AGPL-3.0"
}

View File

@@ -21,5 +21,6 @@
},
"scripts": {
"postversion": "npm publish"
}
},
"license": "AGPL-3.0"
}

View File

@@ -15,5 +15,6 @@
},
"scripts": {
"postversion": "npm publish --access public"
}
},
"license": "ISC"
}

View File

@@ -35,5 +35,6 @@
"promise-toolbox": "^0.15.0",
"uuid": "^3.3.2"
},
"private": true
"private": true,
"license": "AGPL-3.0"
}

View File

@@ -11,5 +11,6 @@
},
"engines": {
"node": "*"
}
},
"license": "AGPL-3.0"
}

View File

@@ -29,5 +29,6 @@
"dependencies": {
"@xen-orchestra/log": "^0.2.0"
},
"private": true
"private": true,
"license": "AGPL-3.0"
}

View File

@@ -38,6 +38,9 @@ require('exec-promise')(() =>
url: 'https://github.com/vatesfr/xen-orchestra.git',
}
if (!('license' in pkg)) {
pkg.license = 'AGPL-3.0'
}
if (!('version' in pkg)) {
pkg.version = '0.0.0'
}