Skip to content

Commit 18ce399

Browse files
authored
Remove deprecated license field from io-package.json (#1114)
1 parent dd783fd commit 18ce399

File tree

18 files changed

+1
-17
lines changed

18 files changed

+1
-17
lines changed

src/lib/core/questions.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -984,6 +984,7 @@ export interface Answers {
984984
nodeVersion?: "18" | "20" | "22";
985985
title?: string;
986986
license?: string;
987+
// Not used on the CLI, but can be provided by the web UI for example
987988
licenseInformation?: LicenseInformation;
988989
type: string;
989990
adminUi?: "json" | "html" | "react" | "none";

templates/io-package.json.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@ export = (async answers => {
8787
"${answers.authorName} <${answers.authorEmail}>"
8888
],
8989
"keywords": ${JSON.stringify(answers.keywords || getDefaultAnswer("keywords"))},
90-
"license": "${licenseId}",
9190
"licenseInformation": ${JSON.stringify(licenseInformation)},
9291
"platform": "Javascript/Node.js",
9392
"main": "${useTypeScript ? "build/" : ""}main.js",

test/baselines/adapter_JS_JsonUI_ESLint_TypeChecking_Spaces_SingleQuotes_Apache-2.0/io-package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@
5353
"Smart Home",
5454
"home automation"
5555
],
56-
"license": "Apache-2.0",
5756
"licenseInformation": {
5857
"type": "free",
5958
"license": "Apache-2.0"

test/baselines/adapter_JS_React/io-package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@
5353
"Smart Home",
5454
"home automation"
5555
],
56-
"license": "MIT",
5756
"licenseInformation": {
5857
"type": "free",
5958
"license": "MIT"

test/baselines/adapter_TS_ESLint_Tabs_DoubleQuotes_MIT/io-package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@
5353
"Smart Home",
5454
"home automation"
5555
],
56-
"license": "MIT",
5756
"licenseInformation": {
5857
"type": "free",
5958
"license": "MIT"

test/baselines/adapter_TS_React/io-package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@
5353
"Smart Home",
5454
"home automation"
5555
],
56-
"license": "MIT",
5756
"licenseInformation": {
5857
"type": "free",
5958
"license": "MIT"

test/baselines/connectionIndicator_yes/io-package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@
5353
"Smart Home",
5454
"home automation"
5555
],
56-
"license": "MIT",
5756
"licenseInformation": {
5857
"type": "free",
5958
"license": "MIT"

test/baselines/connectionType/io-package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@
5353
"Smart Home",
5454
"home automation"
5555
],
56-
"license": "MIT",
5756
"licenseInformation": {
5857
"type": "free",
5958
"license": "MIT"

test/baselines/customAdapterSettings/io-package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@
5353
"Smart Home",
5454
"home automation"
5555
],
56-
"license": "MIT",
5756
"licenseInformation": {
5857
"type": "free",
5958
"license": "MIT"

test/baselines/description_empty_1/io-package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@
5353
"Smart Home",
5454
"home automation"
5555
],
56-
"license": "MIT",
5756
"licenseInformation": {
5857
"type": "free",
5958
"license": "MIT"

0 commit comments

Comments
 (0)