Daniel Roe
cb74ab6ecc
fix(nuxt3): rename runtime meta
to head
in build config ( #4101 )
2022-04-05 16:51:55 +02:00
Daniel Roe
301f242422
fix(nuxi): use rm rather than rmdir ( #4100 )
2022-04-05 16:47:08 +02:00
Anthony Fu
e1e3f5063d
fix(deps): upgrade unimport ( #4095 )
2022-04-05 16:03:41 +02:00
Daniel Roe
e90b8c28d1
refactor(nuxt3,bridge)!: rename useMeta
to useHead
( #4066 )
2022-04-05 16:02:29 +02:00
Daniel Roe
c426f3e5e0
fix(nuxt3): set pending to false when using cached data ( #4067 )
2022-04-05 13:51:07 +02:00
Daniel Roe
f39fd9f0a0
fix(bridge): transpile @nuxt/bridge-edge
( #4070 )
2022-04-05 12:41:45 +02:00
Daniel Roe
9f6eff7511
fix(nuxt3): use inferred type for useFetch
( #4058 )
2022-04-04 12:56:41 +02:00
pooya parsa
8a3d445bf8
fix(kit): ensure useNuxt
returns nuxt instance ( #4059 )
2022-04-04 11:41:48 +02:00
Kevin Marrec
dda0cebc76
feat(nuxt3): extends support for app/router.options
( #3939 )
2022-04-04 10:23:11 +02:00
Matteo Rigoni
01db83032a
fix(kit): add typings to kit server middleware ( #3776 )
...
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-04-04 10:21:30 +02:00
renovate[bot]
61180648ca
chore(deps): update all non-major dependencies ( #4028 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-04 09:56:23 +02:00
renovate[bot]
dc6944a7cb
chore(deps): update dependency webpack to ^5.71.0 ( #4024 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-01 16:08:50 +02:00
Daniel Roe
fdd38f958c
feat(nitro): support for rendering ssr teleports to body ( #3909 )
...
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-04-01 16:06:48 +02:00
Daniel Roe
ade3378a00
refactor(bridge): align bridge with vite and inline systemjs polyfill in entry ( #4005 )
2022-04-01 15:22:22 +02:00
Daniel Roe
1890c55cbe
docs: add missing configuration documentation to nuxt 3 docs ( #4020 )
2022-04-01 15:02:26 +02:00
Daniel Roe
91576c9892
fix(bridge): remove defineNuxtLink
from auto-imports ( #4022 )
2022-04-01 14:43:56 +02:00
renovate[bot]
1b61bda286
chore(deps): update all non-major dependencies ( #4013 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-01 13:44:34 +02:00
Daniel Roe
02d2d1ae35
feat(nuxi): load .env
when previewing builds ( #4016 )
2022-04-01 12:28:39 +02:00
Daniel Roe
51f3bbfd23
fix(vite): update regex to handle new vite output format ( #4014 )
2022-04-01 12:15:00 +02:00
Anthony Fu
4c77c88325
feat: support async plugins and middlewares ( #3884 )
2022-04-01 11:55:23 +02:00
renovate[bot]
0c5d9872ac
chore(deps): update all non-major dependencies ( #3979 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-31 21:59:36 +02:00
Daniel Roe
e4956c555f
fix(nuxi): ignore buildDir on windows too ( #3999 )
2022-03-31 18:09:57 +02:00
Daniel Roe
fdd6a91a51
fix(vite): optimise vue
by default ( #3997 )
2022-03-31 16:10:06 +02:00
pooya parsa
323803832a
feat(nuxt)!: use paylod cache for initial data fetching by default ( #3985 )
...
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-03-31 12:24:28 +02:00
Daniel Roe
5b2ed856fc
feat(vite): upgrade to vite 2.9.0 ( #3974 )
2022-03-31 11:28:05 +02:00
Anthony Fu
9c2e208090
fix(vite-node): wrong entry been resolved in stub mode ( #3983 )
2022-03-31 09:11:50 +02:00
renovate[bot]
7011117c83
chore(deps): update all non-major dependencies ( #3962 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-31 00:33:07 +02:00
Pooya Parsa
646c2f63f7
fix(deps): pin vite to 2.8.x
...
pending for #3974
2022-03-31 00:27:57 +02:00
Daniel Roe
df188d7734
fix(nuxi): respect NUXT_PORT
and NUXT_HOST
vars in dev mode ( #3973 )
2022-03-30 21:07:26 +02:00
Anthony Fu
96ad9cfe97
docs: init testing section ( #3930 )
2022-03-30 18:00:08 +02:00
Anthony Fu
43007c6d13
fix(vite-node): improve server.mjs ( #3967 )
2022-03-30 13:34:23 +02:00
pooya parsa
7e6c4e2d5b
fix(schema): fix RouterConfig types ( #3964 )
2022-03-30 10:17:46 +02:00
renovate[bot]
c28c6a8c8a
chore(deps): update all non-major dependencies ( #3952 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-29 15:23:36 +02:00
Anthony Fu
8dd77d7b6e
feat: refreshNuxtData
function and app:data:refresh
hook ( #3929 )
...
Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-03-28 19:12:41 +02:00
renovate[bot]
e534ffe22f
chore(deps): update all non-major dependencies ( #3910 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-28 13:56:52 +02:00
Ahad Birang
90415d4674
fix(nitropack): respect custom output dir ( #3940 )
2022-03-28 13:56:35 +02:00
Anthony Fu
56252155ec
fix(vite-node): bugfixes for production build ( #3934 )
2022-03-28 13:02:28 +02:00
Daniel Roe
9ebea904f4
fix(bridge): don't call nuxt app if instance is inaccessible ( #3906 )
...
* fix(bridge): don't call nuxt app if instance is inaccessible
* fix: early return if no instance, for clarity
2022-03-25 16:48:37 +01:00
Jakub Andrzejewski
19842ce471
feat(nuxi): scaffold files with nuxi add
( #3841 )
...
Co-authored-by: pooya parsa <pyapar@gmail.com>
Co-authored-by: Clément Ollivier <clement.o2p@gmail.com>
2022-03-25 15:56:36 +01:00
renovate[bot]
5fa9d79303
chore(deps): update all non-major dependencies ( #3888 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-03-25 15:43:14 +01:00
Daniel Roe
7c1a8ae0d9
fix(bridge): define mixin outside plugin, to avoid memory leak ( #3900 )
2022-03-25 13:51:07 +01:00
Daniel Roe
38e92597f4
fix(vite): externalise #_config
in ssr: false
( #3899 )
2022-03-25 13:18:57 +01:00
Daniel Roe
9e67d58005
refactor(bridge): provide vue2 compat with a transform plugin ( #3886 )
2022-03-25 13:18:43 +01:00
Kevin Marrec
e34ed887f2
fix(nuxt3): use path
for uniqueness of routes when resolving ( #3895 )
2022-03-25 12:55:05 +01:00
Kevin Marrec
e7b57fa34c
fix(nuxt3): improve types of uniqueBy
utility ( #3897 )
2022-03-25 12:54:40 +01:00
Daniel Roe
773dd59a2c
fix(bridge): don't double-install plugins when using compat vueApp.use
( #3898 )
2022-03-25 12:53:56 +01:00
Daniel Roe
c7f4e3c709
docs: update serverMiddleware
to add warning on function and make example esm ( #3894 )
...
* docs: update serverMiddleware to add warning on function and make example esm
* Update packages/schema/src/config/_common.ts
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-03-25 12:40:15 +01:00
Daniel Roe
dc1064f79a
fix(nuxt3): avoid #_config
app import in dev mode ( #3896 )
2022-03-25 12:38:36 +01:00
renovate[bot]
e72e6d0d0f
chore(deps): update dependency unctx to ^1.1.2 ( #3882 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-24 14:22:53 +01:00
Daniel Roe
23e7afb5ec
fix(bridge): replace nuxt 3 auto-imports ( #3850 )
2022-03-24 14:15:32 +01:00
Anthony Fu
11c460fa99
fix(vite-node): entry path and executing in production ( #3854 )
2022-03-24 13:35:09 +01:00
renovate[bot]
1ad65998a4
chore(deps): update all non-major dependencies ( #3859 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-24 13:14:12 +01:00
Daniel Roe
236faf9cc6
fix(bridge): add implemented runtime nuxt hooks ( #3872 )
2022-03-24 13:13:56 +01:00
renovate[bot]
a8317830a8
chore(deps): update all non-major dependencies ( #3857 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-23 12:58:44 +01:00
renovate[bot]
e16998126d
chore(deps): update vite dependencies to ^0.7.8 ( #3853 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-23 09:32:32 +01:00
Daniel Roe
93c4dfe091
fix(vite): resolve #_config
in base plugin ( #3848 )
2022-03-23 09:10:12 +01:00
Kevin Marrec
7c0d2e176c
feat(nuxt3): extends support for pages
& middleware
directories ( #3783 )
...
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-03-22 19:12:54 +01:00
Daniel Roe
29078bba74
feat(nuxt3): support lazy and custom-resolved components ( #3814 )
2022-03-22 18:04:31 +01:00
Daniel Roe
7458dd1aa6
fix(nuxt3): use shared module for dynamic paths ( #3757 )
...
* test: add tests for dynamic paths + relative assets
Co-authored-by: Anthony Fu <hi@antfu.me>
* fix: rework client config and use shared module for dynamic paths
* resolves webpack public path regression
* refactor: use more similar names to nitro equivalent
* fix: align config exports
* refactor: remove `__` prefix within dynamic paths module
* refactor: use '#_config' to indicate internal alias
* Update packages/nuxt3/src/core/templates.ts
Co-authored-by: pooya parsa <pyapar@gmail.com>
* refactor: use `#_config` alias and rename to `paths.mjs`
Co-authored-by: Anthony Fu <hi@antfu.me>
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-03-22 16:51:26 +01:00
renovate[bot]
6c4a34a675
chore(deps): update dependency postcss-import to ^14.1.0 ( #3837 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-22 16:48:10 +01:00
renovate[bot]
7ce91d83c9
chore(deps): update dependency unctx to ^1.1.0 ( #3836 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-22 16:30:07 +01:00
Daniel Roe
acd22db576
docs: deprecate buildModules
in schema ( #3830 )
2022-03-22 12:33:30 +01:00
Daniel Roe
70f067a14b
fix(vite): sort postcss plugins to add autoprefixer & cssnano last ( #3827 )
2022-03-22 11:40:36 +01:00
Daniel Roe
f3168d923b
fix(nuxt3): respect srcDir
and normalize string in component dirs ( #3815 )
...
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-03-22 11:35:16 +01:00
renovate[bot]
ae364f95cc
chore(deps): update all non-major dependencies ( #3788 )
...
* chore(deps): update all non-major dependencies
* update test
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-03-22 10:57:35 +01:00
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