Commit Graph

113 Commits

Author SHA1 Message Date
pooya parsa 6eb4040b23
fix(vite): remove `global` replacement (#1835) 2021-11-10 21:15:26 +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
Xin Du (Clark) 6ec518ff24
chore(lint): enable eslint on mjs (#1804) 2021-11-10 13:06:22 +01:00
Daniel Roe 29599f06a1
feat(bridge): add `useNuxt2Meta()` composable (#1789) 2021-11-09 11:17:56 +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
Daniel Roe 5b8e10f28e
fix(nuxt3): add missing auto imports (#1735) 2021-11-05 15:39:14 +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
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
Anthony Fu 85f39858e5
fix(vite, bridge): avoid vite resolving `tsconfig.json` (#1677) 2021-11-04 09:13:29 +01:00
Daniel Roe eb67eb919e
fix(vite): remove conflicting vite aliases (#1624) 2021-11-02 13:01:44 +01:00
Daniel Roe 5aa33b807c
feat(bridge): allow accessing injections from `useNuxtApp` (#1623) 2021-11-02 10:45:44 +01:00
Daniel Roe f5aea9f742
fix(vite): don't replace `process.env` (#1543) 2021-10-28 16:48:42 +02:00
Anthony Fu 0f329ea871
fix(bridge): fix fouc on vite (#1515) 2021-10-27 13:35:06 +02:00
Anthony Fu 7ede9b14d9
fix(bridge): can't enable vite mode (#1505) 2021-10-27 09:48:17 +00: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 281790e036
feat: define nitro `#storage` and `#assets` types (#1377) 2021-10-23 00:25:49 +02:00
pooya parsa c80353637e
feat(nitro): update dependencies for node-fetch 3.x support (#1373) 2021-10-22 19:04:15 +02:00
Pooya Parsa b332462b2a fix(bridge): mark `defineNuxtMiddleware` as unsupprted
closes #1317
2021-10-21 17:59:42 +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 035e9b5e8b
refactor: rename `app` to `vueApp` (#1177) 2021-10-18 20:31:37 +02:00
pooya parsa 0ab477cad0
feat(auto-imports): allow extending with config and hooks (#1167) 2021-10-18 15:39:53 +02:00
Daniel Roe 0c937339b9
fix(bridge): typo fix (#1168) 2021-10-18 14:47:26 +02:00
Daniel Roe adf497046b
fix(bridge): do not resolve esm babel helpers (#1158) 2021-10-18 12:12:01 +02:00
Daniel Roe ab7aef8a13
fix(bridge): add `useState` to auto-imports (#1087) 2021-10-18 10:02:23 +02:00
Daniel Roe 4a34c2a75b
fix(bridge): add vuex alias (#1026) 2021-10-14 14:11:21 +02:00
Daniel Roe d5127e95ac
fix(bridge): alias direct references to vue files (#847) 2021-10-12 22:16:43 +02:00
Daniel Roe 7bf2412eae
refactor(bridge): implement `ssrRef` with `useState` (#787) 2021-10-12 17:22:06 +02:00
Anthony Fu 2fb58ae2be
feat(bridge): init function for `useState` (#773) 2021-10-12 16:49:18 +02:00
Matt Kane 70c0d8eedb
chore: change `Nuxt3` to `Nuxt 3` (#764) 2021-10-12 16:19:58 +02:00
pooya parsa 54c57e3987
feat(nuxt3): `useFetch` (#721) 2021-10-12 00:36:50 +02:00
pooya parsa 666b7f1ba8
feat: `useState` composable (#719) 2021-10-11 19:48:03 +02:00
Daniel Roe b005b2403f
feat(nitro): automatically type middleware/api routes (#708) 2021-10-11 15:29:02 +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
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 11490cdd7d
feat(bridge): add support for `<script setup>` (#678) 2021-10-07 10:31:29 +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 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 0213adcd20
fix(bridge): emit types for module (#660) 2021-10-05 22:47:58 +02:00
Daniel Roe 599a2462f1
refactor(bridge): use babel typescript plugin instead of nuxt-swc (#653) 2021-10-05 21:18:09 +02:00
Daniel Roe d51ed1e6aa
fix(bridge): resolve `browser` condition above `main` for client (#641) 2021-10-04 22:25:27 +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
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
Daniel Roe b712de9aa2
feat(bridge): enable automatic global imports for nuxt2 (#609) 2021-10-02 18:59:32 +02:00
pooya parsa 6e496373f3
feat: use native esm for all packages (#539) 2021-10-02 18:01:17 +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 a2da8a0a83
fix(bridge): add additional vue composition-api resolutions (#614) 2021-10-02 13:47:58 +02:00
Daniel Roe 2b51af76d8
feat(bridge): better resolution within wp4 (with fallback) (#608) 2021-10-02 13:44:30 +02:00
Pooya Parsa 4837b92e57 fix(bridge): add implicit dependencies 2021-09-29 16:33:09 +02:00
Daniel Roe ad9d2d1906
feat(bridge): add support for legacy composition api helpers (#584) 2021-09-29 12:38:44 +02:00
pooya parsa 6329a681e4
refactor: migrate from upath to pathe (#553) 2021-09-27 14:49:36 +02:00
Daniel Roe 3bf856830b
feat(bridge): add `useNuxtApp` and `defineNuxtPlugin` composables (#576) 2021-09-25 10:24:37 +02:00
pooya parsa fc019b8816
feat(bridge): enable composition-api (#551) 2021-09-22 17:34:11 +02:00
Ahad Birang 3304f75b50
fix(bridge): handle `ssr: false` (#489) 2021-09-06 13:37:58 +02:00
Pooya Parsa 0b3271d275 fix(bridge): set webpack as implicit external 2021-09-06 00:00:07 +02:00
pooya parsa 44458fcbbb
feat: nuxt bridge (#459) 2021-09-05 23:21:33 +02:00