mirror of
https://github.com/vercel/workflow.git
synced 2026-09-14 19:59:43 +08:00
95d7009e8a
* Prevent local tests from hanging This commit allows manually running pnpm test: - use vitest run to stop world-vercel and world-testing when complete - disable Nuxt telemetry to prevent interactive telemetry prompt Signed-off-by: Justin Xu <xu.justin.j@gmail.com> * Disable Nuxt telemetry via workspace .nuxtrc instead of inline env vars The inline NUXT_TELEMETRY_DISABLED=1 in package.json scripts doesn't work on Windows (pnpm runs scripts through cmd.exe). A workspace-root .nuxtrc is cross-platform, and @nuxt/kit resolves it from the pnpm workspace root, so it also covers workbench/nuxt's build/dev, which hit the same first-run consent prompt. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> --------- Signed-off-by: Justin Xu <xu.justin.j@gmail.com> Co-authored-by: Pranay Prakash <pranay.gp@gmail.com> Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
6 lines
289 B
Plaintext
6 lines
289 B
Plaintext
# Disable Nuxt telemetry for all Nuxt invocations in this workspace
|
|
# (packages/nuxt's nuxt-module-build and workbench/nuxt's nuxt build/dev).
|
|
# Without this, a fresh environment with no ~/.nuxtrc hits an interactive
|
|
# consent prompt that hangs local builds/tests.
|
|
telemetry.enabled=false
|