1
0
mirror of https://github.com/nuxt/nuxt.git synced 2025-03-23 09:36:35 +00:00
Commit Graph

368 Commits

Author SHA1 Message Date
Daniel Roe
ae8314b236
chore: refresh lockfile () 2023-08-07 14:03:41 +01:00
Daniel Roe
e2a6ad353d
feat(schema,vite): allow $client and $server vite env overrides () 2023-07-24 18:32:12 +01:00
Daniel Roe
1605a532a1
fix(vite): pass modulesDir to isExternal () 2023-07-06 14:22:31 +01:00
anhao
e70ff83e72
fix(vite): fix issue detecting shadowed keyed composables () 2023-07-05 11:35:45 +02:00
Daniel Roe
958562086f
fix(vite): remove @vue/ scoped libraries from resolutions () 2023-07-04 08:27:34 +01:00
Daniel Roe
87e01ccf0e
fix(nuxt): handle injecting multiple entry ids for styles () 2023-06-30 05:25:43 +01:00
Daniel Roe
d4addcf7b1
fix(vite): greater type-safety within runtime vite-node () 2023-06-28 22:19:51 +01:00
Daniel Roe
e023c06353
fix(nuxt, vite): do not use cjs utils to resolve/alias vue () 2023-06-28 14:49:50 +01:00
Daniel Roe
9c8746f2a6
chore: prune internal unused code and exports () 2023-06-27 10:38:40 +01:00
Daniel Roe
12403d160f
fix(vite): emit assets referenced in inline css () 2023-06-26 13:11:12 +01:00
Daniel Roe
dd913ce0d8
fix(vite): resolve css files without importer id first () 2023-06-25 22:51:31 +01:00
Daniel Roe
343a46d5f9
fix(nuxt): inline css directly in root component () 2023-06-20 19:28:44 +01:00
Nozomu Ikuta
48c2b458a1
fix(vite): ignore and warn if vite config file exists () 2023-06-16 15:19:53 +01:00
Daniel Roe
c6a62268c3
fix(vite): invalidate templates by dst not src () 2023-06-10 18:14:58 +01:00
Lehoczky Zoltán
7ff0c2d97a
fix(schema): add more explicit types for config schema () 2023-06-08 22:50:29 +01:00
renovate[bot]
5872015be3
fix(vite): remove resolveId workaround and update vite-node ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-06-07 12:42:59 +01:00
anhao
67f2232014
fix(vite): skip generating keys for locally scoped functions () 2023-06-05 20:15:12 +01:00
Daniel Roe
05b577e550
fix(nuxt): support usage of std-env in runtime code () 2023-06-05 19:23:38 +01:00
Alexander
6163c5e32a
fix(nuxt): display errors in client overlay with typeCheck () 2023-06-05 15:58:18 +01:00
Daniel Roe
b7547c3ce1
fix(vite): narrow vite-node inline pattern () 2023-05-28 18:54:24 -05:00
Daniel Roe
c37ebab1ef
perf(nuxt): use .test and hoist regexps where possible () 2023-05-22 21:25:42 +01:00
renovate[bot]
37b4e32a6e
chore(deps): update all non-major dependencies (main) ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-05-17 22:11:45 +01:00
Daniel Roe
ebbda2cbe4
fix(vite): dedupe/optimize more vue core deps () 2023-05-14 12:56:15 +01:00
Julien Huang
90ab1b50f4
fix(nuxt): always inline styles for server/island components () 2023-05-11 23:33:17 +01:00
Daniel Roe
8cca5cc9d8
fix(vite): expand fs.allow dirs to include app files () 2023-05-10 13:45:49 +01:00
Daniel Roe
a793e7ad48
chore: type-check .mjs files () 2023-05-06 23:00:50 +01:00
Anthony Fu
1f38863c06
fix(nuxt, vite): ignore nuxt_component ssr style and isVue () 2023-05-04 17:19:03 +01:00
Anthony Fu
17ca50354b
feat(vite): introduce vite:configResolved hook () 2023-04-29 23:37:06 +01:00
Daniel Roe
0ea719776b
refactor(vite): use native isFileServingAllowed util () 2023-04-20 14:00:05 +01:00
Daniel Roe
c7be5b4ec6
refactor(nuxt): rework and use isJS and isVue utilities consistently () 2023-04-19 19:17:36 +01:00
Daniel Roe
574a5616b4
perf: remove unused deps and add implicit deps () 2023-04-19 16:45:13 +01:00
Anthony Fu
886350a27c
fix(vite): avoid serving arbitrary file in vite-node middleware () 2023-04-18 12:30:16 +01:00
Daniel Roe
d0c8e7fb4a
fix(nuxt): generate hi-res sourcemaps () 2023-04-14 18:21:08 +01:00
Daniel Roe
f366ab4eb8
chore: remove @ts-ignore and fix some issues () 2023-04-14 13:53:21 +01:00
Daniel Roe
b602b66a8e
fix(vite): set different cache dirs for client/server () 2023-04-14 13:25:33 +01:00
Daniel Roe
89ab2e522d
fix(nuxi, vite): suppress sourcemap + native fetch warnings () 2023-04-11 05:46:49 -07:00
Daniel Roe
ea4b5220a4
feat: upgrade to consola v3.x prerelease () 2023-04-08 03:16:06 -07:00
Daniel Roe
9878c5b6e4
style: enable sort-imports eslint rule () 2023-04-07 09:02:47 -07:00
Daniel Roe
fe04bf0f7b
refactor(vite): use rollup types re-exported from vite () 2023-03-31 02:56:10 -07:00
Daniel Roe
ae82d70895
fix(vite): allow extending vue config per-environment () 2023-03-29 03:59:57 -07:00
Daniel Roe
4430c664e8
fix(vite): support multiple rollup entries () 2023-03-21 14:35:51 -07:00
Daniel Roe
edaca1a299
fix(vite): allow disabling clear screen behaviour () 2023-03-09 01:19:02 -08:00
Anthony Fu
624314600d
feat(vite): use custom logger to show vite logs () 2023-03-08 03:56:41 -08:00
Daniel Roe
c2ab76d68e
perf(vite): mark more core functions as side-effect free () 2023-03-07 14:51:08 -08:00
Daniel Roe
60d07df4cc
feat(nuxt): support custom keyed composables () 2023-03-07 13:06:15 -08:00
Jakub Andrzejewski
3f1e02351d
feat(nuxi,schema): add support for setting nuxt logLevel () 2023-03-07 04:18:47 -08:00
Daniel Roe
73ade185b2 fix(vite): omit / from sourcemapIgnoreList for windows support 2023-03-03 10:35:25 +00:00
Daniel Roe
21e3e17cfa
feat(vite): add node_modules and buildDir to x_google_ignoreList () 2023-03-02 07:28:15 -08:00
Daniel Roe
d4a75240ac
feat(nuxt): add versions to runtime nuxtApp () 2023-03-01 07:08:23 -08:00
Daniel Roe
57b8ff5b6c
fix(vite): handle non-iterable noExternal option () 2023-02-27 07:13:59 -08:00
Anthony Fu
29d6094a8d
fix(vite): normalize path emitted by vite watcher () 2023-02-20 12:28:10 -08:00
renovate[bot]
6858796102
chore(deps): update all non-major dependencies (main) ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-02-17 06:05:49 -08:00
Daniel Roe
1e8b27f36c
perf(nuxt): don't include side-effects from #components () 2023-02-16 07:00:40 -08:00
Nick Williams
9dc5413cbd
fix(vite): respect isCustomElement config for jsx transform () 2023-02-16 04:45:08 -08:00
Daniel Roe
96b09ea982
feat(nuxt): add experimental app:chunkError hook and reload strategy () 2023-02-16 04:43:58 -08:00
renovate[bot]
636e494543
chore(deps): update all non-major dependencies (main) ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2023-02-15 03:13:08 -08:00
Daniel Roe
9e789c76c0 fix(vite): exclude nuxt/app from optimised deps 2023-02-14 00:36:46 +00:00
Daniel Roe
39747ce095
perf(vite): use stub entry in vite server build when ssr: false () 2023-02-06 15:25:24 -08:00
Daniel Roe
a6a2978978
fix(vite): exclude styles, not all assets () 2023-02-06 15:24:17 -08:00
Daniel Roe
03d6737089
fix(vite, webpack): omit magic keys when import of same name is detected () 2023-02-03 03:55:58 -08:00
Daniel Roe
d1a79a95a6
perf(vite): use compiled regexp for test () 2023-01-31 08:38:18 -08:00
Daniel Roe
b864fa04a7
fix(vite): ensure __publicAssetsURL set before loading assets () 2023-01-31 06:04:55 -08:00
Daniel Roe
5037dd6876
fix: use named export from defu in all places () 2023-01-30 04:09:48 -08:00
Daniel Roe
23e5f980ea
fix(vite): ensure newly created pages do not return 404 ()
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2023-01-25 04:24:58 -08:00
Daniel Roe
022c95269e
fix(vite): enable css sourcemaps in dev based on sourcemap () 2023-01-23 11:08:48 +00:00
Daniel Roe
0236a799f2
fix(vite): don't skip loading styles in hydration phase () 2023-01-21 23:15:48 +00:00
renovate[bot]
7c1712013c
chore(deps): update all non-major dependencies (main) ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2023-01-20 16:17:31 +00:00
Daniel Roe
081dc3254f chore: update internal repo/issue links to usenuxt/nuxt 2023-01-19 19:37:07 +00:00
Jose Morel
baf9d950db
feat(vite): support build.transpile as function ()
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 () 2023-01-16 16:04:16 +00:00
Daniel Roe
488479ab1b
fix(nuxt): avoid injecting url helpers into globalThis () 2023-01-14 01:27:06 +00:00
renovate[bot]
0b1cdcc70d
chore(deps): update devdependency @nuxtjs/eslint-config-typescript to v12 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-01-14 01:13:48 +00:00
Anthony Fu
076b5e96a5
fix(vite): defer to nitro to copy public dir () 2023-01-10 11:51:53 +00:00
Anthony Fu
faf260757c
feat(vite): display production build stats () 2022-12-19 12:57:08 +01:00
Anthony Fu
30c4a599d2
refactor(vite): show log when client build is starting () 2022-12-16 11:47:12 +00:00
Daniel Roe
5afcaca98f
feat(vite): upgrade to vite 4 () 2022-12-12 15:22:04 +00:00
Daniel Roe
6d0c49101f
style: split out type imports 2022-12-12 12:28:49 +00:00
Daniel Roe
050c6dfd8a
fix(vite): skip _only_ vite transform middleware () 2022-12-12 12:45:16 +01:00
Daniil Chudo
ab2456c295
refactor: split out type imports from value imports () 2022-12-11 21:44:52 +00:00
Daniel Roe
52421a9354
fix(nuxt): defer render-blocking prefetches until after load () 2022-12-02 16:13:35 +00:00
renovate[bot]
6082135c97
chore(deps): update all non-major dependencies ()
* chore(deps): update all non-major dependencies

