Skip to content

Commit 711d1a7

Browse files
Update e2e script in package.json to remove redundant port kill command and add kill-port dependency in package.json and pnpm-lock.yaml
1 parent f9aed36 commit 711d1a7

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
},
3737
"scripts": {
3838
"build": "rslib build",
39-
"e2e": "pnpm build && cd examples/default-template && pnpm test:e2e && npx kill-port 3000 3001 && cd ../custom-node-server && pnpm test:e2e",
39+
"e2e": "pnpm build && cd examples/default-template && pnpm test:e2e && npx kill-port 3000 && cd ../custom-node-server && pnpm test:e2e",
4040
"dev": "rslib build --watch",
4141
"test": "vitest run",
4242
"test:watch": "vitest watch",
@@ -82,6 +82,7 @@
8282
"@types/react": "^19.0.1",
8383
"@types/react-dom": "^19.0.1",
8484
"jiti": "^2.4.1",
85+
"kill-port": "^2.0.1",
8586
"killport": "^1.0.2",
8687
"playwright": "^1.50.1",
8788
"prettier": "3.4.2",

pnpm-lock.yaml

Lines changed: 22 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)