Unverified Commit 862deb5a authored by Steven's avatar Steven Committed by GitHub

Disable telemetry for `pnpm next` when contributing locally (#44610)

This PR fixes telemetry so it no longer reports `pnpm next` when
contributing to Next.js
parent f38ddf9f
...@@ -41,10 +41,10 @@ ...@@ -41,10 +41,10 @@
"publish-stable": "lerna version --force-publish", "publish-stable": "lerna version --force-publish",
"lint-staged": "lint-staged", "lint-staged": "lint-staged",
"next-with-deps": "./scripts/next-with-deps.sh", "next-with-deps": "./scripts/next-with-deps.sh",
"next": "node --trace-deprecation --enable-source-maps packages/next/dist/bin/next", "next": "cross-env NEXT_TELEMETRY_DISABLED=1 node --trace-deprecation --enable-source-maps packages/next/dist/bin/next",
"next-no-sourcemaps": "node --trace-deprecation packages/next/dist/bin/next", "next-no-sourcemaps": "cross-env NEXT_TELEMETRY_DISABLED=1 node --trace-deprecation packages/next/dist/bin/next",
"clean-trace-jaeger": "rm -rf test/integration/basic/.next && TRACE_TARGET=JAEGER node --trace-deprecation --enable-source-maps packages/next/dist/bin/next build test/integration/basic", "clean-trace-jaeger": "rm -rf test/integration/basic/.next && TRACE_TARGET=JAEGER pnpm next build test/integration/basic",
"debug": "node --inspect packages/next/dist/bin/next", "debug": "cross-env NEXT_TELEMETRY_DISABLED=1 node --inspect packages/next/dist/bin/next",
"postinstall": "git config feature.manyFiles true && node scripts/install-native.mjs", "postinstall": "git config feature.manyFiles true && node scripts/install-native.mjs",
"version": "npx pnpm@7.3.0 install && git add pnpm-lock.yaml", "version": "npx pnpm@7.3.0 install && git add pnpm-lock.yaml",
"prepare": "husky install" "prepare": "husky install"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment