turbo icon indicating copy to clipboard operation
turbo copied to clipboard

Add env wildcards for framework Nitro NITRO_*

Open MickL opened this issue 1 year ago • 6 comments

Verify canary release

  • [X] I verified that the issue exists in the latest Turborepo canary release.

Link to code that reproduces this issue

What package manager are you using / does the bug impact?

npm

What operating system are you using?

Mac

Which canary version will you have in your reproduction?

2.0.4-canary.4

Describe the Bug

Nitro is the server framework that Nuxt is using. It is part of every Nuxt application but is also an awesome API framework on its own that deploys everywhere (e.g. on Vercel Functions and Vercel Edge Functions).

When using Nitro separate all env variables start with NITRO_*. This wildcard should be added to the Framework Inference.

This will also fix deployments of Nuxt that deploy to any given preset that is not node-server (e.g. vercel), see https://github.com/vercel/turbo/issues/8503

Expected Behavior

To Reproduce

Additional context

No response

MickL avatar Jun 15 '24 14:06 MickL