Commit Graph

72 Commits

Author SHA1 Message Date
anhao e70ff83e72
fix(vite): fix issue detecting shadowed keyed composables (#21891) 2023-07-05 11:35:45 +02:00
Inesh Bose c73bed8c6d
feat(kit): allow direct function in `defineNuxtModule` (#20763) 2023-06-16 15:47:38 +01:00
anhao 67f2232014
fix(vite): skip generating keys for locally scoped functions (#20955) 2023-06-05 20:15:12 +01:00
Daniel Roe c9adf700a4
fix(nuxt): handle serialising empty bigint (#21257)
Co-authored-by: lorado <eugen.sacharow@gmx.de>
2023-05-30 13:53:04 +02:00
Daniel Roe fd30cc1e89
test: refactor type tests into a separate fixture (#21007) 2023-05-22 20:44:03 +01:00
Daniel Roe 980728275a
fix(nuxt): use `resolvePath` to handle edge cases for modules (#20975) 2023-05-20 23:29:32 +01:00
Daniel Roe 26861e68ce
fix(kit): resolve relative module paths when installing (#20896) 2023-05-20 23:10:52 +01:00
Daniel Roe 7006064567
feat(kit): `addBuildPlugin` for builder-agnostic implementation (#20587) 2023-05-14 12:55:26 +01:00
Eduardo San Martin Morote 5781cf1569
feat(nuxt): add experimental `typedPages` option (#20367) 2023-05-09 18:08:07 +01:00
Daniel Roe 47591c92ec
test: test with bundler module resolution (#20629)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2023-05-04 10:38:02 +01:00
Anthony Fu 84559e84aa
feat(kit): support passing getter to `addVitePlugin` and `addWebpackPlugin` (#20525) 2023-05-02 12:17:41 +01:00
Daniel Roe dd0d13d425
fix(nuxt): improved typing support for app config (#20526) 2023-04-26 14:30:05 +01:00
Daniel Roe 83f0103a47
fix(schema): rely on installed telemetry types (#19640) 2023-04-19 22:02:15 +01:00
Daniel Roe 574a5616b4
perf: remove unused deps and add implicit deps (#20356) 2023-04-19 16:45:13 +01:00
Daniel Roe 67ca0815ac
test: add js payload test suite (#20217) 2023-04-11 15:57:12 -07:00
Julien Huang 163913a744
feat(nuxt): add `experimentalNoScripts` route rule (#19805) 2023-04-11 07:17:44 -07:00
Daniel Roe 4285092879
feat(nuxt): support object-syntax plugins (#20003) 2023-04-11 04:58:43 -07:00
Harlan Wilton 0c9823eb87
perf(head): disable `@vueuse/head` polyfill by default (#20131) 2023-04-07 06:10:35 -07:00
pooya parsa 9e503be0f2
feat(nuxt): experimental option for rich json payloads (#19205)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-04-07 03:34:35 -07:00
Daniel Roe c660b39447
fix(nuxt): disable `x-nuxt-no-ssr` header by default (#20024) 2023-04-03 03:39:01 -07:00
Anthony Fu ce575b49e3
fix(nuxt): ignore falsy modules (#19684) 2023-03-19 16:16:13 -07:00
Daniel Roe b19b35fb67
fix(nuxt): provide node16-style type exports (#18431) 2023-03-11 13:16:01 -08:00
Julien Huang 1729d2e42f
feat(nuxt): add `<NuxtClientFallback>` component (#8216) 2023-03-08 13:13:06 -08:00
Harlan Wilton 8732720221
perf(head): drop `@vueuse/head` dependency (#19519) 2023-03-08 07:32:24 -08:00
Daniel Roe df3ae8cb4e
feat(nuxt): enable chunk error handling by default (#19086) 2023-03-08 12:17:22 +00:00
Daniel Roe 60d07df4cc
feat(nuxt): support custom keyed composables (#19490) 2023-03-07 13:06:15 -08:00
Harlan Wilton bb61496e98
feat(nuxt): allow configuring treeshakeable composables (#19383) 2023-03-07 01:30:05 -08:00
pooya parsa 71225e50c5
feat(nuxt): enable config schema by default (#19172) 2023-03-04 06:39:26 -08:00
Nick Williams 9dc5413cbd
fix(vite): respect `isCustomElement` config for jsx transform (#19053) 2023-02-16 04:45:08 -08:00
Daniel Roe 96b09ea982
feat(nuxt): add experimental `app:chunkError` hook and reload strategy (#19038) 2023-02-16 04:43:58 -08:00
Daniel Roe d036d3dec5
ci: run webpack/vite and dev/prod as matrices (#18905) 2023-02-13 22:09:32 +00:00
Daniel Roe 19bef5aba4
fix(schema): allow type inference of arrays in runtime config (#18931)
* fix(schema): allow type inference of arrays in runtime config

* test: add types fixture
2023-02-10 07:36:10 +00:00
Daniel Roe 5426e5609a test: decrease vite logging during tests 2023-02-09 09:26:23 +01:00
Daniel Roe 01076d144f
feat(schema): add type hints for runtime config (#18652) 2023-02-06 15:27:35 -08:00
Daniel Roe b8f6243621
fix(nuxt): provide fallback values for undefined runtime config (#18586) 2023-01-28 07:18:04 -08:00
pooya parsa 1af319e0fa
feat: experimental config schema (#18410) 2023-01-23 19:07:21 +01:00
Inesh Bose 98d292ae85
fix(nuxt): provide types for modules as array (#18416)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-01-21 16:55:44 +00:00
Jose Morel baf9d950db
feat(vite): support `build.transpile` as function (#7767)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-01-19 10:56:34 +00:00
Anthony Fu 1e8da22893
fix(vite): add additional before skipping vite transform (#10120) 2023-01-16 16:04:16 +00:00
Daniel Roe ab125bd1c5
feat(nuxt): experimental server component islands (#5689)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-11-24 13:24:14 +01:00
pooya parsa 5ac9d85a49
refactor!: remove deprecated api (#9029) 2022-11-16 03:26:35 +01:00
pooya parsa 6e78f9dbb0
fix(nuxt)!: enable payload extraction only for `nuxi generate` (#9018) 2022-11-15 17:27:34 +01:00
Daniel Roe ee8e9ae656
test: update type test for strict mode (#8669) 2022-11-03 21:22:20 +01:00
pooya parsa 265db50515
refactor(nuxt)!: cleanup schema and split nuxt 2 types (#8487) 2022-10-27 12:36:37 +02:00
Daniel Roe 59d8c51b5b
refactor(schema)!: disable `app.pageTransition` and `app.layoutTransition` by default (#8436) 2022-10-24 17:23:49 +02:00
Daniel Roe 63d778be13
test: update fixture with `routeRules` too 2022-10-17 15:15:59 +01:00
Daniel Roe 5f003a9738
feat(nuxt): add `ssr` route rule to enable SPA mode (#7938) 2022-10-11 17:03:52 +01:00
mmis1000 c404cb1be4
fix(nuxt): page hydration and double load (#7940)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-10-08 16:18:57 +02:00
Daniel Roe 230af9c186
fix(nuxi): include `workspaceDir` in tsconfig include (#7726) 2022-09-22 15:50:40 +02:00
pooya parsa 5973df1e96
chore: update examples to `^3.0.0-rc.10` and use global `defineNuxtConfig` (#7515) 2022-09-14 19:26:43 +02:00