Skip to content

OpenPanel is an open-source web and product analytics platform, an open-source alternative to Mixpanel with optional self-hosting.

fix publish script

Carl-Gerhard Lindesvärdb024e5d07323
diff --git a/tooling/publish/publish.ts b/tooling/publish/publish.ts
index 93ccc8cf1..fddd656d7 100644
--- a/tooling/publish/publish.ts
+++ b/tooling/publish/publish.ts
@@ -155,7 +155,7 @@ function main() {
(acc, [depName, depVersion]) => {
const dep = packages[depName];
if (!dep) {
- return acc;
+ return { ...acc, [depName]: depVersion };
}
return {