Commit Graph

1422 Commits

Author SHA1 Message Date
TheColaber
edb3e5075e
fix(nitro): list global middleware before API middleware (#3795) 2022-03-22 10:50:05 +01:00
jfavlam
7a994bc7a7
chore(nuxi): add pnpm to init instructions (#3826)
* Add pnpm instructions

Add pnpm commands to install the dependencies and start the development server

* Update packages/nuxi/src/commands/init.ts

Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-03-22 10:35:07 +01:00
renovate[bot]
d909bc6548
chore(deps): update dependency defu to v6 (#3816)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-22 10:32:28 +01:00
Daniel Roe
53fbca77d4
fix(nuxt3): improve component loading behaviour (#3782)
* fix: don't import multiple copies of the same component

* fix: match components by pascal case

* Update packages/nuxt3/src/components/loader.ts

Co-authored-by: pooya parsa <pyapar@gmail.com>

Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-03-18 19:42:40 +01:00
Daniel Roe
73ee41cb58
fix(nitro): don't include current project's layer twice (#3785) 2022-03-18 19:20:23 +01:00
Daniel Roe
6de6e42bb8
fix(nuxt3): warn if builder can't be loaded (#3766) 2022-03-18 13:57:05 +01:00
renovate[bot]
2ad93eb34d
fix(deps): update dependency c12 to ^0.2.3 (#3781)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-18 13:55:12 +01:00
Daniel Roe
7d37a1309e
fix(nuxt3): do not use ts in internal components (#3773) 2022-03-18 11:57:53 +01:00
Daniel Roe
30b8059d6d
fix(bridge): handle missing experimental key on bridge (#3763) 2022-03-18 11:45:30 +01:00
Anthony Fu
f69126e8f4
feat: support reactivity transform (#3737)
Co-authored-by: pooya parsa <pyapar@gmail.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-03-17 23:17:59 +01:00
pooya parsa
d4facf7c34
fix(nuxt3): update types for useLazyFetch (#3754) 2022-03-17 22:35:07 +01:00
pooya parsa
a50b8ca712
feat(test-utils): test in development mode (#3753) 2022-03-17 22:31:06 +01:00
Daniel Roe
2590ae39d3
feat(test-utils)!: add support for running with env variables (#3742)
Co-authored-by: Anthony Fu <hi@antfu.me>
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-03-17 22:17:54 +01:00
renovate[bot]
6be6c3cf25
chore(deps): update all non-major dependencies (#3752)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-17 21:11:15 +01:00
pooya parsa
7d945952d8
fix(kit): avoid behavior change based on NODE_ENV (#3751) 2022-03-17 21:10:12 +01:00
pooya parsa
621ce975b4
feat(nuxi): expose runCommand (#3749) 2022-03-17 19:49:59 +01:00
renovate[bot]
ed908fe027
chore(deps): update dependency vite-node to ^0.7.1 (#3748)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-17 19:18:38 +01:00
Daniel Roe
6342e823a1
fix(webpack): support absolute urls in webpack css url/import (#3743) 2022-03-17 18:50:06 +01:00
pooya parsa
91fd16ae52
feat(nuxt3): allow overriding root component using app.root.vue (#3733) 2022-03-17 11:57:02 +01:00
pooya parsa
fb150825ce
feat(nuxt3): useFetch with dynamic reactive request (#3731) 2022-03-17 11:47:41 +01:00
renovate[bot]
8b52844cba
chore(deps): update vite to ^0.7.0 (#3724)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-17 02:31:07 +01:00
pooya parsa
7c0b9140c7
feat(nuxt3): watch option for useAsyncData to auto refresh (#3722) 2022-03-16 23:49:30 +01:00
Daniel Roe
e3f0b31925
refactor: add some more explicit types (#3721) 2022-03-16 23:44:22 +01:00
François Risoud
99705f77c0
feat(router): add proper server side redirection to navigateTo (#3684)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-03-16 22:39:47 +01:00
renovate[bot]
93da7978fb
chore(deps): update all non-major dependencies (#3719)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-16 21:42:48 +01:00
pooya parsa
b03cdb7114
feat!(nuxt3): use individual config layers for extending (#3717) 2022-03-16 21:36:30 +01:00
pooya parsa
3f91d83a79
feat(schema): expose RouterOptions and RouterConfigOptions (#3713) 2022-03-16 19:13:05 +01:00
Daniel Roe
12304909bc
feat(nuxt3): add <NuxtErrorBoundary> component for fine-grained error handling (#3671)
* feat(nuxt3): add `<NuxtErrorBoundary>` component for fine-grained error handling

* feat: add `@error` event handling

* fix: don't clear error on nav

* fix: remove `clearError` wrapper

* fix: remove outdated implementation

* update clear error

* upddate example with FaultyComponent

Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-03-16 16:49:53 +01:00
pooya parsa
cb6a4e97c1
fix(auto-imports): windows issue with parsing query from path (#3700)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-03-16 14:41:37 +01:00
Anthony Fu
452a7730e0
feat(nuxi): init nuxi test support (#3307)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-03-16 13:34:27 +01:00
Daniel Roe
5c9cf9cf9e
fix(pkg): add implicit dependencies (#3682)
* chore: prevent unintentional inlinings

* fix: workaround hoisting by moving `unimport` to peerDeps

* add missing dep

* add unimport as bridge dpeendency

* fix(nuxt3): explicitly type presets

Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-03-16 13:13:50 +01:00
Daniel Roe
ff88d91bae
fix: use perfect-debounce to handle trailing run of promise (#3679)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-03-16 12:11:30 +01:00
renovate[bot]
3a8bef609d
chore(deps): update all non-major dependencies (#3677)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-16 11:53:18 +01:00
Anthony Fu
ae8b35173e
fix(macros): ignore nullish id for transform (#3697) 2022-03-16 11:52:05 +01:00
Anthony Fu
7af60ca9b2
chore: upgrade vitest, improve tests capture (#3695) 2022-03-16 11:47:22 +01:00
Anthony Fu
e67ed55de3
fix(test-utils): use beforeAll for setup (#3696) 2022-03-16 11:47:02 +01:00
Pooya Parsa
a436d8e0dc fix: update ufo 2022-03-16 11:21:24 +01:00
Pooya Parsa
970a4d36d5 fix(nuxt-link): handle state without href and to 2022-03-16 11:10:32 +01:00
Divine
04026a3861
refactor: use ufo.hasProtocol to detect external link (#3686) 2022-03-16 10:44:05 +01:00
Raja
f38cacec0f
feat(nuxt 3): support custom router options (#3485)
Co-authored-by: Raja Munisamy <raja.munisamy@carbar.com.au>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-03-15 17:57:41 +01:00
Kevin Marrec
227ceedebb
feat(nuxt3): extends support for server/ directory (#3673) 2022-03-15 17:15:19 +01:00
renovate[bot]
fa8daefb6e
chore(deps): update all non-major dependencies (#3660)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-15 15:51:53 +01:00
Daniel Roe
3e0a3ed247
fix(nuxt3): fix layout suspense loading (#3670) 2022-03-15 12:22:25 +01:00
Anthony Fu
505acb820a
chore(deps): upgrade unimport (#3669) 2022-03-15 12:21:06 +01:00
Daniel Roe
14b32258e8
fix: ensure debounced/async handlers run in order (#3656) 2022-03-15 11:56:16 +01:00
Daniel Roe
a7ce6d53b7
fix(nuxi): use new builder option for vite/webpack info (#3658) 2022-03-15 11:39:49 +01:00
Pooya Parsa
036458e987 fix(nuxt3): config layer fallback for dir 2022-03-14 14:53:31 +01:00
Lucie
4cefce44a3
feat(nuxt3): add <NuxtLink> component (#3544)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-03-14 14:36:32 +01:00
renovate[bot]
6fac5740ed
chore(deps): update all non-major dependencies (#3646)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-14 11:47:39 +01:00
Daniel Roe
7bf338da8c
feat(nuxt3)!: enable using <NuxtLayout> without pages integration (#3610) 2022-03-14 11:47:24 +01:00