From 797265abb15e09e3d9a57af943e87ae2fb6d106b Mon Sep 17 00:00:00 2001 From: Eugene Pankov Date: Sun, 4 Apr 2021 21:18:46 +0200 Subject: [PATCH] build fix --- app/lib/pty.ts | 2 +- app/webpack.main.config.js | 2 +- app/yarn.lock | 7 ------- webpack.plugin.config.js | 1 - 4 files changed, 2 insertions(+), 10 deletions(-) diff --git a/app/lib/pty.ts b/app/lib/pty.ts index 20303ed1..b85f9ac2 100644 --- a/app/lib/pty.ts +++ b/app/lib/pty.ts @@ -1,4 +1,4 @@ -import * as nodePTY from '@terminus-term/node-pty' +import * as nodePTY from 'node-pty' import { v4 as uuidv4 } from 'uuid' import { ipcMain } from 'electron' import { Application } from './app' diff --git a/app/webpack.main.config.js b/app/webpack.main.config.js index ecbc756a..ceafa4c8 100644 --- a/app/webpack.main.config.js +++ b/app/webpack.main.config.js @@ -41,12 +41,12 @@ module.exports = { glasstron: 'commonjs glasstron', mz: 'commonjs mz', npm: 'commonjs npm', + 'node-pty': 'commonjs node-pty', path: 'commonjs path', util: 'commonjs util', 'source-map-support': 'commonjs source-map-support', 'windows-swca': 'commonjs windows-swca', 'windows-blurbehind': 'commonjs windows-blurbehind', - '@terminus-term/node-pty': 'commonjs @terminus-term/node-pty', }, plugins: [ new webpack.optimize.ModuleConcatenationPlugin(), diff --git a/app/yarn.lock b/app/yarn.lock index 511a30a8..bd1dd2ca 100644 --- a/app/yarn.lock +++ b/app/yarn.lock @@ -143,13 +143,6 @@ dependencies: debug "^4.3.1" -"@terminus-term/node-pty@0.10.0-terminus.3": - version "0.10.0-terminus.3" - resolved "https://registry.yarnpkg.com/@terminus-term/node-pty/-/node-pty-0.10.0-terminus.3.tgz#9dbd64d52afda5079e66265a89d313fe42affab7" - integrity sha512-HvIOts22dnoBXhRfLiK9DyPasuixYVgEUvgqZmOr0B0Ki9tF8e074oYPUtzLRll6Y553QiUzTWhriCS99MChNQ== - dependencies: - nan "^2.14.0" - "@types/mz@2.7.3": version "2.7.3" resolved "https://registry.yarnpkg.com/@types/mz/-/mz-2.7.3.tgz#e42a21e73f5f9340fe4a176981fafb1eb8cc6c12" diff --git a/webpack.plugin.config.js b/webpack.plugin.config.js index a00cf539..e826effa 100644 --- a/webpack.plugin.config.js +++ b/webpack.plugin.config.js @@ -77,7 +77,6 @@ module.exports = options => { 'native-process-working-directory', 'net', 'ngx-toastr', - 'node-pty', 'os', 'path', 'readline',