diff --git a/build/notarize.js b/build/notarize.js deleted file mode 100644 index 3d97b152c5..0000000000 --- a/build/notarize.js +++ /dev/null @@ -1,20 +0,0 @@ -const { notarize } = require('electron-notarize') - -exports.default = async function notarizing(context) { - const { electronPlatformName, appOutDir } = context; - if (electronPlatformName !== 'darwin') { - return; - } - if (!process.env.APPLEID || !process.env.APPLEIDPASS) { - return; - } - - const appName = context.packager.appInfo.productFilename; - - return await notarize({ - appBundleId: 'io.kontena.lens-app', - appPath: `${appOutDir}/${appName}.app`, - appleId: process.env.APPLEID, - appleIdPassword: process.env.APPLEIDPASS, - }); -}; diff --git a/package.json b/package.json index cc50882d12..05f6a63e86 100644 --- a/package.json +++ b/package.json @@ -338,7 +338,6 @@ "dompurify": "^2.0.11", "electron": "^9.1.2", "electron-builder": "^22.7.0", - "electron-notarize": "^0.3.0", "eslint": "^7.7.0", "file-loader": "^6.0.0", "flex.box": "^3.4.4", diff --git a/tsconfig.json b/tsconfig.json index 9cfbd543a8..0b70031a5c 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -18,7 +18,7 @@ "experimentalDecorators": true, "emitDecoratorMetadata": true, "skipLibCheck": true, - "allowJs": true, + "allowJs": false, "esModuleInterop": true, "allowSyntheticDefaultImports": true, "traceResolution": false, diff --git a/yarn.lock b/yarn.lock index 48b83faa3d..e4119ec4f9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5514,14 +5514,6 @@ electron-chromedriver@^9.0.0: "@electron/get" "^1.12.2" extract-zip "^2.0.0" -electron-notarize@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/electron-notarize/-/electron-notarize-0.3.0.tgz#b93c606306eac558b250c78ff95273ddb9fedf0a" - integrity sha512-tuDw8H0gcDOalNLv6RM2CwGvUXU60MPGZRDEmd0ppX+yP5XqL8Ec2DuXyz9J7WQSA3aRCfzIgH8C5CAivDYWMw== - dependencies: - debug "^4.1.1" - fs-extra "^8.1.0" - electron-publish@22.7.0: version "22.7.0" resolved "https://registry.yarnpkg.com/electron-publish/-/electron-publish-22.7.0.tgz#d92ba7c4007c9ac1dd070593e48028184fb2dc19"