renovate[bot]
e40286e04f
fix(nuxi): upgrade listhen
( #6434 )
2022-08-08 13:49:31 +02:00
renovate[bot]
e25b7542b8
chore(deps): update all non-major dependencies ( #6431 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-08 13:26:36 +02:00
Daniel Roe
e3b0608470
fix(kit): move relative path handling back into nuxt templates ( #6430 )
2022-08-08 13:03:44 +02:00
Nathan Chase
70aec38428
docs: update vue-router links ( #6421 )
2022-08-08 10:27:19 +02:00
Daniel Roe
9971fade76
chore: revert unplugin upgrade ( #6415 )
2022-08-08 06:45:42 +02:00
pooya parsa
ea868f5586
fix(vite): add hotfix for netlify deployments ( #6412 )
2022-08-07 11:56:00 +02:00
renovate[bot]
34c7858d0a
chore(deps): update all non-major dependencies ( #6391 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-07 11:54:42 +02:00
Daniel Roe
fc1d7d9507
fix(schema): cleanup meta tags and deduplicate charset and viewport ( #6378 )
2022-08-07 11:53:53 +02:00
Daniel Roe
41d6f372a7
feat(nuxt): update to vue-bundle-renderer@0.4
( #6210 )
2022-08-07 11:52:34 +02:00
Timur Bolotov
2cbdc5c07f
docs: add missing periods
2022-08-07 11:02:31 +02:00
Daniel Roe
4623525f3f
fix(nuxt): type useRoute
return ( #6395 )
2022-08-07 06:57:11 +02:00
Haytham Salama
58abefc326
docs(schema) : add a missing comma in example config ( #6394 )
2022-08-05 21:00:40 +02:00
Daniel Roe
60656dfa2c
fix(nuxt): remove side-effect imports from page metadata ( #6376 )
2022-08-05 18:35:38 +02:00
kazuya kawaguchi
0df9553ec4
refactor(test-utils): remove unused codes ( #6369 )
2022-08-05 10:35:08 +02:00
Daniel Roe
463c15e3d2
fix(vite): use url for entry on windows ( #6355 )
2022-08-04 17:24:35 +02:00
Daniel Roe
746d553249
fix(nuxt): resolve plugins and middleware to their full path ( #6350 )
2022-08-04 17:15:42 +02:00
renovate[bot]
bc26cc6467
chore(deps): update all non-major dependencies ( #6362 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-04 17:15:24 +02:00
pooya parsa
e3534bcda5
fix(nuxi, kit): enable esmResolve
flag for jiti
( #6356 )
2022-08-04 15:22:32 +02:00
Daniel Roe
1f00a9f011
fix(nuxt): make route provided to page children reactive ( #6349 )
2022-08-04 13:30:18 +02:00
pooya parsa
23329e0599
feat(vite): log vite-node hmr updates ( #6351 )
2022-08-04 13:13:12 +02:00
renovate[bot]
6d64aff6f2
chore(deps): update dependency unctx to v2 ( #6340 )
...
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-08-04 13:00:01 +02:00
Daniel Roe
4732d2ce3a
fix(nuxt): better equality check for json cookies ( #6352 )
2022-08-04 12:58:15 +02:00
renovate[bot]
d8cdd97f02
chore(deps): update dependency ohash to ^0.1.5 ( #6354 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-04 12:56:28 +02:00
renovate[bot]
079e09ea4b
chore(deps): update all non-major dependencies ( #6353 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-04 12:52:10 +02:00
Anthony Fu
972f4b47bc
fix(vite): improve vite-node
hmr ( #6343 )
2022-08-04 12:03:46 +02:00
renovate[bot]
0f5eceb81b
chore(deps): update dependency mlly to ^0.5.7 ( #6339 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-03 19:31:49 +02:00
renovate[bot]
db819a08d3
chore(deps): update dependency mlly to ^0.5.6 ( #6334 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-03 15:48:38 +02:00
Daniel Roe
fbe2459255
fix(nuxt): remove literal <script setup>
from comment ( #6331 )
2022-08-03 13:49:09 +02:00
Daniel Roe
f75d0dfd47
fix(nuxt): extract component to provide route ( #6325 )
2022-08-03 12:38:46 +02:00
renovate[bot]
f8a9fa7b67
chore(deps): update all non-major dependencies ( #6314 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-03 10:13:47 +02:00
pooya parsa
000d81d760
fix(nuxt): generate 200.html
and 404.html
spa fallback files ( #6308 )
2022-08-02 18:45:44 +02:00
Daniel Roe
4379e9d922
feat(nuxt): add setResponseStatus
utility ( #6306 )
2022-08-02 18:01:59 +02:00
Julien Huang
2cdaf8065c
feat(nuxt): remove wrapper from client only components ( #6165 )
...
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-08-02 17:05:02 +02:00
Conrawl Rogers
8efaad43bb
feat(kit): support followSymbolicLinks
option for resolveFiles
( #6240 )
2022-08-02 14:25:35 +02:00
Sanjaiyan Parthipan
94d0c08066
feat(nuxt): add fetchpriority
attribute and literal typings for meta components ( #6251 )
2022-08-02 14:08:01 +02:00
Harlan Wilton
622c976cec
fix(nuxt): render head scripts that use body: true
( #6293 )
...
Co-authored-by: Damian Głowala <48835293+DamianGlowala@users.noreply.github.com>
2022-08-02 13:43:25 +02:00
renovate[bot]
7cc636ad93
chore(deps): update all non-major dependencies ( #6241 )
2022-08-02 13:42:26 +02:00
Harlan Wilton
aa653ef6cb
fix(nuxt): avoid duplicate titleTemplate ( #6296 )
2022-08-02 13:20:44 +02:00
Daniel Roe
c72093b1f2
fix(nuxt): separate routes for different suspense forks ( #6275 )
2022-08-02 11:58:03 +02:00
Daniel Roe
b12fe7eb7c
fix(nuxt): narrow nuxt.config
import protection ( #6279 )
2022-08-01 19:25:31 +02:00
Daniel Roe
96cfe01973
fix(nuxt): do not allow catchalls to have child routes ( #6257 )
2022-08-01 09:51:46 +02:00
pooya parsa
5dc864d7bc
fix(kit): try extensions with resolvePath
with absolute input ( #6233 )
2022-07-29 15:53:35 +02:00
renovate[bot]
63cbb773df
chore(deps): update dependency autoprefixer to ^10.4.8 ( #6231 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-29 14:50:14 +02:00
Daniel Roe
8b5159f3c0
fix(webpack): output .mjs
to use crossorigin preloads ( #6232 )
2022-07-29 14:50:02 +02:00
pooya parsa
e6f957ab32
chore(schema): update vite config types ( #6230 )
2022-07-29 14:34:55 +02:00
Anthony Fu
6b20d9eff1
fix(vite): fix dist dir resolution ( #6215 )
2022-07-29 14:33:24 +02:00
Kevin Marrec
5a042cd69b
feat(nuxt): extends support for app.vue
( #6228 )
2022-07-29 13:12:50 +02:00
Daniel Roe
968087bcc5
fix(schema): add typings for vite.vue
options ( #6220 )
...
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-07-29 11:57:45 +01:00
renovate[bot]
8f65664ac0
chore(deps): update all non-major dependencies ( #6223 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-29 11:42:57 +02:00
renovate[bot]
3fa32b9c22
chore(deps): update all non-major dependencies ( #6173 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-29 11:40:44 +02:00
Daniel Roe
3f2eb3a3b1
fix(vite, webpack): generate composable keys based on order ( #6191 )
2022-07-29 11:40:04 +02:00
Anthony Fu
d4eba42f17
fix(kit): add implicit ohash
dependency ( #6216 )
2022-07-29 10:44:28 +02:00
Cédric Exbrayat
943dc0e16e
chore(test-utils): error message typo ( #6203 )
2022-07-28 14:40:03 +01:00
Daniel Roe
748b063afa
fix(nuxt): don't call renderMeta if it is not defined ( #6201 )
...
* fix(nuxt): don't call renderMeta if it is not defined
* fix: check for nuxt existence as well
2022-07-28 15:11:47 +02:00
Daniel Roe
4e2667fcb7
feat(nuxt): add support for components/global
( #6070 )
...
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-07-27 15:05:34 +02:00
Daniel Roe
12ebe3aeb6
fix(schema): exclude functions from DeepPartial
( #6176 )
2022-07-27 15:04:14 +02:00
Daniel Roe
1230268a7b
fix(nuxt): allow useHead
to accept computed values ( #6174 )
2022-07-27 13:25:43 +02:00
pooya parsa
f58aa8114f
feat(nuxt): app:rendered
and app:response
hooks ( #6042 )
2022-07-27 11:53:53 +02:00
Anthony Fu
d15c4727a8
refactor(vite): reuse logic and improve code splitting ( #6164 )
2022-07-27 11:01:25 +02:00
Anthony Fu
5e62e0fec0
fix(vite): use externality
to handle vite-node externals ( #6153 )
2022-07-26 15:49:17 +02:00
Anthony Fu
f0485d83d9
perf(vite-node): only invalidate cache for user code ( #6156 )
2022-07-26 15:46:06 +02:00
Daniel Roe
54da45e7a1
fix(schema): add empty noscript array ( #6155 )
2022-07-26 15:43:26 +02:00
renovate[bot]
71b40a109f
chore(deps): update all non-major dependencies ( #6131 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-26 15:41:31 +02:00
Victor Saa
5d023a80df
feat(nuxt, schema): add <NoScript>
component and noscript
typings ( #6139 )
2022-07-26 15:41:01 +02:00
hecateball
e08a493bac
fix(nuxt): add error event declaration to the <NuxtErrorBoundary>
component ( #6141 )
2022-07-26 15:36:58 +02:00
Anthony Fu
a585086c8b
fix(nuxt): clear vite-node
runner cache after each render ( #6154 )
2022-07-26 15:13:40 +02:00
pooya parsa
25ac652652
feat(nuxi): nuxi cleanup
command ( #6125 )
2022-07-25 17:19:17 +02:00
Daniel Roe
133723ff76
build(vite): add missing pkg-types
dependency ( #6128 )
2022-07-25 17:18:46 +02:00
David Tai
3a822c7177
refactor(nuxt): enhance useFetch
and useLazyFetch
request type ( #4825 )
...
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-07-25 14:37:39 +02:00
Daniel Roe
8298cf27e6
fix(vite): allow overriding client hmr options ( #6082 )
...
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-07-25 14:29:41 +02:00
Thomas
210cf30691
fix(nuxt): normalize manifest css file entries ( #6112 )
2022-07-25 14:05:58 +02:00
Daniel Roe
40defd9f36
fix(nuxi): load .env
file before starting dev server ( #6119 )
2022-07-25 14:01:18 +02:00
Mohammad Hosein Feizi
cccafd620f
fix(vite): resolve tsconfig.json
for vue-tsc type checker ( #6069 )
2022-07-25 13:02:42 +02:00
renovate[bot]
8d469e7f15
chore(deps): update all non-major dependencies ( #6117 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-25 12:17:44 +02:00
renovate[bot]
02b01013df
chore(deps): update all non-major dependencies ( #6074 )
2022-07-25 12:15:13 +02:00
Daniel Roe
6c125bc941
fix(nuxt): don't ignore components dirs with same prefix ( #6116 )
2022-07-25 12:13:54 +02:00
Daniel Roe
c7d072c495
fix(vite): ignore baseurl when pruning manifest ( #6063 )
2022-07-25 11:52:21 +02:00
Anthony Fu
416f98b6b4
fix(nuxt): auto import for components with external template ( #6053 )
2022-07-22 10:28:16 +02:00
renovate[bot]
147ba56f6b
chore(deps): update devdependency playwright to ^1.24.0 ( #6051 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-22 09:48:44 +02:00
Anthony Fu
d453729c75
fix(types): generate relative path in imports.d.ts
( #6054 )
2022-07-22 09:30:29 +02:00
Anthony Fu
d135608ef0
fix(nuxt): use relative path to generate plugin variables ( #6030 )
...
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-07-21 20:09:27 +02:00
Daniel Roe
78618f1f21
feat(nuxt): improve error dx for users ( #4539 )
...
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-07-21 16:29:03 +02:00
Anthony Fu
1a862526fe
perf(nuxt): transform #imports
to improve tree-shaking ( #5763 )
2022-07-21 16:27:23 +02:00
Daniel Roe
45b449ed05
fix(vite): invalidate virtual files when changed ( #6038 )
2022-07-21 16:21:58 +02:00
Daniel Roe
4d80c43d25
fix(kit): resolve aliases in plugin src ( #6037 )
2022-07-21 16:05:41 +02:00
renovate[bot]
6313f69a06
chore(deps): update all non-major dependencies ( #6032 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-21 15:59:00 +02:00
Daniel Roe
54e672db19
fix(nuxt): always write nitro types when building ( #6035 )
2022-07-21 15:50:41 +02:00
Daniel Roe
8f7b9f904e
fix(pages): ignore expression delimiters within quotes ( #6033 )
...
* fix(pages): ignore expression delimiters within quotes
* perf: use re
* test: add test that would have failed
2022-07-21 15:49:48 +02:00
Anthony Fu
b4b98041f0
fix(kit, nuxt): always sort globby results ( #6029 )
2022-07-21 12:46:50 +02:00
Daniel Roe
fa8b0f7c79
feat(vite)!: upgrade vite to v3 ( #5398 )
2022-07-21 12:44:33 +02:00
Daniel Roe
92269dde44
fix(nuxt)!: change statusCode
type to number for error page template ( #6010 )
2022-07-20 19:00:42 +02:00
Daniel Roe
bdbeb886ae
fix(webpack): do not resolve #internal/nitro
alias internally ( #5987 )
2022-07-20 18:59:05 +02:00
renovate[bot]
72c3af7fc5
chore(deps): update all non-major dependencies ( #5982 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-20 18:58:21 +02:00
Daniel Roe
edbe4fe799
feat(vite): check types with vue-tsc
( #6012 )
2022-07-20 17:15:27 +02:00
pooya parsa
88f4525a4f
v3.0.0-rc.6 ( #5936 )
2022-07-18 12:06:04 +02:00
renovate[bot]
6065f12ae4
chore(deps): update all non-major dependencies ( #5963 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-18 11:58:26 +02:00
yoho
296c5526fd
fix(nuxi): add missing types
field ( #5962 )
2022-07-18 11:34:56 +02:00
pooya parsa
ffd40d16c8
fix(vite): use more strict app entry check in dev-bundler ( #5959 )
2022-07-17 18:01:16 +02:00
pooya parsa
0839e93333
fix(vite): unset build.watch
options for production build ( #5958 )
2022-07-17 17:10:27 +02:00
Anthony Fu
4abcfb6bf9
fix(vite): avoid creating server for production build ( #5941 )
2022-07-17 16:17:07 +02:00
renovate[bot]
d0673ec60e
chore(deps): update all non-major dependencies ( #5937 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-17 15:13:15 +02:00
pooya parsa
2e85cd0252
refactor(nuxt): add treeshakeClientOnly
experimental flag ( #5934 )
...
* refactor(nuxt): add `treeshakeClientOnly` experimental flag
* test: enable flag for fixture
2022-07-17 15:13:04 +02:00
pooya parsa
f5fd58ebfe
fix(pkg): use fixed version range for monorepo packages ( #5933 )
2022-07-16 00:43:43 +02:00
Daniel Roe
dce07e5831
fix(nuxt): lazy load and tree-shake error templates ( #5930 )
...
Co-authored-by: Pooya Parsa <pooya@pi0.io>
Co-authored-by: Kevin Marrec <kevin@marrec.io>
2022-07-16 00:15:31 +02:00
Daniel Roe
a54925f880
fix(kit): only call viteExtendConfig
callback once if possible ( #5929 )
2022-07-15 23:34:29 +02:00
renovate[bot]
78d4eabc41
chore(deps): update all non-major dependencies ( #5925 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-15 22:30:25 +02:00
renovate[bot]
dcf7e85646
chore(deps): update dependency ohash to ^0.1.4 ( #5909 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-15 12:09:03 +02:00
Daniel Roe
df04a665ce
perf(nuxt): tree-shake client-only components from ssr bundle ( #5750 )
...
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-07-14 19:46:12 +02:00
Lay
b81c9c3a92
feat(schema): sync types of vite v2.9.x ( #5896 )
2022-07-14 16:03:18 +02:00
renovate[bot]
c610ead868
chore(deps): update dependency ohash to ^0.1.3 ( #5898 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-14 16:02:21 +02:00
Anthony Fu
537b6e35bd
fix(vite): set transform mode for vite-node
( #5854 )
...
close #5543
2022-07-14 16:01:21 +02:00
renovate[bot]
009d6762c5
chore(deps): update all non-major dependencies ( #5891 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-14 15:59:43 +02:00
renovate[bot]
f5301e9985
chore(deps): update devdependency playwright to ^1.23.3 ( #5883 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-13 19:30:14 +02:00
Pooya Parsa
65e6b1439e
chore(deps): add missing ohash dependency to webpack
2022-07-13 17:40:10 +02:00
pooya parsa
7c45eeef7b
v3.0.0-rc.5 ( #5825 )
2022-07-13 17:38:59 +02:00
Pooya Parsa
7124a9deb5
chore(deps): update nitropack and lockfile
2022-07-13 17:28:10 +02:00
Daniel Roe
3ad12b5f4a
fix(vite): close vite watcher before building ( #5875 )
2022-07-13 14:44:07 +02:00
pooya parsa
0ef08190ae
fix(nuxt): fix issues with vue-router
and @vue/devtools-api
bundling ( #5874 )
2022-07-13 14:42:24 +02:00
renovate[bot]
a1dff87a0c
chore(deps): update dependency vite-plugin-checker to ^0.4.9 ( #5870 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-13 12:19:22 +02:00
Daniel Roe
1ced224389
fix(nuxt): warn about legacy and invalid plugins ( #5857 )
...
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-07-12 19:06:55 +02:00
Pooya Parsa
aa5a97ace2
chore(deps): update @nuxt/ui
to 2.x
2022-07-12 16:20:14 +02:00
Anthony Fu
135dfdf73b
fix(nuxt): replace process.dev
in nitro bundle ( #5852 )
2022-07-12 14:32:07 +02:00
renovate[bot]
46c48de98e
chore(deps): update dependency unplugin to ^0.7.2 ( #5851 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-12 14:12:46 +02:00
Anthony Fu
100dfa6653
fix(nuxi): show base url in terminal ( #5337 )
...
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-07-12 14:12:33 +02:00
renovate[bot]
303c8a51b6
chore(deps): update all non-major dependencies ( #5831 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-12 13:50:11 +02:00
pooya parsa
56a3f1b615
fix(nuxt): extend nitro routes instead of overriding ( #5828 )
2022-07-12 12:56:40 +02:00
Daniel Roe
1840b96335
refactor(nuxt): add import protection to nitro config ( #5847 )
2022-07-12 12:55:32 +02:00
Daniel Roe
2d70507d1c
fix(nuxt): only tree-shake composables on their own lines ( #5850 )
2022-07-12 12:55:12 +02:00
Bob Olde Hampsink
8685bfa9e9
fix(test-utils): update vitest import path with .mjs
( #5817 )
2022-07-11 17:37:21 +02:00
renovate[bot]
b8db1c1ff6
chore(deps): update all non-major dependencies ( #5799 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-11 15:57:59 +02:00
renovate[bot]
c695f71ed3
chore(deps): update all non-major dependencies ( #5779 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-08 14:42:43 +02:00
Daniel Roe
b045b7141b
fix(nuxt): don't return stub function from tree-shaken composables ( #5786 )
2022-07-08 14:42:26 +02:00
renovate[bot]
5a210ad67c
chore(deps): update devdependency playwright to ^1.23.2 ( #5775 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-07 21:12:30 +02:00
Anthony Fu
c95a48c632
feat(nuxt): add <NuxtLoadingIndicator>
component ( #5121 )
...
Co-authored-by: Damian <48835293+DamianGlowala@users.noreply.github.com>
Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-07-07 19:59:55 +02:00
Francisco Buceta
38e0fa6e1e
feat(nuxt3): support custom
prop for <nuxt-link>
( #4249 )
...
Co-authored-by: Daniel Roe <daniel@roe.dev>
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-07-07 19:28:23 +02:00
pooya parsa
f321a56e63
fix(nuxt): use virtual server stub with ssr: false
( #5773 )
2022-07-07 18:51:42 +02:00
renovate[bot]
079ff4439c
chore(deps): update dependency ufo to ^0.8.5 ( #5772 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-07 18:29:39 +02:00
Daniel Roe
23546a270c
feat(nuxt): automatically generate unique keys for keyed composables ( #4955 )
...
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-07-07 18:26:04 +02:00
Daniel Roe
4d607080f5
feat(nuxt): tree-shake client and server-only composables ( #5749 )
2022-07-07 18:04:38 +02:00
renovate[bot]
5c323ca195
chore(deps): update all non-major dependencies ( #5712 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-07 17:30:10 +02:00
Daniel Roe
271262e10a
feat(nuxt): prerender all pages by default ( #5709 )
2022-07-07 17:07:37 +02:00
Daniel Roe
5e419e75c4
fix: pin vue-router to 4.0 semver-minor ( #5767 )
2022-07-07 17:04:06 +02:00
Anthony Fu
ad8b5f9703
fix(vite): fix vite-node
circular reference ( #5764 )
2022-07-07 11:00:30 +02:00
Pooya Parsa
8d2f805770
fix(nuxt): handle undefined
when applying defaults for useAsyncData
...
issue appeared as a regression of #5660
2022-07-07 00:12:31 +02:00
Daniel Roe
00c1daebaf
fix(vite): do not inline dynamic imports in server ( #5506 )
...
* fix(vite): do not inline dynamic imports in server
* chore: add link to upstream pr
2022-07-06 21:19:16 +02:00
mrauhu
93d60a30de
feat(nuxt): allow passing custom fetch options to useFetch
( #5660 )
2022-07-06 21:17:59 +02:00
Daniel Roe
b5f5f7d5ba
perf(nuxt)!: remove legacy app context ( #5630 )
2022-07-06 21:15:00 +02:00
Daniel Roe
f09d1d88da
fix(nuxt): update useFetch
key warning to include any function or blob ( #5710 )
...
* fix(nuxt): update `useFetch` key warning to include any function or blob
* Update packages/nuxt/src/app/composables/fetch.ts
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-07-06 21:09:46 +02:00
Daniel Roe
490d686fe6
fix(nuxt): useRequestHeaders
type should allow for undefined
values ( #5748 )
2022-07-06 21:00:08 +02:00
Daniel Roe
8ffe2a33a7
fix(webpack): transpile vue-demi
( #5721 )
2022-07-06 20:23:05 +02:00
renovate[bot]
00cd260804
chore(deps): update all non-major dependencies ( #5694 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-04 11:39:49 +02:00
renovate[bot]
b1470c0819
chore(deps): update all non-major dependencies ( #5687 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-01 12:37:12 +02:00
renovate[bot]
9df6d2f1d2
chore(deps): update all non-major dependencies ( #5588 )
...
* chore(deps): update all non-major dependencies
* update lockfile
* update unimport
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-07-01 12:02:57 +02:00
Daniel Roe
a41644e084
fix(kit): support adding server-only/client-only components separately ( #5686 )
2022-07-01 12:02:34 +02:00
Daniel Roe
fe508f5d20
fix(nuxt): pass attrs and props to client-only components ( #5668 )
2022-06-30 16:08:05 +02:00
Daniel Roe
8c2c80e43e
feat(nuxt)!: support universal global middleware ( #5038 )
2022-06-27 14:10:29 +02:00
Anthony Fu
7efdb486db
fix(vite-node): on-demand manifest ( #5017 )
2022-06-27 14:08:52 +02:00
Ahad Birang
67f40d7e40
fix(vite): do not watch ignored pathes ( #5632 )
2022-06-27 14:06:31 +02:00
Daniel Roe
6f8b7a9043
feat(kit): add addLayout
( #5537 )
2022-06-27 13:47:54 +02:00
Haruaki OTAKE
ad420238b1
fix(schema, postcss): cssnano is enabled if not dev ( #5583 )
2022-06-23 20:27:23 +02:00
Anthony Fu
2db154fde4
feat(auto-import)!: auto unwrap for auto import in template ( #5573 )
2022-06-23 11:51:46 +02:00
Daniel Roe
e38de4af4d
fix(vite): disable hmr in build ( #5505 )
2022-06-22 20:07:54 +02:00
renovate[bot]
8f98f60032
chore(deps): update all non-major dependencies ( #5541 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-22 20:04:32 +02:00
Daniel Roe
308148977d
feat(kit): support client and server flags for addVitePlugin
( #5560 )
2022-06-22 19:29:51 +02:00
renovate[bot]
42c5428ee9
chore(deps): update all non-major dependencies ( #5536 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-20 17:40:20 +02:00
renovate[bot]
cc72796a1c
chore(deps): update dependency rollup to ^2.75.7 ( #5530 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-20 10:44:27 +02:00
renovate[bot]
9f81d478cd
chore(deps): update all non-major dependencies ( #5502 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-20 10:21:04 +02:00
renovate[bot]
9be0be2d68
chore(deps): update dependency mlly to ^0.5.3 ( #5496 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-16 18:18:09 +02:00
renovate[bot]
8278fa5825
chore(deps): update all non-major dependencies ( #5475 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-16 12:26:34 +02:00
Daniel Roe
cf255259ca
fix(vite): add typecheck to vite plugins ( #5464 )
2022-06-15 17:18:45 +02:00
Daniel Roe
d7d97cd7d1
fix(nuxt): prefer nuxt app context over getCurrentInstance
( #5456 )
2022-06-15 14:00:34 +02:00
renovate[bot]
2fa0248cab
chore(deps): update all non-major dependencies ( #5473 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-15 13:59:47 +02:00
Julien Huang
ccec0a3738
feat(kit): allow addServerHandler
to use method suffix of the file path ( #5465 )
2022-06-15 13:53:31 +02:00
Daniel Roe
e10517d4d7
fix(nuxt): normalize string transpile paths for windows ( #5461 )
...
* fix(nuxt): normalize string transpile paths for windows
* Update packages/nuxt/src/core/nuxt.ts
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-06-15 13:52:46 +02:00
Daniel Roe
411eee3b77
fix(schema): add types for vite:
hooks ( #5472 )
2022-06-15 13:51:58 +02:00
renovate[bot]
bea6cecb6e
chore(deps): update all non-major dependencies ( #5448 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-15 13:28:17 +02:00
renovate[bot]
be0e502a05
chore(deps): update all non-major dependencies ( #5444 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-13 16:27:00 +02:00
pooya parsa
c9d4b2ebc8
v3.0.0-rc.4 ( #5393 )
2022-06-13 16:19:31 +02:00
renovate[bot]
c0a7d5ab93
chore(deps): update all non-major dependencies ( #5442 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-13 15:03:52 +02:00
Daniel Roe
4fdea30cbb
fix(webpack): enable extractCSS
by default ( #4388 )
2022-06-13 14:52:27 +02:00
renovate[bot]
99aff28d06
chore(deps): update all non-major dependencies ( #5431 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-13 00:41:53 +02:00
Ennio Visconti
9d28c0adbb
refactor(nuxi): improve env update message ( #5430 )
2022-06-13 00:13:59 +02:00
Jaemin Choi
95b38e241d
fix(nuxt): don't add macro query to the end of id ( #5413 )
...
* fix(nuxt): don't add macro query to the end of id
* Update packages/nuxt/src/pages/macros.ts
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-06-12 23:46:31 +02:00
Daniel Roe
a9c061cd2e
fix(nuxi): always override NODE_ENV
( #5417 )
2022-06-12 23:26:36 +02:00
Daniel Roe
0f4fa5643f
fix(nuxt): ignore whitespace and commas within resolveComponent
( #5428 )
2022-06-12 23:22:15 +02:00
Daniel Roe
59da4c6dd4
fix(nuxt): exclude non-cwd auto-imports and don't process all files ( #5421 )
2022-06-12 22:12:43 +02:00
renovate[bot]
67d804400b
chore(deps): update all non-major dependencies ( #5412 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-12 21:39:36 +02:00
Daniel Roe
8831e4a4b9
fix(vite): don't terminate with escaped delimiters ( #5409 )
2022-06-10 17:17:11 +02:00
Daniel Roe
fbcbac01d6
fix(nuxt): don't debounce watcher and include layers ( #5002 )
2022-06-10 16:50:47 +02:00
Daniel Roe
11a7340883
feat(nuxt): experimental flag to use external vue dependencies ( #5083 )
2022-06-10 16:31:36 +02:00
renovate[bot]
63b0457a69
chore(deps): update all non-major dependencies ( #5404 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-10 15:49:47 +02:00
Daniel Roe
f6bf4f7559
fix(nuxt): throw an error when using unknown route middleware ( #5323 )
2022-06-10 15:35:58 +02:00
Daniel Roe
846be5cee2
fix(nuxt): transform extends layers within node_modules
( #5042 )
2022-06-10 15:33:16 +02:00
Daniel Roe
5d4586a322
fix(webpack): respect build.transpile
( #5043 )
2022-06-10 15:18:31 +02:00
Daniel Roe
970758e050
revert(nuxt): revert router hotfix #4983 ( #5394 )
2022-06-10 15:15:53 +02:00
Daniel Roe
93f6a1e4ca
fix(vite, kit, nuxt): generate safe variable names using knitwork ( #4906 )
2022-06-10 15:12:21 +02:00
Daniel Roe
6947d30f01
fix(kit): pass resolved path to isIgnored
( #5375 )
2022-06-10 14:28:48 +02:00
Anthony Fu
fadffbe80c
chore: clean up jsdoc ( #5397 )
2022-06-10 14:14:03 +02:00
renovate[bot]
3fb473dcc0
chore(deps): update dependency vue-bundle-renderer to ^0.3.9 ( #5401 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-10 14:13:42 +02:00
renovate[bot]
b01d6b9dcb
chore(deps): update all non-major dependencies ( #5391 )
...
* chore(deps): update all non-major dependencies
* update lockfile
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-06-10 14:09:43 +02:00
renovate[bot]
6e80027c77
chore(deps): update all non-major dependencies ( #5383 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-10 10:28:59 +02:00
Daniel Roe
27a0084b6c
fix(nuxt): keep route param optionality when sibling is an index ( #5300 )
2022-06-09 15:03:08 +02:00
Daniel Roe
b31186b658
fix(nuxt): sort routes with dynamic params at the end ( #4983 )
2022-06-09 14:09:34 +02:00
Anthony Fu
a802b87ac7
feat(nuxt): support auto imports within <template>
( #4904 )
2022-06-08 22:09:31 +02:00
Daniel Roe
247deacc2b
fix(nuxt): relax server import protections ( #5355 )
...
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-06-08 21:51:38 +02:00
renovate[bot]
a3f8eca665
chore(deps): update all non-major dependencies ( #5358 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-08 21:49:23 +02:00
Xin Du (Clark)
139fc11c5a
refactor: fix typo and code improvements ( #5344 )
2022-06-08 21:49:11 +02:00
Anthony Fu
eafd92c457
fix(types): tidy types for useAsyncData
( #5340 )
2022-06-08 21:45:12 +02:00
Daniel Roe
822928b07e
fix(nuxt): add ssrContext
types on NuxtApp
( #5333 )
2022-06-08 21:37:50 +02:00
renovate[bot]
700b7adbc6
chore(deps): update dependency pify to v6 ( #5313 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-08 21:27:37 +02:00
renovate[bot]
f5dca6245d
chore(deps): update all non-major dependencies ( #5287 )
...
* chore(deps): update all non-major dependencies
* chore: dedupe dependencies
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-06-08 21:12:48 +02:00
renovate[bot]
603f07c3b8
chore(deps): update devdependency colorette to ^2.0.17 ( #5285 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-03 18:18:08 +02:00
renovate[bot]
0825bc4022
chore(deps): update all non-major dependencies ( #5281 )
2022-06-03 18:10:22 +02:00
renovate[bot]
c071b1eb90
chore(deps): update all non-major dependencies ( #5085 )
2022-06-03 16:26:29 +02:00
webfansplz
9379606222
fix(schema, vite): resolve mode
config correctly ( #5255 )
2022-06-03 16:09:04 +02:00
Daniel Roe
eb12c7a845
fix(nuxt): support RouterView
props in NuxtPage
( #5272 )
2022-06-03 16:01:46 +02:00
Harlan Wilton
c1f728ee54
refactor(nuxi): provide better advice on failing clone ( #5155 )
2022-06-01 08:43:24 +02:00
Daniel Roe
baf2baadb6
refactor(vite, webpack, test-utils): use caret range for vue
peer dependency ( #5190 )
2022-06-01 00:36:15 +02:00
Daniel Roe
1fda73267a
fix(nuxt): respect navigateTo
options using server middleware in server-side ( #5145 )
2022-06-01 00:09:32 +02:00
Alex Kozack
1e8fba8378
fix(schema): add missed types title
, bodyAttrs
, htmlAttrs
( #5184 )
...
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-05-31 23:30:17 +02:00
Anthony Fu
fca2ed7cc5
fix(nuxt): default statusCode of navigateTo
from 301
to 302
( #5173 )
...
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-05-31 23:28:52 +02:00
Daniel Roe
9adecac0b7
fix(nuxt): add default empty title to trigger titleTemplate
( #5064 )
2022-05-20 16:43:07 +02:00
Daniel Roe
a4a3cffb92
fix(nuxt): allow passing extraneous attrs to meta components ( #5071 )
2022-05-20 16:42:19 +02:00
renovate[bot]
d9b6c8a59b
chore(deps): update all non-major dependencies ( #5073 )
...
* chore(deps): update all non-major dependencies
* update lock
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-05-20 13:54:19 +02:00
Tobias Schulmann
ca526cfa92
docs(config): correct naming of NUXT_APP_CDN_URL
environment variable ( #5032 )
2022-05-20 11:40:30 +02:00
renovate[bot]
8e59a623b8
chore(deps): update dependency postcss-loader to v7 ( #5047 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-20 11:17:10 +02:00
renovate[bot]
80fbd663f4
chore(deps): update dependency css-minimizer-webpack-plugin to v4 ( #5051 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-20 11:16:59 +02:00
Julien Huang
4e53af3e99
fix(nuxt): fix router redirection on aliased pages ( #4982 )
2022-05-20 11:15:57 +02:00
renovate[bot]
733c293901
chore(deps): update all non-major dependencies ( #4973 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-20 11:13:19 +02:00
chris-zhu
78d1a87d4c
docs: fix typo in environment variable ( #4990 )
...
* chore: typo
* docs: style
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-05-18 08:16:24 +02:00
Dominik Opyd
f0dbc951e6
docs: add missing parentheses in the alias
example ( #4995 )
...
* docs(api): improving the parentheses of the `alias` examples in`nuxt.config`
* docs: revert change
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-05-18 08:15:38 +02:00
Daniel Roe
cd37a21c2e
fix(test-utils): hardcode ipv4 ip for localhost ( #4998 )
2022-05-17 09:40:35 +08:00
Jeremy Ye
bd80d27a49
fix(vite): add file://
protocol to vite-node
entry file path ( #4966 )
2022-05-13 13:00:14 +02:00
Daniel Roe
2886dfdaea
fix(nuxi): only reload for top level dirs ( #4912 )
2022-05-13 12:59:04 +02:00
Daniel Roe
17f9c54a79
feat(vite): replace global
with globalThis
( #4958 )
2022-05-13 12:49:30 +02:00
renovate[bot]
8767b7e3e1
chore(deps): update all non-major dependencies ( #4964 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-13 12:29:02 +02:00
Daniel Roe
46c656c4b8
fix(nuxt): check for 404s after user middleware ( #4913 )
2022-05-12 11:13:38 +02:00
renovate[bot]
0475d475d9
chore(deps): update all non-major dependencies ( #4950 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-12 11:12:34 +02:00
renovate[bot]
33fb75ff7c
chore(deps): update all non-major dependencies ( #4934 )
...
* chore(deps): update all non-major dependencies
* update lock
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-05-12 11:10:32 +02:00
Daniel Roe
cad4edd5a3
fix(nuxt): respect baseurl when redirecting (and universal router) ( #4933 )
...
* fix(nuxt): respect baseurl when redirecting (and universal router)
* test: add test case for redirect
2022-05-11 19:33:29 +02:00
renovate[bot]
7e89fe8f6c
chore(deps): update all non-major dependencies ( #4914 )
...
* chore(deps): update all non-major dependencies
* update lock
* fix: update types
* fix: update error type
* test: update useFetch url
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-05-11 14:32:05 +02:00
renovate[bot]
5c8c0451a6
chore(deps): update all non-major dependencies ( #4899 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-10 11:10:09 +02:00
pooya parsa
36512d0eaa
v3.0.0-rc.3 ( #4852 )
2022-05-10 10:58:29 +02:00
renovate[bot]
b633a9c106
chore(deps): update all non-major dependencies ( #4867 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-09 16:11:59 +02:00
Sébastien Chopin
9e5a3cdc6f
fix(nuxt): avoid redirect with different encoding and trailing slash ( #4857 )
...
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-05-06 18:02:50 +02:00
pooya parsa
a58178c4fd
refactor(nuxt): cleanup renderer entry ( #4853 )
2022-05-06 17:34:21 +02:00
Dario Merz
31c67ad9b4
fix(vite): ignore virtual imports that aren't in vfs ( #4822 )
...
Co-authored-by: Dario Merz <dario.merz@deptagency.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-05-06 15:33:32 +02:00
Jalil Wahdatehagh
5816fee892
fix(nuxt): add missing import to client only wrapper ( #4851 )
2022-05-06 15:32:29 +02:00
pooya parsa
92847ed924
feat(nuxt, kit): add shortcuts to register custom server handlers ( #4850 )
2022-05-06 15:31:52 +02:00
Daniel Roe
e0125f49ff
fix(schema): add back PublicRuntimeConfig
interface for augmentation ( #4849 )
2022-05-06 15:27:42 +02:00