fix publish and build sdk
This commit is contained in:
@@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user