Commit Graph

1353 Commits

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