Files
vercel__workflow/.nuxtrc
T
Justin Xu 95d7009e8a Prevent local tests from hanging (#2338)
* 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>
2026-06-10 21:28:56 -07:00

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