OpenPanel is an open-source web and product analytics platform, an open-source alternative to Mixpanel with optional self-hosting.
fix publish and build sdk
Carl-Gerhard Lindesvärdf7ccafbda090
diff --git a/bun.lockb b/bun.lockbindex 268e24584..fc6fa0777 100755Binary files a/bun.lockb and b/bun.lockb differdiff --git a/packages/sdk/package.json b/packages/sdk/package.jsonindex 9797592a5..baa0df1ef 100644--- a/packages/sdk/package.json+++ b/packages/sdk/package.json@@ -10,6 +10,7 @@"devDependencies": {"@types/uuid": "^9.0.5","bun-types": "latest",+ "tsup": "^7.2.0","typescript": "^5.0.0"}}\ No newline at end of filediff --git a/packages/types/package.json b/packages/types/package.jsonindex 42e9542ae..60f713d5e 100644--- a/packages/types/package.json+++ b/packages/types/package.json@@ -5,6 +5,7 @@"module": "index.ts","devDependencies": {"bun-types": "latest",+ "tsup": "^7.2.0","typescript": "^5.0.0"}}\ No newline at end of filediff --git a/publish.ts b/publish.tsindex f9ab76b46..9c08c5020 100644--- a/publish.ts+++ b/publish.ts@@ -47,10 +47,10 @@ function main() {})try {- execSync('npx tsup', {+ execSync('bunx tsup', {cwd: './packages/sdk',})- execSync('npx tsup', {+ execSync('bunx tsup', {cwd: './packages/types',})} catch(error) {