Commit Graph

93 Commits

Author SHA1 Message Date
renovate[bot] b241e5061b
chore(deps): update all non-major dependencies (#4328)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-13 19:26:03 +02:00
Daniel Roe f4fb9160c6
feat(nuxt3): allow manually enabling/disabling the ad-hoc pages module (#4327) 2022-04-13 19:18:51 +02:00
Clément Ollivier 0457125ebd
chore: update links for new sitemap (#4286) 2022-04-12 11:59:32 +02:00
pooya parsa 2c540e7870
feat: introduce simplified `runtimeConfig` option (#4254) 2022-04-11 16:34:23 +02:00
Daniel Roe 1091d456a8
feat(nuxt, bridge): support `titleTemplate`, `viewport` and `charset` for `useHead` (#4221) 2022-04-11 11:03:31 +02:00
pooya parsa 315e5b59e6
fix: nitropack fixes and upgrade to 0.2.x (#4187) 2022-04-08 02:05:27 +02:00
renovate[bot] 5bb4e94c7c
chore(deps): update all non-major dependencies (#4175)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-07 19:13:37 +02:00
pooya parsa 9fbb9bec8d
fix: regressions from nitropack migration (#4157) 2022-04-07 14:57:57 +02:00
pooya parsa 11626eea4f
feat!: migrate to nitropack (#3956)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-04-07 13:28:04 +02:00
Andrey Mamatov d2a814fa6a
docs(schema): update environment variable name for overriding `baseURL` (#4118) 2022-04-06 14:08:53 +02:00
Anthony Fu e1e3f5063d
fix(deps): upgrade unimport (#4095) 2022-04-05 16:03:41 +02:00
Daniel Roe e90b8c28d1
refactor(nuxt3,bridge)!: rename `useMeta` to `useHead` (#4066) 2022-04-05 16:02:29 +02:00
Daniel Roe 1890c55cbe
docs: add missing configuration documentation to nuxt 3 docs (#4020) 2022-04-01 15:02:26 +02:00
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