Commit Graph

98 Commits

Author SHA1 Message Date
Daniel Roe
4fe1fc881c
feat(kit): add more specific typings for schema (#1988) 2021-11-19 13:22:27 +01:00
pooya parsa
232fdd8cf3
fix(kit): support chainable extendRoutes in container (#1966) 2021-11-16 17:13:19 +01:00
pooya parsa
b16cfea689
feat: typescript options (#1940) 2021-11-16 13:32:21 +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
fgiraud
9b9843b501
docs: update doc meta (#1790)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2021-11-10 21:16:20 +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
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
pooya parsa
292b5243c7
fix(nuxi): allow starting nuxi dev with self signed certificate (#1699) 2021-11-04 19:40:02 +01:00
pooya parsa
9b8d44d130
fix(kit): use closest nuxt package for loadNuxt (#1686) 2021-11-04 13:33:33 +01:00
pooya parsa
c8b07a6a1c
chore: upgrade to std-env 3 (#1665) 2021-11-03 15:39:38 +01:00
Daniel Roe
0dd86de586
fix(nuxt3): use nuxt extensions for component discovery (#1649) 2021-11-02 16:27:42 +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
pooya parsa
efe1fea1d1
feat(kit): addComponent utility (#1579) 2021-11-02 12:27:25 +01:00
Daniel Roe
47e0721413
fix(nuxi, kit): import individual semver function (#1598) 2021-11-02 10:43:08 +01:00
Tasuku Uno
a8b969a4dd
feat(nuxt3): support async function as nuxt.config (#1612) 2021-11-02 10:37:48 +01:00
pooya parsa
4e424d0d10
feat(nuxt3): support components with global: false and always enable transform (#1578) 2021-10-29 13:36:55 +02:00
Daniel Roe
84e299f280
fix(kit): remove invalid portion of version from semver (#1555) 2021-10-29 10:27:37 +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
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
f0b9474b40
feat(nuxi): bundle analyzer (#701)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-10-21 21:51:44 +02:00
pooya parsa
f04d6e3b53
fix(kit): use native import for esm modules (#1327) 2021-10-21 19:02:26 +02:00
Levi (Nguyễn Lương Huy)
7f7794787b
fix(nuxi): support build:error hook (#1298) 2021-10-20 20:50:01 +02:00
Daniel Roe
7df4590d77
fix(kit): remove globalName from v3 schema (#1277) 2021-10-20 12:32:17 +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
Yaël Guilloux
c49f9ca648
fix(kit): improve ScanDir type (#1238) 2021-10-19 16:55:02 +02:00
pooya parsa
0ab477cad0
feat(auto-imports): allow extending with config and hooks (#1167) 2021-10-18 15:39:53 +02:00
Xin Du (Clark)
dbbce5fcfa
feat(kit): add components types (#1164) 2021-10-18 14:49:02 +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
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
de4a3a2ce6
docs(kit): add css back to kit v3 schema (#1119) 2021-10-18 09:50:37 +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
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
pooya parsa
9cb9bb651e
feat(nuxt3): create root component (#750) 2021-10-12 14:51:41 +02:00
pooya parsa
2bf645bd73
refactor(nuxt3): cleanup data fetching and improved useAsyncData (#699) 2021-10-08 16:21:55 +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
kazuya kawaguchi
30fbe5dfa3
docs(kit): comment typo (#654) 2021-10-05 19:40:20 +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
bba79f4836 fix(kit): properly read nuxt version (resolves #616) 2021-10-02 18:19:36 +02:00