Commit Graph

240 Commits

Author SHA1 Message Date
renovate[bot] 49acae5f02
chore(deps): update dependency vite to ~3.0.8 (#6674)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-16 15:14:41 +02:00
Daniel Roe 94214d6b32
feat(nuxt): exclude page chunks from being prefetched (#6662) 2022-08-16 13:19:39 +02:00
pooya parsa dae836a81d
feat(vite): allow disabling entry warmup (#6647)
* feat(vite): allow opt-out from warming up entries

* refactor: move to `warmupEntry`
2022-08-15 18:01:34 +02:00
Anthony Fu 1b2304b632
feat(schema, vite)!: enable `vite-node` by default (#6217)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-08-13 14:43:26 +02:00
renovate[bot] 47eaaa1a78
chore(deps): update all non-major dependencies (#6576)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-13 08:44:26 +02:00
Anthony Fu f350a70775
refactor(nuxt): enable strict type checking (#6368)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-08-12 19:47:58 +02:00
renovate[bot] cb98c8b921
chore(deps): update all non-major dependencies (#6565)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-12 18:15:51 +02:00
Daniel Roe 0a513a56b1
feat(webpack, vite): default to `.js` extension for client (#6505) 2022-08-12 16:16:08 +02:00
pooya parsa 3960f513c3
v3.0.0-rc.8 (#6526) 2022-08-12 15:35:33 +02:00
renovate[bot] 21c5a7579e
chore(deps): update all non-major dependencies (#6537)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-12 00:27:19 +02:00
Timur Bolotov e55938fe6e
docs(schema): grammar, punctuation and typo fixes (#6469)
Co-authored-by: Damian Głowala <48835293+DamianGlowala@users.noreply.github.com>
2022-08-11 23:25:35 +02:00
pooya parsa 5ea0474225
v3.0.0-rc.7 (#6375) 2022-08-11 12:40:11 +02:00
renovate[bot] 5db559be13
chore(deps): update all non-major dependencies (#6492)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-11 10:03:34 +02:00
renovate[bot] cd5c88d19f
chore(deps): update all non-major dependencies (#6478)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-10 14:10:03 +02:00
pooya parsa 3e27c1c52b
fix(nuxt): interopDefault for page component imports (#6468) 2022-08-09 20:25:35 +02:00
renovate[bot] 90bd6b0bb6
chore(deps): update all non-major dependencies (#6459)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-09 15:37:12 +02:00
pooya parsa ee36ddf516
fix(nuxt): add `viteServerDynamicImports` as experimental flag (#6433) 2022-08-08 15:25:58 +02:00
Nathan Chase 70aec38428
docs: update vue-router links (#6421) 2022-08-08 10:27:19 +02:00
Daniel Roe fc1d7d9507
fix(schema): cleanup meta tags and deduplicate charset and viewport (#6378) 2022-08-07 11:53:53 +02:00
Timur Bolotov 2cbdc5c07f docs: add missing periods 2022-08-07 11:02:31 +02:00
Haytham Salama 58abefc326
docs(schema) : add a missing comma in example config (#6394) 2022-08-05 21:00:40 +02:00
renovate[bot] bc26cc6467
chore(deps): update all non-major dependencies (#6362)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-04 17:15:24 +02:00
pooya parsa e3534bcda5
fix(nuxi, kit): enable `esmResolve` flag for `jiti` (#6356) 2022-08-04 15:22:32 +02:00
renovate[bot] 079e09ea4b
chore(deps): update all non-major dependencies (#6353)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-04 12:52:10 +02:00
renovate[bot] 7cc636ad93
chore(deps): update all non-major dependencies (#6241) 2022-08-02 13:42:26 +02:00
Daniel Roe 8b5159f3c0
fix(webpack): output `.mjs` to use crossorigin preloads (#6232) 2022-07-29 14:50:02 +02:00
pooya parsa e6f957ab32
chore(schema): update vite config types (#6230) 2022-07-29 14:34:55 +02:00
Daniel Roe 968087bcc5
fix(schema): add typings for `vite.vue` options (#6220)
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-07-29 11:57:45 +01:00
renovate[bot] 8f65664ac0
chore(deps): update all non-major dependencies (#6223)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-29 11:42:57 +02:00
renovate[bot] 3fa32b9c22
chore(deps): update all non-major dependencies (#6173)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-29 11:40:44 +02:00
Daniel Roe 4e2667fcb7
feat(nuxt): add support for `components/global` (#6070)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-07-27 15:05:34 +02:00
Daniel Roe 12ebe3aeb6
fix(schema): exclude functions from `DeepPartial` (#6176) 2022-07-27 15:04:14 +02:00
Daniel Roe 54da45e7a1
fix(schema): add empty noscript array (#6155) 2022-07-26 15:43:26 +02:00
Victor Saa 5d023a80df
feat(nuxt, schema): add `<NoScript>` component and `noscript` typings (#6139) 2022-07-26 15:41:01 +02:00
renovate[bot] 8d469e7f15
chore(deps): update all non-major dependencies (#6117)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-25 12:17:44 +02:00
renovate[bot] 02b01013df
chore(deps): update all non-major dependencies (#6074) 2022-07-25 12:15:13 +02:00
Anthony Fu d453729c75
fix(types): generate relative path in `imports.d.ts` (#6054) 2022-07-22 09:30:29 +02:00
renovate[bot] 6313f69a06
chore(deps): update all non-major dependencies (#6032)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-21 15:59:00 +02:00
Daniel Roe fa8b0f7c79
feat(vite)!: upgrade vite to v3 (#5398) 2022-07-21 12:44:33 +02:00
pooya parsa 88f4525a4f
v3.0.0-rc.6 (#5936) 2022-07-18 12:06:04 +02:00
pooya parsa 2e85cd0252
refactor(nuxt): add `treeshakeClientOnly` experimental flag (#5934)
* refactor(nuxt): add `treeshakeClientOnly` experimental flag

* test: enable flag for fixture
2022-07-17 15:13:04 +02:00
Lay b81c9c3a92
feat(schema): sync types of vite v2.9.x (#5896) 2022-07-14 16:03:18 +02:00
renovate[bot] 009d6762c5
chore(deps): update all non-major dependencies (#5891)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-14 15:59:43 +02:00
pooya parsa 7c45eeef7b
v3.0.0-rc.5 (#5825) 2022-07-13 17:38:59 +02:00
renovate[bot] c695f71ed3
chore(deps): update all non-major dependencies (#5779)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-08 14:42:43 +02:00
renovate[bot] 079ff4439c
chore(deps): update dependency ufo to ^0.8.5 (#5772)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-07 18:29:39 +02:00
renovate[bot] 5c323ca195
chore(deps): update all non-major dependencies (#5712)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-07 17:30:10 +02:00
Daniel Roe b5f5f7d5ba
perf(nuxt)!: remove legacy app context (#5630) 2022-07-06 21:15:00 +02:00
renovate[bot] b1470c0819
chore(deps): update all non-major dependencies (#5687)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-01 12:37:12 +02:00
renovate[bot] 9df6d2f1d2
chore(deps): update all non-major dependencies (#5588)
* chore(deps): update all non-major dependencies

* update lockfile

* update unimport

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-07-01 12:02:57 +02:00
Daniel Roe 8c2c80e43e
feat(nuxt)!: support universal global middleware (#5038) 2022-06-27 14:10:29 +02:00
Haruaki OTAKE ad420238b1
fix(schema, postcss): cssnano is enabled if not dev (#5583) 2022-06-23 20:27:23 +02:00
Anthony Fu 2db154fde4
feat(auto-import)!: auto unwrap for auto import in template (#5573) 2022-06-23 11:51:46 +02:00
renovate[bot] 42c5428ee9
chore(deps): update all non-major dependencies (#5536)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-20 17:40:20 +02:00
Daniel Roe 411eee3b77
fix(schema): add types for `vite:` hooks (#5472) 2022-06-15 13:51:58 +02:00
renovate[bot] bea6cecb6e
chore(deps): update all non-major dependencies (#5448)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-15 13:28:17 +02:00
pooya parsa c9d4b2ebc8
v3.0.0-rc.4 (#5393) 2022-06-13 16:19:31 +02:00
Daniel Roe 4fdea30cbb
fix(webpack): enable `extractCSS` by default (#4388) 2022-06-13 14:52:27 +02:00
renovate[bot] 67d804400b
chore(deps): update all non-major dependencies (#5412)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-12 21:39:36 +02:00
Daniel Roe 11a7340883
feat(nuxt): experimental flag to use external vue dependencies (#5083) 2022-06-10 16:31:36 +02:00
renovate[bot] 0825bc4022
chore(deps): update all non-major dependencies (#5281) 2022-06-03 18:10:22 +02:00
renovate[bot] c071b1eb90
chore(deps): update all non-major dependencies (#5085) 2022-06-03 16:26:29 +02:00
webfansplz 9379606222
fix(schema, vite): resolve `mode` config correctly (#5255) 2022-06-03 16:09:04 +02:00
Alex Kozack 1e8fba8378
fix(schema): add missed types `title`, `bodyAttrs`, `htmlAttrs` (#5184)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-05-31 23:30:17 +02:00
Tobias Schulmann ca526cfa92
docs(config): correct naming of `NUXT_APP_CDN_URL` environment variable (#5032) 2022-05-20 11:40:30 +02:00
chris-zhu 78d1a87d4c
docs: fix typo in environment variable (#4990)
* chore: typo

* docs: style

Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-05-18 08:16:24 +02:00
Dominik Opyd f0dbc951e6
docs: add missing parentheses in the `alias` example (#4995)
* docs(api): improving the parentheses of the `alias` examples in`nuxt.config`

* docs: revert change

Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-05-18 08:15:38 +02:00
renovate[bot] 5c8c0451a6
chore(deps): update all non-major dependencies (#4899)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-10 11:10:09 +02:00
pooya parsa 36512d0eaa
v3.0.0-rc.3 (#4852) 2022-05-10 10:58:29 +02:00
renovate[bot] b633a9c106
chore(deps): update all non-major dependencies (#4867)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-09 16:11:59 +02:00
Sébastien Chopin 9e5a3cdc6f
fix(nuxt): avoid redirect with different encoding and trailing slash (#4857)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-05-06 18:02:50 +02:00
pooya parsa 92847ed924
feat(nuxt, kit): add shortcuts to register custom server handlers (#4850) 2022-05-06 15:31:52 +02:00
Daniel Roe e0125f49ff
fix(schema): add back `PublicRuntimeConfig` interface for augmentation (#4849) 2022-05-06 15:27:42 +02:00
Anthony Fu a862a67c80
feat(auto-import): custom include option (#4834) 2022-05-06 13:11:34 +02:00
renovate[bot] 69b09f3af9
chore(deps): update all non-major dependencies (#4800)
* chore(deps): update all non-major dependencies

* update lock

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-05-05 23:43:26 +02:00
Daniel Roe 8962cb7ef4
fix(schema): exclude `vite` from `DeepPartial` (#4772) 2022-05-03 11:56:59 +02:00
pooya parsa a8d42d586f
v3.0.0-rc.2 (#4763) 2022-05-02 22:47:05 +02:00
Daniel Roe 1f8e3e2f33
feat(nitro): add `nitro:build:before` hook (#4304)
* fix(nitro): add back `nitro:generate` hook

* fix: use `nitro:generate` hook for vite workarounds

* fix: remove comment

* fix: only call `nitro:generate` in build mode

* rename hook to `nitro:_build`

* fix: use `nitro:build:before`

* move dev guard

Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-05-02 22:15:47 +02:00
renovate[bot] ee64714771
chore(deps): update all non-major dependencies (#4674)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-29 11:37:31 +02:00
Daniel Roe 59a8d43a8f
fix(schema): decrease recursion on `DeepPartial` (#4695) 2022-04-29 10:50:19 +02:00
renovate[bot] 64f437a754
chore(deps): update all non-major dependencies (#4627)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-26 17:43:58 +02:00
Daniel Roe 650d12fa9c
feat: allow disabling sourcemap generation (#4509) 2022-04-22 17:35:42 +02:00
Pooya Parsa 0c2f076957 chore(release): v3.0.0-rc.1 2022-04-20 23:09:37 +02:00
renovate[bot] 4f5a0d043e
chore(deps): update all non-major dependencies (#4470)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-20 20:39:35 +02:00
pooya parsa 13a386da90
feat(nuxt): enable nuxt telemetry (#4467) 2022-04-20 20:25:09 +02:00
renovate[bot] a2e71ad14a
chore(deps): update all non-major dependencies (#4441)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-20 13:02:16 +02:00
Pooya Parsa 5f0fc19938 chore: update packages to 3.0.0-rc.0 2022-04-20 12:52:12 +02:00
pooya parsa 4712e99411
refactor!: rename nuxt3 to nuxt (#4449) 2022-04-20 10:52:39 +02:00
Daniel Roe 896d1404a3
chore: bump node dependencies (#4440) 2022-04-20 00:14:27 +02:00
Daniel Roe b38dc097f6
feat(nuxt3): allow separating client and server components (#4390)
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-04-19 21:13:55 +02:00
Daniel Roe 71b808c8e9
fix(schema): use entire object for `app` properties (#4431) 2022-04-19 21:12:28 +02:00
Daniel Roe 74ce29b329
docs: remove `__dirname` and `__filename` from example code (#4381)
* docs: remove `__dirname` and `__filename` from example code

* fix: add `fileURLToPath`

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

Co-authored-by: pooya parsa <pyapar@gmail.com>

* Update docs/content/2.guide/6.going-further/7.testing.md

Co-authored-by: pooya parsa <pyapar@gmail.com>

Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-04-19 16:46:14 +02:00
Damian 513978e15b
docs: fix and improve multiple sections (#4396) 2022-04-16 15:53:36 +02:00
renovate[bot] 04a72f83f1
build(deps): update all non-major dependencies (#4387)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-16 07:33:23 +02:00
Daniel Roe ea14a5c1c1
feat(vite,webpack): build/dev typechecking (#4379) 2022-04-15 17:28:42 +02:00
Daniel Roe e0b2a3bfe4
chore: use `node:` prefix for built-in modules (#4384) 2022-04-15 17:19:05 +02:00
Daniel Roe 5dae097318
docs: update webpack code examples (#4355) 2022-04-14 17:27:53 +02:00
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