Commit Graph

1134 Commits

Author SHA1 Message Date
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
renovate[bot] d2214c4ee4
chore(deps): update all non-major dependencies (#606)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-02 13:54:10 +02:00
renovate[bot] ae39111d65
chore(deps): update dependency @rollup/plugin-commonjs to v21 (#611)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-02 13:49:38 +02:00
Daniel Roe a2da8a0a83
fix(bridge): add additional vue composition-api resolutions (#614) 2021-10-02 13:47:58 +02:00
Daniel Roe 40d3aae439
fix(nuxi): don't restart when build directory changes (#613) 2021-10-02 13:44:51 +02:00
Daniel Roe 2b51af76d8
feat(bridge): better resolution within wp4 (with fallback) (#608) 2021-10-02 13:44:30 +02:00
renovate[bot] 4db4fdfd42
chore(deps): update all non-major dependencies (#602)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-30 21:55:13 +02:00
Anthony Fu e13baf9867
feat(nuxt3): remove `<script setup>` transform and prefer top level await (#579)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-09-30 20:19:55 +02:00
renovate[bot] a5f446ca6a
chore(deps): update all non-major dependencies (#593)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-29 20:28:57 +02:00
Daniel Roe 041b60f48e
fix(bridge): downgrade estree-walker dependency (#600) 2021-09-29 20:16:16 +02:00
Sébastien Chopin 0b8ae9abdd
fix(cli): restart on `app.vue` creation and removal (#597) 2021-09-29 20:09:43 +02:00
Daniel Roe f79f6fe40f
chore(nitro): upgrade `unenv` and remove old workaround (#595) 2021-09-29 19:50:54 +02:00
Sébastien Chopin 26163d68b7 chore: update nuxt logo 2021-09-29 19:39:01 +02:00
Pooya Parsa 4837b92e57 fix(bridge): add implicit dependencies 2021-09-29 16:33:09 +02:00
Daniel Roe f06ee66f1c
fix(nitro): show all ERR_MODULE_NOT_FOUND errors (#561)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-09-29 16:25:13 +02:00
Daniel Roe 0c14b0a48b
fix: workaround for `vue` 3.2.18+ esm bundle issue and revert #566 (#578) (#578) 2021-09-29 13:47:36 +02:00
renovate[bot] aaaeb826ba
chore(deps): update all non-major dependencies (#565) 2021-09-29 12:53:41 +02:00
Daniel Roe ad9d2d1906
feat(bridge): add support for legacy composition api helpers (#584) 2021-09-29 12:38:44 +02:00
Daniel Roe 7fdcee3252
feat(kit): support templates with `getContents()` for nuxt 2 (#587) 2021-09-29 12:10:46 +02:00
Daniel Roe 337bd3d2b4
chore(nuxt3): remove last `upath` reference (#588) 2021-09-29 11:55:55 +02:00
Daniel Roe b8b32ac32d
chore: use `miniflare` for testing repo and recommend to users (#585) 2021-09-28 13:30:54 +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
Anthony Fu c5979d9fb5
feat: support auto load for dotenv (#580)
close #355
2021-09-25 10:18:01 +02:00
Anthony Fu c8f8691496
fix: workaround for `vue/server-renderer` import, close #563 (#566) 2021-09-24 11:49:04 +02:00
renovate[bot] 7be43456a4
chore(deps): update all non-major dependencies (#554)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-23 20:39:49 +02:00
Xin Du (Clark) c4e46881cc
refactor(components): use inline templates (#555) 2021-09-23 19:57:37 +02:00
Sébastien Chopin 8513654e6c chore: update design version 2021-09-23 15:36:52 +02:00
renovate[bot] 680887fc2a
chore(deps): update all non-major dependencies (#552) 2021-09-22 21:02:51 +02:00
renovate[bot] 2bae698c18
chore(deps): update all non-major dependencies (#548)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-22 17:58:48 +02:00
pooya parsa fc019b8816
feat(bridge): enable composition-api (#551) 2021-09-22 17:34:11 +02:00
Xin Du (Clark) a137d2e5ec
feat(nitro): support esbuild options config (#550) 2021-09-22 16:39:54 +02:00
Pooya Parsa 317fc55539 fix(pkg): enable declaration for for and webpack 2021-09-21 19:07:24 +02:00
Pooya Parsa 57f435a59f fix(webpack): typecheck postcss plugins and add missing `postcss-import` (resolves #544) 2021-09-21 19:02:45 +02:00
Pooya Parsa e2d216e4ee chore: ping unbuild to latest for sub packages
closes #457
2021-09-21 18:59:37 +02:00
renovate[bot] b06e90d336
chore(deps): update all non-major dependencies (#540)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-21 18:53:25 +02:00
pooya parsa 62647844b5
chore: update to unbuild 0.5.x (#545) 2021-09-21 18:49:36 +02:00
Ahad Birang 5394aef2f7
fix(storage): replace non-word characters with underscore (#542) 2021-09-21 17:05:36 +02:00
Xin Du (Clark) f4cf2199a5
refactor(app): remove lodash template files (#543) 2021-09-21 16:55:07 +02:00
renovate[bot] 3671cfc772
chore(deps): update dependency node-fetch to v3 (#464)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-20 21:00:14 +02:00
renovate[bot] 758bf3ef6f
chore(deps): update all non-major dependencies (#521) 2021-09-20 20:59:49 +02:00
renovate[bot] 9db312beb1
chore(deps): update devdependency colorette to v2 (#531)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-20 20:12:56 +02:00
Ahad Birang 2b63578a84
feat(nitro): handle request body in workers (#537) 2021-09-20 20:12:43 +02:00
Ahad Birang 3e0e24f80d
fix(nitro): disable externals in worker preset (#535) 2021-09-20 11:20:55 +02:00
Xin Du (Clark) d05d8821a0
feat(webpack): bring back postcss and postcss-loader (#532) 2021-09-17 18:20:05 +02:00
Ahad Birang 64a426527f
fix(nitro): pass query params to localCall in service worker (#530) 2021-09-14 21:08:17 +02:00
Ahad Birang 13abec6143
fix(nitro): read body stream on post requests for `service-worker` (#527) 2021-09-13 12:37:38 +02:00
Pooya Parsa 4cd6d80448 fix(nitro): use `generate:page` hook for browser to inject sw
resolves #522
2021-09-10 13:22:20 +02:00
renovate[bot] a6c7ee1828
chore(deps): update all non-major dependencies (#517)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-10 09:24:55 +02:00
Ahad Birang c0c5b9b9bd
fix(nitro): handle static assets and api routes for `service-worker` preset (#518) 2021-09-09 18:01:43 +02:00
Ahad Birang b47c592e39
fix(nitro): do not overwrite output files for browser-preset (#516) 2021-09-09 11:55:40 +02:00
renovate[bot] 7936329646
chore(deps): update all non-major dependencies to ^0.3.1 (#513)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-09 10:44:32 +02:00
renovate[bot] 3af5b92a25
chore(deps): update all non-major dependencies (#508)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-09 10:43:09 +02:00
Pooya Parsa 35f7f10c43 fix(pkg): avoid conflicting `nuxt` binraries (resolves #512) 2021-09-09 09:31:06 +02:00
renovate[bot] c109314d1d
chore(deps): update dependency ora to v6 (#452)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-08 23:00:48 +02:00
pooya parsa 820a9d0b57
feat(nitro): assets driver (#511) 2021-09-08 22:01:21 +02:00
Daniel Roe e363ed5853
fix(vite): create valid legacy dev manifest (#509) 2021-09-08 16:32:36 +02:00
renovate[bot] 51eb4dba22
chore(deps): update all non-major dependencies (#504)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-08 14:09:33 +02:00
Daniel Roe 133c03ae2f
chore(nitro): avoid optional chaining in nitro render fn (#493) 2021-09-08 11:54:17 +02:00
renovate[bot] f468ad59e4
chore(deps): update all non-major dependencies (#502)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-07 20:11:07 +02:00
pooya parsa 49f7b39f6b
feat(cli): `nuxi info` (#503) 2021-09-07 15:17:17 +02:00
renovate[bot] 0c5234b8c0
chore(deps): update all non-major dependencies (#495)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-07 13:09:14 +02:00
Daniel Roe f2d78674a0
feat: add support for vite build (with vite-format manifest) (#450) 2021-09-07 11:35:55 +02:00
Daniel Roe 44b7f1f61e
fix(nitro): used named export for azure entry (#491) 2021-09-06 13:58:56 +02:00
Daniel Roe b9d2dad56a
fix(nitro): correct vercel fs api static directory (#488) 2021-09-06 13:38:14 +02:00
Ahad Birang 3304f75b50
fix(bridge): handle `ssr: false` (#489) 2021-09-06 13:37:58 +02:00
Daniel Roe 0a8c86c885
fix(nitro): export named function rather than default export (#490) 2021-09-06 13:37:21 +02:00
renovate[bot] b1da8ea2ca
chore(deps): update all non-major dependencies to ^3.2.9 (#486)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-06 01:39:28 +02:00
Pooya Parsa 9c14b886e8 fix(bridge): generate `dist/runtime` 2021-09-06 00:01:33 +02:00
Pooya Parsa 0b3271d275 fix(bridge): set webpack as implicit external 2021-09-06 00:00:07 +02:00
renovate[bot] 9f7438afb1
chore: update all non-major dependencies and add `node` to nitro external conditions (#440)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-09-05 23:54:12 +02:00
pooya parsa 44458fcbbb
feat: nuxt bridge (#459) 2021-09-05 23:21:33 +02:00
Daniel Roe de57626a7a
fix(nitro): emit chunk names without `#` (#477) 2021-09-05 22:48:38 +02:00
Daniel Roe 0c50af9fd5
fix(nitro): use file url for `#build` alias in windows dev (#469) 2021-09-05 22:35:54 +02:00
Daniel Roe 8aaa1b3124
fix(webpack): exclude assets from webpack externals (#471) 2021-09-05 22:34:56 +02:00
Daniel Roe 193d7bf8bc
feat: use webpack esm server build (#474) 2021-09-05 22:33:24 +02:00
Daniel Roe 7527d30bed
fix(nitro): inject entryURL at beginning of entrypoint (#468) 2021-09-03 14:27:19 +02:00
Daniel Roe 7f9ef5e13d
fix(nitro): correct issues rendering `payload.js` (#466) 2021-09-01 20:08:09 +02:00
Anthony Fu a994bec4f3
fix(global-imports): don't match with comments (#462) 2021-08-30 13:55:57 +02:00
Ahad Birang a31e8abfb3
fix: rename `useNuxt` in global-imports to `useNuxtApp` (#461) 2021-08-30 11:08:43 +02:00
Daniel Roe a9c4bfa065
refactor: rename runtime `nuxt` to `nuxtApp` equivalents (#460) 2021-08-27 15:30:53 +02:00
Daniel Roe 7a03460584
chore(nitro, kit, nuxt3): add nitro hook types and upgrade `hookable@5` (#458) 2021-08-27 14:51:40 +02:00
Daniel Roe 16b769d6b9
fix(nuxt3): add types for runtime hooks (and fix `page:finished`) (#455)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-08-26 20:57:36 +02:00
Anthony Fu 45f898e108 chore: fix typo 2021-08-24 15:49:03 +08:00
Ahad Birang 6c37bad73a
fix(kit): template dst should become plugin src (#448) 2021-08-16 22:00:43 +02:00
Ahad Birang d3582bf1e8
fix: components template path (#447) 2021-08-16 11:08:47 +02:00
Daniel Roe 052edd220d
docs: auto-generate configuration api (#349)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-08-11 23:48:33 +02:00
Pooya Parsa 91c6ef57e7 fix(nuxt3): resolve dist dir by top level module 2021-08-11 23:26:47 +02:00
renovate[bot] 09824d9167
chore(deps): update all non-major dependencies (#428)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-11 22:39:46 +02:00
pooya parsa ee0163c273
refactor: merge modules to `nuxt3` (#439) 2021-08-11 22:28:38 +02:00
Anthony Fu c2e96d0b24
refactor: move modules under `modules/` (#437) 2021-08-11 19:12:21 +02:00
pooya parsa 084b4e2123
refactor: rename `nuxt-cli` to `nuxi` (#430) 2021-08-10 19:37:03 +02:00
Pooya Parsa cbce777add fix(cli): only restart if pages directory itself is changed
resolves #429
2021-08-10 18:53:46 +02:00
renovate[bot] 991a231018
chore(deps): update dependency @rollup/plugin-commonjs to v20 (#406) 2021-08-10 12:40:49 +02:00
Anthony Fu b2b4c64807
feat: auto global imports (#410)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-08-10 02:27:23 +02:00
renovate[bot] 50acd3dda5
chore(deps): update all non-major dependencies (#422)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-09 23:55:26 +02:00
Anthony Fu 5191ff98f3
fix(components): types generation (#416)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-08-09 23:54:44 +02:00
pooya parsa 3516f40e06
fix(nitro): fix EBUSY error on windows (#425) 2021-08-09 23:44:50 +02:00
pooya parsa 4b5d9f1052
feat: nuxt prepare and template improvements (#423) 2021-08-09 22:54:12 +02:00
Daniel Roe 25e96bb896
fix: windows path issues (#408) 2021-08-09 20:24:52 +02:00
Pooya Parsa cb7f079ac4 chore: fix lint issues
[skip-release]

using `import type` seems a regression of `import/named` rule but generally makes it more readable to prefer using it :)
2021-08-09 18:18:21 +02:00
renovate[bot] 62921afad0
chore(deps): update all non-major dependencies (#401)
[no-release]
2021-08-09 17:46:36 +02:00
Daniel Roe 771e72b1b5
chore(nitro): no longer need to inline `ohmyfetch` (#407) 2021-08-09 17:46:03 +02:00
Anthony Fu fce147f177
feat: support `options.css` (#418) 2021-08-09 17:42:52 +02:00
Daniel Roe 52a2fff31c
fix(cli): don't let changes within `buildDir` trigger nuxt reload (#420) 2021-08-09 15:01:08 +02:00
Xin Du (Clark) bf3f72e24e
fix(kit): default config value in dev/prod mode (#405) 2021-07-31 21:26:41 +01:00
Xin Du (Clark) 5a1ccec61f
fix(webpack): enable minimize for client production bundles (#404) 2021-07-31 21:26:32 +01:00
Daniel Roe 858e31c7fc
fix(nitro): promisify proxy handler (#398) 2021-07-28 19:24:19 +02:00
Matt Kane 4a989e9b7a
fix(nitro): detect `NETLIFY_LOCAL` (#400) 2021-07-28 18:42:59 +02:00
Anthony Fu 8e5e229031
feat(components): build time sync loader (#383) 2021-07-28 14:11:32 +02:00
Daniel Roe bb757045ec
fix(webpack): use cjs for emitted webpack files (#395) 2021-07-28 14:00:39 +02:00
renovate[bot] f6f7d771ee
chore(deps): update all non-major dependencies (#389)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-28 13:52:01 +02:00
Daniel Roe 2da82ce5cf
feat(meta): add default head values (#382)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-07-28 13:48:17 +02:00
pooya parsa cc212cedc8
refactor: improved template utils (#393) 2021-07-28 13:35:24 +02:00
Daniel Roe c9ed8bc341
fix(nitro): import externals as esm namespace (#394)
[workaround]
2021-07-28 09:58:07 +02:00
Daniel Roe bbfa41f811
fix(nitro): handle ssr redirects (#392) 2021-07-27 15:55:01 +02:00
renovate[bot] 2e2a09968a
chore(deps): update dependency @rollup/plugin-commonjs to ^19.0.2 (#384)
[skip-release]
2021-07-26 22:26:56 +02:00
Anthony Fu 0e93d752fd
feat(kit): `extendWebpackConfig` and `extendViteConfig` utils (#386) 2021-07-26 21:06:27 +02:00
Daniel Roe 57a2974450
feat(cli): add `prepare` command to stub module types (#370)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-07-26 16:46:19 +02:00
Daniel Roe 8c09d05ad2
refactor: improve cli and kit types (#369)
[skip-release] 

Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-07-26 16:04:35 +02:00
renovate[bot] b3526ba0a4
chore(deps): update all non-major dependencies (#371)
[skip-release]
2021-07-26 15:44:55 +02:00
Daniel Roe 956f442e29
fix(nitro): filter out duplicate imports (#378) 2021-07-26 15:44:35 +02:00
Matt Kane bad2a74805
fix(nitro): disable `moduleSideEffects` by default (#377) 2021-07-26 13:32:35 +02:00
Anthony Fu 864d2683ab
feat(kit): `addWebpackPlugin` and `addVitePlugin` utils (#368) 2021-07-26 12:45:42 +02:00
Matt Kane e43e9cf71a
fix(nitro): generate correct netlify entrypoint (#372) 2021-07-26 12:37:39 +02:00
renovate[bot] a57b9e1887
chore(deps): update all non-major dependencies (#350)
[skip-release]
2021-07-23 17:22:54 +02:00
Daniel Roe f980ef235f
fix(app): separate plugin entrypoints (#366) 2021-07-23 16:58:38 +02:00
Anthony Fu a01dd69fcc
fix(vite): prod build hang, close #336 (#361)
* fix(vite): prod build hang, close #336

* chore: update
2021-07-23 16:45:06 +02:00
Daniel Roe 928d10ab77
fix(vite): add transpile options to noExternal list (#364) 2021-07-23 16:43:06 +02:00
Daniel Roe 5d78c14ed6
fix(nuxt3): reresolve app entrypoint when changes to `app.vue` are detected (#363) 2021-07-23 16:42:49 +02:00
Daniel Roe 5d5516dd1d
feat: nitro endpoint for viewing `_vfs` (#362) 2021-07-23 16:41:36 +02:00
Pooya Parsa 7fee983b52 fix(nitro): watch .mjs and .cjs extensions (closes #352) 2021-07-22 16:25:26 +02:00
Daniel Roe 77874bf4d2
fix(app): finish hydration when the page is loaded (#346) 2021-07-21 22:06:05 +02:00
pooya parsa be255772b2
feat: support `ssr: false` (#351)
Co-Authored-By: Daniel Roe <daniel@roe.dev>
2021-07-21 22:05:22 +02:00