Commit Graph

497 Commits

Author SHA1 Message Date
Daniel Roe
a0d5145095
fix(schema): handle backwards compat for dir.app 2024-06-19 16:02:14 +01:00
Daniel Roe
4d063f1f85
fix(schema,vite)!: do not allow configuring vite dev bundler (#27707) 2024-06-19 13:57:08 +01:00
Daniel Roe
f5ab7eb494
refactor(kit,nuxt)!: drop nuxt 2 + ejs template compile support (#27706) 2024-06-19 13:56:54 +01:00
Josh Dean
88f0b4f420
fix(schema,vite): respect vite.cacheDir if defined (#27628) 2024-06-15 22:02:57 +01:00
Daniel Roe
e4bfea6428
fix(nuxt,schema): add types for _installedModules 2024-06-13 21:00:11 +01:00
Harlan Wilton
bdf8f9e0dd
fix(schema): app/ dir backwards compatibility (#27529) 2024-06-11 19:47:42 +01:00
Daniel Roe
1d94bac0af
fix(schema): don't narrow head string types to literals (#27540) 2024-06-11 17:44:38 +01:00
Pooya Parsa
a8746af43f
refactor(schema): use CompatibilityDateSpec (#27521) 2024-06-11 11:05:26 +01:00
Daniel Roe
cd95d99704
feat(nuxt,schema): add compatibilityDate flag for future (#27512) 2024-06-10 21:52:16 +01:00
Daniel Roe
018b03588a
fix(kit,schema): revert changes to module options types (#26850)
This reverts commit c06a683e49.
2024-06-10 21:25:42 +01:00
Daniel Roe
0536dbeed9
fix(nuxt): also augment page metadata after pages:extend hook (#27134) 2024-06-10 17:24:43 +01:00
Damian Głowala
c06a683e49
feat(kit,schema): add .with for better module options types (#26850) 2024-06-10 11:16:13 +01:00
Israel Ortuño
5bff730614
feat(nuxt): allow configuring interval for checking app update (#27324) 2024-06-07 16:42:32 +01:00
Daniel Roe
5785332626
fix(schema): exclude non-serialisable types from app options (#27478) 2024-06-07 13:22:19 +01:00
Horu
73cc8d90e4
docs: fix list spacing (#27366) 2024-05-27 12:09:12 +01:00
Daniel Roe
b8fdbedfe1
fix(schema): pass correct jsx config for esbuild-loader (#27341) 2024-05-24 15:28:51 +01:00
Daniel Roe
0e90e87ef7
fix(nuxt): defer shared asyncData promises to next tick (#27329) 2024-05-23 17:40:23 +01:00
Daniel Roe
811bfc18a1
feat(nuxt): respect defaults when clearing asyncData (#27295) 2024-05-22 15:42:19 +01:00
Daniel Roe
8a759bc6fe
fix(nuxt): use undefined rather than null for data fetching defaults (#27294) 2024-05-21 23:58:38 +01:00
Nicolas Payot
2e25afdfb8
feat(schema): add experimental multiApp flag (#27291) 2024-05-21 14:42:19 +01:00
yubo
c0b3d0329a
docs: add additional example for setting baseURL and cdnURL (#27273) 2024-05-21 09:27:32 +01:00
Daniel Roe
a1c184a288
fix(schema): handle dev/test buildId in schema (#27274) 2024-05-19 19:53:20 -05:00
Daniel Roe
3c42e13b68
feat(nuxt,schema): add appId and improve chunk determinism (#27258) 2024-05-16 22:41:31 -05:00
Daniel Roe
008a264178
fix(schema): hoist `@nuxt/devtools types for config auto-completion 2024-05-16 11:16:37 -05:00
Jakub Bednár
341fbe60f9
docs: add module execution order (#27178) 2024-05-13 21:59:33 +01:00
Daniel Roe
5c34676159
feat(schema): remove some experimental options for v4 (#27132) 2024-05-13 18:45:21 +01:00
Daniel Roe
cebc89186e
feat(kit): add useRuntimeConfig and updateRuntimeConfig utils (#27117) 2024-05-09 18:49:35 +01:00
Horu
d66d68cd7d
feat(nuxt): allow specifying builder compatibility in modules (#27022) 2024-05-09 09:28:33 +01:00
Nicolas Payot
177517951c
feat(nuxt): support multiple nuxtApps at runtime (#27068) 2024-05-08 13:32:45 +01:00
Daniel Roe
3169c5cec7
feat(nuxt): add onPrehydrate lifecycle hook (#27037) 2024-05-07 15:04:21 +01:00
Alex Liu
9e8261a69c
feat(nuxt): custom renderSSRHeadOptions config for unhead (#26989) 2024-05-07 13:37:02 +01:00
Daniel Roe
8fcf893f8b
docs: mention nightly release channel for unreleased features 2024-05-07 13:30:01 +01:00
ynnsuis
0b8a0ad242
docs: update docs for ignorePrefix to clarify ignored files (#27065) 2024-05-07 13:05:15 +01:00
Daniel Roe
1af81ed0fb
fix(schema): use v3 folder structure if app.vue exists in rootDir 2024-05-03 12:34:12 +01:00
Alex Liu
7ea05acbc9
feat(nuxt): treeshake onUpdated and onUnmounted on server (#27044) 2024-05-03 10:13:54 +01:00
Daniel Roe
2c39b3ce61
feat(nuxt,schema): support new Nuxt folder structure (#27029) 2024-05-02 14:24:31 +01:00
Daniel Roe
eec84f5b24
build(schema): use relative path to ui-templates dist 2024-05-01 22:46:53 +01:00
Daniel Roe
0d4a622f3a
fix(nuxt,schema): remove .js extension from template imports 2024-05-01 21:59:45 +01:00
Daniel Roe
e7789a2571
docs: add docs for future.compatibilityVersion 2024-05-01 21:29:34 +01:00
Daniel Roe
f597ca59af
feat(schema): enable cookieStore by default
https://github.com/nuxt/nuxt/pull/25198
2024-05-01 21:00:36 +01:00
Harlan Wilton
8b67a19af6
feat(nuxt): configurable app.rootAttrs and teleportAttrs (#27014) 2024-05-01 16:27:30 +01:00
Daniel Roe
256ef1faf6
feat(nuxt,schema): inline error, welcome, spa-loading templates (#27021) 2024-05-01 14:10:33 +01:00
Daniel Roe
505e706dcb
feat(schema): v4 opt-in with future.compatibilityVersion (#26925) 2024-04-30 20:34:32 +01:00
rgehbt
9f9e3e6917
fix(nuxt): don't scan component dirs when enabled is false (#26906) 2024-04-23 13:19:12 +01:00
Inesh Bose
00a47be49a
fix(nuxt): re-initialise nuxt._ignore after all modules run (#26680) 2024-04-19 11:48:19 +03:00
kawadah
bde696a0db
docs: fix srcDir description mentioning deprecated static/ directory (#26804) 2024-04-16 19:58:54 +01:00
Anthony Fu
36c0137b7e
feat(nuxt): introduce imports.scan option (#26576) 2024-04-09 15:03:42 +02:00
Anthony Fu
f209158352
chore: cleanup eslint rules with latest @nuxt/eslint-config (#26653) 2024-04-05 19:08:32 +01:00
Damian Głowala
8ae37e7e5c
docs: correct grammar in typescript.shim JSDoc (#26626) 2024-04-03 15:46:46 +01:00
Antoine Rey
5f603610a5
fix(schema): document use case for typescript.shim (#26607) 2024-04-03 10:16:32 +01:00
Daniel Roe
9bb8976470
fix(schema): update webpack transformAssetUrls + pass hoistStatic to vite plugin (#26563) 2024-04-03 10:16:15 +01:00
Daniel Roe
22dfac7bd7
fix(nuxt): augment GlobalComponents in multiple vue modules (#26541) 2024-03-29 09:13:04 +00:00
Joaquín Sánchez
4c8793587b
fix(schema): include ofetch in typescript.hoist defaults (#26316) 2024-03-17 17:56:47 +01:00
Daniel Roe
3c7e68c846
fix(nuxt): handle nightly releases for hoisted types 2024-03-16 17:18:31 -07:00
Daniel Roe
79ea75e72a
chore: remove old code 2024-03-16 11:07:30 -07:00
Daniel Roe
adbd53a257
fix(schema): don't hoist types for consola for now 2024-03-15 19:37:13 -07:00
Daniel Roe
357f8db418
fix(schema): allow passing deep to selectiveClient 2024-03-15 19:02:54 -07:00
Daniel Roe
814859d769
fix(nuxt): don't generate separate chunk for stubs (#26291) 2024-03-15 17:07:38 -07:00
Daniel Roe
e272b2f2e1
feat(nuxt): pass server logs to client (#25936)
Co-authored-by: Sébastien Chopin <seb@nuxt.com>
2024-03-15 16:36:47 -07:00
Daniel Roe
85166cced7
feat(schema): allow configuring type hoists with typescript.hoist 2024-03-15 11:00:19 -07:00
Anthony Fu
bd0e759b22
perf(nuxt): only update changed templates (#26250) 2024-03-14 11:56:17 -07:00
Daniel Roe
5c6dc4c14e
docs: escape 'elements' in jsdoc comments 2024-03-14 11:31:42 -07:00
Daniel Roe
b102d04185
feat(vite): handle multiple/custom public dirs (#26163) 2024-03-13 17:18:44 -07:00
Daniel Roe
a9effe9c8a
feat(nuxt): allow generating metadata for nuxt components (#26204) 2024-03-13 15:57:04 -07:00
Daniel Roe
9bfd988ca6
feat(nuxt): enable islands if server pages/components present (#26223) 2024-03-13 07:39:35 -07:00
Alexander Lichter
536998727a
feat(nuxt): add dedicated #teleports element for ssr teleports (#25043) 2024-03-11 07:33:49 -07:00
Daniel Roe
7252b56d52 chore: add back stylistic rules and lint project 2024-03-09 06:48:15 +00:00
Daniel Roe
d6edb30c5a docs: update cssnano website url
https://github.com/cssnano/cssnano/pull/1578
2024-03-06 20:46:34 +00:00
Bogdan Kostyuk
230f6b4f19
feat(nuxt): client-only pages (#25037) 2024-03-06 14:38:39 +00:00
Oumar Barry
280d30d5e1
fix(schema): disable typescript.shim in favour of volar (#26052) 2024-03-05 10:32:40 +00:00
Andrea Basile
3258cacc28
fix(schema): add vueCompilerOptions property to tsConfig (#25924) 2024-02-27 16:31:46 +01:00
Julien Huang
196223c0fb
feat(nuxt): server-only pages (#24954) 2024-02-26 17:39:26 +00:00
Daniel Roe
37d24eed7d
fix(schema): use rootDir, not process.cwd, for modulesDir (#25766) 2024-02-13 11:19:25 +00:00
Žan Fras
8966e20498
chore(schema): add missing closing code block (#25641) 2024-02-05 20:26:10 +00:00
Troy Ciesco
ced401abb7
fix(schema): correctly set value for app.viewTransition (#25581) 2024-02-02 14:38:42 +00:00
Daniel Roe
f1fe97fc8a
fix(nuxt): prioritise later items in pages:routerOptions hook (#25509) 2024-01-30 13:55:18 +00:00
Якин Никита
658a0ffed7
feat(nuxt): useId composable (#23368)
Co-authored-by: Daniel Roe <daniel@roe.dev>
Co-authored-by: Sébastien Chopin <seb@nuxt.com>
2024-01-30 09:10:13 +00:00
Daniel Roe
b0f50bec1b docs: remove unnecessary warning on sharedPrerenderData 2024-01-29 20:22:23 +00:00
renovate[bot]
7d65769496
chore(deps): update all non-major dependencies (main) (#25342)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-01-29 16:53:25 +00:00
Daniel Roe
407fde6765
feat(nuxt): experimentally extract route metadata at build time (#25210)
Co-authored-by: Bobbie Goede <bobbiegoede@gmail.com>
2024-01-29 16:44:54 +00:00
Horváth Bálint
995acd9983
feat(nuxt): allow controlling view transitions in page meta (#25264) 2024-01-29 12:23:51 +00:00
Enkot
034d1aaa6f
feat(nuxt): refreshCookie + experimental CookieStore support (#25198) 2024-01-29 10:37:32 +00:00
Alexander Lichter
040cd97c3c
fix(schema): remove defineModel option as it is now stable (#25306) 2024-01-19 09:48:24 +00:00
Pooya Parsa
dab2188d58
feat: experimental client-side Node.js compatibility (#25028) 2024-01-18 16:09:27 +00:00
Daniel Roe
807ead6f1a
feat(nuxt): add pages:routerOptions hook (#24922) 2024-01-18 16:06:00 +00:00
Daniel Roe
64c5f97d4a
feat(schema): default to bundler module resolution (#24837) 2024-01-18 10:37:24 +00:00
Daniel Roe
210a559350
feat(nuxt): add experimental sharedPrerenderData option (#24894) 2024-01-18 10:01:39 +00:00
Luke Warlow
e44e8b35dd
fix(nuxt): disable View Transitions if prefers-reduced-motion (#22292) 2024-01-18 10:00:41 +00:00
Inesh Bose
406b204640
fix(kit): improve types for options in addTemplate (#25109) 2024-01-12 10:47:23 +00:00
Michael Brevard
c2b94d4a16
perf(kit,schema,nuxt): refactor startsWith to array access (#24744) 2023-12-29 08:47:11 +00:00
Daniel Roe
f5676fba56 docs: switch features/future docs 2023-12-26 22:03:39 +00:00
Daniel Roe
32d2c99c5f
refactor(schema): introduce future and features namespace (#24880) 2023-12-25 14:03:29 +00:00
Daniel Roe
22ce98d61d
fix(schema): revert bundler module resolution due to lack of support
This reverts commit 8f5fed57db.
2023-12-20 10:57:07 +00:00
Daniel Roe
f5a44fb20a
fix(nuxt): add __VUE_PROD_HYDRATION_MISMATCH_DETAILS__ (#24836) 2023-12-20 10:30:33 +00:00
Daniel Roe
8f5fed57db
feat(schema): default to bundler module resolution (#22821) 2023-12-19 15:02:28 +00:00
Julien Huang
1b93e604d3
feat(nuxt): allow client components within NuxtIsland (#22649) 2023-12-19 12:21:29 +00:00
Sébastien Chopin
d26822f3df
feat(nuxt): add callOnce util to allow running code only once (#24787) 2023-12-19 11:00:11 +00:00
Daniel Roe
d5c95ad472
fix(nuxt): revert async transform of setup within defineComponent (#24784) 2023-12-16 11:09:41 +00:00
Michael Brevard
153d5ff273
perf(schema): use parallel promises (#24771)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-12-15 14:16:35 +00:00
Michael Brevard
24bedc5e56
perf(schema): avoid duplicate get operations (#24734) 2023-12-15 09:38:19 +00:00