pooya parsa
4712e99411
refactor!: rename nuxt3 to nuxt ( #4449 )
2022-04-20 10:52:39 +02:00
Daniel Roe
e0b2a3bfe4
chore: use node:
prefix for built-in modules ( #4384 )
2022-04-15 17:19:05 +02:00
Daniel Roe
3e7d6dafa1
test(nuxt3): add test case for computed head ( #4361 )
2022-04-14 17:27:31 +02:00
Daniel Roe
ee93659147
feat(nuxt3): allow providing a ref as default value ( #4326 )
2022-04-13 19:41:41 +02:00
pooya parsa
f91f987401
chore: move bridge to nuxt/bridge
( #4305 )
2022-04-13 13:43:42 +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
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
Daniel Roe
1091d456a8
feat(nuxt, bridge): support titleTemplate
, viewport
and charset
for useHead
( #4221 )
2022-04-11 11:03:31 +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
pooya parsa
11626eea4f
feat!: migrate to nitropack ( #3956 )
...
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-04-07 13:28:04 +02:00
Anthony Fu
1ffcc741dc
test: await client errors ( #4140 )
2022-04-07 02:39:44 +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
Anthony Fu
4ba0604522
test: enable browser tests ( #4102 )
...
* test: enable browser tests
* chore: refactor
2022-04-05 20:38:23 +02:00
Daniel Roe
e90b8c28d1
refactor(nuxt3,bridge)!: rename useMeta
to useHead
( #4066 )
2022-04-05 16:02:29 +02:00
Kevin Marrec
dda0cebc76
feat(nuxt3): extends support for app/router.options
( #3939 )
2022-04-04 10:23:11 +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
Anthony Fu
4c77c88325
feat: support async plugins and middlewares ( #3884 )
2022-04-01 11:55:23 +02: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
cd8dbdc01c
test: add test suites for extends features ( #3862 )
2022-03-24 13:33:42 +01:00
Daniel Roe
a0c4d6e7e3
test: extract dynamic paths test from within other test! ( #3860 )
2022-03-23 15:57:35 +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
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
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
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
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
Anthony Fu
40d325e5c5
test: add more tests ( #3532 )
2022-03-08 19:03:21 +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
33ffd8be0a
fix(schema): allow untyped keys in nuxt config ( #3527 )
2022-03-07 11:37:01 +01: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
dbab979a2e
feat(nuxt3): add universal routing utilities ( #3274 )
2022-02-21 14:03:42 +01:00
Daniel Roe
16e2a54528
test: re-enable type testing ( #3328 )
2022-02-18 23:37:28 +01:00
pooya parsa
12a95ad86c
test: rework tests using @nuxt/test-utils
( #3308 )
2022-02-18 19:14:57 +01:00
Daniel Roe
8adff2edf7
fix(nuxt3): generate imports for components with named exports correctly ( #3288 )
2022-02-17 15:23:55 +01:00
pooya parsa
77aeaa3288
fix(nuxt3)!: custom response type for useFetch
using first generic ( #3268 )
2022-02-16 21:50:19 +01:00
Anthony Fu
16c2b6113a
chore: use @nuxt/test-utils
to import test utils ( #3261 )
2022-02-16 19:07:33 +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
9734856fb0
fix(nuxt3): return render function for <Head>
( #3213 )
2022-02-14 11:46:27 +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
Daniel Roe
614e87e9f0
feat(nitro): add support for lambda v2 payload format ( #3070 )
...
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-02-07 13:25:05 +01:00
Anthony Fu
a787c2f04c
chore: migrate to vitest from mocha ( #2694 )
2022-01-13 18:54:33 +01:00
renovate[bot]
ca8b97d69b
chore(deps): update devdependency execa to v6 ( #1986 )
...
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-11-18 19:12:19 +01:00
Tobias Diez
18924da869
chore(bridge): Improve typing of defineNuxtPlugin function ( #1995 )
2021-11-18 12:08:58 +01:00
pooya parsa
850ef69a87
fix(bridge): disable legacy fetch polyfills ( #1866 )
2021-11-11 17:46:10 +01:00
Anthony Fu
fd043eb6e4
chore: explicitly include std-env
as dep for bridge fixture ( #1854 )
2021-11-11 11:43:14 +01:00
Xin Du (Clark)
6ec518ff24
chore(lint): enable eslint on mjs ( #1804 )
2021-11-10 13:06:22 +01:00
Anthony Fu
91b428eeea
fix(bridge): enable vite build by default ( #1709 )
2021-11-05 09:51:15 +01:00
Anthony Fu
85f39858e5
fix(vite, bridge): avoid vite resolving tsconfig.json
( #1677 )
2021-11-04 09:13:29 +01:00