From b7948d5409fd03b66e7712530e9aff13dcc0051a Mon Sep 17 00:00:00 2001 From: jack zhang <1098626505@qq.com> Date: Wed, 24 Jan 2024 16:05:29 +0800 Subject: [PATCH] fix: remove tree-kill package to core/cli (#3429) * fix: remove tree-kill package to core/cli * fix: remove unuse code --- package.json | 1 - packages/core/cli/package.json | 1 + packages/core/cli/src/commands/e2e.js | 3 --- 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/package.json b/package.json index 5d571da2bf..546b0c1f83 100644 --- a/package.json +++ b/package.json @@ -79,7 +79,6 @@ "pretty-quick": "^3.1.0", "react": "^18.0.0", "react-dom": "^18.0.0", - "tree-kill": "^1.2.2", "typescript": "5.1.3" }, "volta": { diff --git a/packages/core/cli/package.json b/packages/core/cli/package.json index 288cb3732c..7a7530d389 100644 --- a/packages/core/cli/package.json +++ b/packages/core/cli/package.json @@ -18,6 +18,7 @@ "fast-glob": "^3.3.1", "fs-extra": "^11.1.1", "p-all": "3.0.0", + "tree-kill": "^1.2.2", "pm2": "^5.2.0", "portfinder": "^1.0.28", "serve": "^13.0.2", diff --git a/packages/core/cli/src/commands/e2e.js b/packages/core/cli/src/commands/e2e.js index 06127a317b..3f14c6507d 100644 --- a/packages/core/cli/src/commands/e2e.js +++ b/packages/core/cli/src/commands/e2e.js @@ -162,9 +162,6 @@ module.exports = (cli) => { console.log('APP_BASE_URL:', process.env.APP_BASE_URL); } }); - process.on('SIGINT', () => { - console.log('SIGINT......'); - }); e2e .command('test')