Skip to content

Commit 9f60bf7

Browse files
committed
fix: point @sipher/sdk exports to dist/ for production Node.js resolution
1 parent cc4a6df commit 9f60bf7

2 files changed

Lines changed: 5 additions & 15 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,6 @@ jobs:
9090
docker compose pull
9191
docker compose up -d
9292
sleep 5
93-
curl -sf http://localhost:5006/v1/health || exit 1
93+
curl -sf http://localhost:5006/api/health || curl -sf http://localhost:5006/v1/health || exit 1
9494
docker image prune -af --filter "until=24h"
9595
echo "Deploy successful"

packages/sdk/package.json

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,12 @@
22
"name": "@sipher/sdk",
33
"version": "0.1.0",
44
"type": "module",
5-
"main": "src/index.ts",
6-
"types": "src/index.ts",
5+
"main": "dist/index.js",
6+
"types": "dist/index.d.ts",
77
"exports": {
88
".": {
9-
"import": "./src/index.ts",
10-
"types": "./src/index.ts"
11-
}
12-
},
13-
"publishConfig": {
14-
"main": "dist/index.js",
15-
"types": "dist/index.d.ts",
16-
"exports": {
17-
".": {
18-
"import": "./dist/index.js",
19-
"types": "./dist/index.d.ts"
20-
}
9+
"import": "./dist/index.js",
10+
"types": "./dist/index.d.ts"
2111
}
2212
},
2313
"scripts": {

0 commit comments

Comments
 (0)