Commit Graph

146 Commits

Author SHA1 Message Date
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
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
pooya parsa 88f4525a4f
v3.0.0-rc.6 (#5936) 2022-07-18 12:06:04 +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
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
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
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
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
pooya parsa 0ef08190ae
fix(nuxt): fix issues with `vue-router` and `@vue/devtools-api` bundling (#5874) 2022-07-13 14:42:24 +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
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
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
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
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
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
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 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
Anthony Fu 2db154fde4
feat(auto-import)!: auto unwrap for auto import in template (#5573) 2022-06-23 11:51:46 +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
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