Commit Graph

1899 Commits

Author SHA1 Message Date
Daniel Roe 6f8b7a9043
feat(kit): add `addLayout` (#5537) 2022-06-27 13:47:54 +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
Daniel Roe e38de4af4d
fix(vite): disable hmr in build (#5505) 2022-06-22 20:07:54 +02:00
renovate[bot] 8f98f60032
chore(deps): update all non-major dependencies (#5541)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-22 20:04:32 +02:00
Daniel Roe 308148977d
feat(kit): support client and server flags for `addVitePlugin` (#5560) 2022-06-22 19:29:51 +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
renovate[bot] cc72796a1c
chore(deps): update dependency rollup to ^2.75.7 (#5530)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-20 10:44:27 +02:00
renovate[bot] 9f81d478cd
chore(deps): update all non-major dependencies (#5502)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-20 10:21:04 +02:00
renovate[bot] 9be0be2d68
chore(deps): update dependency mlly to ^0.5.3 (#5496)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-16 18:18:09 +02:00
renovate[bot] 8278fa5825
chore(deps): update all non-major dependencies (#5475)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-16 12:26:34 +02:00
Daniel Roe cf255259ca
fix(vite): add typecheck to vite plugins (#5464) 2022-06-15 17:18:45 +02:00
Daniel Roe d7d97cd7d1
fix(nuxt): prefer nuxt app context over `getCurrentInstance` (#5456) 2022-06-15 14:00:34 +02:00
renovate[bot] 2fa0248cab
chore(deps): update all non-major dependencies (#5473)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-15 13:59:47 +02:00
Julien Huang ccec0a3738
feat(kit): allow `addServerHandler` to use method suffix of the file path (#5465) 2022-06-15 13:53:31 +02:00
Daniel Roe e10517d4d7
fix(nuxt): normalize string transpile paths for windows (#5461)
* fix(nuxt): normalize string transpile paths for windows

* Update packages/nuxt/src/core/nuxt.ts

Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-06-15 13:52:46 +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
renovate[bot] be0e502a05
chore(deps): update all non-major dependencies (#5444)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-13 16:27:00 +02:00
pooya parsa c9d4b2ebc8
v3.0.0-rc.4 (#5393) 2022-06-13 16:19:31 +02:00
renovate[bot] c0a7d5ab93
chore(deps): update all non-major dependencies (#5442)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-13 15:03:52 +02:00
Daniel Roe 4fdea30cbb
fix(webpack): enable `extractCSS` by default (#4388) 2022-06-13 14:52:27 +02:00
renovate[bot] 99aff28d06
chore(deps): update all non-major dependencies (#5431)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-13 00:41:53 +02:00
Ennio Visconti 9d28c0adbb
refactor(nuxi): improve env update message (#5430) 2022-06-13 00:13:59 +02:00
Jaemin Choi 95b38e241d
fix(nuxt): don't add macro query to the end of id (#5413)
* fix(nuxt): don't add macro query to the end of id

* Update packages/nuxt/src/pages/macros.ts

Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-06-12 23:46:31 +02:00
Daniel Roe a9c061cd2e
fix(nuxi): always override `NODE_ENV` (#5417) 2022-06-12 23:26:36 +02:00
Daniel Roe 0f4fa5643f
fix(nuxt): ignore whitespace and commas within `resolveComponent` (#5428) 2022-06-12 23:22:15 +02:00
Daniel Roe 59da4c6dd4
fix(nuxt): exclude non-cwd auto-imports and don't process all files (#5421) 2022-06-12 22:12:43 +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 8831e4a4b9
fix(vite): don't terminate with escaped delimiters (#5409) 2022-06-10 17:17:11 +02:00
Daniel Roe fbcbac01d6
fix(nuxt): don't debounce watcher and include layers (#5002) 2022-06-10 16:50:47 +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] 63b0457a69
chore(deps): update all non-major dependencies (#5404)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-10 15:49:47 +02:00
Daniel Roe f6bf4f7559
fix(nuxt): throw an error when using unknown route middleware (#5323) 2022-06-10 15:35:58 +02:00
Daniel Roe 846be5cee2
fix(nuxt): transform extends layers within `node_modules` (#5042) 2022-06-10 15:33:16 +02:00
Daniel Roe 5d4586a322
fix(webpack): respect `build.transpile` (#5043) 2022-06-10 15:18:31 +02:00
Daniel Roe 970758e050
revert(nuxt): revert router hotfix #4983 (#5394) 2022-06-10 15:15:53 +02:00
Daniel Roe 93f6a1e4ca
fix(vite, kit, nuxt): generate safe variable names using knitwork (#4906) 2022-06-10 15:12:21 +02:00
Daniel Roe 6947d30f01
fix(kit): pass resolved path to `isIgnored` (#5375) 2022-06-10 14:28:48 +02:00
Anthony Fu fadffbe80c
chore: clean up jsdoc (#5397) 2022-06-10 14:14:03 +02:00
renovate[bot] 3fb473dcc0
chore(deps): update dependency vue-bundle-renderer to ^0.3.9 (#5401)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-10 14:13:42 +02:00
renovate[bot] b01d6b9dcb
chore(deps): update all non-major dependencies (#5391)
* chore(deps): update all non-major dependencies

* update lockfile

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-06-10 14:09:43 +02:00
renovate[bot] 6e80027c77
chore(deps): update all non-major dependencies (#5383)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-10 10:28:59 +02:00
Daniel Roe 27a0084b6c
fix(nuxt): keep route param optionality when sibling is an index (#5300) 2022-06-09 15:03:08 +02:00
Daniel Roe b31186b658
fix(nuxt): sort routes with dynamic params at the end (#4983) 2022-06-09 14:09:34 +02:00
Anthony Fu a802b87ac7
feat(nuxt): support auto imports within `<template>` (#4904) 2022-06-08 22:09:31 +02:00
Daniel Roe 247deacc2b
fix(nuxt): relax server import protections (#5355)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-06-08 21:51:38 +02:00
renovate[bot] a3f8eca665
chore(deps): update all non-major dependencies (#5358)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-08 21:49:23 +02:00
Xin Du (Clark) 139fc11c5a
refactor: fix typo and code improvements (#5344) 2022-06-08 21:49:11 +02:00
Anthony Fu eafd92c457
fix(types): tidy types for `useAsyncData` (#5340) 2022-06-08 21:45:12 +02:00
Daniel Roe 822928b07e
fix(nuxt): add `ssrContext` types on `NuxtApp` (#5333) 2022-06-08 21:37:50 +02:00
renovate[bot] 700b7adbc6
chore(deps): update dependency pify to v6 (#5313)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-08 21:27:37 +02:00
renovate[bot] f5dca6245d
chore(deps): update all non-major dependencies (#5287)
* chore(deps): update all non-major dependencies

* chore: dedupe dependencies

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-06-08 21:12:48 +02:00
renovate[bot] 603f07c3b8
chore(deps): update devdependency colorette to ^2.0.17 (#5285)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-03 18:18:08 +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
Daniel Roe eb12c7a845
fix(nuxt): support `RouterView` props in `NuxtPage` (#5272) 2022-06-03 16:01:46 +02:00
Harlan Wilton c1f728ee54
refactor(nuxi): provide better advice on failing clone (#5155) 2022-06-01 08:43:24 +02:00
Daniel Roe baf2baadb6
refactor(vite, webpack, test-utils): use caret range for `vue` peer dependency (#5190) 2022-06-01 00:36:15 +02:00
Daniel Roe 1fda73267a
fix(nuxt): respect `navigateTo` options using server middleware in server-side (#5145) 2022-06-01 00:09:32 +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
Anthony Fu fca2ed7cc5
fix(nuxt): default statusCode of `navigateTo` from `301` to `302` (#5173)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-05-31 23:28:52 +02:00
Daniel Roe 9adecac0b7
fix(nuxt): add default empty title to trigger `titleTemplate` (#5064) 2022-05-20 16:43:07 +02:00
Daniel Roe a4a3cffb92
fix(nuxt): allow passing extraneous attrs to meta components (#5071) 2022-05-20 16:42:19 +02:00
renovate[bot] d9b6c8a59b
chore(deps): update all non-major dependencies (#5073)
* 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-20 13:54:19 +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
renovate[bot] 8e59a623b8
chore(deps): update dependency postcss-loader to v7 (#5047)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-20 11:17:10 +02:00
renovate[bot] 80fbd663f4
chore(deps): update dependency css-minimizer-webpack-plugin to v4 (#5051)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-20 11:16:59 +02:00
Julien Huang 4e53af3e99
fix(nuxt): fix router redirection on aliased pages (#4982) 2022-05-20 11:15:57 +02:00
renovate[bot] 733c293901
chore(deps): update all non-major dependencies (#4973)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-20 11:13:19 +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
Daniel Roe cd37a21c2e
fix(test-utils): hardcode ipv4 ip for localhost (#4998) 2022-05-17 09:40:35 +08:00
Jeremy Ye bd80d27a49
fix(vite): add `file://` protocol to `vite-node` entry file path (#4966) 2022-05-13 13:00:14 +02:00
Daniel Roe 2886dfdaea
fix(nuxi): only reload for top level dirs (#4912) 2022-05-13 12:59:04 +02:00
Daniel Roe 17f9c54a79
feat(vite): replace `global` with `globalThis` (#4958) 2022-05-13 12:49:30 +02:00
renovate[bot] 8767b7e3e1
chore(deps): update all non-major dependencies (#4964)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-13 12:29:02 +02:00
Daniel Roe 46c656c4b8
fix(nuxt): check for 404s after user middleware (#4913) 2022-05-12 11:13:38 +02:00
renovate[bot] 0475d475d9
chore(deps): update all non-major dependencies (#4950)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-12 11:12:34 +02:00
renovate[bot] 33fb75ff7c
chore(deps): update all non-major dependencies (#4934)
* 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-12 11:10:32 +02:00
Daniel Roe cad4edd5a3
fix(nuxt): respect baseurl when redirecting (and universal router) (#4933)
* fix(nuxt): respect baseurl when redirecting (and universal router)

* test: add test case for redirect
2022-05-11 19:33:29 +02:00
renovate[bot] 7e89fe8f6c
chore(deps): update all non-major dependencies (#4914)
* chore(deps): update all non-major dependencies

* update lock

* fix: update types

* fix: update error type

* test: update useFetch url

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-05-11 14:32:05 +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 a58178c4fd
refactor(nuxt): cleanup renderer entry (#4853) 2022-05-06 17:34:21 +02:00
Dario Merz 31c67ad9b4
fix(vite): ignore virtual imports that aren't in vfs (#4822)
Co-authored-by: Dario Merz <dario.merz@deptagency.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-05-06 15:33:32 +02:00
Jalil Wahdatehagh 5816fee892 fix(nuxt): add missing import to client only wrapper (#4851) 2022-05-06 15:32:29 +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
renovate[bot] a5ba1df37a
chore(deps): update all non-major dependencies to ^0.10.5 (#4846)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-06 15:25:00 +02:00
pooya parsa f67deed037
feat(nuxt)!: upgrade `nitropack` to `0.4.x` (#4837) 2022-05-06 15:03:38 +02:00
Anthony Fu a862a67c80
feat(auto-import): custom include option (#4834) 2022-05-06 13:11:34 +02:00
Daniel Roe 87c62513fa
fix(nuxt): await asyncData if `ssr: false` (#4791) 2022-05-06 13:04:01 +02:00
Daniel Roe b29f635646
fix(nuxt): normalise window location for universal router (#4841) 2022-05-06 13:02:35 +02:00
Daniel Roe 750460693e
fix(nuxt): check if default slot is provided before calling it (#4842) 2022-05-06 12:52:08 +02:00
Daniel Roe 4079882bd4
fix(vite): use `buildAssetsURL` for dynamic imports (#4844) 2022-05-06 12:51:31 +02:00
Daniel Roe 27d67360e4
fix(nuxt): clear errors after navigation (#4839) 2022-05-06 12:50:54 +02:00
Pooya Parsa 3e579825c5 build(nuxt): revert nitropack to ^0.3.x
needs manual upgrade
2022-05-06 10:50:28 +02:00
Julien Huang 6b1671181e
fix(nuxt) : add default value for `nitro.rollupConfig.plugins` (#4830) 2022-05-06 10:33:56 +02:00
renovate[bot] 2cc336d3a3
chore(deps): update all non-major dependencies (#4828)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-05 23:45:37 +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
pooya parsa ebc27ce997
fix(nuxt): ensure url is not empty string (#4781) 2022-05-05 22:46:54 +02:00
renovate[bot] 5b63ae8ad5
chore(deps): update dependency vue-router to ^4.0.15 (#4792)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-04 11:23:37 +02:00
renovate[bot] 2c5c7d2bf1
chore(deps): update all non-major dependencies to ^0.10.2 (#4774)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-03 21:31:11 +02:00
Daniel Roe 8962cb7ef4
fix(schema): exclude `vite` from `DeepPartial` (#4772) 2022-05-03 11:56:59 +02:00
Daniel Roe f74a523f13
fix(nuxt): use `router.resolve` to resolve initial url (#4770) 2022-05-03 11:31:58 +02:00
renovate[bot] 686bd84d58
chore(deps): update all non-major dependencies to ^0.10.1 (#4764)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-02 23:02:51 +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] 764b7860c5
chore(deps): update all non-major dependencies (#4756)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-02 18:35:53 +02:00
Max Heilmann ffb9f71312
fix(nuxt): preserve `error.data` in response (#4755) 2022-05-02 18:34:16 +02:00
Daniel Roe 4826918ed0
fix(nuxt): process middleware after plugins (#4645) 2022-05-02 12:00:08 +02:00
renovate[bot] 51ebfd3521
chore(deps): update all non-major dependencies (#4721)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-02 10:47:20 +02:00
Max Programming 22954d08ca
fix(nuxi): improve `nuxi init` output (#4612)
* Prevent redundant cd statement

* some more improvements

Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-04-29 21:03:46 +02:00
Alex Liu eb903bd66e
fix(nuxt3): improve error types for `useAsyncData` and `useFetch` (#4210)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-04-29 20:42:22 +02:00
Daniel Roe 2a3fbb4c24
fix(nuxt): mark config head as non-reactive (#4666) 2022-04-29 20:12:54 +02:00
renovate[bot] 773c565fef
chore(deps): update dependency @babel/core to ^7.17.10 (#4719)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-29 20:09:27 +02:00
renovate[bot] 68384b58f4
chore(deps): update dependency h3 to ^0.7.6 (#4716)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-29 20:07:54 +02:00
Anthony Fu 256df28124
chore: enable typecheck ci for packages (#4664) 2022-04-29 11:38:22 +02:00
Daniel Roe ab3971d302
fix(nuxt): use suspense for child pages on client-side navigation (#4677) 2022-04-29 11:37:49 +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
Ben Sheedy cb42d3e6ad
fix(nuxi): typo in init message (#4685) 2022-04-29 10:53:58 +02:00
Daniel Roe 59a8d43a8f
fix(schema): decrease recursion on `DeepPartial` (#4695) 2022-04-29 10:50:19 +02:00
Daniel Roe 7e912e7bf4
fix(nuxt): warn to provide a key for `useFetch` with `transform` option (#4590) 2022-04-27 18:19:10 +02:00
renovate[bot] 66de7e6c20
chore(deps): update all non-major dependencies (#4671)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-27 18:17:17 +02:00
Daniel Roe 2bfd749c24
feat(pages)!: explicitly allow optional params with `[[` (#4537) 2022-04-26 18:10:05 +02:00
renovate[bot] d2632e8d7c
chore(deps): update dependency @nuxt/telemetry to ^2.1.3 (#4633)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-26 18:06:36 +02:00
renovate[bot] 4046c30577
chore(deps): update dependency vite to ^2.9.6 (#4631)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-26 18:04:01 +02:00
Anthony Fu eb4b8c4c9d
fix(nuxt): cleanup auto imports on regenerate (#4626) 2022-04-26 17:52:39 +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 2d202b59e3
fix(nuxi): don't strip file extensions from dirs in `tsconfig` (#4595) 2022-04-25 19:07:01 +02:00
Daniel Roe b8d2e64c78
fix(vite): don't match across newlines (#4596) 2022-04-25 18:55:33 +02:00
renovate[bot] 4ca940d29a
chore(deps): update all non-major dependencies (#4589)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-25 18:32:41 +02:00
renovate[bot] cc466f9585
chore(deps): update all non-major dependencies (#4583)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-25 11:42:20 +02:00
renovate[bot] 5906c6f95f
chore(deps): update all non-major dependencies (#4545)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-25 11:32:54 +02:00
Anthony Fu 46ecbc558d
fix(nuxt): await for `router.push` on ssr (#4491) 2022-04-22 17:37:52 +02:00
Daniel Roe 650d12fa9c
feat: allow disabling sourcemap generation (#4509) 2022-04-22 17:35:42 +02:00
Daniel Roe 4c6c027014
fix(vite): use single regex to reduce risk of collisions (#4442) 2022-04-22 17:22:22 +02:00
renovate[bot] 163b74f3f6
chore(deps): update all non-major dependencies (#4483)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-22 17:08:58 +02:00
Daniel Roe 648a70e97b
fix(vite): transform virtual templates (#4512) 2022-04-22 10:32:26 +02:00
Pooya Parsa 0c2f076957 chore(release): v3.0.0-rc.1 2022-04-20 23:09:37 +02:00
Daniel Roe 78fcbcf16f
fix(nuxt3): respect custom public dir in layers (#4477) 2022-04-20 22:07:01 +02:00
pooya parsa 975ec0c417
chore(nuxi): add notice for generate deployment (#4474) 2022-04-20 21:22:59 +02:00
pooya parsa 3c3291226d
fix(nuxt): skip server build with generate (#4472) 2022-04-20 21:12:04 +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 9df0a2b036
fix(nuxi): use `rc` tag for upgrade command of nuxt (#4468) 2022-04-20 20:36:26 +02:00
pooya parsa 13a386da90
feat(nuxt): enable nuxt telemetry (#4467) 2022-04-20 20:25:09 +02:00
Sébastien Chopin 4c19b2652f
fix(nuxi): don't kill analyze command (#4462) 2022-04-20 16:47:43 +02:00
Daniel Roe d0ae5851e4
fix(nuxt): return 404 if hitting `404.vue` (#4460)
* fix(nuxt): return 404 if hitting `404.vue`

* docs: add info about `pages/404.vue`
2022-04-20 16:24:08 +02:00
Daniel Roe 7b091abcea
fix(nuxt3): default client-side fetch to use baseURL (#4456) 2022-04-20 14:35:33 +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 fc8bcdb250 fix(kit): update schema dependency 2022-04-20 12:59:41 +02:00
Pooya Parsa 5f0fc19938 chore: update packages to 3.0.0-rc.0 2022-04-20 12:52:12 +02:00
Pooya Parsa e006c5605b fix(kit): try canonical package name for edge release 2022-04-20 12:35:09 +02:00
Daniel Roe d469c9a6d7
fix(nuxt3): don't rely on auto-imports for `defineAsyncComponent` (#4454) 2022-04-20 12:20:49 +02:00
pooya parsa 24923db992
chore: update and cleanup workspace (#4450)
* fix(test-utils): resolve nuxi locally
2022-04-20 12:19:30 +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 eed7036627
fix(nuxi): strip extensions from absolute paths (for types) (#4300) 2022-04-19 21:14:39 +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 ea47e56540
fix(nuxt3): improve redirect lifecycle (#4430)
* fix(nuxt3): improve redirect lifecycle

* fix: check against existing cookie value in header
2022-04-19 21:13:11 +02:00
Daniel Roe 71b808c8e9
fix(schema): use entire object for `app` properties (#4431) 2022-04-19 21:12:28 +02:00
renovate[bot] b30d8ad1f8
chore(deps): update all non-major dependencies (#4435)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-19 21:12:13 +02:00
pooya parsa 756693ce7f
feat!: migrate to nitro 0.3x (#4438) 2022-04-19 21:10:32 +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
Daniel Roe 90da56a03b
fix(nuxt3): initialize router with normalized url (#4427) 2022-04-19 16:37:08 +02:00
Daniel Roe 7a316c289a
fix(nuxt3): include route children in parent suspense (#4422) 2022-04-19 10:38:57 +02:00
pooya parsa ce38dcba1c
fix(nuxt3): always generate `/` route (#4421) 2022-04-19 10:17:41 +02:00
pooya parsa 0b8eeaf40f
build: update nuxt ui to ^0.1.0 (#4420) 2022-04-19 10:06:21 +02:00
renovate[bot] 77445c87e8
chore(deps): update all non-major dependencies (#4414)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-19 09:30:07 +02:00
renovate[bot] 59ba87ee83
chore(deps): update all non-major dependencies (#4395)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-17 11:58:21 +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
pooya parsa 83d27bd158
feat: enable hybrid rendering for `nuxi build` (#4373) 2022-04-15 18:31:19 +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
renovate[bot] 450b6db234
chore(deps): update dependency nitropack to ^0.2.11 (#4377)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-15 17:01:21 +02:00
Daniel Roe 301a0aba49
build(vite): don't inline `h3` (#4378) 2022-04-15 17:01:09 +02:00
Daniel Roe 7fb29b3a6e
fix(webpack): add css, sass, scss to asset patterns to transpile (#4375) 2022-04-15 12:58:22 +02:00
Anthony Fu 51ae426d4c
fix(vite): dev bundler for cjs support (#4371) 2022-04-15 09:57:36 +02:00
renovate[bot] 2917af595b
chore(deps): update all non-major dependencies (#4367)
* chore(deps): update all non-major dependencies

* ignore type issue

* update lockfile

* remove tsignore

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-04-15 09:57:23 +02:00
Anthony Fu 074daa767c
fix(vite): interop cjs (#4370) 2022-04-15 09:40:40 +02:00
Daniel Roe 14d9e8e4ae
fix(nuxt3): directly emit `document.template.mjs` (#4360) 2022-04-15 09:39:16 +02:00
renovate[bot] eefaba8160
chore(deps): update dependency vite to ^2.9.5 (#4363)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-14 18:00:38 +02:00
renovate[bot] 4b54d6c6a8
chore(deps): update all non-major dependencies (#4353)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-14 17:28:04 +02:00
Daniel Roe 5dae097318
docs: update webpack code examples (#4355) 2022-04-14 17:27:53 +02:00
Daniel Roe 5fef9e8db2 fix(nuxt3): ensure import names are unique 2022-04-14 15:58:05 +01:00
renovate[bot] 41663f6264
chore(deps): update all non-major dependencies (#4340)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-14 10:54:15 +02:00
Daniel Roe 32c798cfc4
fix(nuxi): call listen hook on each restart (#4346) 2022-04-14 10:39:27 +02:00
pooya parsa c519ceec52
fix(cli): disable cjs bridge (#4336) 2022-04-13 20:54:20 +02:00
Daniel Roe ee93659147
feat(nuxt3): allow providing a ref as default value (#4326) 2022-04-13 19:41:41 +02:00
renovate[bot] be298e9216
chore(deps): update dependency vite to ^2.9.3 (#4335)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-13 19:39:33 +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
pooya parsa f91f987401
chore: move bridge to `nuxt/bridge` (#4305) 2022-04-13 13:43:42 +02:00
renovate[bot] 70610d8858
chore(deps): update dependency enhanced-resolve to ^5.9.3 (#4321)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-13 12:08:12 +02:00
Anthony Fu 59593a05ca
fix(deps): upgrade @vueuse/head (#4320) 2022-04-13 11:24:45 +02:00