Commit Graph

126 Commits

Author SHA1 Message Date
Anthony Fu
11c460fa99
fix(vite-node): entry path and executing in production (#3854) 2022-03-24 13:35:09 +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
Daniel Roe
29078bba74
feat(nuxt3): support lazy and custom-resolved components (#3814) 2022-03-22 18:04:31 +01:00
Daniel Roe
acd22db576
docs: deprecate buildModules in schema (#3830) 2022-03-22 12:33:30 +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
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
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
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
6342e823a1
fix(webpack): support absolute urls in webpack css url/import (#3743) 2022-03-17 18:50:06 +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
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
Pooya Parsa
a436d8e0dc fix: update ufo 2022-03-16 11:21:24 +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
Anthony Fu
505acb820a
chore(deps): upgrade unimport (#3669) 2022-03-15 12:21:06 +01:00
Daniel Roe
7bf338da8c
feat(nuxt3)!: enable using <NuxtLayout> without pages integration (#3610) 2022-03-14 11:47:24 +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
Daniel Roe
114cbe33d0
fix(schema): set static alias correctly (#3614) 2022-03-12 08:17:55 +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
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
Daniel Roe
e12d2e9405
fix(kit): allow src for addPluginTemplate (#3542) 2022-03-08 18:42:46 +01:00
renovate[bot]
5b7fbc1569
chore(deps): update all non-major dependencies (#3450) 2022-03-08 18:17:01 +01:00
Daniel Roe
33ffd8be0a
fix(schema): allow untyped keys in nuxt config (#3527) 2022-03-07 11:37:01 +01:00
Daniel Roe
754ff0c9e7
feat: .nuxtignore support and isIgnored kit utility (#3424) 2022-02-28 17:11:46 +01:00
Daniel Roe
720e31d498
fix(schema): make postcss plugins a record type (#3403) 2022-02-28 12:28:16 +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
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
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
Xin Du (Clark)
48cc6086e4
fix(config): add analyze plugin options in bridge mode (#3292) 2022-02-21 12:25:31 +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
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
Daniel Roe
42373e060d
fix: clean up some type issues and add type test suite (#3199) 2022-02-15 10:50:11 +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
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
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
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
pooya parsa
790a54897a
feat!(nuxt3): extends support for components/ directory (#3108)
Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
2022-02-07 21:48:25 +01:00
pooya parsa
c9c0171b2d
refactor: rename options.layers to options._extends (#3109) 2022-02-07 19:44:48 +01:00
Pascal Sthamer
dcae6e276b
docs: update documentation for configs (#2819) 2022-02-07 11:20:53 +01:00
Daniel Roe
8fbdab8151
docs: update links to new vuejs.org site (#3091) 2022-02-07 11:16:45 +01:00
Daniel Roe
fae2179ee9
chore: replace constructors with types (#3056) 2022-02-03 19:02:55 +01:00
pooya parsa
1672148a87
feat(kit): support config extends using unjs/c12 (#3008) 2022-01-31 22:13:58 +01:00
renovate[bot]
a43757b082
chore(deps): update all non-major dependencies (#2970)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-31 11:55:56 +01:00
Daniel Roe
965f2abaee
feat(nuxt3): middleware type generation improvements (#2945) 2022-01-27 12:13:32 +01:00
renovate[bot]
4b1ea5741e
chore(deps): update dependency jiti to ^1.12.14 (#2929)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-26 13:03:01 +01:00
renovate[bot]
0affa39b62
chore(deps): update all non-major dependencies (#2912)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-01-26 12:57:33 +01:00
Daniel Roe
dccc0c9c6f
feat(nuxt3): add middleware via route meta (#2858) 2022-01-25 13:29:11 +01:00
MrDizzystick
a53246a1a4
docs(schema): fix typo (#2871) 2022-01-24 11:30:50 +01:00
Daniel Roe
ed2d26f1b5
fix(schema): support inline module options (#2852) 2022-01-21 12:47:13 +01:00
Daniel Roe
f219f635ad
feat(nuxt3): allow disabling vue type shims (#2773) 2022-01-19 19:10:38 +01:00
Daniel Roe
d07d572263
feat: improve base url options (#2655) 2022-01-18 17:59:14 +01:00
Harlan Wilton
4bd7adae4a
feat(nuxi): call nuxt listen hook for dev (#2772) 2022-01-18 17:36:01 +01:00
Daniel Roe
93ef422b5d
feat(nuxt3): add support for definePageMeta macro (#2678) 2022-01-17 19:27:23 +01:00
renovate[bot]
303b5bd220
chore(deps): update all non-major dependencies (#2707)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-13 18:21:05 +01:00
Yasser Lahbibi
ca9761df9e
feat(auto-import): allow explicit transform exclusion patterns (#2183)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2021-12-21 15:28:45 +01:00
pooya parsa
045b9edb5d
feat(kit, schema)!: finalize nuxt 3 module spec and utils (#2275) 2021-12-21 14:57:26 +01:00
Daniel Roe
c824905b99
fix(schema): handle null/undefined values in runtimeConfig (#2456) 2021-12-20 13:19:31 +01:00
renovate[bot]
23397e603c
feat(deps): update all non-major dependencies (#2252)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-12-14 16:46:05 +01:00
Daniel Roe
0d85c9ef77
fix(schema): type render.compressor (#2302) 2021-12-10 14:48:52 +01:00
Daniel Roe
af6f91e8fe
fix(schema): fix typo for import.meta.globEager (#2243) 2021-12-01 12:58:24 +01:00
Tobias Diez
c347b6cc8a
fix(schema): allow strings in plugin config (#2160) 2021-11-29 12:22:00 +01:00
Yasser Lahbibi
ad2918195b
fix(autoImports): dirs option should be string[] (#2186) 2021-11-29 12:14:03 +01:00
Daniel Roe
f5307f9d13
feat(nuxi): add typecheck command using vue-tsc (#2132)
* feat(nuxi): add `typecheck` command using `vue-tsc`

* perf: use local install with execa + set rootDir as cwd
2021-11-24 17:02:57 +01:00
Daniel Roe
7a78bce449
fix(schema): extend NuxtOptions for nitro & bridge types (#2131) 2021-11-24 16:51:26 +01:00
Giant
939f2eea25
docs: fix typo (#2119) 2021-11-24 16:25:20 +01:00
Daniel Roe
15dad0e039
fix(schema): remove stray nuxt3 import (#2105) 2021-11-23 11:55:24 +01:00
Daniel Roe
834532bf71
fix(schema, nuxt3): export meta types from schema (#2103) 2021-11-23 11:16:11 +01:00
pooya parsa
d68318f9d5
refactor: split schema to @nuxt/schema and simplify kit (#2059) 2021-11-21 17:14:46 +01:00