From df45e22813d113c57dcd75c65ed0c18db815e716 Mon Sep 17 00:00:00 2001 From: KernelDeimos Date: Sat, 13 Apr 2024 13:56:57 -0400 Subject: [PATCH] Make node-pty not required --- package-lock.json | 10 ++++++++-- packages/phoenix/package.json | 4 +++- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index ce15bd5d..4e64c506 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8493,7 +8493,8 @@ "node_modules/nan": { "version": "2.19.0", "resolved": "https://registry.npmjs.org/nan/-/nan-2.19.0.tgz", - "integrity": "sha512-nO1xXxfh/RWNxfd/XPfbIfFk5vgLsAxUR9y5O0cHMJu/AW9U95JLXqthYHjEp+8gQ5p96K9jUp8nbVOxCdRbtw==" + "integrity": "sha512-nO1xXxfh/RWNxfd/XPfbIfFk5vgLsAxUR9y5O0cHMJu/AW9U95JLXqthYHjEp+8gQ5p96K9jUp8nbVOxCdRbtw==", + "optional": true }, "node_modules/napi-build-utils": { "version": "1.0.2", @@ -8608,6 +8609,7 @@ "resolved": "https://registry.npmjs.org/node-pty/-/node-pty-1.0.0.tgz", "integrity": "sha512-wtBMWWS7dFZm/VgqElrTvtfMq4GzJ6+edFI0Y0zyzygUSZMgZdraDUMUhCIvkjhJjme15qWmbyJbtAx4ot4uZA==", "hasInstallScript": true, + "optional": true, "dependencies": { "nan": "^2.17.0" } @@ -11786,6 +11788,7 @@ } }, "packages/phoenix": { + "name": "dev-ansi-terminal", "version": "0.0.0", "license": "AGPL-3.0-only", "workspaces": [ @@ -11801,7 +11804,6 @@ "columnify": "^1.6.0", "fs-mode-to-string": "^0.0.2", "json-query": "^2.2.2", - "node-pty": "^1.0.0", "path-browserify": "^1.0.1", "sinon": "^17.0.1", "xterm": "^5.1.0", @@ -11814,6 +11816,9 @@ "mocha": "^10.2.0", "rollup": "^3.21.4", "rollup-plugin-copy": "^3.4.0" + }, + "optionalDependencies": { + "node-pty": "^1.0.0" } }, "packages/phoenix/node_modules/@sinonjs/fake-timers": { @@ -11863,6 +11868,7 @@ "license": "UNLICENSED" }, "packages/terminal": { + "name": "@putersh/terminal-emulator", "version": "0.0.0", "license": "AGPL-3.0-only", "dependencies": { diff --git a/packages/phoenix/package.json b/packages/phoenix/package.json index de2ea901..d6864460 100644 --- a/packages/phoenix/package.json +++ b/packages/phoenix/package.json @@ -25,12 +25,14 @@ "columnify": "^1.6.0", "fs-mode-to-string": "^0.0.2", "json-query": "^2.2.2", - "node-pty": "^1.0.0", "path-browserify": "^1.0.1", "sinon": "^17.0.1", "xterm": "^5.1.0", "xterm-addon-fit": "^0.7.0" }, + "optionalDependencies": { + "node-pty": "^1.0.0" + }, "workspaces": [ "packages/pty", "packages/strataparse",