Skip to content

Commit

Permalink
fix(turborepo): correct Nuxt's wildcard pattern (#8616)
Browse files Browse the repository at this point in the history
### Description

Nuxt 3 pattern uses `NUXT_*`, not `NUXT_ENV_*`.
Reference: https://nuxt.com/docs/api/nuxt-config#runtimeconfig-1

---------

Co-authored-by: Anthony Shew <anthony.shew@vercel.com>
  • Loading branch information
NamesMT and anthonyshew authored Jun 27, 2024
1 parent 0ded5b5 commit 54ea3f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/turborepo-lib/src/framework.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ fn get_frameworks() -> &'static [Framework] {
},
Framework {
slug: "nuxtjs",
env_wildcards: vec!["NUXT_ENV_*"],
env_wildcards: vec!["NUXT_*"],
dependency_match: Matcher {
strategy: Strategy::Some,
dependencies: vec!["nuxt", "nuxt-edge", "nuxt3", "nuxt3-edge"],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ Turborepo automatically adds prefix wildcards to your [`env`](/repo/docs/referen
| Create React App | `REACT_APP_*` |
| Gatsby | `GATSBY_*` |
| Next.js | `NEXT_PUBLIC_*` |
| Nuxt.js | `NUXT_ENV_*` |
| Nuxt.js | `NUXT_*` |
| RedwoodJS | `REDWOOD_ENV_*` |
| Sanity Studio | `SANITY_STUDIO_*` |
| Solid | `VITE_*` |
Expand Down

0 comments on commit 54ea3f0

Please sign in to comment.