Skip to content

Commit 210beae

Browse files
authored
Add get-port as dev dep (#841)
* Add `get-port` as dev dep In #790 `get-port` was added to [`packages/actor-core/src/test/mod.ts`](packages/actor-core/src/test/mod.ts) Get an error when you run the example ```sh npx [email protected] npm run test ``` ``` ➜ npm run test > [email protected] test > vitest run RUN v3.1.1 /Users/username/git/actor-core-counter ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Failed Suites 1 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ FAIL tests/counter.test.ts [ tests/counter.test.ts ] Error: Cannot find package 'get-port' imported from /Users/username/git/actor-core-counter/node_modules/actor-core/dist/test/mod.js ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/1]⎯ Test Files 1 failed (1) Tests no tests Start at 14:59:12 Duration 209ms (transform 24ms, setup 0ms, collect 0ms, tests 0ms, environment 0ms, prepare 35ms) ``` * How embarassing * Update yarn.lock
1 parent eb3370c commit 210beae

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

packages/actor-core/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@
175175
"@types/node": "^22.13.1",
176176
"@types/ws": "^8",
177177
"eventsource": "^3.0.5",
178+
"get-port": "^7.1.0",
178179
"tsup": "^8.4.0",
179180
"typescript": "^5.7.3",
180181
"vitest": "^3.0.9",

yarn.lock

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3057,6 +3057,7 @@ __metadata:
30573057
"@types/ws": "npm:^8"
30583058
cbor-x: "npm:^1.6.0"
30593059
eventsource: "npm:^3.0.5"
3060+
get-port: "npm:^7.1.0"
30603061
hono: "npm:^4.7.0"
30613062
invariant: "npm:^2.2.4"
30623063
on-change: "npm:^5.0.1"

0 commit comments

Comments
 (0)