Commit Graph

1367 Commits

Author SHA1 Message Date
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