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