Commit Graph

794 Commits

Author SHA1 Message Date
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