Commit Graph

9 Commits

Author SHA1 Message Date
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
Daniel Roe 754ff0c9e7
feat: `.nuxtignore` support and `isIgnored` kit utility (#3424) 2022-02-28 17:11:46 +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
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 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
pooya parsa 045b9edb5d
feat(kit, schema)!: finalize nuxt 3 module spec and utils (#2275) 2021-12-21 14:57:26 +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 15dad0e039
fix(schema): remove stray `nuxt3` import (#2105) 2021-11-23 11:55:24 +01:00
pooya parsa d68318f9d5
refactor: split schema to `@nuxt/schema` and simplify kit (#2059) 2021-11-21 17:14:46 +01:00