From 12eea7820d8c869ea53d7c4b5bb34b87fb34269e Mon Sep 17 00:00:00 2001 From: Manav Rathi Date: Fri, 10 May 2024 22:05:26 +0530 Subject: [PATCH] [web] Make next shut up It is not the telemetry which is the problem, it is the fact that they spam everywhere in the logs when building that telemetry is on. And they've not intentionally given a way to disable this cleanly. https://github.com/vercel/next.js/discussions/31400 --- web/package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/web/package.json b/web/package.json index 647ee3ba3a..cf5649a7ba 100644 --- a/web/package.json +++ b/web/package.json @@ -27,6 +27,7 @@ "dev:payments": "yarn workspace payments dev", "dev:photos": "yarn workspace photos next dev", "dev:staff": "yarn workspace staff dev", + "postinstall": "yarn run next telemetry disable", "lint": "yarn prettier --check --log-level warn . && yarn workspaces run eslint --report-unused-disable-directives .", "lint-fix": "yarn prettier --write --log-level warn . && yarn workspaces run eslint --fix .", "preview": "yarn preview:photos",