Skip to content

Commit

Permalink
feat(tools-script): remove fkill-cli && add port-client
Browse files Browse the repository at this point in the history
  • Loading branch information
bingtsingw committed Dec 9, 2024
1 parent f7f706a commit ca8d7bb
Show file tree
Hide file tree
Showing 6 changed files with 48 additions and 206 deletions.
6 changes: 6 additions & 0 deletions .changeset/curvy-terms-give.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@xstools-dev/tools-script': minor
'@xstools-dev/mix': minor
---

remove fkill-cli && add port-client
3 changes: 0 additions & 3 deletions packages/tools-script/bin/fkill.js

This file was deleted.

3 changes: 3 additions & 0 deletions packages/tools-script/bin/port-client.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env node

import 'port-client/cli.js';
5 changes: 2 additions & 3 deletions packages/tools-script/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,11 @@
"types": "./dist/index.d.ts",
"bin": {
"del": "./bin/del.js",
"detect-port": "./bin/detect-port.js",
"dotenv": "./bin/dotenv.js",
"dotenvx": "./bin/dotenvx.js",
"fkill": "./bin/fkill.js",
"malagu": "./bin/malagu.js",
"miniprogram-ci": "./bin/miniprogram-ci.js",
"port-client": "./bin/port-client.js",
"tsup": "./bin/tsup.js",
"wesvg": "./bin/wesvg.js"
},
Expand Down Expand Up @@ -42,8 +41,8 @@
"dotenv": "~16.4.7",
"dotenv-cli": "~7.4.4",
"dotenv-expand": "~12.0.1",
"fkill-cli": "~8.0.0",
"miniprogram-ci": "~2.0.10",
"port-client": "^1.4.5",
"tsup": "~8.3.5"
},
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/tools-script/src/detect-port.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * as detectPort from 'detect-port';
export * from 'detect-port';
Loading

0 comments on commit ca8d7bb

Please sign in to comment.