Commit Graph

1607 Commits

Author SHA1 Message Date
pooya parsa c519ceec52
fix(cli): disable cjs bridge (#4336) 2022-04-13 20:54:20 +02:00
Daniel Roe ee93659147
feat(nuxt3): allow providing a ref as default value (#4326) 2022-04-13 19:41:41 +02:00
renovate[bot] be298e9216
chore(deps): update dependency vite to ^2.9.3 (#4335)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-13 19:39:33 +02:00
renovate[bot] b241e5061b
chore(deps): update all non-major dependencies (#4328)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-13 19:26:03 +02:00
Daniel Roe f4fb9160c6
feat(nuxt3): allow manually enabling/disabling the ad-hoc pages module (#4327) 2022-04-13 19:18:51 +02:00
pooya parsa f91f987401
chore: move bridge to `nuxt/bridge` (#4305) 2022-04-13 13:43:42 +02:00
renovate[bot] 70610d8858
chore(deps): update dependency enhanced-resolve to ^5.9.3 (#4321)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-13 12:08:12 +02:00
Anthony Fu 59593a05ca
fix(deps): upgrade @vueuse/head (#4320) 2022-04-13 11:24:45 +02:00
renovate[bot] 1a5fd99d6c
chore(deps): update all non-major dependencies (#4311)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-13 07:36:40 +02:00
Daniel Roe e43ba6ecd2
fix(nuxt3): render nuxt custom error page (#4289)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-04-12 22:37:32 +02:00
pooya parsa 0b12666d49
refactor(nuxi): remove `rimraf` dependency (#4308) 2022-04-12 21:06:44 +02:00
renovate[bot] 021faf348f
chore(deps): update devdependency semver to ^7.3.7 (#4307)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-12 20:47:56 +02:00
renovate[bot] aa26c6cdb1
chore(deps): update all non-major dependencies (#4302)
* chore(deps): update all non-major dependencies

* upda lockfile

* test: disable bridge test

* increase windows test timeout

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-04-12 20:36:39 +02:00
Sébastien Chopin ce36e2e211
fix(nuxt3): as backward compatible runtime config for server side (#4295)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-04-12 16:59:48 +02:00
Anthony Fu e31c604ac4
feat(vite-node): on-demand manifest generation (#3968)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-04-12 12:04:55 +02:00
Clément Ollivier 0457125ebd
chore: update links for new sitemap (#4286) 2022-04-12 11:59:32 +02:00
Pooya Parsa f753938843 fix(nuxt3): handle falsy page meta
hotfix for #4273
2022-04-12 11:16:34 +02:00
Victor Saa 85f2f83cf2
feat: route alias support (#4273) 2022-04-12 11:09:45 +02:00
renovate[bot] 02b148ae2c
chore(deps): update all non-major dependencies (#4282)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-12 11:09:21 +02:00
pooya parsa 81bf1c065e
fix(bridge, nuxt3): backward compatibility to access runtime config in client (#4283) 2022-04-12 11:04:26 +02:00
renovate[bot] e95ac2efb5
chore(deps): update all non-major dependencies (#4271)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-12 08:46:22 +02:00
pooya parsa 4d1a6ba6ce
fix(nuxt3)!: preserve runtime-config structure for client-side (#4267) 2022-04-11 21:55:43 +02:00
Ahad Birang 0d5ec20a4b
fix(nitro): pass resolved handlers to the nitro config (#4263) 2022-04-11 20:38:42 +02:00
renovate[bot] 2ca704641b
chore(deps): update all non-major dependencies (#4266)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-11 20:19:52 +02:00
renovate[bot] 180afc854f
chore(deps): update all non-major dependencies (#4261)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-11 17:56:24 +02:00
pooya parsa 2c540e7870
feat: introduce simplified `runtimeConfig` option (#4254) 2022-04-11 16:34:23 +02:00
Daniel Roe bc1e00a8df style: remove unused import 2022-04-11 15:13:21 +01:00
Daniel Roe 38cd6f0f03
fix(nuxt3): re-enable computed metadata in useHead (#4260) 2022-04-11 16:09:04 +02:00
Daniel Roe 1091d456a8
feat(nuxt, bridge): support `titleTemplate`, `viewport` and `charset` for `useHead` (#4221) 2022-04-11 11:03:31 +02:00
renovate[bot] 041e8694d1
chore(deps): update all non-major dependencies (#4229)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-11 10:38:46 +02:00
Daniel Roe 3186841c9c
fix(bridge): move `@vueuse/head` to dev dependencies (#4218) 2022-04-09 13:39:49 +02:00
renovate[bot] ed4946b06a
chore(deps): update all non-major dependencies (#4207)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-09 12:14:50 +02:00
Dizzy Rogers 26f8d8eb8f
fix(vite): prefer hmr `ws` protocol (#4203) 2022-04-09 12:09:43 +02:00
pooya parsa 396472778f
fix(cli): close process by default after command invokation (#4192) 2022-04-09 12:02:56 +02:00
Daniel Roe edd0b30896
fix(nuxt3,bridge): rename error handler url (#4215) 2022-04-09 11:52:42 +02:00
Daniel Roe f2fc135721
fix(nuxt3): remove useMeta warning (#4216)
* fix(nuxt3): remove useMeta warning for now

* Update packages/nuxt3/src/head/runtime/composables.ts

Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-04-09 11:46:29 +02:00
Daniel Roe 4253d2ed62
fix(bridge): add ui-templates dependency (#4195) 2022-04-08 11:29:16 +02:00
renovate[bot] a5ca843827
chore(deps): update all non-major dependencies to ^0.9.2 (#4188)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-08 02:07:15 +02:00
pooya parsa 315e5b59e6
fix: nitropack fixes and upgrade to 0.2.x (#4187) 2022-04-08 02:05:27 +02:00
Anthony Fu 47b7e5cd94
test: increse retries for dev tests (#4182) 2022-04-07 23:49:43 +02:00
Dizzy Rogers 8874728842
fix(nuxi): update `api` template to event format (#4183) 2022-04-07 23:25:39 +02:00
renovate[bot] 96657388f5
chore(deps): update all non-major dependencies (#4181)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-07 21:18:16 +02:00
pooya parsa 2cc3aaba5f
chore(ci): enable testing fixtures in development (#3755)
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-04-07 21:15:30 +02:00
renovate[bot] 5bb4e94c7c
chore(deps): update all non-major dependencies (#4175)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-07 19:13:37 +02:00
Daniel Roe 5c4bb0ce18
fix(bridge): add missing dependency (#4172) 2022-04-07 18:50:54 +02:00
Daniel Roe bc7627df07
fix(nuxt3): export useRequestEvent from `#app` (#4169) 2022-04-07 17:40:18 +02:00
Daniel Roe 7379184960
fix(bridge): inline bridge dist files (#4170) 2022-04-07 17:39:37 +02:00
renovate[bot] da82e23bad
chore(deps): update dependency webpack to ^5.72.0 (#4162)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-07 15:26:26 +02:00
pooya parsa 9fbb9bec8d
fix: regressions from nitropack migration (#4157) 2022-04-07 14:57:57 +02:00
FL3NKEY 2bedebe5ee
fix(webpack): add `exportOnlyLocals: true` for css modules options in server build. (#3778)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-04-07 13:51:10 +02:00
Daniel Roe 76eedb852e
fix(nuxt3)!: add default cookie path to `/` (#4019) 2022-04-07 13:35:46 +02:00
Daniel Roe 6276580aa4
fix(bridge): exclude unsupported imports via `autoImports:sources` (#4127) 2022-04-07 13:35:11 +02:00
Ahad Birang f0714d78b0
fix(kit): use `route` instead of `path` in `ServerMiddleware` (#4139) 2022-04-07 13:32:28 +02:00
renovate[bot] cc9714ff40
chore(deps): update all non-major dependencies (#4155)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-07 13:32:00 +02:00
pooya parsa 11626eea4f
feat!: migrate to nitropack (#3956)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-04-07 13:28:04 +02:00
renovate[bot] 7d1ff39077
chore(deps): update all non-major dependencies (#4149)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-07 13:03:52 +02:00
Daniel Roe 368610e8a7
feat(nuxt3): allow explicitly importing components (#4150) 2022-04-07 13:03:37 +02:00
Daniel Roe 0cbc9cb7cd
fix(bridge): resolve vue from `.nuxt`, not `node_modules` (#4146) 2022-04-07 11:04:10 +02:00
Daniel Roe 4d6f77bae4
docs(bridge): fix bridge composition api link (#4147) 2022-04-07 11:03:38 +02:00
renovate[bot] 91aa852878
chore(deps): update devdependency vitest to ^0.9.0 (#4138)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-06 21:50:37 +02:00
renovate[bot] 2eedb589d7
chore(deps): update all non-major dependencies (#4134)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-06 21:16:56 +02:00
Daniel Roe 540e23c7a8
fix(nuxt3): normalize watched paths (#4133) 2022-04-06 18:02:56 +02:00
Alex Liu b7dc0931c4
feat(nuxt3): let `useAsyncData()` return value that `error` can defined type by generics (#4109) 2022-04-06 18:02:45 +02:00
Daniel Roe 3ea39e0745
fix(vite): clean up dynamic paths (#4130) 2022-04-06 16:15:36 +02:00
Daniel Roe eb22ce9ae2
fix(nuxt3): move new router behavior to `useActiveRoute` (#4124) 2022-04-06 14:45:18 +02:00
Andrey Mamatov d2a814fa6a
docs(schema): update environment variable name for overriding `baseURL` (#4118) 2022-04-06 14:08:53 +02:00
Daniel Roe da46b8d165
fix(nuxt3): parse macro queries for components (#4121) 2022-04-06 12:05:37 +02:00
renovate[bot] e561efc6c8
chore(deps): update dependency esbuild to ^0.14.32 (#4110)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-06 08:01:17 +02:00
Anthony Fu ec32cf9fc5
fix(vite): improve warmup (#4106) 2022-04-06 07:54:53 +02:00
Daniel Roe 7a706445f8
fix(nuxt3)!: sync route object to currently resolved page (#4092) 2022-04-05 17:36:18 +02:00
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