Commit Graph

557 Commits

Author SHA1 Message Date
Pooya Parsa ad7e7551ec fix(nitro): import rollup as cjs 2021-10-25 11:23:15 +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 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 f0b9474b40
feat(nuxi): bundle analyzer (#701)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-10-21 21:51:44 +02:00
pooya parsa 9d40a271ee
feat(nitro): improve dev worker stability (#1303) 2021-10-21 13:54:55 +02:00
pooya parsa d1214c9aae
fix(nitro): terminate active worker before replacing (#1302) 2021-10-20 21:28:01 +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 92547d8547
fix(nitro): filter alias in `/_vfs` listing (#1296) 2021-10-20 19:30:42 +02:00
Ahad Birang ffb05fc734
fix(nitro): do not modify `event.request` for worker entries (#1279) 2021-10-20 12:54:02 +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
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
pooya parsa d8d10febd5
feat!: add `engines.node` field and node.js version check (#1197) 2021-10-18 21:31:15 +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
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 807f4a325f fix(deps): upgrade jiti to 2.12.9 (#1171) 2021-10-18 15:38:04 +02:00
pooya parsa cb912c3c0c
fix(nuxi): update version and vite detection (#1169) 2021-10-18 15:11:17 +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
Daniel Roe f974425cc4
fix(nitro): modify contents rather than compiled , remove template `compiled` (#1154) 2021-10-18 11:06:23 +02:00
renovate[bot] 4f050e50bf
chore(deps): update all non-major dependencies (#989) 2021-10-18 10:50:46 +02:00
Daniel Roe 61518a972f
fix(nitro): disable automatic spa fallback (#1071) 2021-10-18 10:08:22 +02:00
Daniel Roe 9592967eee
f(nitro): enable externals for `azure` and `firebase` presets (#1050) 2021-10-18 10:04:38 +02:00
retsuki b3ff8eeaed
fix(nitro): read firebase package.json (#1108) 2021-10-18 09:53:50 +02:00
Daniel Roe a1bcc534bf
fix(nitro): update azure swa implementation (#1069) 2021-10-15 12:28:34 +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
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
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
Pooya Parsa 961d142039 fix(nitro): `table` esm compatibility (resolves #877) 2021-10-13 11:09:24 +02:00
Anthony Fu 10170daa84
fix(nitro): `dot-prop` esm compatibility (#829) 2021-10-12 20:51:24 +02:00
Xin Du (Clark) 3759926de5
fix(nitro): firebase package.json is not exported (#809) 2021-10-12 19:39:55 +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
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 9c619b8772
fix(nuxt3): provide `NuxtWelcome` component from design (#745) 2021-10-12 13:16:52 +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
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
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
Daniel Roe a4f06716be
fix(nitro): always inline `.wasm` (#698) 2021-10-07 18:32:48 +02:00
Daniel Roe 5275624f2e
feat(nitro): support importing/inlining wasm binaries (#693) 2021-10-07 15:43:34 +02:00
pooya parsa dd73a8bcad
feat: export `defineNuxtConfig` from `nuxt3` and `@nuxt/bridge` (#669) 2021-10-06 14:31:52 +02:00
Pooya Parsa 2b1bf4824e chore: update base major versions to 3.x for simplicity 2021-10-05 17:09:24 +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 0a9342c02d
fix: add main entrypoints for packages (#629) 2021-10-03 01:39:51 +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
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
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
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] 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
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
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 f79f6fe40f
chore(nitro): upgrade `unenv` and remove old workaround (#595) 2021-09-29 19:50:54 +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 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
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
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
Xin Du (Clark) a137d2e5ec
feat(nitro): support esbuild options config (#550) 2021-09-22 16:39:54 +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
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
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
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
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
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] 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