Skip to content

Commit

Permalink
* (bluefox) Allowed setting license into common.licenseInformation.li…
Browse files Browse the repository at this point in the history
…cense
  • Loading branch information
GermanBluefox committed Apr 27, 2024
1 parent c332753 commit 24e2a86
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ Set process.env.JS_CONTROLLER_VERSION to version e.g. `5.0.5-alpha.0-20230617-46

## Changelog
<!-- ### **WORK IN PROGRESS** -->
### **WORK IN PROGRESS**
* (bluefox) Allowed setting license into common.licenseInformation.license

### 1.0.11 (2024-04-14)
* (bluefox) Added support for the once mode

Expand Down
2 changes: 1 addition & 1 deletion tests/testPackageFiles.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ describe('Test package.json and io-package.json', () => {
expect(npmPackage.author, 'ERROR: Author in package.json needs to exist').to.exist;
expect(ioPackage.common.authors, 'ERROR: Authors in io-package.json needs to exist').to.exist;

expect(ioPackage.common.license, 'ERROR: License missing in io-package in common.license').to.exist;
expect(ioPackage.common.license || ioPackage.common.licenseInformation?.license, 'ERROR: License missing in io-package in common.license or in common.licenseInformation.license').to.exist;

if (ioPackage.common.name.includes('template')) {
if (Array.isArray(ioPackage.common.authors)) {
Expand Down

0 comments on commit 24e2a86

Please sign in to comment.