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
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
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
Daniel Roe
965f2abaee
feat(nuxt3): middleware type generation improvements ( #2945 )
2022-01-27 12:13:32 +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
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
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