Commit Graph

1467 Commits

Author SHA1 Message Date
Daniel Roe
d91677e72f
fix(nitro): correct #assets type declaration (#2403) 2021-12-17 10:26:34 +01:00
Daniel Roe
d3e27874f5
fix(nuxt3): add imports.d.ts to nuxt.d.ts (#2399) 2021-12-17 10:25:40 +01:00
Daniel Roe
6c1cb11b95
feat(nuxt): add wrapped useRoute and useRouter composables (#2406) 2021-12-17 10:15:03 +01:00
Daniel Roe
df33474730
fix(vite): log error object (#2420) 2021-12-17 10:08:09 +01:00
renovate[bot]
23397e603c
feat(deps): update all non-major dependencies (#2252)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-12-14 16:46:05 +01:00
Daniel Roe
2cf8c45823
fix(nuxt3): import computed from vue to preserve reactivity (#2352) 2021-12-14 14:29:57 +01:00
renovate[bot]
a5d5067771
chore(deps): update dependency @vitejs/plugin-vue to v2 (#2354)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-14 14:29:27 +01:00
renovate[bot]
2939cacefc
chore(deps): update dependency vue-loader to v17 (#2355)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-14 14:29:08 +01:00
Daniel Roe
c87c692ddb
fix(nuxt3): don't mock server-only properties on client-side (#2376) 2021-12-14 14:28:43 +01:00
Daniel Roe
3e82f0f2cb
fix(bridge): normalize strings in vite middleware template (#2319) 2021-12-10 15:12:21 +01:00
Daniel Roe
0d85c9ef77
fix(schema): type render.compressor (#2302) 2021-12-10 14:48:52 +01:00
Daniel Roe
fb33033f45
feat(nuxt3): add global type definitions for built-in components (#2340) 2021-12-10 14:46:53 +01:00
Daniel Roe
70044d139b
fix(nitro): set content-type header before html 404 (#2301) 2021-12-06 11:48:27 +01:00
Ajai
1c88580c8c
fix(nitro): fix rendering with ssr disabled (#2191) 2021-12-06 11:48:12 +01:00
Daniel Roe
6a25d3e245
fix(nuxt3): use resolved options for useCookie (#2260) 2021-12-02 12:29:26 +01:00
Pooya Parsa
1ef6e3f525 fix(nuxi): ensure buildDir exists before write 2021-12-01 21:40:40 +01:00
Pooya Parsa
bd36e1351a fix(nitro): upgrade table dependency
resolves #2250
2021-12-01 15:38:31 +01:00
renovate[bot]
ceec9fdba8
chore(deps): update all non-major dependencies (#2214)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-01 12:58:38 +01:00
Daniel Roe
af6f91e8fe
fix(schema): fix typo for import.meta.globEager (#2243) 2021-12-01 12:58:24 +01:00
Daniel Roe
d52acbffd8
fix(bridge, kit): don't modify template array whilst traversing it (#2244) 2021-12-01 12:58:07 +01:00
Daniel Roe
6e719d6977
fix(bridge): always add components.d.ts reference (#2246) 2021-12-01 12:56:58 +01:00
sanfengliao
cad09fe9b3
fix(webpack): remove MiniCssExtractPlugin.loader options (#2217) (#2218)
Co-authored-by: sanfordliao <sanfordliao@tencent.com>
2021-11-30 16:39:45 +01:00
Anthony Fu
29a2eb3dc1
fix(vite): include dynamic css (revert #2067) (#2227) 2021-11-30 15:37:01 +01:00
Yasser Lahbibi
ac98373b4c
feat(bridge): allow user-defined scriptSetup options (#2185)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2021-11-29 13:17:29 +01:00
renovate[bot]
2c4a001b77
chore(deps): update dependency gzip-size to v7 (#2101)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-11-29 12:46:55 +01:00
renovate[bot]
7d8a1769fa
chore(deps): update all non-major dependencies (#2144)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-29 12:34:40 +01:00
renovate[bot]
b7cae2e47b
chore(deps): update dependency chalk to v5 (#2159)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-29 12:34:29 +01:00
webfansplz
4a486377c5
fix(nitro): use app.assetsPath for publicPath (#1978)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2021-11-29 12:31:56 +01:00
Daniel Roe
00e6043601
refactor(nuxt3): don't include null errors in payload (#2153) 2021-11-29 12:22:38 +01:00
Tobias Diez
c347b6cc8a
fix(schema): allow strings in plugin config (#2160) 2021-11-29 12:22:00 +01:00
Anthony Fu
b7a429ca61
feat: support importing from #imports (#2168) 2021-11-29 12:20:57 +01:00
Anthony Fu
f5d1d9a208
fix(auto-import): improve auto-import regex (#2172) 2021-11-29 12:17:51 +01:00
Daniel Roe
8a6db589fe
feat(bridge): generate components declarations (#2174) 2021-11-29 12:16:08 +01:00
Mohammad Saleh Fadaei
ae6f095ee8
fix(bridge): remove falsy values from created and mounted (#2182) 2021-11-29 12:14:44 +01:00
Yasser Lahbibi
ad2918195b
fix(autoImports): dirs option should be string[] (#2186) 2021-11-29 12:14:03 +01:00
Anthony Fu
010febd1b3
feat(useCookie): support default value (#2147) 2021-11-29 11:40:12 +01:00
Daniel Roe
f3082ca601
fix(nuxi): add nuxt3 to dev deps in upgrade command (#2143) 2021-11-24 21:13:12 +01:00
Daniel Roe
955fa364fa
fix(nuxt3): include error and pending values in asyncData state (#2130) 2021-11-24 20:59:04 +01:00
Daniel Roe
f5307f9d13
feat(nuxi): add typecheck command using vue-tsc (#2132)
* feat(nuxi): add `typecheck` command using `vue-tsc`

* perf: use local install with execa + set rootDir as cwd
2021-11-24 17:02:57 +01:00
renovate[bot]
0d5fcb52ad
chore(deps): update dependency memfs to ^3.4.0 (#2137)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-24 16:58:09 +01:00
Daniel Roe
7a78bce449
fix(schema): extend NuxtOptions for nitro & bridge types (#2131) 2021-11-24 16:51:26 +01:00
Matteo Rigoni
ae80e5bdc8
fix(bridge): fixed reactivity on csr of useState reactive payload (#2134) 2021-11-24 16:44:02 +01:00
renovate[bot]
4efd72d5d4
chore(deps): update all non-major dependencies (#2093)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-24 16:43:01 +01:00
Daniel Roe
c5eed5e12b
fix(vite): don't copy publicDir files to _nuxt (#2135) 2021-11-24 16:42:38 +01:00
Giant
939f2eea25
docs: fix typo (#2119) 2021-11-24 16:25:20 +01:00
pooya parsa
7e5e50bba7
fix(nuxt3): keep nuxtApp instance in client-side (#2114) 2021-11-23 18:50:20 +01:00
Daniel Roe
fe5b5dcea6
fix(nitro): respect fs structure for traced files (#2107) 2021-11-23 13:02:52 +01:00
Daniel Roe
15dad0e039
fix(schema): remove stray nuxt3 import (#2105) 2021-11-23 11:55:24 +01:00
Daniel Roe
834532bf71
fix(schema, nuxt3): export meta types from schema (#2103) 2021-11-23 11:16:11 +01:00
Sébastien Chopin
c3b72a6ee2 fix(types): cookie options are optional 2021-11-23 01:23:33 +01:00
Kenneth
5fdefed39e
fix(nitro): add error logging to initWorker(#2090) 2021-11-23 00:24:46 +01:00
Pooya Parsa
5be2f17b99 chore: remove unused @types/cookie 2021-11-23 00:23:45 +01:00
Pooya Parsa
8994b5a368 fix: use cookie-es 2021-11-23 00:20:20 +01:00
Damian
a12df69778
fix(bridge): remove duplicated log (#2087) 2021-11-22 22:49:48 +01:00
Pooya Parsa
92a03d6002 fix: avoid double decoding cookie 2021-11-22 22:29:11 +01:00
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
Anthony Fu
e58270a50f
fix(nuxt3): allows plugins without default export (#1618) 2021-11-02 10:49:45 +01:00
Daniel Roe
5aa33b807c
feat(bridge): allow accessing injections from useNuxtApp (#1623) 2021-11-02 10:45:44 +01:00
Daniel Roe
47e0721413
fix(nuxi, kit): import individual semver function (#1598) 2021-11-02 10:43:08 +01:00
Daniel Roe
b49c62b335
fix(bridge): expose nuxi command (#1599) 2021-11-02 10:40:56 +01:00
Daniel Roe
2b35e92bd7
fix(nuxt3): add vue-router types when used (#1603) 2021-11-02 10:39:42 +01:00
Daniel Roe
8ad5d89a15
fix(nuxt3): only add ref if types were generated (#1606) 2021-11-02 10:38:32 +01:00
Tasuku Uno
a8b969a4dd
feat(nuxt3): support async function as nuxt.config (#1612) 2021-11-02 10:37:48 +01:00
Daniel Roe
348c82d55a
fix(nuxi): generate types with nuxi generate (#1625) 2021-11-02 10:31:35 +01:00
Daniel Roe
288e771205
fix(nitro): narrow replace call for template name (#1626) 2021-11-02 10:30:44 +01:00
renovate[bot]
ddf45fbcc7
chore(deps): update all non-major dependencies (#1546)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-29 14:24:28 +02:00
pooya parsa
4e424d0d10
feat(nuxt3): support components with global: false and always enable transform (#1578) 2021-10-29 13:36:55 +02:00
Pooya Parsa
b24c9348f7 fix(nuxt3): expose nuxi command 2021-10-29 13:31:56 +02:00
Levi (Nguyễn Lương Huy)
4c17b92b66
chore(docs): add code format using markdownlint (#1498) (#1556) 2021-10-29 13:26:01 +02:00
Anthony Fu
c420e46efe
fix(nuxi): forward nuxi generate to nuxt on nuxt 2 (#1571) 2021-10-29 12:42:55 +02:00
Anthony Fu
f60f461410
fix(bridge): detect existence of @nuxt/bridge-edge (#1575) 2021-10-29 12:13:59 +02:00
Pooya Parsa
8d1fcf3d69 fix(nuxi): remove nu alias
avoid conflicting with ni global install
2021-10-29 12:10:36 +02:00
Daniel Roe
bdbfa36987
fix(vite): improve external checks for dev-bundler (#1538) 2021-10-29 10:43:07 +02:00
Anthony Fu
5eb8e072ee
refactor(nuxi): info output package manager version (#1564) 2021-10-29 10:41:04 +02:00
Daniel Roe
d623fc0419
fix(nuxi): write types after nuxt is ready (#1551) 2021-10-29 10:31:39 +02:00
Daniel Roe
84e299f280
fix(kit): remove invalid portion of version from semver (#1555) 2021-10-29 10:27:37 +02:00
renovate[bot]
59de0f9218
chore(deps): update all non-major dependencies (#1519)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-28 16:49:07 +02:00
Daniel Roe
f5aea9f742
fix(vite): don't replace process.env (#1543) 2021-10-28 16:48:42 +02:00
Daniel Roe
f78ec933fe
fix(vite): remove aliases from inline list (#1520) 2021-10-27 16:41:52 +02:00
Daniel Roe
07ad7254e6
fix(nitro): resolve firebase package versions with pkg-types (#1490)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2021-10-27 16:29:04 +02:00
renovate[bot]
0520db6b22
chore(deps): update all non-major dependencies (#1508)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-27 16:01:11 +02:00
Anthony Fu
0c1860a056
feat(nuxi): support pnpm for nuxi upgrade (#1516) 2021-10-27 13:46:09 +02:00
Anthony Fu
0f329ea871
fix(bridge): fix fouc on vite (#1515) 2021-10-27 13:35:06 +02:00
Anthony Fu
cf99fd2862
fix(vite): add missing import.meta functions (#1513) 2021-10-27 13:32:26 +02:00
Anthony Fu
00e25fa8e8
fix(vite): dev-bundler externality (#1507) 2021-10-27 12:55:08 +02:00
Anthony Fu
0326a31990
fix(nitro): fix regex for tracedFiles scanning (#1509) 2021-10-27 12:53:25 +02:00
Anthony Fu
7ede9b14d9
fix(bridge): can't enable vite mode (#1505) 2021-10-27 09:48:17 +00:00
ziga
245aa6b68f
fix(nitro): type inference for api routes returning promise (#1483) 2021-10-27 10:19:53 +02:00
renovate[bot]
3bc984d0c0
chore(deps): update all non-major dependencies (#1488)
close #1243, close #944
2021-10-27 10:19:32 +02:00
Daniel Roe
096f0679f7
fix(vite): set #build/plugins alias to empty string (#1489) 2021-10-27 08:03:10 +00:00
renovate[bot]
5ad4d3eae0
chore(deps): update dependency css-loader to ^6.5.0 (#1482)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-26 19:38:18 +02:00
Daniel Roe
41ff3b8efe
fix(nitro): support built publicPath (#1479) 2021-10-26 19:37:52 +02:00
renovate[bot]
876857db5e
chore(deps): update all non-major dependencies (#1481)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-26 19:36:52 +02:00
Mgs. M. Rizqi Fadhlurrahman
1f0cea6e7f
feat(nuxi): nuxi upgrade command (#1468)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-10-26 19:36:22 +02:00
renovate[bot]
83139d07e9
chore(deps): update all non-major dependencies (#1448)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-26 16:46:19 +02:00
Daniel Roe
a0da91839a
fix(kit): ensure directory exists before writing virtual template (#1473) 2021-10-26 16:42:10 +02:00
Anthony Fu
46f858dd82
chore: move nuxt-vite to bridge (#1180)
Co-authored-by: Xin Du (Clark) <clark.duxin@gmail.com>
Co-authored-by: pooya parsa <pyapar@gmail.com>
2021-10-26 14:59:05 +02:00
Daniel Roe
c672d8990a
feat(vite): pass vue options to vite plugin (#1452) 2021-10-26 14:49:18 +02:00
Levi (Nguyễn Lương Huy)
3761b064d0
chore(kit): refactor some configs with defu (#1459) 2021-10-26 11:47:30 +02:00
Pooya Parsa
d2cc9e4bd0 fix(nitro): revert to main rollup import (closes #1445) 2021-10-25 18:32:20 +02:00
renovate[bot]
a382bf02ff
chore(deps): update all non-major dependencies (#1425)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-25 16:25:51 +02:00
Anthony Fu
4f9c87b99a
fix(pkg): support node 17.x in the engines field (#1443)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-10-25 16:14:52 +02:00
Daniel Roe
79664ad611
fix(nuxi): ensure types are calculated on current nuxt instance (#1432) 2021-10-25 13:04:27 +02:00
Daniel Roe
c6f769e94d
fix(nitro): inject payload for spa renderer (#1434) 2021-10-25 12:36:38 +02:00
Pooya Parsa
ad7e7551ec fix(nitro): import rollup as cjs 2021-10-25 11:23:15 +02:00
James George
110b2b2680
fix(nuxi): validations for --template flag (#1412) 2021-10-24 16:48:02 +02:00
James George
bd010313db
fix(nuxi): validate template argument (#1409) 2021-10-24 13:39:17 +02:00
renovate[bot]
9e3dfad172
chore(deps): update all non-major dependencies (#1384)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-24 13:24:58 +02:00
Daniel Roe
7d918e1457
refactor(nuxi): move nuxt.d.ts within buildDir (#1369) 2021-10-23 00:33:22 +02:00
Daniel Roe
8f119ab0cf
feat(kit): add registerComponentDirectory helper (#1379)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2021-10-23 00:28:18 +02:00
Daniel Roe
281790e036
feat: define nitro #storage and #assets types (#1377) 2021-10-23 00:25:49 +02:00
pooya parsa
06e9c7ebc1
fix(pkg): remove vue3 from peerDependencies (#1382) 2021-10-23 00:25:25 +02:00
Pooya Parsa
6943b7dd93 chore(deps): update unstorage to 0.3.x 2021-10-23 00:21:08 +02:00
renovate[bot]
c8cb6c7ad1
chore(deps): update all non-major dependencies (#1333)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-22 19:04:28 +02:00
pooya parsa
c80353637e
feat(nitro): update dependencies for node-fetch 3.x support (#1373) 2021-10-22 19:04:15 +02:00
Francisco Buceta
54549cfc61
fix(nitro): omit /index from generated api urls (#1371) 2021-10-22 19:04:02 +02:00
Pooya Parsa
1e69bc56bb fix(nitro): handle terminating uninitialized worker 2021-10-22 15:36:29 +02:00
Daniel Roe
018302cb0b
fix(nitro): update firebase preset to handle mjs output (#1360) 2021-10-22 13:57:21 +02:00
Daniel Roe
fb4359e1a3
fix(nuxi): correct analyzer html (#1339) 2021-10-21 22:38:17 +02:00
Pooya Parsa
776539b809 fix(vite): add missing esbuild dependency 2021-10-21 22:18:39 +02:00
Daniel Roe
f0b9474b40
feat(nuxi): bundle analyzer (#701)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-10-21 21:51:44 +02:00
Levi (Nguyễn Lương Huy)
694e95b2b4
feat(nuxt3): support NuxtChild component (#1301) (#1312) 2021-10-21 21:16:52 +02:00
pooya parsa
bbeb6b50f5
fix(vite): inline incompatible extensions (#1332) 2021-10-21 21:02:10 +02:00
renovate[bot]
2350760854
chore(deps): update all non-major dependencies (#1319)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-21 20:55:59 +02:00
pooya parsa
f04d6e3b53
fix(kit): use native import for esm modules (#1327) 2021-10-21 19:02:26 +02:00
Pooya Parsa
b332462b2a fix(bridge): mark defineNuxtMiddleware as unsupprted
closes #1317
2021-10-21 17:59:42 +02:00
pooya parsa
9d40a271ee
feat(nitro): improve dev worker stability (#1303) 2021-10-21 13:54:55 +02:00
renovate[bot]
34910f1218
chore(deps): update all non-major dependencies (#1304)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-21 12:14:57 +02:00
pooya parsa
d1214c9aae
fix(nitro): terminate active worker before replacing (#1302) 2021-10-20 21:28:01 +02:00
Pooya Parsa
b421c81e84 fix(bridge): add missing globby and scule dependencies 2021-10-20 21:02:24 +02:00
Levi (Nguyễn Lương Huy)
7f7794787b
fix(nuxi): support build:error hook (#1298) 2021-10-20 20:50:01 +02:00
renovate[bot]
bfa4a02ca3
chore(deps): update dependency postcss to ^8.3.10 (#1299)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-20 20:49:34 +02:00
TenshiGoan
c5920c21e7
fix(nuxt3): child routes in vue-router don't have component field (#998)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2021-10-20 20:49:15 +02:00
Levi (Nguyễn Lương Huy)
a3058eebae
test(nuxt3): add unit tests for generateRoutesFromFiles (#261) (#1227)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-10-20 20:12:55 +02:00
Anthony Fu
f7153a3172
fix(vite): default export for external packages (#1297) 2021-10-20 20:09:49 +02:00
Anthony Fu
92547d8547
fix(nitro): filter alias in /_vfs listing (#1296) 2021-10-20 19:30:42 +02:00
renovate[bot]
7c3b488b5f
fix: update externality to v0.1.1 (#1284)
resolves #1275
2021-10-20 15:01:09 +02:00
Daniel Roe
101eaa9baf
fix(nuxt3): restore auto-imports.d.ts to nuxt.d.ts (#1282) 2021-10-20 14:53:13 +02:00
Ahad Birang
ffb05fc734
fix(nitro): do not modify event.request for worker entries (#1279) 2021-10-20 12:54:02 +02:00
Daniel Roe
7df4590d77
fix(kit): remove globalName from v3 schema (#1277) 2021-10-20 12:32:17 +02:00
renovate[bot]
22acd39508
chore(deps): update all non-major dependencies (#1240)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-20 12:13:35 +02:00
Ahad Birang
3c962013b5
fix(nitro): bundle json files (#1245) 2021-10-20 12:13:21 +02:00
Daniel Roe
d166b78e06
feat(vite): use externality to resolve externals for ssr dev bundler (#1172) 2021-10-20 11:50:29 +02:00
Anthony Fu
550a9f2e12
feat: auto-import for composables (#1176)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-10-20 11:47:18 +02:00
Daniel Roe
f950fe0d8a
fix(nuxt3): fix type inference for FetchResult (#1269) 2021-10-20 11:43:08 +02:00
Yaël Guilloux
c49f9ca648
fix(kit): improve ScanDir type (#1238) 2021-10-19 16:55:02 +02:00
Daniel Roe
2256b2b86a
fix(bridge): improve warnings for @nuxtjs/composition-api migration (#1237) 2021-10-19 14:17:18 +02:00
Pooya Parsa
4526af78a9 fix(pkg): downgrade node version to 14.16.x due to stackblitz issue
14.16.0 was released at 2021-02-23. hopefully most of platforms had time to migrate LTS.
2021-10-19 13:37:59 +02:00
Pooya Parsa
8db76fcf2e fix(pkg): downgrade node version to 14.17.x due to codesandbox issue 2021-10-19 13:24:51 +02:00
renovate[bot]
3fe3fb4dec
chore(deps): update dependency vite to ^2.6.10 (#1198)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-19 10:40:02 +02:00
OneNail
82fc3df8bb
chore(nuxt3): remove duplicate dependence (#1215) 2021-10-19 10:39:48 +02:00
Pooya Parsa
5e903ae176 fix(nuxt3): update legacy plugin (closes #1200) 2021-10-18 21:34:51 +02:00
pooya parsa
d8d10febd5
feat!: add engines.node field and node.js version check (#1197) 2021-10-18 21:31:15 +02:00
Daniel Roe
0b634e19a3
fix(nuxt3): auto import types (#1203) 2021-10-18 21:30:14 +02:00
Pooya Parsa
225e3bafd4 fix(nuxi): ignore watch events if nuxt instance is not ready 2021-10-18 20:38:46 +02:00
pooya parsa
035e9b5e8b
refactor: rename app to vueApp (#1177) 2021-10-18 20:31:37 +02:00
pooya parsa
4cff21005f
fix(nux3): use murmurhash for fetchKey (#1195) 2021-10-18 20:31:18 +02:00
Daniel Roe
80883cfb8f
fix(nitro): improve externals error handling (#1188) 2021-10-18 18:08:37 +02:00
Daniel Roe
47c004ac97
fix: improve type declarations (#1178) 2021-10-18 18:06:31 +02:00
Daniel Roe
6546fccbf9
fix(nuxi): write tsconfig when generating buildDir (#1161) 2021-10-18 16:22:02 +02:00
renovate[bot]
9357d0895d
chore(deps): update dependency mlly to ^0.2.10 (#1170)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-18 15:40:56 +02:00
pooya parsa
0ab477cad0
feat(auto-imports): allow extending with config and hooks (#1167) 2021-10-18 15:39:53 +02:00
Pooya Parsa
807f4a325f fix(deps): upgrade jiti to 2.12.9 (#1171) 2021-10-18 15:38:04 +02:00
Pooya Parsa
8714731892 chore: fix eslint issue 2021-10-18 15:25:11 +02:00
pooya parsa
cb912c3c0c
fix(nuxi): update version and vite detection (#1169) 2021-10-18 15:11:17 +02:00
Xin Du (Clark)
dbbce5fcfa
feat(kit): add components types (#1164) 2021-10-18 14:49:02 +02:00
Daniel Roe
0c937339b9
fix(bridge): typo fix (#1168) 2021-10-18 14:47:26 +02:00
Daniel Roe
117b3aa524
fix(nuxt3): destructure components options (#1165) 2021-10-18 13:59:31 +02:00
Daniel Roe
adf497046b
fix(bridge): do not resolve esm babel helpers (#1158) 2021-10-18 12:12:01 +02:00
Abderrahim SOUBAI-ELIDRISI
870a62855c
chore(deps): replace degit by tiged (#1052) 2021-10-18 12:04:06 +02:00
Xin Du (Clark)
185366ec2d
fix(nuxt3): correct compoennts hooks parameters types (#1157) 2021-10-18 11:54:29 +02:00
renovate[bot]
cba4c4202b
chore(deps): update all non-major dependencies (#1156)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-18 11:41:29 +02:00
Dizzy
aa2acd5e48
fix(kit): pass options object to lodash templates (#942) 2021-10-18 11:36:04 +02:00
Daniel Roe
571bf94d39
fix(kit): deep assign app to publicRuntimeConfig (#1094) 2021-10-18 11:07:09 +02:00
Daniel Roe
f974425cc4
fix(nitro): modify contents rather than compiled , remove template compiled (#1154) 2021-10-18 11:06:23 +02:00
Daniel Roe
d6ad4f3b16
fix(kit): load .env before loading nuxt.config (#1086) 2021-10-18 11:03:39 +02:00
renovate[bot]
4f050e50bf
chore(deps): update all non-major dependencies (#989) 2021-10-18 10:50:46 +02:00
Xin Du (Clark)
6cfe98941d
fix(kit): add missing nuxt hooks types (#971) 2021-10-18 10:14:22 +02:00
Harlan Wilton
90eacb6f75
fix(kit): support modern builds with extendWebpackConfig (#1055) 2021-10-18 10:11:08 +02:00
Daniel Roe
61518a972f
fix(nitro): disable automatic spa fallback (#1071) 2021-10-18 10:08:22 +02:00
nandi95
70f1483f9e
fix(nuxt3): added missing dev to process shims (#1084) 2021-10-18 10:06:31 +02:00
Daniel Roe
9592967eee
f(nitro): enable externals for azure and firebase presets (#1050) 2021-10-18 10:04:38 +02:00
Daniel Roe
93f7d776c4
fix(nuxt3): correctly type arrays returned from fetch requests (#1089) 2021-10-18 10:03:29 +02:00
Daniel Roe
ab7aef8a13
fix(bridge): add useState to auto-imports (#1087) 2021-10-18 10:02:23 +02:00
Pascal Martineau
f4011d0b02
fix(nuxt3): add missing build:before hook (#1139) 2021-10-18 10:00:23 +02:00
Anthony Fu
39ed77e229
fix(vite): dev ssr fouc with preprocessors (#1101) 2021-10-18 09:54:20 +02:00
retsuki
b3ff8eeaed
fix(nitro): read firebase package.json (#1108) 2021-10-18 09:53:50 +02:00
Daniel Roe
de4a3a2ce6
docs(kit): add css back to kit v3 schema (#1119) 2021-10-18 09:50:37 +02:00
Daniel Roe
a1bcc534bf
fix(nitro): update azure swa implementation (#1069) 2021-10-15 12:28:34 +02:00
Levi (Nguyễn Lương Huy)
c9c6f37ae3
chore(nuxi): improve typing in nuxi dev script (#1064) 2021-10-15 12:13:04 +02:00
Daniel Roe
6acfdcd0f7
refactor(nitro): move wasm support behind a flag (nitro.experiments.wasm) (#1045) 2021-10-14 20:57:23 +02:00
Patrick Remy
3e38eb8511
refactor(nuxt3): export NuxtConfig for convenience (#1039) 2021-10-14 17:22:37 +02:00
Pooya Parsa
83862bb50a fix(cli): update listhen (resolves #1032, #1033) 2021-10-14 15:54:08 +02:00
Xin Du (Clark)
080f497eee
fix(webpack): support jsx syntax in esbuild (#1014) 2021-10-14 15:21:55 +02:00
Daniel Roe
4a34c2a75b
fix(bridge): add vuex alias (#1026) 2021-10-14 14:11:21 +02:00
Levi (Nguyễn Lương Huy)
0b45721b8e
feat(nuxi): support --host, --ssl-cert, and --ssl-key args (#993) 2021-10-14 13:36:04 +02:00
Daniel Roe
b2c74d739f
fix(vite): set root to srcDir (#1018) 2021-10-14 13:17:39 +02:00
Daniel Roe
d52b1e8d99
fix(nuxt3): correct auto-import file regexp (#985) 2021-10-13 23:03:36 +02:00
pooya parsa
ad4e2e98d9
fix(vite): ensure id is javascript before externalizing (#983) 2021-10-13 22:44:52 +02:00
renovate[bot]
07086c8397
chore(deps): update all non-major dependencies (#821)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-10-13 22:41:21 +02:00
Xin Du (Clark)
a42458e107
fix(nuxt3): enable auto-imports for sfc script with type (#931) 2021-10-13 22:24:13 +02:00
renovate[bot]
ff97e2558c
chore(deps): update devdependency clipboardy to v3 (#974) 2021-10-13 22:11:45 +02:00
Anthony Fu
5b75e11e85
feat(vite): postcss support (#818)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-10-13 22:08:26 +02:00
Xin Du (Clark)
31b12d04c0
feat(cli): generate tsconfig.json in prepare command (#822)
Co-authored-by: Daniel Roe <daniel@roe.dev>
Co-authored-by: pooya parsa <pyapar@gmail.com>
2021-10-13 22:01:50 +02:00
Daniel Roe
1fbfdefe70
refactor: use p-debounce everywhere (#977) 2021-10-13 21:04:12 +02:00
Daniel Roe
ece0e014a4
fix(nitro): fix type inference for $fetch (#938) 2021-10-13 14:04:41 +02:00
Xin Du (Clark)
d8332d6ad6 chore(eslint): fix lint error 2021-10-13 12:16:15 +01:00
Daniel Roe
f0ce5f78f8
fix(nuxi): warn if user does not have @nuxt/kit installed (#915) 2021-10-13 12:44:54 +02:00
Xin Du (Clark)
c1ee1c4377
feat(vite): support jsx syntax (#922) 2021-10-13 12:34:51 +02:00
Anthony Fu
8f38280978
fix(nuxi): respect --port arg (#919) 2021-10-13 12:33:21 +02:00
Daniel Roe
81293ff195
fix(nuxi): provide install advice if git fails (#923) 2021-10-13 12:30:27 +02:00
Pooya Parsa
961d142039 fix(nitro): table esm compatibility (resolves #877) 2021-10-13 11:09:24 +02:00
Daniel Roe
d5127e95ac
fix(bridge): alias direct references to vue files (#847) 2021-10-12 22:16:43 +02:00
Daniel Roe
b6065a2edf
fix(bridge): remove circular reference (#844) 2021-10-12 22:02:07 +02:00
Anthony Fu
10170daa84
fix(nitro): dot-prop esm compatibility (#829) 2021-10-12 20:51:24 +02:00
pooya parsa
47ea41dadb
fix(vite): use pathToFileURL for externals (#819) 2021-10-12 20:01:27 +02:00
Xin Du (Clark)
3759926de5
fix(nitro): firebase package.json is not exported (#809) 2021-10-12 19:39:55 +02:00
Pooya Parsa
da7ff44c93 fix(nuxt3): add missing toRef import for useState
resolves #804
2021-10-12 18:24:27 +02:00
Anthony Fu
6e52775bf9
fix(kit): dotenv esm compactiblity (#799)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2021-10-12 18:21:01 +02:00
Daniel Roe
2a0afbd092
fix(bridge): define head with vue-meta type (#784) 2021-10-12 17:22:37 +02:00
renovate[bot]
743160702a
chore(deps): update devdependency jiti to ^1.12.7 (#785)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-12 17:22:17 +02:00
Daniel Roe
7bf2412eae
refactor(bridge): implement ssrRef with useState (#787) 2021-10-12 17:22:06 +02:00
Pooya Parsa
5764042dbb fix(nuxt3): add missing getCurrentInstance import for useAsyncData (#783) 2021-10-12 17:19:06 +02:00
Anthony Fu
4b04cdfdf1
docs: init function for useState (#780) 2021-10-12 16:59:19 +02:00
Anthony Fu
2fb58ae2be
feat(bridge): init function for useState (#773) 2021-10-12 16:49:18 +02:00
Pooya Parsa
3c132a8de0 fix(vite): normalize paths before comparing (#763)
Co-Authored-By: Anthony Fu <hi@antfu.me>
2021-10-12 16:42:52 +02:00
Anthony Fu
9f0683079e
feat(nuxt3): support init function for useState (#767) 2021-10-12 16:28:49 +02:00
Matt Kane
70c0d8eedb
chore: change Nuxt3 to Nuxt 3 (#764) 2021-10-12 16:19:58 +02:00
Anthony Fu
44f8904957
fix(vite): dev ssr fouc (#757) 2021-10-12 16:05:20 +02:00
renovate[bot]
2e87a76721
chore(deps): update all non-major dependencies (#742)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-12 16:04:31 +02:00
Pooya Parsa
a896c64b12 fix(nuxt3): avoid script setup due to mkdist issue 2021-10-12 15:56:47 +02:00
pooya parsa
9cb9bb651e
feat(nuxt3): create root component (#750) 2021-10-12 14:51:41 +02:00
Sébastien Chopin
b35b111032
fix(nuxi): dx improvements when creating components/ directory (#749) 2021-10-12 14:32:49 +02:00
Anthony Fu
edeafbf6e3
fix(auto-imports): disable global mode and improve detection (#748) 2021-10-12 14:24:43 +02:00
pooya parsa
9c619b8772
fix(nuxt3): provide NuxtWelcome component from design (#745) 2021-10-12 13:16:52 +02:00
pooya parsa
096b0e3305
feat(cli): add placeholder generate command (#738) 2021-10-12 10:52:28 +02:00
Daniel Roe
d1e0af928e
fix(nuxt3): correct KeysOf type (#737) 2021-10-12 10:52:09 +02:00
pooya parsa
101ef20c34
fix(vite): resolve vue aliases (#734) 2021-10-12 10:39:06 +02:00
pooya parsa
e531b65a32
fix(vite): improve external handling (#729) 2021-10-12 03:38:30 +02:00
Sébastien Chopin
95779c3d5f
chore: add readme to packages (#727)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-10-12 03:38:17 +02:00
pooya parsa
54c57e3987
feat(nuxt3): useFetch (#721) 2021-10-12 00:36:50 +02:00
renovate[bot]
ad821d1aba
chore(deps): update dependency @vercel/nft to ^0.16.0 (#722)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-11 23:50:48 +02:00
Pooya Parsa
0287b46fed chore: remove unused vuex dependency 2021-10-11 21:17:09 +02:00
pooya parsa
666b7f1ba8
feat: useState composable (#719) 2021-10-11 19:48:03 +02:00
Anthony Fu
c8dfd61b87
chore: update vite version (#713) 2021-10-11 17:50:12 +02:00
renovate[bot]
0dcbd4a682
chore(deps): update all non-major dependencies (#704)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-11 15:30:04 +02:00
Daniel Roe
b005b2403f
feat(nitro): automatically type middleware/api routes (#708) 2021-10-11 15:29:02 +02:00
Anthony Fu
2f5938c7b5
chore(vite): add missing types and move out utils (#710) 2021-10-11 14:29:35 +02:00
Anthony Fu
a4e903e55e
fix(bridge): use esm for unplugin-vue2-script-setup (#690) 2021-10-11 10:21:45 +02:00
Anthony Fu
bade471dcf
refactor: rename global-imports to auto-imports (#706) 2021-10-11 10:07:27 +02:00
renovate[bot]
27666063ea
chore(deps): update all non-major dependencies (#649)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-08 16:22:23 +02:00
pooya parsa
2bf645bd73
refactor(nuxt3): cleanup data fetching and improved useAsyncData (#699) 2021-10-08 16:21:55 +02:00
Daniel Roe
8df29679ce
fix(bridge): don't rely on auto-imports in internal plugin (#700) 2021-10-08 09:17:58 +02:00
Daniel Roe
a4f06716be
fix(nitro): always inline .wasm (#698) 2021-10-07 18:32:48 +02:00
Daniel Roe
06c1222e1f
feat(nuxi): invoke prepare step for nuxi dev/build (#689) 2021-10-07 15:53:31 +02:00
Daniel Roe
5275624f2e
feat(nitro): support importing/inlining wasm binaries (#693) 2021-10-07 15:43:34 +02:00
Daniel Roe
abfaaa97eb
chore(nuxi): use consola for consistency (#686) 2021-10-07 12:15:15 +02:00
Daniel Roe
cc2279bd8a
refactor(nuxi): extract nitro types to corresponding modules (#668)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-10-07 12:09:09 +02:00
Pooya Parsa
45726616b2 fix(bridge): add meta to cjs wrapper (closes #671) 2021-10-07 10:43:00 +02:00
Daniel Roe
11490cdd7d
feat(bridge): add support for <script setup> (#678) 2021-10-07 10:31:29 +02:00
Anthony Fu
c76d554ebb
fix(vite): fix entry point not determine warning (#682) 2021-10-07 10:29:10 +02:00
Daniel Roe
0aa6fbf5ef
fix(bridge): automatically transpile all modules (and sanitize transpiles) (#677) 2021-10-06 19:59:35 +02:00
Daniel Roe
4b3814a14f
fix(nuxt3): don't call lifecycle methods outside of component (#675) 2021-10-06 19:58:57 +02:00
Daniel Roe
ac16127a13
fix(bridge): detect conflict with @nuxt/typescript-build usage (#672) 2021-10-06 17:39:13 +02:00
Daniel Roe
2fc0829dd2
fix(bridge): don't error with defineNuxtMiddleware (#676) 2021-10-06 17:36:24 +02:00
Daniel Roe
a07b67ce57
feat(bridge): use useMeta in bridge projects (#664) 2021-10-06 14:37:45 +02:00
pooya parsa
dd73a8bcad
feat: export defineNuxtConfig from nuxt3 and @nuxt/bridge (#669) 2021-10-06 14:31:52 +02:00
Daniel Roe
b13e20f317
fix(kit): de-default nuxt2 imports and add sync try/catch (#658) 2021-10-06 10:23:40 +02:00
Daniel Roe
485c97645a
fix(nuxi): don't include nuxt3 for bridge projects (#663) 2021-10-05 22:49:56 +02:00
Daniel Roe
0213adcd20
fix(bridge): emit types for module (#660) 2021-10-05 22:47:58 +02:00
Daniel Roe
ae0dbda2ce
fix(nuxt3): use ts-friendly paths for global imports (#662) 2021-10-05 22:47:19 +02:00
pooya parsa
baa4ddbae0
feat(nuxi): basic nuxi init (#659) 2021-10-05 22:35:23 +02:00
Daniel Roe
599a2462f1
refactor(bridge): use babel typescript plugin instead of nuxt-swc (#653) 2021-10-05 21:18:09 +02:00
kazuya kawaguchi
30fbe5dfa3
docs(kit): comment typo (#654) 2021-10-05 19:40:20 +02:00
Daniel Roe
3fa75ba8a6
fix(nuxt3): trigger update dom when invoking usemeta (#650) 2021-10-05 17:29:06 +02:00
Pooya Parsa
2b1bf4824e chore: update base major versions to 3.x for simplicity 2021-10-05 17:09:24 +02:00
renovate[bot]
71dd944922
chore(deps): update all non-major dependencies (#644)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-05 16:34:03 +02:00
Anthony Fu
bb8c4ff019
feat(vite): vite dev server bundler (#604)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-10-05 16:18:03 +02:00
renovate[bot]
21a3e44fdb
chore(deps): update all non-major dependencies (#637) 2021-10-05 13:09:32 +02:00
Daniel Roe
d51ed1e6aa
fix(bridge): resolve browser condition above main for client (#641) 2021-10-04 22:25:27 +02:00
renovate[bot]
5d86bfad78
chore(deps): update devdependency colorette to ^2.0.14 (#633)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-03 22:55:02 +02:00
Daniel Roe
0a9342c02d
fix: add main entrypoints for packages (#629) 2021-10-03 01:39:51 +02:00
Daniel Roe
3b4a0f19e3
fix(nuxt3): missing fixes for nuxt3/app (#631) 2021-10-03 01:39:13 +02:00
Daniel Roe
48458e4544
fix(nuxt3): fix meta type generation (#628) 2021-10-03 01:00:21 +02:00
Daniel Roe
768488f07d
fix(nuxt3): correct app types (#630)
* fix(nuxt3): correct app types

* fix module augmentation
* include all shims in types file

* style: disable eslint rule
2021-10-03 00:39:02 +02:00
Daniel Roe
5cf293ea88
fix(nuxt3): move export to top level (#626)
* fixes issue of module augmentation
2021-10-02 23:06:57 +02:00
pooya parsa
45b4946026
feat(nuxt3, bridge): useRuntimeConfig (#625)
Co-Authored-By: Daniel Roe <daniel@roe.dev>
2021-10-02 22:30:20 +02:00
renovate[bot]
e9a903f136
chore(deps): update dependency nuxt-vite to ^0.3.4 (#624)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-02 20:40:25 +02:00
Xin Du (Clark)
eb794f3f85
chore(eslint): forbid modules importing from core (#556)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-10-02 20:40:10 +02:00
Anthony Fu
9503d62607
feat(kit, bridge): version constraint utils and checks (#442)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-10-02 20:31:00 +02:00
Pooya Parsa
eb0332126e fix(bridge): import nuxt3 src from relative path 2021-10-02 20:04:02 +02:00
renovate[bot]
03754d9ff7
chore(deps): update dependency mlly to ^0.2.4 (#622)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-02 19:00:10 +02:00
Daniel Roe
b712de9aa2
feat(bridge): enable automatic global imports for nuxt2 (#609) 2021-10-02 18:59:32 +02:00
Pooya Parsa
bba79f4836 fix(kit): properly read nuxt version (resolves #616) 2021-10-02 18:19:36 +02:00
pooya parsa
6e496373f3
feat: use native esm for all packages (#539) 2021-10-02 18:01:17 +02:00
Pooya Parsa
f21b7de3d1 chore(deps): update jiti to 1.12.6
also force resolve to ensure using latest and v8-compile-cache is disabled
2021-10-02 16:09:06 +02:00
renovate[bot]
d4b9862b3d
chore(deps): update dependency nuxt-vite to ^0.3.2 (#620)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-02 16:06:35 +02:00
Pooya Parsa
0c4b442ccb fix(nuxi): fix issue with dynamic cjs chunks
resolves #621 via hotfix
2021-10-02 16:05:26 +02:00
Pooya Parsa
64c73b09a1 chore(bridge): add missing defu dependency 2021-10-02 15:43:21 +02:00
Daniel Roe
71e71d1327
feat(bridge, nuxt3): expose equivalent useRoute and useRouter com… (#615) 2021-10-02 14:32:28 +02:00
Daniel Roe
9110765cb5
fix(nuxt3): use built-in <Link> to render in <head> and prevent CLS (#619) 2021-10-02 14:30:12 +02:00