Skip to content

SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.

fix: yarn is turned into npm

Palash guptaceb59e8bb564
diff --git a/frontend/.husky/commit-msg b/frontend/.husky/commit-msg
index 7f53561e1c..818ef8b9b5 100755
--- a/frontend/.husky/commit-msg
+++ b/frontend/.husky/commit-msg
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
-cd frontend && yarn commitlint --edit $1
+cd frontend && npm run commitlint
diff --git a/frontend/package.json b/frontend/package.json
index 0b828cb1c6..6db21c2929 100644
--- a/frontend/package.json
+++ b/frontend/package.json
@@ -15,7 +15,8 @@
"jest:coverage": "jest --coverage",
"jest:watch": "jest --watch",
"postinstall": "yarn husky:configure",
- "husky:configure": "cd .. && husky install frontend/.husky && cd frontend && chmod ug+x .husky/*"
+ "husky:configure": "cd .. && husky install frontend/.husky && cd frontend && chmod ug+x .husky/*",
+ "commitlint": "commitlint --edit $1"
},
"engines": {
"node": ">=12.13.0"