diff --git a/packages/api/package.json b/packages/api/package.json index 315ffc81..bb3f7e14 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -9,7 +9,7 @@ }, "funding": "https://www.paypal.com/paypalme/JanProchazkaCz/30eur", "author": "Jan Prochazka", - "license": "GPL", + "license": "MIT", "keywords": [ "sql", "json", diff --git a/packages/api/src/index.js b/packages/api/src/index.js index d0b390da..56df3401 100644 --- a/packages/api/src/index.js +++ b/packages/api/src/index.js @@ -18,4 +18,7 @@ if (argument && argument.endsWith('Process')) { main.start(argument); } -module.exports = shell; +module.exports = { + ...shell, + mainModule: main, +}; diff --git a/packages/sqltree/package.json b/packages/sqltree/package.json index 171ba77c..5fe61aea 100644 --- a/packages/sqltree/package.json +++ b/packages/sqltree/package.json @@ -10,7 +10,7 @@ }, "funding": "https://www.paypal.com/paypalme/JanProchazkaCz/30eur", "author": "Jan Prochazka", - "license": "GPL", + "license": "MIT", "keywords": [ "sql", "mssql", diff --git a/packages/tools/package.json b/packages/tools/package.json index d2e5e3de..c8d75393 100644 --- a/packages/tools/package.json +++ b/packages/tools/package.json @@ -10,7 +10,7 @@ }, "funding": "https://www.paypal.com/paypalme/JanProchazkaCz/30eur", "author": "Jan Prochazka", - "license": "GPL", + "license": "MIT", "keywords": [ "sql", "dbgate" diff --git a/packages/types/package.json b/packages/types/package.json index a66d4963..b10d0493 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -8,7 +8,7 @@ }, "funding": "https://www.paypal.com/paypalme/JanProchazkaCz/30eur", "author": "Jan Prochazka", - "license": "GPL", + "license": "MIT", "keywords": [ "dbgate" ],