Commit Graph

2101 Commits

Author SHA1 Message Date
renovate[bot] 2376697cfd
chore(deps): update all non-major dependencies (#7219)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-04 16:40:18 +02:00
HomWang 1fc34e6c06 chore: lint (#7213) 2022-09-04 10:31:57 +02:00
pooya parsa ac56ce7dd1
feat(nuxt): router with hash mode (#6980) 2022-09-04 10:11:28 +02:00
Daniel Roe 720506d263
feat(nuxt): custom `history` and `routes` for `app/router.options.ts` (#7129)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-09-04 09:42:47 +02:00
renovate[bot] 0180a33abc
chore(deps): update all non-major dependencies (#7208)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-04 08:52:26 +02:00
renovate[bot] 215833a257
chore(deps): update dependency @nuxt/telemetry to ^2.1.5 (#7203)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-03 19:15:12 +02:00
renovate[bot] 6b999d63ef
chore(deps): update dependency h3 to ^0.7.21 (#7202)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-03 19:11:34 +02:00
AndreyYolkin b97cc27469
fix(kit, nuxi): semver regexp to support `nuxt-edge` current releases (bridge) (#7193) 2022-09-03 15:08:23 +02:00
Daniel Roe de62520990
feat(nuxt, vite): inline global and component styles in server response (#7160)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-09-03 15:03:30 +02:00
Harlan Wilton fe3fc34b12
fix(head): case `http-equiv` correctly (#7190) 2022-09-03 14:31:09 +02:00
Damian Głowala 3e9f1efb1e
fix(nuxt): update default redirect code of `navigateTo` to `302 Found` (#7189) 2022-09-03 14:30:03 +02:00
pooya parsa 9caa9ca31f
v3.0.0-rc.9 (#6970) 2022-09-03 12:36:47 +02:00
Pooya Parsa ee20a00f65 chore: fix typo in deprecation messages 2022-09-03 12:35:16 +02:00
renovate[bot] 386407ec84
chore(deps): update all non-major dependencies (#7161) 2022-09-03 12:03:06 +02:00
Anthony Fu 537338f116
fix(nuxt): pass and format vite-node build errors (#6683)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-09-03 12:02:14 +02:00
pooya parsa abd5dc58c9
fix: improve `autoImports` deprecation dx (#7158) 2022-09-02 15:42:46 +02:00
pooya parsa 9eb95e2371
build(nuxt): update nitropack to `0.5.x` (#7141) 2022-09-01 18:57:10 +02:00
pooya parsa 62e38cd7e5
fix(nuxi): fix version search path (#7133) 2022-09-01 12:56:18 +02:00
pooya parsa 68d12b468b
feat: allow extending with `theme` config (#7131) 2022-09-01 12:05:02 +02:00
pooya parsa 2d30a1db8b
feat(nuxi): display nuxt and nitro versions for dev and build commands (#7118) 2022-09-01 11:34:56 +02:00
Daniel Roe 6fbbf8c5bc
refactor(nuxt): remove unused `meta:register` hook (#7130) 2022-09-01 11:08:56 +02:00
HomWang cafc955fb8
docs: add explanatory comment before universal router stubs (#7124)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-09-01 11:07:44 +02:00
Daniel Roe d7b2d32b5e
chore(nuxt): prevent error page rendering a null error (#7119) 2022-08-31 22:19:28 +02:00
pooya parsa 0339a23372
fix(kit)!: handle prerelease constraint (#7116) 2022-08-31 21:18:05 +02:00
renovate[bot] e38e1de740
refactor: apply lints from `@nuxtjs/eslint-config-typescript` v11 (#7114)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-08-31 20:34:17 +02:00
Lay d50b01e348
fix(schema): sync types of vite v3.x (#7104)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-08-31 20:21:58 +02:00
renovate[bot] 09c609ed54
chore(deps): update dependency rollup to ^2.79.0 (#7098) 2022-08-31 14:53:57 +02:00
Daniel Roe b90d286631
feat(nuxt): add `setPageLayout` utility (#6826) (#7075)
Co-authored-by: HomWang <516310460@qq.com>
2022-08-31 10:02:48 +02:00
renovate[bot] c92b6a01bb
chore(deps): update dependency postcss-import to v15 (#7090)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-31 09:42:32 +02:00
renovate[bot] 483759b0bb
chore(deps): update dependency unenv to ^0.6.2 (#7073)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-30 16:43:05 +02:00
Daniel Roe a520185442
perf(nuxt): don't prefetch all global components (#7069) 2022-08-30 16:41:11 +02:00
Daniel Roe fd6d1d4fbe
fix(vite): sanitize client asset chunk names (#7067) 2022-08-30 15:13:23 +02:00
pooya parsa afc9d9bfc8
perf(nuxt): tree-shake asyncData client logic from server (#7056)
Co-authored-by: Ohb00 <43827372+OhB00@users.noreply.github.com>
2022-08-30 12:48:26 +02:00
pooya parsa 5a17458af5
fix(nuxt): use shared state for asyncData (#7055)
Co-authored-by: Ohb00 <43827372+OhB00@users.noreply.github.com>
2022-08-30 12:34:09 +02:00
renovate[bot] aece2cd3c2
chore(deps): update dependency h3 to ^0.7.17 (#7049)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-30 11:02:40 +02:00
renovate[bot] 857ca56cc5
chore(deps): update all non-major dependencies (#7048)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-30 10:59:32 +02:00
renovate[bot] c4b5013874
chore(deps): update dependency esbuild to ^0.15.6 (#7043)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-30 10:38:02 +02:00
renovate[bot] 426b5af5ac
chore(deps): update dependency unctx to ^2.0.2 (#7032)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-29 15:30:33 +02:00
Daniel Roe 75053c29c2
style(schema): lint (#7025) 2022-08-29 12:42:05 +02:00
Daniel Roe 2d071eb48c
docs(schema): update prefix for runtime config env variables (#6999) 2022-08-29 11:47:02 +02:00
Daniel Roe 33d82b65ef
fix(kit): sort aliases before resolving (#7018) 2022-08-29 11:45:29 +02:00
Daniel Roe af2835fa7f
fix(vite): remove client `manifest.json` from public dir (#7021) 2022-08-29 11:37:53 +02:00
renovate[bot] 25ef26c38d
chore(deps): update all non-major dependencies (#6978)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-27 14:42:24 +02:00
Anthony Fu 9db2229f70
refactor: enable strict type checking everywhere (#6943) 2022-08-26 17:47:29 +02:00
Pooya Parsa 80875b7960 chore: fix type check
csp is not boolean but typed as boolean. we need to fix schema.
2022-08-26 13:03:48 +02:00
renovate[bot] a64c056890
chore(deps): update all non-major dependencies (#6960)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-26 12:26:47 +02:00
Louis Haftmann 1e5aa85062
chore(nuxt): fix typo (#6971) 2022-08-26 12:09:29 +02:00
renovate[bot] 44d4531780
chore(deps): update all non-major dependencies (#6913)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-25 09:15:47 +02:00
Daniel Roe 403e0e6e6d
fix(nuxt): lazy composables shouldn't block setup in `ssr: false` (#6901) 2022-08-24 21:05:28 +02:00
Yaël Guilloux 1700bf822e
feat(nuxt): `app.config` improvements (#6905) 2022-08-24 18:35:02 +02:00
Alexander Lichter a4dfe232f0
feat(nuxt): `navigateTo` supports external redirects (#5022)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-08-24 18:04:56 +02:00
Anthony Fu 856c2a6fbd
feat(nuxt): `imports.autoImport` option to disable auto-imports (#6768) 2022-08-24 10:44:38 +02:00
Alex Kozack 422d5c4fb5
fix(nuxi): build all types on typecheck command (#5437) 2022-08-23 23:04:26 +02:00
renovate[bot] 1347f4b5a0
chore(deps): update all non-major dependencies (#6885)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-23 23:01:41 +02:00
pooya parsa b836e17078
chore(deps): update hookable to `2.x` (#6883) 2022-08-23 22:47:07 +02:00
Conrawl Rogers 5ef135650f
feat(nuxi): support mode flags for `add` command (#3921)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-08-23 22:44:25 +02:00
Daniel Roe f3499d788a
feat(nuxt): allow programmatically prefetching global components (#6661)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-08-23 21:12:22 +02:00
renovate[bot] 91b4e6c4ef
chore(deps): update dependency h3 to ^0.7.16 (#6873)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-23 16:24:35 +02:00
Daniel Roe fc82b3b340
feat(nuxt): config options for default keepalive, page & layout transitions (#5859) 2022-08-23 16:24:20 +02:00
Anthony Fu fd94351ee9
refactor(nuxt)!: rename `autoImports` to `imports` (#6864)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-08-23 16:22:11 +02:00
Daniel Roe 45f39be4fa
fix(nuxt): pass analyze options through to nitro (#6871) 2022-08-23 15:54:39 +02:00
Daniel Roe 51dc73628c
feat!(schema): enable external vue by default (#6868) 2022-08-23 13:35:00 +02:00
Daniel Roe cfb7e59171
feat(nuxt): add warning in dev mode if layouts/pages do not have a single root node (#5469) 2022-08-23 12:25:48 +02:00
Daniel Roe aab90efc19
fix(nuxt): throw hard error on initial spa load if aborted (#6857) 2022-08-23 10:42:54 +02:00
renovate[bot] 347df12e9a
chore(deps): update dependency @babel/core to ^7.18.13 (#6848)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-22 18:28:44 +02:00
TheColaber 9f1ecd14c4
feat(nuxt): allow `getRouteFromPath` to use objects (#5900) 2022-08-22 18:08:43 +02:00
renovate[bot] ede727d1ba
chore(deps): update dependency vue-router to ^4.1.4 (#6844)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-22 16:44:21 +02:00
Anthony Fu e1e39b7e79
refactor(nuxt, kit): improve type strictness (#6685) 2022-08-22 12:12:02 +02:00
renovate[bot] cdc75373d4
chore(deps): update dependency mlly to ^0.5.14 (#6830)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-22 11:25:19 +02:00
renovate[bot] c71dd082cd
chore(deps): update dependency webpack-bundle-analyzer to ^4.6.1 (#6829)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-22 11:17:47 +02:00
pooya parsa 3b2b22e384
fix(nuxt): use deep assignment for app.config hmr (#6788) 2022-08-22 11:14:25 +02:00
renovate[bot] 7e2fbcfb1d
chore(deps): update all non-major dependencies (#6785)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-22 10:50:29 +02:00
Daniel Roe 80abca9d2a
fix(nuxt): ensure component helper methods do not create side-effects (#6789) 2022-08-22 10:50:11 +02:00
renovate[bot] d3ccb79920
chore(deps): update dependency rollup to ^2.78.1 (#6765)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-19 10:44:20 +02:00
Pooya Parsa ad63817522 build: update `unbuild` and `pkg-types`
resolves #6749
2022-08-19 01:04:19 +02:00
renovate[bot] aeeeef5b95
chore(deps): update all non-major dependencies (#6746)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-18 14:12:07 +02:00
Daniel Roe faf00f526f
fix(vite): dedupe `vue` in client bundle (#6735) 2022-08-18 10:06:37 +02:00
Anthony Fu 43e6c0295f
fix(vite): improve `vite-node` module invalidation (#6736) 2022-08-18 10:05:37 +02:00
Julien Huang c688e1898c
fix(nuxt): pass params to client-only slot (#6584) 2022-08-17 17:26:51 +02:00
pooya parsa 94f76ea930
feat(nuxt): `app.config` with hmr and reactivity support (#6333)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-08-17 17:23:13 +02:00
Daniel Roe 405629dc35
fix(nuxt): use `vue-devtools-stub` to mock `@vue/devtools-api` for both cjs + esm (#6713) 2022-08-17 16:44:36 +02:00
Harlan Wilton 99c960fb05
fix(nuxi): properly detect hash and tag for upgrade changelog (#6708) 2022-08-17 15:45:45 +02:00
Harlan Wilton e93f88c1e4
fix(nuxi): ensure `nuxi upgrade` runs in rootDir (#6707) 2022-08-17 15:44:10 +02:00
Anthony Fu 69c281f384
fix(nuxt): fallback to static error page on server error (#6697)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-08-17 11:14:00 +02:00
renovate[bot] 95b3fb21c5
chore(deps): update dependency esbuild to ^0.15.5 (#6696)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-17 10:32:38 +02:00
renovate[bot] dd34099da1
chore(deps): update all non-major dependencies (#6688)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-16 21:31:01 +02:00
Ilya Artamonov 657719f689
docs: update links to nitro.unjs.io (#6684)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-08-16 19:29:46 +02:00
renovate[bot] f33516612c
chore(deps): update dependency defu to ^6.1.0 (#6687)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-16 18:54:02 +02:00
renovate[bot] 43d331ee47
chore(deps): update dependency defu to ^6.0.1 (#6678)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-16 15:22:32 +02:00
Julien Huang a3a8706e43
fix(nuxt): include tag attrs for non self-closing tags in tree-shake regex (#6675)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-08-16 15:22:10 +02:00
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
pooya parsa 4d5f768aaf
feat(nuxi): auto cleanup with project manifest changes (#6672) 2022-08-16 15:14:26 +02:00
Daniel Roe 94214d6b32
feat(nuxt): exclude page chunks from being prefetched (#6662) 2022-08-16 13:19:39 +02:00
renovate[bot] 63ccec6bdc
chore(deps): update all non-major dependencies (#6654)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-16 10:11:55 +02:00
pooya parsa 58c4753ed4
fix(vite): warmup server entries with `ssr` condition (#6649) 2022-08-15 18:03:00 +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
Daniel Roe 33e7fc1752
fix(nuxt): don't set asyncData to existing payload on CSR if `initialCache` is disabled (#6640) 2022-08-15 15:55:46 +02:00
renovate[bot] 006f66900e
chore(deps): update all non-major dependencies (#6606)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-15 15:50:17 +02:00
Anthony Fu d2094ea37a
refactor(vite): enable strict type checking (#6616) 2022-08-15 15:40:06 +02:00
Daniel Roe 385fa6037a
fix(vite): pass relative url as default base (#6637) 2022-08-15 15:10:53 +02:00