Commit 23e3783
authored
meta(nuxt): Require minimum Nuxt v3.7.0 (#14473)
This PR adds a minimum required version for the Nuxt SDK. Version 3.7.0
was selected because this version adds the possibility to set client
source maps to `'hidden'` ([PR
here](nuxt/nuxt#22787)).
However, as the SDK relies on other versions as well (see below, at the
bottom), those packages need to be manually bumped (in case the
lock-file is not updated yet). **Nuxt 3.7.0** at least supports the
correct version range:
["nitropack":
"^2.6.1"](https://github.com/nuxt/nuxt/blob/v3.7.0/packages/nuxt/package.json#L84)
["ofetch":
"^1.3.3"](https://github.com/nuxt/nuxt/blob/v3.7.0/packages/nuxt/package.json#L87)
Above **Nuxt v3.14.0**, everything works out of the box, as the versions
are already updated:
["nitropack":
"^2.10.2"](https://github.com/nuxt/nuxt/blob/v3.14.0/packages/nuxt/package.json#L97)
["ofetch":
"^1.4.1"](https://github.com/nuxt/nuxt/blob/v3.14.0/packages/nuxt/package.json#L100)
#### Minimum versions, the SDK relies on:
- `nitropack` 2.10.0: for the correct peerDependency of `@vercel/nft`
- `ofetch` 1.4.0: for being able to patch `$fetch`1 parent 973ef9c commit 23e3783
File tree
3 files changed
+6
-6
lines changed- dev-packages/e2e-tests/test-applications/nuxt-3-min
- packages/nuxt
- src
3 files changed
+6
-6
lines changedLines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | | - | |
| 27 | + | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
0 commit comments