@iobroker/legacy-testing 1.0.11 → 1.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -14,6 +14,9 @@ Set process.env.JS_CONTROLLER_VERSION to version e.g. `5.0.5-alpha.0-20230617-46
14
14
 
15
15
  ## Changelog
16
16
  <!-- ### **WORK IN PROGRESS** -->
17
+ ### 1.0.12 (2024-04-27)
18
+ * (bluefox) Allowed setting license into common.licenseInformation.license
19
+
17
20
  ### 1.0.11 (2024-04-14)
18
21
  * (bluefox) Added support for the once mode
19
22
 
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.11",
2
+ "version": "1.0.12",
3
3
  "name": "@iobroker/legacy-testing",
4
4
  "main": "setup.js",
5
5
  "files": [
@@ -37,7 +37,7 @@ describe('Test package.json and io-package.json', () => {
37
37
  expect(npmPackage.author, 'ERROR: Author in package.json needs to exist').to.exist;
38
38
  expect(ioPackage.common.authors, 'ERROR: Authors in io-package.json needs to exist').to.exist;
39
39
 
40
- expect(ioPackage.common.license, 'ERROR: License missing in io-package in common.license').to.exist;
40
+ expect(ioPackage.common.license || ioPackage.common.licenseInformation?.license, 'ERROR: License missing in io-package in common.license or in common.licenseInformation.license').to.exist;
41
41
 
42
42
  if (ioPackage.common.name.includes('template')) {
43
43
  if (Array.isArray(ioPackage.common.authors)) {