Commit Graph

1112 Commits

Author SHA1 Message Date
Pooya Parsa ee1546be25 use update cookie import 2021-11-22 22:17:20 +01:00
pooya parsa 9920181df3
feat(nuxt3, bridge): `useCookie` universal composable (#2085) 2021-11-22 21:43:00 +01:00
Anthony Fu a149225e63
fix(vite): separate dynamic deps in dev-bundler (#2067) 2021-11-22 18:39:56 +01:00
renovate[bot] 95978ed14d
chore(deps): update all non-major dependencies (#2071)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-22 18:37:59 +01:00
Daniel Roe 2a29c6aa1a
fix(cli): enable `usage` command (#2079) 2021-11-22 18:19:34 +01:00
pooya parsa d68318f9d5
refactor: split schema to `@nuxt/schema` and simplify kit (#2059) 2021-11-21 17:14:46 +01:00
Nozomu Ikuta 583679f9c8
fix(kit): add hooks installation for bridge (#2045)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-11-21 13:35:37 +01:00
renovate[bot] 4706f0877f
chore(deps): update all non-major dependencies (#2031)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-21 13:32:53 +01:00
pooya parsa b1371373c8
docs: improve schema generation (#2035) 2021-11-19 17:26:15 +01:00
jbmolle d3fb5129d7
fix(nuxt3): add missing `key` property to meta components
Co-authored-by: JB <jb.molle@vescape.com>
2021-11-19 13:31:19 +01:00
Daniel Roe 4fe1fc881c
feat(kit): add more specific typings for schema (#1988) 2021-11-19 13:22:27 +01:00
Daniel Roe c184211681
fix(bridge): add docs links and warnings for data composables (#2010) 2021-11-19 12:37:29 +01:00
renovate[bot] cdb287bd5c
chore(deps): update all non-major dependencies (#2023)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-19 12:36:50 +01:00
renovate[bot] ca8b97d69b
chore(deps): update devdependency execa to v6 (#1986)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-11-18 19:12:19 +01:00
Anthony Fu 1e0e8818da
fix(bridge): exclude bridge alias types to support Volar (#2013) 2021-11-18 19:11:43 +01:00
renovate[bot] b660ac0900
chore(deps): update dependency @vueuse/head to ^0.7.2 (#2012)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-18 23:28:01 +08:00
Daniel Roe 4e9a27257b
feat(nuxt3): automatically inject returns from plugins (#2001)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2021-11-18 14:11:34 +01:00
renovate[bot] dd4dd9e30e
chore(deps): update dependency @vueuse/head to ^0.7.0 (#2009)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-18 12:38:58 +01:00
renovate[bot] fdcec1fdc6
chore(deps): update all non-major dependencies (#1990)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-18 12:09:16 +01:00
Tobias Diez 18924da869
chore(bridge): Improve typing of defineNuxtPlugin function (#1995) 2021-11-18 12:08:58 +01:00
Xin Du (Clark) a08b435f51
refactor: remove unnecessary optional chaining (#1991) 2021-11-17 15:37:34 +01:00
renovate[bot] 4ba637a5ea
chore(deps): update dependency postcss-preset-env to v7 (#1964)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-17 12:33:03 +01:00
Luc bff71029c8
docs: fix typo (#1975) 2021-11-17 12:28:36 +01:00
renovate[bot] 1c5859f5a3
chore(deps): update all non-major dependencies (#1970)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-17 12:21:57 +01:00
Xin Du (Clark) c90bc50817
chore(lint): improve no-unused-vars rule (#1977) 2021-11-17 12:21:38 +01:00
pooya parsa 232fdd8cf3
fix(kit): support chainable `extendRoutes` in container (#1966) 2021-11-16 17:13:19 +01:00
Daniel Roe 496ea09777
fix(nuxi): ignore static check with `prepare` command (#1971) 2021-11-16 17:10:28 +01:00
Daniel Roe 49179d2d8d
fix(nuxt3): allow attrs to be included in head tags (#1959) 2021-11-16 17:10:03 +01:00
Daniel Roe f3a1ac5c59
fix(nuxi): handle missing typescript options in build (#1972) 2021-11-16 16:20:27 +01:00
Anthony Fu 86a47a2fea
fix(vite): external modules under`/esm/` pattern (#1949)
Co-authored-by: Ben <bencodezen@users.noreply.github.com>
Co-authored-by: pooya parsa <pyapar@gmail.com>
2021-11-16 14:28:29 +01:00
renovate[bot] 767eee0024
chore(deps): update dependency esbuild to ^0.13.14 (#1953)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-16 13:32:37 +01:00
pooya parsa b16cfea689
feat: `typescript` options (#1940) 2021-11-16 13:32:21 +01:00
renovate[bot] a4f5de5fc3
chore(deps): update dependency webpack to ^5.64.1 (#1937)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-15 20:21:04 +01:00
kazuya kawaguchi c53b6a5f2e
refactor(nuxt3): use the `@nuxt/kit` template utilites (#1908) 2021-11-15 20:20:51 +01:00
Tobias Diez a7eacfed88
fix(nitro): skip non existing externals (#1876)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-11-15 20:13:54 +01:00
Daniel Roe 4a3ba73f22
fix(nuxt3): enable `useAsyncData` and `useFetch` usage within plugins (#1933) 2021-11-15 17:34:39 +01:00
Anthony Fu fb2e8ccba5
fix(bridge): revert optimization exclusion for `vue-demi` (#1932) 2021-11-15 17:27:45 +01:00
fgiraud 6b873f15bc
chore(nuxt3): add tests, comments and example for components scan (#1455)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-11-15 17:22:46 +01:00
Daniel Roe 0a74940bf6
fix(nuxt3): enable app-level `<suspense>` with pages module (#1929) 2021-11-15 16:59:15 +01:00
Daniel Roe 4b367a1959
fix(bridge): ensure `vue` ts alias points to original vue (#1924) 2021-11-15 16:58:43 +01:00
Daniel Roe 36f3691bf8
fix(nuxi): create buildDir before writing types (#1930) 2021-11-15 16:55:32 +01:00
renovate[bot] 5786949d9b
chore(deps): update all non-major dependencies (#1837) 2021-11-15 13:09:26 +01:00
Daniel Roe f011a60dae
feat(nuxt3, bridge): add lazy helpers (`useLazyAsyncData` and `useLazyFetch`) (#1861) 2021-11-15 13:09:07 +01:00
Anthony Fu 8e12394e2d
feat: built-in client only component (#1853)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-11-15 12:57:38 +01:00
Anthony Fu f298386795
feat(bridge, nuxt3): mock vue-demi (#1849)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-11-15 11:25:50 +01:00
webfansplz 73f9cd2f94
fix(nuxt3): remove unexposed auto imports (#1902) 2021-11-15 11:16:26 +01:00
pooya parsa 850ef69a87
fix(bridge): disable legacy fetch polyfills (#1866) 2021-11-11 17:46:10 +01:00
Daniel Roe 7cc526ce69
fix(bridge): update `useContext` (#1871) 2021-11-11 17:33:06 +01:00
Anthony Fu 202617bdd1
fix(bridge): plugin default detection (#1847)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-11-11 14:58:43 +01:00
Daniel Roe abfbd2f34e
feat: add `<Html>` meta component (#1820)
Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-11-10 21:25:29 +01:00
fgiraud 9b9843b501
docs: update doc meta (#1790)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2021-11-10 21:16:20 +01:00
renovate[bot] 02f3fd1451
chore(deps): update all non-major dependencies (#1828)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-10 21:15:39 +01:00
pooya parsa 6eb4040b23
fix(vite): remove `global` replacement (#1835) 2021-11-10 21:15:26 +01:00
Daniel Roe 89aa7aa303
fix(nuxi): set `allowSyntheticDefaultImports` (#1827) 2021-11-10 17:39:19 +01:00
Daniel Roe f2d4c65edb
fix(nuxi): default to skipping lib check (#1824) 2021-11-10 14:18:25 +01:00
Daniel Roe 13a8e2b163
fix(nitro, nuxi): add runtimeConfig types (for `#config` and `useRuntimeConfig()`) (#1783)
Co-authored-by: Tobias Diez <code@tobiasdiez.com>
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-11-10 13:40:02 +01:00
renovate[bot] fd9e56f2b8
chore(deps): update all non-major dependencies (#1807)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-10 13:12:11 +01:00
Xin Du (Clark) 256d9b1424
fix(webpack): detect postcss config and show warning (#1805) 2021-11-10 13:11:08 +01:00
Xin Du (Clark) 6ec518ff24
chore(lint): enable eslint on mjs (#1804) 2021-11-10 13:06:22 +01:00
renovate[bot] bf716f3978
chore(deps): update all non-major dependencies (#1743)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-09 13:55:48 +01:00
Daniel Roe 29599f06a1
feat(bridge): add `useNuxt2Meta()` composable (#1789) 2021-11-09 11:17:56 +01:00
Daniel Roe 95cbe67f99
feat(kit, nuxt3): add `pages:extend` and `extendPages` (#1740)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
Co-authored-by: fgiraud <hello@florent.dev>
2021-11-09 11:16:23 +01:00
Emil Akhadov 82d1741d52
fix(kit): normalize plugin imports paths (#1779) 2021-11-09 10:44:00 +01:00
Daniel Roe c577e1991e
chore: bump monaco version (#1784) 2021-11-08 11:52:23 +01:00
Anthony Fu ca557e7c0b
refactor(vite): reuse common modules (#1723) 2021-11-08 11:34:39 +01:00
Anthony Fu 39db33d625
fix(bridge): default export detection (#1774) 2021-11-08 11:33:42 +01:00
renovate[bot] 6bbe8153f6
chore(deps): update all non-major dependencies (#1736)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-05 16:13:41 +01:00
Daniel Roe 5b8e10f28e
fix(nuxt3): add missing auto imports (#1735) 2021-11-05 15:39:14 +01:00
Daniel Roe 90487fde0c
fix(vite): use `forEach` on NodeList not Element (#1734) 2021-11-05 14:54:13 +01:00
renovate[bot] 596c8c5476
chore(deps): update all non-major dependencies (#1708)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-05 14:15:10 +01:00
Anthony Fu 4da062a120
refactor(vite): move analyzePlugin to a seperate file (#1710) 2021-11-05 09:58:03 +01:00
Anthony Fu 85d173d653
fix(vite): swap `<link>` style on dev ssr (#1712) 2021-11-05 09:55:53 +01:00
Anthony Fu 91b428eeea
fix(bridge): enable vite build by default (#1709) 2021-11-05 09:51:15 +01:00
renovate[bot] 6bd7186976
fix(deps): update dependency ohmyfetch to ^0.4.4 (#1705)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-05 00:23:56 +01:00
pooya parsa 292b5243c7
fix(nuxi): allow starting `nuxi dev` with self signed certificate (#1699) 2021-11-04 19:40:02 +01:00
renovate[bot] de04b321d4
chore(deps): update all non-major dependencies (#1692)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-04 19:19:41 +01:00
Daniel Roe 6f1f12af16
fix(vite): expose underlying import errors (#1696) 2021-11-04 19:18:36 +01:00
pooya parsa 9b8d44d130
fix(kit): use closest nuxt package for `loadNuxt` (#1686) 2021-11-04 13:33:33 +01:00
Daniel Roe 2166661b17
fix(vite): remove relative vite workaround (#1646) 2021-11-04 12:25:46 +01:00
Daniel Roe 875deefafc
docs: add migration guide for bridge composition api (#1669)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2021-11-04 12:20:40 +01:00
renovate[bot] 529880ee6c
chore(deps): update all non-major dependencies (#1673)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-04 09:17:05 +01:00
Anthony Fu 929a634013
refactor: plugin templates (#1678)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-11-04 09:16:54 +01:00
Anthony Fu 85f39858e5
fix(vite, bridge): avoid vite resolving `tsconfig.json` (#1677) 2021-11-04 09:13:29 +01:00
renovate[bot] 89b1ea5385
chore(deps): update dependency mime to v3 (#1658)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-03 16:08:55 +01:00
pooya parsa 3cd4494770
fix(nitro): use random port for stackblitz (#1666) 2021-11-03 16:06:42 +01:00
pooya parsa c8b07a6a1c
chore: upgrade to std-env 3 (#1665) 2021-11-03 15:39:38 +01:00
renovate[bot] 6f934aa9d9
chore(deps): update all non-major dependencies (#1641)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-03 14:32:25 +01:00
Daniel Roe d30f4d86d2
fix: sanitize rollup-generated filenames (#1648)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-11-03 14:04:42 +01:00
Daniel Roe a62351af4d
fix(vite): normalize full windows paths (#1650) 2021-11-02 19:10:56 +01:00
Daniel Roe 37f86a06c1
fix(nuxi): satisfies isn't always default export (#1643) 2021-11-02 16:56:12 +01:00
Daniel Roe 0dd86de586
fix(nuxt3): use nuxt extensions for component discovery (#1649) 2021-11-02 16:27:42 +01:00
Anthony Fu aba2d224d0
fix(nitro): skip copying symlinks and directories (#1510) 2021-11-02 13:26:43 +01:00
Daniel Roe eb67eb919e
fix(vite): remove conflicting vite aliases (#1624) 2021-11-02 13:01:44 +01:00
Daniel Roe f010d0912b
feat(nuxt3): add `importMeta` types for vite and webpack (#1439)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-11-02 12:53:28 +01:00
Xin Du (Clark) 52cce01962
chore: remove duplicate camelCase import (#1637) 2021-11-02 12:38:12 +01:00
Daniel Roe f3ff87c812
fix(nuxt3): enable legacy access to $config and static flags (#1588) 2021-11-02 12:28:19 +01:00
pooya parsa efe1fea1d1
feat(kit): `addComponent` utility (#1579) 2021-11-02 12:27:25 +01:00
renovate[bot] 266578b76e
chore(deps): update all non-major dependencies (#1591)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-02 12:26:26 +01:00
Ahad Birang bd654364b9
fix(nuxt3): pass css text into children props (#1635) 2021-11-02 11:32:52 +01:00
James George 3056c26a48
chore: update help information (#1605) 2021-11-02 10:50:04 +01:00