* fix ts issue

* fix fallback

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-11-16 01:02:13 +01:00
pooya parsa
b49f2a8147
refactor: update unjs dependencies to stable v1 () 2022-11-15 15:33:43 +01:00
pooya parsa
4a779460a5
fix(vite): add extend layers to fs.allow () 2022-11-15 11:53:32 +01:00
Daniel Roe
cda498b070
fix(nuxt): do not inline global styles in html response () 2022-11-03 20:17:43 +01:00
Daniel Roe
491d02f6ca
fix(nuxt)!: use parser to generate page metadata () 2022-11-02 11:28:41 +01:00
Daniel Roe
f485c143f5
fix(nuxt): check before appending comma in composable keys () 2022-11-02 11:15:33 +01:00
Anthony Fu
b719f1bb21
fix(vite): handle all vite middleware routes () 2022-11-02 10:05:17 +01:00
pooya parsa
265db50515
refactor(nuxt)!: cleanup schema and split nuxt 2 types () 2022-10-27 12:36:37 +02:00
Daniel Roe
4536242245
fix(vite): invalidate virtual modules with vite-node () 2022-10-24 10:32:49 +02:00
Daniel Roe
cfaa46201a
fix(nuxt): lazy-load entry CSS () 2022-10-18 18:13:50 +02:00
pooya parsa
895ecc7677
feat!: upgrade to nitropack@0.6 and h3@0.8 () 2022-10-15 20:42:57 +02:00
Daniel Roe
ed1c704835
fix(vite): prevent overlap between vite assets and app routes () 2022-10-11 06:26:38 +01:00
Daniel Roe
d25dafef49
fix(vite): add type-checker to client build for ssr: false ()
Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
2022-10-03 15:37:36 +02:00
pooya parsa
720da64b12
fix(nuxi, vite): support https with custom domain and hmr () 2022-09-20 12:54:52 +02:00
Daniel Roe
42cf48e45d
fix(vite, webpack): handle auto keys for composables without args () 2022-09-19 16:45:28 +02:00
Daniel Roe
f536bf5548
fix(vite, webpack): avoid generating keys where a key is already provided () 2022-09-19 11:34:42 +02:00
pooya parsa
57a8a8694a
fix(vite-node): include importer in error stack () 2022-09-19 11:28:38 +02:00
pooya parsa
abd0feb368
fix(vite): respect ctx.nuxt.options.modulesDir for resolving externals with vite-node () 2022-09-17 00:29:41 +02:00
Daniel Roe
5bc654495a
fix(vite): include id and stack in vite-node fallback error handler ()
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-09-16 20:12:52 +02:00
pooya parsa
cfaca9c5c7
fix(vite): normalize vite-node error data from server () 2022-09-16 19:43:35 +02:00