Commit Graph

2573 Commits

Author SHA1 Message Date
Daniel Roe 54e672db19
fix(nuxt): always write nitro types when building (#6035) 2022-07-21 15:50:41 +02:00
Daniel Roe 8f7b9f904e
fix(pages): ignore expression delimiters within quotes (#6033)
* fix(pages): ignore expression delimiters within quotes

* perf: use re

* test: add test that would have failed
2022-07-21 15:49:48 +02:00
Anthony Fu b4b98041f0
fix(kit, nuxt): always sort globby results (#6029) 2022-07-21 12:46:50 +02:00
Daniel Roe fa8b0f7c79
feat(vite)!: upgrade vite to v3 (#5398) 2022-07-21 12:44:33 +02:00
Ennio Visconti 2e794e7a19
docs(runtime-config): clarify how environment variables are loaded (#5916)
Co-authored-by: pooya parsa <pyapar@gmail.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-07-21 11:08:37 +02:00
Daniel Roe d77b62d63e
docs: warn that `useState` should only contain JSON-serializable content (#5994)
Co-authored-by: pooya parsa <pyapar@gmail.com>
Co-authored-by: Damian Głowala <48835293+DamianGlowala@users.noreply.github.com>
Co-authored-by: Alwin Lohrie <46248939+niwla23@users.noreply.github.com>
2022-07-21 10:56:01 +02:00
Daniel Roe 92269dde44
fix(nuxt)!: change `statusCode` type to number for error page template (#6010) 2022-07-20 19:00:42 +02:00
Daniel Roe bdbeb886ae
fix(webpack): do not resolve `#internal/nitro` alias internally (#5987) 2022-07-20 18:59:05 +02:00
renovate[bot] 72c3af7fc5
chore(deps): update all non-major dependencies (#5982)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-20 18:58:21 +02:00
Daniel Roe edbe4fe799
feat(vite): check types with `vue-tsc` (#6012) 2022-07-20 17:15:27 +02:00
Brendan Mulholland eff6b0c4ca
docs: update bridge migration with info about generating `.nuxt/tsconfig.json` for tests (#5967) 2022-07-19 12:35:27 +01:00
OptimusePrime d6e75bbd09
docs: fix typo in roadmap (#5979) 2022-07-19 10:51:21 +01:00
pooya parsa 88f4525a4f
v3.0.0-rc.6 (#5936) 2022-07-18 12:06:04 +02:00
renovate[bot] 6065f12ae4
chore(deps): update all non-major dependencies (#5963)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-18 11:58:26 +02:00
yoho 296c5526fd
fix(nuxi): add missing `types` field (#5962) 2022-07-18 11:34:56 +02:00
pooya parsa ffd40d16c8
fix(vite): use more strict app entry check in dev-bundler (#5959) 2022-07-17 18:01:16 +02:00
pooya parsa 0839e93333
fix(vite): unset `build.watch` options for production build (#5958) 2022-07-17 17:10:27 +02:00
码农小余 8b6bb92d9f
docs(testing): add missing import (#5956) 2022-07-17 16:17:52 +02:00
Anthony Fu 4abcfb6bf9
fix(vite): avoid creating server for production build (#5941) 2022-07-17 16:17:07 +02:00
renovate[bot] 02598fba56
chore(deps): update devdependency vue-tsc to ^0.38.8 (#5957)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-17 15:17:16 +02:00
renovate[bot] d0673ec60e
chore(deps): update all non-major dependencies (#5937)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-17 15:13:15 +02:00
pooya parsa 2e85cd0252
refactor(nuxt): add `treeshakeClientOnly` experimental flag (#5934)
* refactor(nuxt): add `treeshakeClientOnly` experimental flag

* test: enable flag for fixture
2022-07-17 15:13:04 +02:00
pooya parsa f89955717c
docs: update roadmap (#5935) 2022-07-16 00:59:24 +02:00
pooya parsa f5fd58ebfe
fix(pkg): use fixed version range for monorepo packages (#5933) 2022-07-16 00:43:43 +02:00
Daniel Roe dce07e5831
fix(nuxt): lazy load and tree-shake error templates (#5930)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
Co-authored-by: Kevin Marrec <kevin@marrec.io>
2022-07-16 00:15:31 +02:00
Daniel Roe a54925f880
fix(kit): only call `viteExtendConfig` callback once if possible (#5929) 2022-07-15 23:34:29 +02:00
renovate[bot] 78d4eabc41
chore(deps): update all non-major dependencies (#5925)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-15 22:30:25 +02:00
renovate[bot] dcf7e85646
chore(deps): update dependency ohash to ^0.1.4 (#5909)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-15 12:09:03 +02:00
Damian be8b6b6d48
docs: add missing `initialCache` to `UseFetchOptions` (#5908) 2022-07-14 23:30:05 +02:00
Daniel Roe df04a665ce
perf(nuxt): tree-shake client-only components from ssr bundle (#5750)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-07-14 19:46:12 +02:00
Benicio Cardozo 433298f1e5
docs: add way to pass `.env` variables to nuxt app in production (#5879) 2022-07-14 16:03:58 +02:00
Lay b81c9c3a92
feat(schema): sync types of vite v2.9.x (#5896) 2022-07-14 16:03:18 +02:00
renovate[bot] c610ead868
chore(deps): update dependency ohash to ^0.1.3 (#5898)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-14 16:02:21 +02:00
Anthony Fu 537b6e35bd fix(vite): set transform mode for `vite-node` (#5854)
close #5543
2022-07-14 16:01:21 +02:00
renovate[bot] 009d6762c5
chore(deps): update all non-major dependencies (#5891)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-14 15:59:43 +02:00
bot08 7725dece1b
docs: add read more link (#5893) 2022-07-14 15:59:29 +02:00
renovate[bot] f5301e9985
chore(deps): update devdependency playwright to ^1.23.3 (#5883)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-13 19:30:14 +02:00
lm a745be363b
docs: improve runtimeConfig example (#5785)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-07-13 19:03:02 +02:00
OptimusePrime 9f40d5c7d0
docs: fix typo (#5881) 2022-07-13 19:02:33 +02:00
Pooya Parsa 65e6b1439e chore(deps): add missing ohash dependency to webpack 2022-07-13 17:40:10 +02:00
pooya parsa 7c45eeef7b
v3.0.0-rc.5 (#5825) 2022-07-13 17:38:59 +02:00
Pooya Parsa 7124a9deb5 chore(deps): update nitropack and lockfile 2022-07-13 17:28:10 +02:00
Daniel Roe 3ad12b5f4a
fix(vite): close vite watcher before building (#5875) 2022-07-13 14:44:07 +02:00
pooya parsa 0ef08190ae
fix(nuxt): fix issues with `vue-router` and `@vue/devtools-api` bundling (#5874) 2022-07-13 14:42:24 +02:00
AnPineau 18d2dd19d2
docs: fix typo (#5863) 2022-07-13 12:22:07 +02:00
bot08 dc0dd569fd
docs: fix typo (#5865) 2022-07-13 12:21:48 +02:00
renovate[bot] a1dff87a0c
chore(deps): update dependency vite-plugin-checker to ^0.4.9 (#5870)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-13 12:19:22 +02:00
Daniel Roe 1ced224389
fix(nuxt): warn about legacy and invalid plugins (#5857)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-07-12 19:06:55 +02:00
Pooya Parsa aa5a97ace2 chore(deps): update `@nuxt/ui` to 2.x 2022-07-12 16:20:14 +02:00
Anthony Fu 135dfdf73b
fix(nuxt): replace `process.dev` in nitro bundle (#5852) 2022-07-12 14:32:07 +02:00