Commit Graph

80 Commits

Author SHA1 Message Date
renovate[bot] 0c5d9872ac
chore(deps): update all non-major dependencies (#3979)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-31 21:59:36 +02:00
pooya parsa 7e6c4e2d5b
fix(schema): fix RouterConfig types (#3964) 2022-03-30 10:17:46 +02:00
Daniel Roe c7f4e3c709
docs: update `serverMiddleware` to add warning on function and make example esm (#3894)
* docs: update serverMiddleware to add warning on function and make example esm

* Update packages/schema/src/config/_common.ts

Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-03-25 12:40:15 +01:00
Daniel Roe 23e7afb5ec
fix(bridge): replace nuxt 3 auto-imports (#3850) 2022-03-24 14:15:32 +01:00
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