fix publish and build sdk

This commit is contained in:
Carl-Gerhard Lindesvärd
2023-11-01 20:42:20 +01:00
parent 09672b34a3
commit f7ccafbda0
4 changed files with 4 additions and 2 deletions

BIN
bun.lockb

Binary file not shown.

View File

@@ -10,6 +10,7 @@
"devDependencies": { "devDependencies": {
"@types/uuid": "^9.0.5", "@types/uuid": "^9.0.5",
"bun-types": "latest", "bun-types": "latest",
"tsup": "^7.2.0",
"typescript": "^5.0.0" "typescript": "^5.0.0"
} }
} }

View File

@@ -5,6 +5,7 @@
"module": "index.ts", "module": "index.ts",
"devDependencies": { "devDependencies": {
"bun-types": "latest", "bun-types": "latest",
"tsup": "^7.2.0",
"typescript": "^5.0.0" "typescript": "^5.0.0"
} }
} }

View File

@@ -47,10 +47,10 @@ function main() {
}) })
try { try {
execSync('npx tsup', { execSync('bunx tsup', {
cwd: './packages/sdk', cwd: './packages/sdk',
}) })
execSync('npx tsup', { execSync('bunx tsup', {
cwd: './packages/types', cwd: './packages/types',
}) })
} catch(error) { } catch(error) {