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
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
renovate[bot]
8a0c10deea
chore(deps): update all non-major dependencies ( #3635 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-14 11:21:10 +01:00
Daniel Roe
d3d35644c6
chore: upgrade unplugin-vue2-script-setup
( #3640 )
2022-03-14 11:20:42 +01:00
Sébastien Chopin
570016c143
fix(vite): improve logs for client vs server ( #3634 )
2022-03-14 11:19:37 +01:00
Ahad Birang
e891ea0cca
feat(webpack): add webpack:devMiddleware
and webpack:hotMiddleware
hooks ( #3606 )
2022-03-13 19:43:41 +01:00
renovate[bot]
a2b21d9b8f
chore(deps): update all non-major dependencies ( #3613 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-13 19:41:42 +01:00
Daniel Roe
114cbe33d0
fix(schema): set static alias correctly ( #3614 )
2022-03-12 08:17:55 +01:00
Dizzy
3e68433365
fix(nuxt3): reassign plugins on iterations ( #3619 )
2022-03-11 20:18:53 +01:00
Daniel Roe
32cf973ab0
fix(nuxt3): support extending page metadata ( #3603 )
2022-03-11 12:52:05 +01:00
Daniel Roe
8c6af7da7a
fix(nitro): support process.dev
#3601 )
2022-03-11 11:47:18 +01:00
renovate[bot]
7650f6c57d
chore(deps): update all non-major dependencies ( #3585 )
...
* chore(deps): update all non-major dependencies
* transpile h3 for bridge
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-03-11 09:57:59 +01:00
Anthony Fu
ac40c9746c
feat(vite): experimental vite-node
support ( #2795 )
...
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-03-11 09:41:27 +01:00
Daniel Roe
5d58ef48af
feat(nitro, nuxt3): allow handling otherwise unhandled runtime errors ( #3464 )
...
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-03-11 09:22:16 +01:00
Anthony Fu
cff2f37cc8
refactor!: migrate to unimport
( #3386 )
2022-03-11 09:09:11 +01:00
yoho
c942465f79
chore: remove extra space ( #3597 )
2022-03-11 09:07:26 +01:00
pooya parsa
20f31712c1
feat(nuxt3): auto generate runtime config type declarations ( #3573 )
...
Co-authored-by: Rodrigo Mesquita <rodrigoriome@gmail.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
Co-authored-by: Rodrigo Mesquita <30835404+rrmesquita@users.noreply.github.com>
2022-03-09 14:41:24 +01:00
Kevin Marrec
6c083f3d12
feat!(nuxt3): extends support for composables/ directory ( #3423 )
...
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-03-09 12:03:36 +01:00
Kevin Marrec
13dd2b98ea
feat(nuxt3): extends support for plugins/
directory ( #3462 )
2022-03-09 11:51:32 +01:00
renovate[bot]
230c8cb491
chore(deps): update all non-major dependencies ( #3555 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-09 11:38:46 +01:00
Daniel Roe
ef38147e52
fix(bridge): handle static nested vite dirs ( #3565 )
2022-03-09 11:36:24 +01:00
renovate[bot]
3d5b695e34
chore(deps): update all non-major dependencies ( #3554 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-08 19:01:22 +01:00
Daniel Roe
e12d2e9405
fix(kit): allow src
for addPluginTemplate
( #3542 )
2022-03-08 18:42:46 +01:00
Daniel Roe
a5e19b1c57
fix(bridge): use vue server build ( #3515 )
...
* fix(bridge): use vue server build
* fix: remove unused import
* refactor: resolve cjs version once
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-03-08 18:40:20 +01:00
Daniel Roe
91256f5e76
fix(nitro): handle decoding static filenames ( #3541 )
2022-03-08 18:30:46 +01:00
renovate[bot]
5b7fbc1569
chore(deps): update all non-major dependencies ( #3450 )
2022-03-08 18:17:01 +01:00
Dizzy
02e683d33f
fix: strip file extensions in imports.d.ts
( #3540 )
2022-03-08 11:07:40 +01:00
Daniel Roe
d404484c61
fix(vite, webpack): add missing dependencies ( #3547 )
2022-03-08 11:07:18 +01:00
Daniel Roe
856c01ab42
feat(bridge): auto-inject based on provide
key from plugins ( #3536 )
2022-03-07 16:08:09 +01:00
Daniel Roe
f1d2eb1335
chore: update to nuxt/eslint-config 8 ( #3537 )
2022-03-07 15:49:13 +01:00
Daniel Roe
919db5b514
fix(bridge): port nested _nuxt
dir fix to bridge vite ( #3538 )
2022-03-07 15:37:42 +01:00
Dizzy
120ee4f795
feat!(nuxt3): extend auto imports on generateApp
hook ( #3480 )
2022-03-07 11:41:33 +01:00
Daniel Roe
33ffd8be0a
fix(schema): allow untyped keys in nuxt config ( #3527 )
2022-03-07 11:37:01 +01:00
Daniel Roe
398b311ad6
fix(nitro): rename cold start -> nitro start ( #3528 )
2022-03-07 11:34:45 +01:00
Daniel Roe
78761c236b
fix(vite): handle base in vite/preload-helper
( #3499 )
2022-03-04 12:45:14 +01:00
Julian Martin
9f506ded60
fix(nitro): #3264 ( #3399 )
2022-03-03 20:35:42 +01:00
Ahad Birang
66605971a8
fix(test-utils): workaround playwright dynamic import issue with vite ( #3489 )
2022-03-03 20:03:48 +01:00
Anthony Fu
ecee32988d
chore: migrate to magic-string
( #3482 )
2022-03-03 11:01:14 +01:00
Daniel Roe
494f85a2b2
fix(vite): narrow nuxt3 inlining config ( #3474 )
2022-03-02 18:54:53 +01:00
Daniel Roe
7b6252a444
feat(nuxi): add jsx option to generated tsconfig ( #3449 )
2022-03-01 19:25:23 +01:00
pooya parsa
39f7eb2cd2
fix(test-utils): improve random port allocation ( #3398 )
2022-02-28 22:41:44 +01:00
renovate[bot]
90e23c600c
chore(deps): update devdependency magic-string-extra to ^0.1.2 ( #3445 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-28 20:27:04 +01:00
Anthony Fu
a0f8a44e10
fix: sourcemap support for nuxt:vite-relative-asset
( #3428 )
2022-02-28 20:24:52 +01:00
Anthony Fu
0c99002351
fix: support sourcemap for nuxt:pages-macros-transform
( #3429 )
2022-02-28 20:21:03 +01:00
Anthony Fu
3888b0c338
fix: sourcemap support for nuxt:components-loader
( #3439 )
2022-02-28 20:20:41 +01:00
Daniel Roe
17bf70ae1c
fix(nuxt3): remove workaround for unfulfilled initial navigation ( #3436 )
...
* fix(router): remove error workaround
* chore: deduplicate vue-router
* chore: update lockfile
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-02-28 20:17:25 +01:00
renovate[bot]
fcb200730d
chore(deps): update all non-major dependencies ( #3434 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-28 20:08:45 +01:00
Daniel Roe
754ff0c9e7
feat: .nuxtignore
support and isIgnored
kit utility ( #3424 )
2022-02-28 17:11:46 +01:00
Dizzy
d6102de08f
fix: remove redundant call to generateApp
( #3426 )
2022-02-28 15:49:41 +01:00
renovate[bot]
a104f61683
chore(deps): update devdependency vitest to ^0.5.8 ( #3415 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-28 12:29:16 +01:00
Daniel Roe
720e31d498
fix(schema): make postcss plugins a record type ( #3403 )
2022-02-28 12:28:16 +01:00
Daniel Roe
52d22feaea
fix(nuxt3): share scanned components with loader ( #3396 )
...
* fix(nuxt3): share scanned components with loader
* refactor: remove `src` type from input
* fix: remove old `src: ''` option
* fix: use shared context for extending components too
Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
2022-02-28 11:07:20 +01:00
renovate[bot]
9b19b9f366
chore(deps): update all non-major dependencies ( #3400 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-27 19:38:00 +00:00
Daniel Roe
4cfad4d719
fix(vite): add cssnano dependency ( #3402 )
2022-02-26 00:01:54 +00:00
Anthony Fu
4ff1a954b3
test: add more tests ( #3392 )
2022-02-25 21:14:53 +01:00
Daniel Roe
73ba30fb69
refactor(schema,webpack)!: split out webpack and postcss build options ( #2812 )
...
* refactor: split out webpack and postcss build options
* feat(schema): set nuxt3 builder in config
* fix(schema): default postcss config file to false
* chore: update lockfile
* style: remove unused imports
* refactor(webpack): remove (previously disabled) babel config
* refactor: move shared vite options into schema
* fix(schema): omit __NUXT_BASE__ from defaults
* fix: move appDir-dependent options back to vite
* refactor: split out virtual modules
* refactor: extract compile/createDevMiddleware
* refactor: further improvements
* chore: remove `@nuxt/webpack-builder` dependency
* chore: update lockfile
* refactor: move `builder` option to top level
* fix: bind close to watcher instance
* chore: update lockfile
* fix: create portal between postcss & build.postcss.postcssOptions
* fix: remove duplicate
* fix: revert
* fix: use `postcss` directly
* fix: import builder from rootDir
* chore: dedupe webpack install
* test: update fixture to use `builder`
* fix: bind class in pify
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-02-25 20:11:01 +01:00
Daniel Roe
2b3dbed594
fix(nuxt3): only warn within error handling routine ( #3394 )
2022-02-25 17:33:27 +01:00
Daniel Roe
e45a780714
fix(vite,webpack): disable async entrypoint by default ( #3375 )
...
* fix(vite): don't use async entry
* fix: use async entry when built
* refactor: default to sync entry, with option to enable async
* refactor: move to experimental.asyncEntry
* Update packages/webpack/src/presets/base.ts
Co-authored-by: pooya parsa <pyapar@gmail.com>
* Update packages/vite/src/vite.ts
Co-authored-by: pooya parsa <pyapar@gmail.com>
* style: remove double space
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-02-25 13:42:34 +01:00
renovate[bot]
a51bdd259e
chore(deps): update dependency @rollup/plugin-replace to v4 ( #3367 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-25 12:47:08 +01:00
Daniel Roe
c806d05b7a
fix(bridge): use typescript directory entry ( #3365 )
2022-02-25 12:45:45 +01:00
renovate[bot]
5c1f2fad83
chore(deps): update all non-major dependencies ( #3347 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-25 12:39:10 +01:00
Daniel Roe
d007d02356
fix: only warn about error handlers on client-side ( #3345 )
2022-02-25 12:04:58 +01:00
Daniel Roe
ac63401700
fix(nuxt3): don't add superfluous templates ( #3366 )
2022-02-25 11:16:24 +01:00
Daniel Roe
271289c4d6
fix(nuxi): don't clear screen on nuxi dev --help
( #3372 )
2022-02-24 17:18:13 +00:00
Daniel Roe
bb31df9944
fix(nuxt3): respect dirs as objects ( #3364 )
2022-02-24 17:20:49 +01:00
Daniel Roe
dbab979a2e
feat(nuxt3): add universal routing utilities ( #3274 )
2022-02-21 14:03:42 +01:00
renovate[bot]
a358bdad93
chore(deps): update all non-major dependencies ( #3327 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-21 12:29:59 +01:00
Xin Du (Clark)
48cc6086e4
fix(config): add analyze plugin options in bridge mode ( #3292 )
2022-02-21 12:25:31 +01:00
renovate[bot]
69f24d262e
chore(deps): update all non-major dependencies ( #3306 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-18 19:27:21 +01:00
Daniel Roe
70542a3af7
feat(nuxt3): expose /app
export paths ( #3323 )
2022-02-18 19:26:43 +01:00
pooya parsa
12a95ad86c
test: rework tests using @nuxt/test-utils
( #3308 )
2022-02-18 19:14:57 +01:00
Daniel Roe
87eb7d0d39
perf!(nuxt3): disable global components by default ( #3305 )
2022-02-18 10:37:11 +01:00
renovate[bot]
3d258d304e
chore(deps): update dependency @babel/core to ^7.17.5 ( #3300 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-17 18:11:36 +01:00
Daniel Roe
56aabd606d
fix(nuxt3,bridge): correctly reference router from client-side helper ( #3281 )
2022-02-17 18:11:21 +01:00
renovate[bot]
65d51d67ce
chore(deps): update all non-major dependencies ( #3273 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-17 17:32:49 +01:00
Daniel Roe
8adff2edf7
fix(nuxt3): generate imports for components with named exports correctly ( #3288 )
2022-02-17 15:23:55 +01:00
Daniel Roe
65d16a58c0
chore: reverse target/from in eslint rule ( #3280 )
2022-02-17 12:01:24 +00:00
Anthony Fu
467ab693b9
feat: shared logger and silent test logs ( #3259 )
...
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-02-16 22:34:32 +01:00
Dizzy
ad52b795e2
fix: apply subsequent meta changes ( #3271 )
2022-02-16 22:34:06 +01:00
pooya parsa
77aeaa3288
fix(nuxt3)!: custom response type for useFetch
using first generic ( #3268 )
2022-02-16 21:50:19 +01:00
renovate[bot]
7c3327a772
chore(deps): update all non-major dependencies ( #3240 )
2022-02-16 20:11:21 +01:00
Daniel Roe
289d54eb24
fix(bridge): execute metaInfo function ( #3258 )
2022-02-16 18:57:11 +01:00
Daniel Roe
3fccbfa252
fix(nuxt3): update meta return type to bodyScriptsPrepend
( #3257 )
2022-02-16 18:56:30 +01:00
renovate[bot]
4cd931e5ea
chore(deps): update dependency @netlify/functions to v1 ( #3241 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-16 18:55:51 +01:00
Daniel Roe
7c9b0a358d
fix(bridge): add modules with hooks after all other modules ( #3239 )
2022-02-16 18:54:45 +01:00
Daniel Roe
07c14b8704
fix(bridge): add schema.d.ts to nuxt.d.ts ( #3237 )
2022-02-16 18:49:31 +01:00
Daniel Roe
60e672f335
chore(bridge): upgrade vite ( #3238 )
2022-02-15 18:01:54 +01:00
renovate[bot]
cc9d525650
chore(deps): update all non-major dependencies ( #3204 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-15 10:53:20 +01:00
Daniel Roe
3c563fa48f
feat(bridge): support addRouteMiddleware
, navigateTo
and abortNavigation
( #3193 )
2022-02-15 10:51:19 +01:00
Daniel Roe
d046c9620b
feat(bridge): add support for useNuxt2Meta
in plugins ( #3187 )
2022-02-15 10:50:40 +01:00
Daniel Roe
42373e060d
fix: clean up some type issues and add type test suite ( #3199 )
2022-02-15 10:50:11 +01:00
Daniel Roe
ef69e746d2
fix(nuxt3): prevent removing and re-adding tags before mount ( #3212 )
...
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-02-15 10:43:17 +01:00
renovate[bot]
6a93719a89
chore(deps): update dependency pretty-bytes to v6 ( #3217 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-15 10:42:41 +01:00
Daniel Roe
3589a2d55f
fix(nuxt3): return error page on blocked initial navigation ( #3201 )
2022-02-14 15:18:07 +01:00
Daniel Roe
9734856fb0
fix(nuxt3): return render function for <Head>
( #3213 )
2022-02-14 11:46:27 +01:00
Anthony Fu
0ca3d5cf7d
chore: upgrade vitest ( #3208 )
2022-02-12 20:54:46 +01:00
renovate[bot]
e90331a411
chore(deps): update all non-major dependencies ( #3194 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-11 15:29:36 +01:00
pooya parsa
c53c7360b7
feat: @nuxt/test-utils
( #2952 )
...
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-02-11 14:22:58 +01:00
Anthony Fu
61188e15cf
fix(vite): hmr port priority ( #3190 )
2022-02-11 13:09:25 +01:00
Daniel Roe
408a944ffd
chore(nuxt3): add implicit fs-extra
dependency ( #3192 )
2022-02-11 12:47:08 +01:00
renovate[bot]
7701c125ea
chore(deps): update all non-major dependencies ( #3176 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-11 10:19:53 +01:00
Daniel Roe
e727bb4192
fix(nuxt3): re-enable tree-shaking definePageMeta
( #3180 )
2022-02-11 09:59:52 +01:00
renovate[bot]
fd56fc62bb
chore(deps): update all non-major dependencies ( #3149 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-10 18:30:59 +01:00
pooya parsa
aece3518b5
feat(nuxt3): experimental nitropack support ( #3160 )
2022-02-10 18:29:59 +01:00
Anthony Fu
089160a541
fix(vite): assign different hmr port for each instance ( #3169 )
...
Co-authored-by: danielroe <danielroe@users.noreply.github.com>
2022-02-10 17:37:05 +01:00
Anthony Fu
b2438917b9
perf(vite): bypass unchanged plugin transform ( #3150 )
2022-02-10 10:30:34 +01:00
Anthony Fu
cb663b0285
chore(vite): unifiy vite plugin naming ( #3151 )
2022-02-10 10:29:49 +01:00
Daniel Roe
4b17f0cbaf
docs(schema): clarify aliases and use more obvious example path ( #3143 )
...
* docs(schema): clarify aliases and use more obvious example path
* docs: add note
* Update packages/schema/build.config.ts
Co-authored-by: pooya parsa <pyapar@gmail.com>
* docs: add more info about tsconfig
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-02-09 22:27:35 +01:00
renovate[bot]
650d7607ff
chore(deps): update all non-major dependencies ( #3137 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-09 12:51:10 +01:00
Daniel Roe
569aaeb314
fix(nitro): handle incoming cookies on lambda payload format 2.0 ( #3136 )
2022-02-09 12:50:57 +01:00
Daniel Roe
7825e2aa12
feat(nuxt3,bridge): add automatic schema augmentation declaration ( #3096 )
...
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-02-08 20:09:44 +01:00
Daniel Roe
ba522b2034
fix(nuxt3): trigger template regeneration (and reset import list) when auto-imports update ( #3127 )
2022-02-08 20:09:24 +01:00
Daniel Roe
c02e3683eb
fix(bridge): respect --fail-on-error
in generation ( #3134 )
...
* fix(bridge): respect `--fail-on-error` in generation
* fix: use `res.ok()`
2022-02-08 19:47:14 +01:00
renovate[bot]
b98d08cf6a
chore(deps): update all non-major dependencies ( #3133 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-08 17:25:10 +01:00
renovate[bot]
617766bcf5
chore(deps): update all non-major dependencies ( #3117 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-08 17:13:17 +01:00
Daniel Roe
a9ba1ca907
fix(bridge): support newer js targets with webpack ( #3131 )
2022-02-08 17:13:02 +01:00
Daniel Roe
0f9bcbf68f
fix(vite): invalidate client modules too ( #3116 )
2022-02-08 01:10:42 +01:00
Daniel Roe
dabb72ed7c
fix(nuxt3): remove lookbehind for safari support ( #3115 )
2022-02-08 00:42:39 +01:00
Daniel Roe
8056b8e171
fix(nitro): treat bootrap dep as an entry file ( #3106 )
2022-02-07 22:58:12 +01:00