Commit Graph

2730 Commits

Author SHA1 Message Date
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
renovate[bot]
9c7085da58
chore(deps): update all non-major dependencies (#347)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-21 19:18:45 +02:00
renovate[bot]
e33b6f7241
chore(deps): update dependency @rollup/plugin-replace to v3 (#338)
[skip-release]
2021-07-20 12:22:28 +02:00
Daniel Roe
9d8fd61fcf
chore: update dependencies (#342)
[skip-release]
2021-07-20 12:21:30 +02:00
renovate[bot]
17a2d18486
chore(deps): update all non-major dependencies (#344)
[skip-release]
2021-07-20 12:20:35 +02:00
Daniel Roe
8d3f296e40
chore(app): entry types (#345)
[skip-release]
2021-07-20 12:20:17 +02:00
renovate[bot]
19794ddd21
chore(deps): update all non-major dependencies (#333)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-19 15:27:51 +02:00
Daniel Roe
64d3585959
fix(app): make renderMeta optional (#340) 2021-07-19 15:27:20 +02:00
Daniel Roe
98cf97d269
fix: remove vue alias (#335) 2021-07-16 11:12:11 +02:00
Daniel Roe
5d7ded368b
fix(vite): exclude optimising vue-router (#332) 2021-07-15 16:42:11 +02:00
renovate[bot]
e0d2c78e05
chore(deps): update all non-major dependencies (#324)
[skip-release]
2021-07-15 13:33:13 +02:00
Daniel Roe
b263b4f930
feat: @nuxt/meta module for head rendering (#179)
Co-authored-by: Anthony Fu <hi@antfu.me>
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-07-15 13:28:04 +02:00
Pooya Parsa
0bbbddecba fix(cli): handle build error and exit with code(1) 2021-07-15 13:24:26 +02:00
Pooya Parsa
7eecc84f4d fix(nitro): fix externals regex for scoped packages
closes #238
2021-07-15 13:08:14 +02:00
Pooya Parsa
e1d44262a5 fix(vite): add missing #build alias 2021-07-15 12:50:09 +02:00
Pooya Parsa
a3b11c0ea8 chore: fix nuxt3 stub script 2021-07-15 12:49:57 +02:00
Pooya Parsa
c4387e8ec2 chore: fix vite entry path
in stubbed mode, we use .ts extension
2021-07-15 12:49:38 +02:00
pooya parsa
bec2720930
feat: use virtual filesystem for templates (#292)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2021-07-15 12:18:34 +02:00
Daniel Roe
ea0d2788a4
feat: use @nuxt/design (#322)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2021-07-15 11:47:15 +02:00
renovate[bot]
6d0bb7c740
chore(deps): update dependency css-loader to v6 (#323)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-15 11:38:53 +02:00
pooya parsa
6318438415
feat(nitro, vite): use native module (#252)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2021-07-15 11:38:06 +02:00
renovate[bot]
569d4f3cb3
chore(deps): update all non-major dependencies (#307) 2021-07-14 16:52:08 +02:00
renovate[bot]
20927bc341
chore(deps): update dependency @nuxt/devalue to v2 (#320)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-14 16:41:45 +02:00
Anthony Fu
d995e83a31
fix(vite): set vite's root to current directory (#239) 2021-07-14 16:40:40 +02:00
Anthony Fu
9e8b042bad
fix: vite build (#311) 2021-07-14 16:39:48 +02:00
Anthony Fu
ea0fdc2aa2
fix(vite): make vite server strict by default (#321) 2021-07-14 16:37:07 +02:00
Daniel Roe
0a3041cdf9
fix: allow use of nuxt3 in non-wsl windows environment (#308) 2021-07-12 12:54:24 +02:00
Daniel Roe
1bd0b74299
fix: use esm syntax for webpack module hot (#316) 2021-07-12 12:19:34 +02:00
renovate[bot]
be835de180
chore(deps): update all non-major dependencies (#300)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-07 20:42:12 +02:00
Daniel Roe
b53d8a77ff
fix(components): augment 'vue' module rather than overwriting (#305) 2021-07-07 20:41:51 +02:00
Daniel Roe
2abac1d78c
chore(app): fix tutorial typo (#306) 2021-07-07 20:40:51 +02:00
renovate[bot]
68cd6dd68a
chore(deps): update dependency mini-css-extract-plugin to v2 (#295)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-02 14:45:49 +02:00
renovate[bot]
1dc68c0a84
chore(deps): update all non-major dependencies (#293)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-02 14:45:36 +02:00
pooya parsa
e70978d1c0
fix(cli): restart issues (#299) 2021-07-02 14:45:15 +02:00
pooya parsa
fb08be37e2
chore: edge release on each commit (#294) 2021-07-01 14:58:27 +02:00
Daniel Roe
1126255835
fix(nitro): generate netlify _redirects in public (#298) 2021-07-01 14:49:42 +02:00
Daniel Roe
b1948b1921
feat(pages): page layouts (#276) 2021-06-30 18:32:22 +02:00
Daniel Roe
8faf069778
fix(app): temporary webpack5 'hotfix' (#290)
https://github.com/webpack-contrib/webpack-hot-middleware/issues/390
2021-06-30 18:02:57 +02:00
Daniel Roe
6cd5f8816f
fix(kit): make resolvePath case-sensitive (#291) 2021-06-30 15:55:11 +02:00
Daniel Roe
53f6756178
feat(app): backwards-compatible options asyncData support (#286) 2021-06-30 12:53:10 +02:00
renovate[bot]
79523399d2
chore(deps): update all non-major dependencies (#257)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-30 12:49:42 +02:00
Daniel Roe
04c3f65539
refactor: rename static to public (#284) 2021-06-30 12:29:48 +02:00
Daniel Roe
1370dd6719
fix(cli): loading html fix (#288) 2021-06-30 12:26:11 +02:00
Daniel Roe
3829a21729
fix(app): do not call handler twice on navigation (#280) 2021-06-30 11:22:16 +02:00
Daniel Roe
86af8457a9
fix(app): use nuxt-page by default in app.vue (#283) 2021-06-29 17:12:41 +02:00
Daniel Roe
dfbb047be6
fix(kit): don't rely on ModuleThis (#272) 2021-06-25 11:37:18 +02:00
pooya parsa
debe5a98b0
feat(kit, nuxt3): use single nuxt instance (#271) 2021-06-24 16:06:16 +02:00
Pooya Parsa
a25d7b1617 fix(nitro): use unenv 0.3.x (closes #266) 2021-06-24 13:56:19 +02:00
Daniel Roe
c399f142b9
fix(nitro): use nuxt2 compatible template (#268)
closes #265
2021-06-24 13:35:21 +02:00
Pooya Parsa
9797642d78 chore: release
- @nuxt/app@0.5.0
 - nuxt-cli@0.3.8
 - @nuxt/component-discovery@0.2.0
 - @nuxt/kit@0.6.4
 - @nuxt/nitro@0.9.1
 - nuxt3@0.8.0
 - @nuxt/pages@0.3.0
 - @nuxt/vite-builder@0.5.0
 - @nuxt/webpack-builder@0.5.0
2021-06-24 11:06:54 +02:00
Daniel Roe
c124967d8c
fix(components): remove invalid chars from component names (#253) 2021-06-22 12:03:47 +02:00
Daniel Roe
1518a2a070
feat(pages): add catchall support ([...id].vue) (#254) 2021-06-21 14:09:08 +02:00
Daniel Roe
01b2c2c972
fix(components): don't ascend directories (#251) 2021-06-21 13:50:28 +02:00
renovate[bot]
8ef48ce993
chore(deps): update all non-major dependencies (#246)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-21 11:37:16 +02:00
renovate[bot]
d44a607a4e
chore(deps): update all non-major dependencies (#233)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-18 19:17:07 +02:00
Daniel Roe
f8435681d4
feat(app): defineNuxtPlugin + legacy plugin handling (#237)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-06-18 19:16:51 +02:00
Pooya Parsa
36a3d285d8 chore: add fixes for components discovery 2021-06-18 18:57:42 +02:00
pooya parsa
a0f81cd1fb
feat: components discovery (#243)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2021-06-18 18:50:03 +02:00
Pooya Parsa
1ed3387243 fix: use nitro plugin with explicit mjs extension 2021-06-18 14:34:07 +02:00
Pooya Parsa
3398d5a7d6 refactor: use # prefex for internal aliases
leftovers
2021-06-18 11:54:35 +02:00
Pooya Parsa
98a0c727c9 fix nitro client import 2021-06-18 11:53:39 +02:00
Daniel Roe
62b19c63f3
fix(app): add 'inject' param for nuxt3 plugins (#226) 2021-06-17 12:02:22 +02:00
Anthony Fu
3e855c280f
fix(types): type vite options (#235) 2021-06-17 12:01:24 +02:00
Anthony Fu
58327824fb
fix: source map for webpack nuxt-setup-loader (#236) 2021-06-17 11:56:21 +02:00
Pooya Parsa
f32af4bdb6 chore: add implicit dependencies from #220
TODO: unjs/unbuild#9
2021-06-16 15:32:29 +02:00
Pooya Parsa
68e65bd468 chore: update esbuild (#232)
closes #43 closes #231
2021-06-16 15:26:33 +02:00
renovate[bot]
59998eef51
chore(deps): update all non-major dependencies (#219)
* chore(deps): update all non-major dependencies

* fix nuxt-windicss version

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-06-16 15:01:15 +02:00
Anthony Fu
11a5a3e14f
feat(app): make asyncData working with <script setup nuxt> (#220) 2021-06-16 14:42:58 +02:00
Daniel Roe
77e489aae3
fix(nitro): update nitro internal hook name (#218) 2021-06-16 13:48:16 +02:00
Daniel Roe
4095f96559 chore: release
- @nuxt/app@0.4.3
 - nuxt-cli@0.3.7
 - @nuxt/kit@0.6.3
 - @nuxt/nitro@0.9.0
 - nuxt3@0.7.4
 - @nuxt/pages@0.2.3
 - @nuxt/vite-builder@0.4.3
 - @nuxt/webpack-builder@0.4.3
2021-06-16 12:36:06 +01:00
Daniel Roe
2c5ceab003
fix(kit): add build.babel.plugins default option and docs (#224)
* fix(kit): add `build.babel.plugins` default option and docs

* refactor: reorder options
2021-06-16 13:22:27 +02:00
Daniel Roe
5c67408191
fix(nuxt3): add support for custom templates (#225) 2021-06-16 13:22:01 +02:00
Daniel Roe
e2d5a2f4b3
fix: add nitro client plugin ($fetch support) (#223)
* fix(nuxt3): add nitro client plugin ($fetch support)

closes #213

* refactor: put hook in more logical place

* docs: update comment
2021-06-16 13:20:18 +02:00
Daniel Roe
9750009cc5
feat(nitro): support netlify zero-config deployments (#175) 2021-06-15 00:10:17 +02:00
renovate[bot]
41982affee
chore(deps): update dependency postcss-loader to v6 (#203)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-14 21:23:24 +02:00
renovate[bot]
bf1b6dae74
chore(deps): update all non-major dependencies (#200)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-14 21:12:26 +02:00
Pooya Parsa
5bd639a493 fix(vite): add nuxt/app to noExternal 2021-06-14 20:52:40 +02:00
Pooya Parsa
b6104c6e83 chore(nitro): provide process.client and process.server
They should be handled in vite/webpack step but just in case
2021-06-14 20:37:35 +02:00
Pooya Parsa
eee45396d1 fix(kit): ignore @ alias without following slash (resolves #210) 2021-06-14 20:23:21 +02:00
Ahad Birang
8740ece29e
fix(webpack): find asset modules of chunk (#198) 2021-06-14 11:37:54 +02:00
Daniel Roe
7c85daa64e
fix(nitro): set esbuild target: '2019' (#189) 2021-06-14 11:03:44 +02:00
renovate[bot]
b6786c3ea6
chore(deps): update dependency esbuild to ^0.12.7 (#195)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-09 00:27:15 +02:00
renovate[bot]
d6da38a1fe
chore(deps): update all non-major dependencies (#182)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-08 23:59:13 +02:00
renovate[bot]
ef2fbe3e1b
chore(deps): update dependency webpack-dev-middleware to v5 (#176)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-07 11:18:44 +02:00
renovate[bot]
7d2cd2f356
chore(deps): update all non-major dependencies (#166)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-06-07 11:12:36 +02:00
Pooya Parsa
48b3c75194 chore: release
- @nuxt/nitro@0.8.0
 - nuxt3@0.7.3
2021-06-04 22:16:21 +02:00
Pooya Parsa
0b7790f6d0 feat(nitro): #config 2021-06-04 22:12:32 +02:00
Pooya Parsa
f98be4bfed fix(nitro): support ~/@ aliases and explicitly externalize buildDir 2021-06-04 22:04:08 +02:00
Pooya Parsa
8aae9ef7b2 chore: release
- @nuxt/app@0.4.2
 - nuxt-cli@0.3.6
 - @nuxt/kit@0.6.2
 - @nuxt/nitro@0.7.2
 - nuxt3@0.7.2
 - @nuxt/pages@0.2.2
 - @nuxt/vite-builder@0.4.2
 - @nuxt/webpack-builder@0.4.2
2021-06-04 21:19:13 +02:00
Daniel Roe
1bbd754f29
refactor(nitro): app template 2-3 normalization (#177) 2021-06-03 15:12:05 +02:00
Daniel Roe
f91f822ed4
chore: move vue dep to nuxt3 rather than pages (#173) 2021-05-27 13:42:22 +02:00
Daniel Roe
0009e8e950
chore: address another peerDep warning (#172) 2021-05-26 21:54:05 +02:00
Daniel Roe
4c0ba0151d
fix(kit): correct render result types (#170) 2021-05-26 20:44:08 +02:00
Pooya Parsa
6bde903273 chore: release
- @nuxt/app@0.4.1
 - nuxt-cli@0.3.5
 - @nuxt/kit@0.6.1
 - @nuxt/nitro@0.7.1
 - nuxt3@0.7.1
 - @nuxt/pages@0.2.1
 - @nuxt/vite-builder@0.4.1
 - @nuxt/webpack-builder@0.4.1
2021-05-24 13:30:14 +02:00
Pooya Parsa
423289d469 chore: try to fix shims
(for npm package usage)
2021-05-24 13:29:31 +02:00
Pooya Parsa
2e0fce88a6 chore(nitro): show middleware table only in debug mode 2021-05-24 13:27:15 +02:00
Pooya Parsa
9fcd746c72 chore(nitro): disable auto mock 2021-05-24 13:25:34 +02:00
Pooya Parsa
03173075da fix(nitro): sort middleware fron long to short 2021-05-24 13:24:56 +02:00
Pooya Parsa
a82e7b9008 fix(nitro): set makeAbsoluteExternalsRelative to false (resolves #160) 2021-05-24 13:21:37 +02:00
Pooya Parsa
838eae4a57 chore: apply latest eslint rules
closes #163
2021-05-24 13:14:10 +02:00
renovate[bot]
6d216d1255
chore(deps): update all non-major dependencies (#159)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-24 13:03:42 +02:00
renovate[bot]
47979a2645
chore(deps): update dependency dotenv to v10 (#161)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-24 12:53:58 +02:00
Daniel Roe
f497020f6e
fix(compat): add template variables for compat module (#162) 2021-05-24 12:53:04 +02:00
Pooya Parsa
de22e8f71b chore(nitro): add missing globby dependency
(included in release)
2021-05-20 15:41:49 +02:00
Pooya Parsa
2f2e818e32 chore: release
- @nuxt/app@0.4.0
 - nuxt-cli@0.3.4
 - @nuxt/kit@0.6.0
 - @nuxt/nitro@0.7.0
 - nuxt3@0.7.0
 - @nuxt/pages@0.2.0
 - @nuxt/vite-builder@0.4.0
 - @nuxt/webpack-builder@0.4.0
2021-05-20 15:34:30 +02:00
renovate[bot]
b58869c29a
chore(deps): update dependency vue-router to ^4.0.8 (#157)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-20 13:47:54 +02:00
Pooya Parsa
6b62d456d7 feat: optional pages and refactor nuxt3 (#142) 2021-05-20 13:42:41 +02:00
Pooya Parsa
d95e002d5b fix(automock): don't externalize .ts imports 2021-05-20 13:07:30 +02:00
renovate[bot]
82b585dbb0
chore(deps): lock file maintenance and fix lint issues (#141) 2021-05-20 12:58:30 +02:00
renovate[bot]
404838bcc8
chore(deps): update all non-major dependencies (#155)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-20 12:47:35 +02:00
renovate[bot]
c008b30660
chore(deps): update dependency defu to v5 (#153)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-19 17:54:58 +02:00
renovate[bot]
7db904af77
chore(deps): update all non-major dependencies (#139)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-19 17:54:46 +02:00
renovate[bot]
77c4b3cb2d
chore(deps): update dependency @rollup/plugin-node-resolve to v13 (#144)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-19 17:35:59 +02:00
renovate[bot]
9e5751bf71
chore(deps): update dependency css-minimizer-webpack-plugin to v3 (#151)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-19 17:35:52 +02:00
renovate[bot]
6e2128f995
chore(deps): update dependency @rollup/plugin-commonjs to v19 (#146)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-19 17:35:28 +02:00
renovate[bot]
672dea47c6
chore(deps): update dependency dotenv to v9 (#145)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-19 17:35:19 +02:00
renovate[bot]
f26614aeea
chore(deps): update dependency fs-extra to v10 (#143)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-19 17:35:09 +02:00
Daniel Roe
c7328732fb
fix(nitro): add body + body prepended scripts to template (#154) 2021-05-19 17:34:44 +02:00
Sébastien Chopin
0346d6e88a chore(app): small refactor on $nuxt.hooks 2021-05-06 23:25:48 +02:00
Alexander Lichter
520f48a9d2
fix(nitro) set requireReturnsDefault to auto (#131) 2021-04-29 15:00:31 +02:00
Pooya Parsa
d8423a2f9a chore(nitro): lazy load renderer resources 2021-04-29 14:08:10 +02:00
renovate[bot]
717b26f3ce
chore(deps): update all non-major dependencies (#123)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-29 14:06:45 +02:00
pooya parsa
9732d63c74
feat: update vite implementation (#130) 2021-04-29 13:51:54 +02:00
Pooya Parsa
bfcd3b0e9c chore: release
- nuxt-cli@0.3.3
 - @nuxt/kit@0.5.3
 - @nuxt/nitro@0.6.3
 - nuxt3@0.6.3
 - @nuxt/vite-builder@0.3.3
 - @nuxt/webpack-builder@0.3.4
2021-04-28 19:17:42 +02:00
Pooya Parsa
b0b7879403 chore(nitro): remove iife wrapper from worker presets 2021-04-28 18:20:30 +02:00
Pooya Parsa
f0dfb42a58 fix(cli): support nuxt2-edge 2021-04-28 17:51:42 +02:00
Pooya Parsa
325c6b8fea chore(nitro): avoid optional chaining due to wrangler issue
https://github.com/nuxt/framework/issues/97
2021-04-28 17:37:35 +02:00
Pooya Parsa
f723cc6fcd chore: disable webpack fs cache 2021-04-28 16:50:41 +02:00
Pooya Parsa
7255a890a0 chore: release
- @nuxt/app@0.3.3
 - nuxt-cli@0.3.2
 - @nuxt/kit@0.5.2
 - @nuxt/nitro@0.6.2
 - nuxt3@0.6.2
 - @nuxt/vite-builder@0.3.2
 - @nuxt/webpack-builder@0.3.3
2021-04-28 16:24:45 +02:00
Pooya Parsa
51538bfcb1 fix(nitro): handle esm imports from cjs files
fixes fs mock for vue-server-renderer
2021-04-28 16:16:42 +02:00
renovate[bot]
83e28a71ac
chore(deps): update dependency scule to ^0.2.1 (#122)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-28 15:42:17 +02:00
Alexander Lichter
813df279ec
fix(nitro): ensure that nitro runtime is not externalized (#121) 2021-04-28 15:32:26 +02:00
Alexander Lichter
2a2c4d5e46
fix(nitro): remove depd unenv alias (#120) 2021-04-28 15:25:13 +02:00
Pooya Parsa
5e0abbcb1b fix(nitro): don't externalize @nuxt, virtual: and # 2021-04-28 15:13:27 +02:00
renovate[bot]
a806e8ca01
chore(deps): update all non-major dependencies (#116)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-28 13:06:06 +02:00
Pooya Parsa
4482fd79e9 chore: release
- @nuxt/nitro@0.6.1
 - nuxt3@0.6.1
2021-04-23 23:02:36 +02:00
Pooya Parsa
47c28551c8 fix(nitro): avoid using fs/promises
node 12 compat for vercel
2021-04-23 23:01:00 +02:00
Pooya Parsa
0d92f1a042 chore: release
- @nuxt/app@0.3.2
 - nuxt-cli@0.3.1
 - @nuxt/kit@0.5.1
 - @nuxt/nitro@0.6.0
 - nuxt3@0.6.0
 - @nuxt/vite-builder@0.3.1
 - @nuxt/webpack-builder@0.3.2
2021-04-23 22:57:57 +02:00
Pooya Parsa
ee918c91e7 chore: fix eslint 2021-04-23 22:57:11 +02:00
Pooya Parsa
342bf06659 fix(kit): auto detect version if not specified 2021-04-23 22:36:56 +02:00
renovate[bot]
79f46748f1
chore(deps): update all non-major dependencies (#113)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-23 22:30:55 +02:00
pooya parsa
5aa59c2ca5
test: add nitro preset tests (v2 & v3) (#104) 2021-04-23 21:52:32 +02:00
renovate[bot]
3f712f3d46
chore(deps): update all non-major dependencies (#110)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-23 21:26:28 +02:00
renovate[bot]
c0e4fc007d
chore(deps): update dependency defu to v4 (#112)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-23 21:26:15 +02:00
Pooya Parsa
91e74b9364 chore: update h3 2021-04-21 18:35:44 +02:00
renovate[bot]
ab0ff594d9
chore(deps): update all non-major dependencies (#103)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-21 18:35:08 +02:00
Pooya Parsa
5a3f4b7800 fix(nitro): use globalThis 2021-04-21 17:35:20 +02:00
pooya parsa
de9dffb0d6 chore: migrate to unenv and mkbuild 0.2 (#108) 2021-04-21 17:10:53 +02:00
Alexander Lichter
4c0dba202f
fix(nitro): mock consola (#106) 2021-04-21 13:16:04 +02:00
Pooya Parsa
8f8551cd67 fix(nitro): ovrride by user input 2021-04-20 16:10:49 +02:00
Pooya Parsa
60e1ee387c fix(cli): replace not instance regardless of DEBUG 2021-04-20 15:27:10 +02:00
Pooya Parsa
fbe658ffc7 chore: hide esbuild sourcemap warning 2021-04-20 15:22:42 +02:00
Pooya Parsa
0a74f1e239 fix(webpack): don't inline scoped packages 2021-04-20 15:22:24 +02:00
Pooya Parsa
d9bb3fa2ee fix types 2021-04-20 15:22:07 +02:00
Pooya Parsa
d341e844fe chore(nitro): add nitro config types for nuxt.config 2021-04-20 14:51:34 +02:00
Pooya Parsa
96649cc876 types: allow unknown config keys in nuxt.config 2021-04-20 14:43:44 +02:00
Pooya Parsa
ac9c0b044e chore(cli): Show config diff only with DEBUG 2021-04-20 14:22:47 +02:00
renovate[bot]
8ffb15200e
chore(deps): update all non-major dependencies (#91)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-20 14:20:38 +02:00
pooya parsa
a63347b0ba
types: add global and shims for app and nitro (#102) 2021-04-20 13:57:18 +02:00
pooya parsa
5646770cd1
refactor(nitro): use # prefix for aliases (#101) 2021-04-20 13:03:18 +02:00
Pooya Parsa
1b10a1f091 fix(nitro): only serve placeholders for publicPath 2021-04-20 12:30:12 +02:00
Pooya Parsa
9497a3d340 chore(cli): make open and clipboard optional 2021-04-19 22:49:20 +02:00
Pooya Parsa
49e4c038b5 fix(nitro): resolve default export for assets 2021-04-19 22:41:47 +02:00
Pooya Parsa
4e1865358c fix: issues with externals outside of rootDir 2021-04-19 22:41:02 +02:00
Pooya Parsa
bef9f82a8d feat(nitro): allow extending nitro context 2021-04-19 22:39:11 +02:00
Pooya Parsa
75b412bf0f chore(vite): allow extending with vite:extend
(temp until moving nuxt-vite)
2021-04-19 22:30:06 +02:00
Pooya Parsa
586709a82d fix(cli): provide default NODE_ENV for build and dev commands 2021-04-19 22:29:39 +02:00
Pooya Parsa
f0443c2ba6 fix(cli): clear screen before new nuxt creation
also disables unused watching system (wip)
2021-04-18 18:39:07 +02:00
Pooya Parsa
4bcb8fa791 fix(kit): resolve alias for installModule source 2021-04-18 18:38:30 +02:00
Pooya Parsa
7ee7a7a7b5 fix(nuxt3): binary proxy for cli 2021-04-18 18:37:59 +02:00
Pooya Parsa
daaf02f5e4 fix(webpack): exclude ! for externals 2021-04-18 18:37:21 +02:00
Pooya Parsa
f51eb015d2 chore: release
- @nuxt/nitro@0.5.2
 - nuxt3@0.5.1
2021-04-17 17:55:16 +02:00
Pooya Parsa
4dac07a104 fix(nitro): support vue-meta (compat) 2021-04-17 17:50:03 +02:00
Pooya Parsa
c06dbd6c6e chore: release
- @nuxt/app@0.3.1
 - nuxt-cli@0.3.0
 - @nuxt/kit@0.5.0
 - @nuxt/nitro@0.5.1
 - nuxt3@0.5.0
 - @nuxt/vite-builder@0.3.0
 - @nuxt/webpack-builder@0.3.1
2021-04-16 22:07:53 +02:00
Pooya Parsa
cd00e5a92a chore: update unbuild 2021-04-16 22:05:53 +02:00
Pooya Parsa
958bf3f2ad chore(cli): fix fsevents dep 2021-04-16 22:05:49 +02:00
Pooya Parsa
e5df083f60 fix(nitro): workaround for vue2 global style injection 2021-04-16 21:36:19 +02:00
Pooya Parsa
64fe3f735c chore: enable declaration for app and nitro runtime 2021-04-15 21:38:19 +02:00
renovate[bot]
f4d9354d7e
chore(deps): update all non-major dependencies (#87)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-15 21:31:13 +02:00
renovate[bot]
8cfba5399a
chore(deps): update devdependency @types/webpack-bundle-analyzer to v4 (#88)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-15 21:18:27 +02:00
pooya parsa
e224818395
feat: improve dev experience (#89) 2021-04-15 21:17:44 +02:00
Daniel Roe
ce72ce6b07
docs(kit): initial documentation (#86) 2021-04-15 20:49:29 +02:00
Pooya Parsa
6a30a6fd10 chore: release
- @nuxt/kit@0.4.0
 - @nuxt/nitro@0.5.0
 - nuxt3@0.4.0
 - @nuxt/vite-builder@0.2.1
 - @nuxt/webpack-builder@0.3.0
2021-04-13 00:13:14 +02:00
Daniel Roe
dacde63063
feat: add hook signatures and basic typings (#79) 2021-04-13 00:12:30 +02:00
Pooya Parsa
bf0132f3e1 chore(nitro): opt in to makeAbsoluteExternalsRelative: 'ifRelativeSource' 2021-04-13 00:08:18 +02:00
Pooya Parsa
f8cb2586cf perf(nitro): externalize buildDir in development
TODO: supporting ignore patterns to include/exclude (rootDir but not buildDir)
2021-04-13 00:06:27 +02:00
Pooya Parsa
b5c77b4c6b chore: fix lint error 2021-04-12 23:54:46 +02:00
renovate[bot]
95e475b2f9
chore(deps): update all non-major dependencies (#73)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-12 23:53:08 +02:00
Pooya Parsa
9a23c2a553 fix(nitro): absolute external resolution (#80) 2021-04-12 23:52:46 +02:00
renovate[bot]
6e07ff1b92
chore(deps): update dependency css-minimizer-webpack-plugin to v2 (#74)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-12 23:41:20 +02:00
pooya parsa
babb70a4bd
feat(nitro): server assets (#83) 2021-04-12 23:28:48 +02:00
pooya parsa
31f06e9f69
feat(nitro): storage support (#76) 2021-04-11 23:22:02 +02:00
pooya parsa
2d60e71fcb
feat(nitro): raw loader (#75) 2021-04-11 20:20:41 +02:00
Pooya Parsa
bb797fcbb6 chore: release
- @nuxt/app@0.3.0
 - nuxt-cli@0.2.0
 - @nuxt/kit@0.3.0
 - @nuxt/nitro@0.4.0
 - nuxt3@0.3.0
 - @nuxt/vite-builder@0.2.0
 - @nuxt/webpack-builder@0.2.0
2021-04-09 18:02:40 +02:00
Pooya Parsa
6bca511b19 chore: remove globby and chokidar stub types 2021-04-09 17:56:54 +02:00
pooya parsa
a030c62d29
feat: initial version of nu cli (#54) 2021-04-09 17:52:45 +02:00
renovate[bot]
b0a8ec6368
chore(deps): update all non-major dependencies (#62)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-09 15:55:58 +02:00
pooya parsa
c351574043
chore: update build scripts (#69) 2021-04-09 15:48:39 +02:00
Daniel Roe
00c7ede623
fix(nitro): exclude rootDir from externals and reinstate automock warning (#66) 2021-04-09 10:03:49 +02:00
Pooya Parsa
3eb3927779 chore: release
- @nuxt/nitro@0.3.0
 - nuxt3@0.2.6
2021-04-08 16:56:32 +02:00
Pooya Parsa
b536ab4ba7 feat: basic support for netlify_builder target (#18)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2021-04-08 16:54:50 +02:00
Pooya Parsa
4d69c9fb55 chore: release
- @nuxt/nitro@0.2.4
 - nuxt3@0.2.5
2021-04-06 15:09:01 +02:00
Pooya Parsa
f66d917729 fix(nitro): add temporary workarouind for ufo resolution in nuxt2 2021-04-06 14:57:10 +02:00
Pooya Parsa
7b5bd53a02 chore: release
- @nuxt/app@0.2.1
 - @nuxt/nitro@0.2.3
 - nuxt3@0.2.4
 - @nuxt/webpack-builder@0.1.2
2021-04-06 14:27:17 +02:00
Pooya Parsa
3d1f0ae64c chore: mark nuxt-cli as implicit dep of nuxt3 2021-04-06 14:26:42 +02:00
renovate[bot]
dfe99caaf1
chore(deps): update all non-major dependencies (#40)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-06 14:18:17 +02:00
pooya parsa
b12cbc5ed2
fix: use globalThis instead of global (#59) 2021-04-06 14:10:57 +02:00
Daniel Roe
7f97015c74
fix(app, nitro): fix app:rendered hook (#53)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-04-06 11:26:53 +02:00
Alexander Lichter
07e70ac35a
chore(nitro,nuxt3): add READMEs again (#55) 2021-04-06 11:21:47 +02:00
Pooya Parsa
07e1126508 chore(nitro): fix types 2021-04-05 21:08:53 +02:00
Daniel Roe
2db79adfb8
chore(nuxt3): add more types (#51)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-04-05 00:15:34 +02:00
Daniel Roe
06f1ba9853
chore(nitro): add some more types (#49)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-04-04 23:06:56 +02:00
Pooya Parsa
0ba484b99a chore: release
- @nuxt/nitro@0.2.2
 - nuxt3@0.2.3
2021-04-04 22:56:15 +02:00
Pooya Parsa
922fc109dc chore: release
- @nuxt/nitro@0.2.1
 - nuxt3@0.2.2
2021-04-04 19:57:49 +02:00
Pooya Parsa
16cc09bd76 fix(nitro): pass req, res to ssr context (resolves #39) 2021-04-04 19:57:42 +02:00
Pooya Parsa
c864c5a30c fix(nitro): resolve alias for serverMiddleware 2021-04-04 19:54:12 +02:00
Pooya Parsa
6e1cb62231 fix(nitro): add missing kit dependency 2021-04-04 19:46:18 +02:00
Pooya Parsa
9c21ea52ea fix(nitro): add back compat entry 2021-04-04 19:39:54 +02:00
Pooya Parsa
f26daa7a60 chore: release
- nuxt3@0.2.1
2021-04-04 17:59:08 +02:00
Pooya Parsa
3e794a36f2 fix(nuxt3): install nuxt-cli by default 2021-04-04 17:57:02 +02:00
Pooya Parsa
ada29d411b Publish
- @nuxt/app@0.2.0
 - nuxt-cli@0.1.1
 - @nuxt/kit@0.2.0
 - @nuxt/nitro@0.2.0
 - nuxt3@0.2.0
 - @nuxt/vite-builder@0.1.1
 - @nuxt/webpack-builder@0.1.1
2021-04-04 17:51:31 +02:00
Pooya Parsa
236cb3f7a1 chore: rename nu to nuxt-cli 2021-04-04 17:48:19 +02:00
pooya parsa
ef2f9993cb
chore: switch to berry (#50) 2021-04-04 16:22:40 +02:00
Pooya Parsa
5d5183ee82 perf(webpack): use fs cache by default 2021-04-04 14:28:55 +02:00
Pooya Parsa
5ed6fa7612 fix(kit): properly resolve _nuxtConfigFiles 2021-04-04 14:28:31 +02:00
Pooya Parsa
94d36976c7 fix(app): provide appDir via meta export 2021-04-03 17:08:42 +02:00
pooya parsa
f47808f59a
refactor: extract vite and webpack builders (#45) 2021-04-03 15:38:07 +02:00
pooya parsa
2c1eb87671
fix: webpack compilation (#41) 2021-04-03 14:42:02 +02:00
Daniel Roe
efabacd8e2
feat(app): asyncData with global state and explicit key (#37)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
2021-04-03 12:03:20 +02:00
Pooya Parsa
2849559598 ✔️ 2021-04-02 22:47:23 +02:00
Pooya Parsa
4829d89b17 chore: fix type and imports 2021-04-02 21:38:11 +02:00
Pooya Parsa
6fb4028850 fix(dep): pin esbuild to 0.10.x due to module breaking changes 2021-04-02 19:42:53 +02:00
renovate[bot]
c0b8d08819
chore(deps): update all non-major dependencies (#35)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-02 13:48:20 +02:00
pooya parsa
b3f3dc94f3
feat: module utils and improvements (#38) 2021-04-02 13:47:01 +02:00
Pooya Parsa
fe318d483d chore: udate @nuxt/app imports 2021-03-29 11:40:51 +02:00
Pooya Parsa
823e1a1eb4 refactor: nuxt3 utils 2021-03-29 11:33:38 +02:00
Pooya Parsa
5b146c0c88 chore: fix lint error 2021-03-28 23:15:24 +02:00
Pooya Parsa
636d1e38bb refactor: flatten nuxt3 src
some packages yet to be externalized
2021-03-28 23:12:37 +02:00
Pooya Parsa
547b8ec2a7 refactor: move utils to kit
to be rewritten
2021-03-28 23:12:37 +02:00
Pooya Parsa
c9347e3f5b feat: create nu cli 2021-03-28 23:12:37 +02:00
renovate[bot]
55f2b3c4c1
chore(deps): update dependency @rollup/plugin-commonjs to v18 (#33)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-03-28 22:57:06 +02:00
renovate[bot]
6db77cca58
chore(deps): update all non-major dependencies (#32)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-03-28 22:50:51 +02:00
Pooya Parsa
c95d88c6cb refactor: externalize @nuxt/app 2021-03-28 22:49:05 +02:00
pooya parsa
46f771a98b
feat: @nuxt/kit and new config schema (#34) 2021-03-28 22:14:04 +02:00
renovate[bot]
4c4cbfe0ff
chore(deps): update all non-major dependencies (#30)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-03-18 15:27:51 +01:00
Pooya Parsa
a16e13b1de chore: upgrade to monorepo 2021-03-18 15:26:41 +01:00
Pooya Parsa
8d6b97a4ac chore: merge nitro into monorepo 2021-03-17 20:09:00 +01:00
Daniel Roe
545bfe4f9e feat: add nuxt-head component (#166) 2021-03-17 10:18:32 +01:00
Daniel Roe
451fc29b60 fix(app): improve composables (#183) 2021-03-17 10:17:18 +01:00
Daniel Roe
960523c4b8 chore: improve ide dx in playground (#185)
* chore: improve ide dx in playground

* fix(types): correct builder types
2021-03-17 10:11:37 +01:00
renovate[bot]
e3aee4bb81 chore(deps): update devdependency @nuxtjs/eslint-config-typescript to v6 (#178)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Xin Du (Clark) <clark.duxin@gmail.com>
2021-03-10 20:11:49 +00:00
Alexander Lichter
8cc836ebf6 fix(cloudflare, lambda): preserve query parameters in url (#155) 2021-03-10 11:25:05 +01:00
Xin Du (Clark)
2c9854dfe3 fix(webpack): types in webpack and await compiler close (#176) 2021-03-05 18:17:05 +00:00
Daniel Roe
fdc0ffef8d fix(compat): enforce nuxt generate for static target (#148) 2021-03-05 12:13:35 +01:00
Sébastien Chopin
5248c61ed0 feat: add asyncData and improve reactivity (#174)
* feat: add asyncData and improve reactivity

* chore: lint fix
2021-03-01 10:45:37 +01:00
Pooya Parsa
5bfacf1f55 fix: avoid overriding hooks
input is merged extra
2021-02-26 20:15:41 +01:00
Pooya Parsa
040e14f2b6 fix: update nitro preset for dev 2021-02-22 20:11:54 +01:00
Pooya Parsa
97478dde96 chore: less verbose server routes table 2021-02-22 19:38:32 +01:00
Pooya Parsa
b7b9fbf927 chore: disable verbose output in test environment 2021-02-22 18:47:32 +01:00
Pooya Parsa
8a22fa333e feat: update preset options
external tracing enabled by default for node. this change is potentially breaking demo
2021-02-22 13:12:59 +01:00
Pooya Parsa
eebdb2870a chore(presets): rename local to dev 2021-02-22 12:34:27 +01:00
Pooya Parsa
5e6fb802f3 fix(resolveMiddleware): remove legacy handler and path props 2021-02-22 11:37:29 +01:00
Pooya Parsa
29409f064f add preventAssignment option 2021-02-22 11:31:45 +01:00
Xin Du (Clark)
52d28c041a fix(types): type definitions errors (#172) 2021-02-22 11:04:46 +01:00
Pooya Parsa
52592a5d64 fix: replace ~build with nuxt/build
vite sees does not likes ~ for alias when file is in node_modules
2021-02-19 15:21:50 +01:00
Pooya Parsa
709611941b fix: use globalThis for client plugin 2021-02-19 15:11:35 +01:00
Daniel Roe
e1f409ea51 fix: force rebuild on new files being added (#136) 2021-02-19 15:01:08 +01:00
Pooya Parsa
a1ac066cb5 fix: polyfill $fetch on globalThis
TODO: nitro client plugin needs rewrite
2021-02-19 14:59:47 +01:00
Sébastien Chopin
bece3b85ab feat: support auto import of plugins (#169) 2021-02-19 02:08:45 +01:00
Sébastien Chopin
498a234039 chore: update welcome app 2021-02-18 20:16:42 +01:00
pooya parsa
85da52d390 feat: support server directory (#132)
* feat: support server directory

* fix sorting and global

* lazy load api

* pretty print opts

* fix: hide table when no middleware
2021-02-18 17:06:58 +01:00
Pooya Parsa
23f6578c88 fix: include nitro.client plugin for global $fetch 2021-02-18 13:09:15 +01:00
Sébastien Chopin
d48d920a81 chore(app): update logo 2021-02-18 12:29:55 +01:00
Sébastien Chopin
2548e753c0 docs: wip welcome page 2021-02-18 12:17:27 +01:00
Pooya Parsa
270bbbc47e fix: init nitro before module container (closes #165) 2021-02-18 11:47:23 +01:00
Pooya Parsa
f5d96eb60c chore: fix lint error 2021-02-17 21:40:13 +01:00
Pooya Parsa
30c6b1d8e6 chore: update vite 2021-02-17 21:37:56 +01:00
Pooya Parsa
c2d93aa55a chore: minimal webpack stats 2021-02-17 21:15:47 +01:00
Pooya Parsa
64ca193ac9 fix(webpack): remove hmr chunks from client manifest 2021-02-17 20:39:02 +01:00
Pooya Parsa
7b3244a567 fix(builder): empty buildDir only once by build 2021-02-17 19:32:37 +01:00
Sébastien Chopin
d63b28303e fix: don't display 404 page if no pages/ 2021-02-17 15:29:15 +01:00
Daniel Roe
27aef1489f fix: allow numbers in dynamic webpack chunk names (#125) 2021-02-16 12:11:52 +00:00
Daniel Roe
0942d72553 fix: allow matching dynamic page routes 2021-02-16 11:29:18 +00:00
Daniel Roe
c1cd37d8c5 fix: load webpack modules synchronously with require (#104)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-02-16 11:51:53 +01:00
Pooya Parsa
b4251b1389 Merge branch 'main' of github.com:nuxt/nuxt3 into main 2021-02-09 15:56:21 +01:00
Daniel Roe
65229ffb04 feat: mock debug (#118)
closes #97
2021-02-09 14:16:33 +00:00
Daniel Roe
9390acce83 feat: add firebase preset (#100) 2021-02-08 09:04:26 +01:00
Daniel Roe
abb21f30ca fix: allow resolving relative package.json in vite mode
closes #146
2021-02-05 22:09:16 +00:00
Daniel Roe
c76bd35c29 fix: use allowlist approach to chunk name (#101)
closes #93
2021-02-05 18:52:18 +01:00
Sébastien Chopin
a8707469f8 feat: useAsyncData (#142)
* feat: useAsyncData

Resolves #141

* chore: improvements

* chore: fix lint
2021-02-03 19:14:30 +01:00
Sébastien Chopin
b04e212ebc chore: router improvements (#139) 2021-02-02 17:42:48 +01:00
Daniel Roe
31a9bc2d18 feat: add support for Azure static web apps (#92) 2021-02-01 09:24:49 +00:00
Daniel Roe
97efab4270 fix: check for server webpack config (#91) 2021-01-30 22:05:40 +00:00
Xin Du (Clark)
5aa31613bd fix(config): always disasble server sourceMap (#88) 2021-01-24 22:12:07 +01:00
Xin Du (Clark)
1b142148eb fix(compat): disable webpack sourcemap (#84) 2021-01-24 21:30:20 +01:00
Xin Du (Clark)
67a82a7ab9 fix(compat): cannot read property setLegacyMiddleware of undefined (#82) 2021-01-24 20:18:20 +01:00
Xin Du (Clark)
2d0ff10892 fix(rollup): dirnames not generate a sourcemap for the transformation (#83) 2021-01-24 20:16:39 +01:00
Pooya Parsa
694a6b5635 fix(vite): include deps from nuxt3 package 2021-01-22 23:32:02 +01:00
pooya parsa
9be282623c feat: initial support for vite bundler (#127) 2021-01-22 23:02:33 +01:00
Pooya Parsa
9c4a14074c chore: fix lint errors 2021-01-22 22:34:23 +01:00
Pooya Parsa
faabd1ab54 feat: migrate to nitro 2021-01-22 21:57:17 +01:00
Pooya Parsa
c89166f8f9 fix: remove use of html-webpack-plugin
fixes deprecation warnings and we don't need it anyway
2021-01-22 21:57:17 +01:00
Pooya Parsa
fff38618fe chore: allow passing listhen options 2021-01-22 21:32:29 +01:00
Pooya Parsa
5248905dd7 refactor: rebrand to nitro 2021-01-22 20:55:59 +01:00
Pooya Parsa
41951c8862 refactor: move nuxt2 plugin to compat 2021-01-22 20:53:40 +01:00
Eduardo San Martin Morote
0b31d93892 fix(router): generate empty array (#133)
fix #129
2021-01-22 17:41:31 +01:00
Pooya Parsa
ba0fae74a7 fix: remove NuxtChild refs (#113) 2021-01-22 12:25:13 +01:00
Eduardo San Martin Morote
dc2d17baca refactor: remove nuxt-child (#131) 2021-01-22 11:56:28 +01:00
Pooya Parsa
d94aec4841 fix: fix _interopDefault implementation 2021-01-21 15:49:34 +01:00
Pooya Parsa
4f09b514f1 fix: _interopDefault potential cjs files 2021-01-21 15:46:05 +01:00
Pooya Parsa
0b886cf57f feat: serve-placeholder 2021-01-21 14:21:33 +01:00
Pooya Parsa
a6936ff8c6 fix: default value for template path 2021-01-21 14:07:48 +01:00
Xin Du (Clark)
0ebab89014 update getSigmaContext name (#73) 2021-01-21 01:58:43 +01:00
Xin Du (Clark)
f4e15196b2 fix error message in rollup and server (#72) 2021-01-20 23:09:22 +01:00
Xin Du (Clark)
2186d953d0 fix: update documentPath with updated buildDir (#70) 2021-01-20 23:08:54 +01:00
Pooya Parsa
776e12f362 chore: fix lint issues 2021-01-20 21:02:43 +01:00
Pooya Parsa
a8fc68fec0 chore: remove unused utils 2021-01-20 20:54:13 +01:00
Pooya Parsa
2fe8b62b93 chore: fix lint error 2021-01-20 20:46:19 +01:00
Daniel Roe
3f99bb7878 feat: add support for useHead (#122)
* feat: add support for `useHead`

* chore: use sigma@75

Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-01-20 20:17:36 +01:00
Pooya Parsa
6e9be0eece feat: support ssrContext.head
Co-Authored-By: Daniel Roe <daniel@roe.dev>
2021-01-20 20:13:28 +01:00
Xin Du (Clark)
8e320f80aa fix(build): use last hash file name in client manifest (#123) 2021-01-20 20:04:47 +01:00
Pooya Parsa
3d06693f88 add basic nuxt build 2021-01-20 16:44:52 +01:00
Pooya Parsa
387fa4a278 fix: 404 handling for static assets 2021-01-20 16:42:42 +01:00
Pooya Parsa
fd0be27f0c fix: static asset handling with leading slash 2021-01-20 16:00:14 +01:00
Pooya Parsa
17160c31ed chore: use webpackbar basic reporter for less verbose output 2021-01-20 15:46:07 +01:00
Pooya Parsa
47c738cd9d feat: prepare for npm publish 2021-01-20 15:43:43 +01:00
Pooya Parsa
cc4a32c024 chore: hide generated logs 2021-01-20 15:37:21 +01:00
Pooya Parsa
0675191cba fix: disable external tracing for local preset 2021-01-20 15:34:00 +01:00
Pooya Parsa
acc76ed2df chore: remove legacy cli from codebase 2021-01-20 14:29:56 +01:00
Pooya Parsa
588e09cf10 chore: fix sigma import 2021-01-20 13:40:17 +01:00
Pooya Parsa
454b8c332c refactor: move app to src with nuxt/app import
this refactor allows distributing app with esm modules instead of ts
2021-01-18 13:46:19 +01:00
Eduardo San Martin Morote
a6f9fb4c7a feat: initial work for pages routing (#113)
* feat: initial work for routing

Co-Authored-By: Eduardo San Martin Morote <posva@users.noreply.github.com>

* test: test for page builder

* test: add tests for names

* feat(routes): stringify routes

* feat(routes): support multiple slugs

* feat(routes): encode paths

* test: remove nuxt test utils

* refactor: app.template.*

* chore: fix lint errors

* simplify and fix jest/test

* refactor: move hook todo to app.ts (since pages/ might be optional)

* add todo for __file exposing

Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-01-18 13:22:38 +01:00
pooya parsa
0091dba181 feat: use sigma (#95) 2021-01-18 12:49:50 +01:00
Pooya Parsa
fa5d0e04f9 chore: fix runtime typescript errors 2021-01-18 12:47:25 +01:00
Pooya Parsa
9e9b20ef90 fix: bring back nuxt3 support 2021-01-18 12:42:00 +01:00
Pooya Parsa
b07a4a5c8d refactor: move runtime to src (typescript) 2021-01-18 11:57:38 +01:00
Pooya Parsa
19e6542d27 feat: enable externals.trace by default 2021-01-12 16:58:05 +01:00
Sébastien Chopin
8a8840c970 chore: typo 2021-01-11 19:02:11 +01:00
Pooya Parsa
7e682ed663 feat: better error handler 2020-12-12 19:15:56 +01:00
Pooya Parsa
2c83f6ea6a feat: integrate $fetch with ohmyfetch 2020-12-12 15:46:54 +01:00
Pooya Parsa
239c69d92a fix: silent proxy errors 2020-12-12 15:21:12 +01:00
Pooya Parsa
e56178a872 fix: use connect for dev server due to loading-screen issue 2020-12-12 15:20:55 +01:00
Pooya Parsa
5bbdc2bc65 feat: improved externals and experimental trace with vercel/nft 2020-12-07 22:59:24 +01:00
Pooya Parsa
a05c806f85 chore: hide listen message for dev 2020-12-07 21:49:37 +01:00
Pooya Parsa
28be995ef4 chore: move local artifacts to buildDir/sigma 2020-12-07 21:49:03 +01:00
Pooya Parsa
921bb15130 feat: swtich to h2 stack for dev server 2020-12-07 14:09:09 +01:00
Pooya Parsa
0199610834 chore: enable back automock plugin 2020-12-07 13:53:32 +01:00
Pooya Parsa
6de295cc9f fix: skip static dir if not exists 2020-12-07 13:48:29 +01:00
Pooya Parsa
daf0c3e6a5 feat: sourcemap support 2020-12-07 13:36:43 +01:00
Pooya Parsa
0742e0ff33 chore: move local dist to .output for easier debugging 2020-12-07 13:13:45 +01:00
Daniel Roe
3c9bb27148 fix: temporary remove dev warning for pwa module (#40) 2020-12-02 14:27:01 +01:00
Pooya Parsa
4685108c16 fix: add node_modules from cwd to nodeResolve 2020-12-02 14:22:34 +01:00
Pooya Parsa
4890205b6e fix: temporary disable auto mock plugin 2020-12-02 14:21:49 +01:00
Pooya Parsa
133b44d3c0 fix: disable static manifest generation (resolves #53) 2020-12-02 14:19:18 +01:00
Pooya Parsa
0a2f9a3949 fix: update node-resolve options 2020-12-02 14:12:29 +01:00
Daniel Roe
9c25d68511 fix: addresses static assets/azure issues (#49) 2020-12-02 00:28:42 +01:00
pooya parsa
a9b9d19e66 feat: serveStatic (#47) 2020-11-28 23:49:39 +01:00
Pooya Parsa
b010e83008 chore: fix lint issues 2020-11-28 22:13:16 +01:00
Pooya Parsa
7ae8483d21 feat: support typescript via esbuild (closes #42) 2020-11-28 22:11:25 +01:00
Pooya Parsa
ca015deda6 feat: support runtimeConfig (closes #43) 2020-11-28 21:50:16 +01:00
Pooya Parsa
5783abdb52 Merge branch 'main' of github.com:nuxt/sigma into main 2020-11-28 21:24:42 +01:00
Daniel Roe
976dff7ce1 feat: add azure functions preset (#45) 2020-11-28 12:50:55 +01:00
Pooya Parsa
f4975dfd09 fix nuxt dev 2020-11-24 12:06:05 +01:00
Pooya Parsa
531f6b1e08 fix: remove runtime/ prefix 2020-11-22 22:54:08 +01:00
Pooya Parsa
1f5e82a5bc fix NUXT_FULL_STATIC 2020-11-21 14:58:24 +01:00
Pooya Parsa
dbce482b7e feat: improved sever timing 2020-11-21 14:55:41 +01:00
Pooya Parsa
04fc395149 chore: unnecessary resolve 2020-11-21 12:42:46 +01:00
Pooya Parsa
227e04b92e feat: improved env support 2020-11-21 12:42:02 +01:00
Pooya Parsa
ba0943aa22 revert back auto mock warning 2020-11-21 12:06:51 +01:00
Pooya Parsa
6794b01404 chore: hide automock warn 2020-11-20 22:09:53 +01:00
Pooya Parsa
b5b585c0c8 feat: automatically mock unresolved externals 2020-11-20 22:08:57 +01:00
Pooya Parsa
5c8ac226f1 fix: hide rollup circular and eval 2020-11-20 22:04:48 +01:00
Pooya Parsa
82f6db6bca fix: promisify: false support 2020-11-20 21:13:23 +01:00
Pooya Parsa
68fc208299 fix: lazy is true by default 2020-11-20 21:11:46 +01:00
Pooya Parsa
cd0dd009e0 feat: use h2@10 2020-11-20 21:06:59 +01:00
Pooya Parsa
02a66ab40c feat: expose process.env.SIGMA_PRESET 2020-11-20 15:34:47 +01:00
Pooya Parsa
0b51fb3bc3 register page for browser 2020-11-20 15:25:40 +01:00
Pooya Parsa
37c7e892d5 fix: add temp fix for browser 2020-11-20 14:57:02 +01:00
Pooya Parsa
abf65f2176 feat: sigma.client 2020-11-20 14:46:55 +01:00
Pooya Parsa
a7d158798c feat: add $fetch to client 2020-11-20 14:31:14 +01:00
Pooya Parsa
d3d3c0a2ea fix(vercel): entry should export handle as default 2020-11-20 13:49:21 +01:00
Pooya Parsa
cb98031cff fix: cloudflare and polyfill 2020-11-20 13:14:16 +01:00
Pooya Parsa
15fff5117f fix(vercel): remove index.js from serverDir 2020-11-20 13:04:16 +01:00
Pooya Parsa
1524377708 fix ts error 2020-11-20 12:56:51 +01:00
Pooya Parsa
b15d16abd3 fix: support both targets by adding prepare step 2020-11-20 12:55:55 +01:00
Pooya Parsa
bde0c7c286 fix: ignore close listeners 2020-11-20 03:34:15 +01:00
Pooya Parsa
6080927c16 fixes for dev and static target 2020-11-20 03:22:22 +01:00
Pooya Parsa
f638a44568 fix: use dist for netlify as default 2020-11-20 02:49:43 +01:00
Pooya Parsa
ec291dafc1 fix issues with generate and dev 2020-11-20 02:38:06 +01:00
Daniel Roe
16451a3588 fix: static dir is in srcDir (#37) 2020-11-20 01:38:35 +01:00
pooya parsa
c06f09e9ab sigma (#36) 2020-11-20 01:16:31 +01:00
Daniel Roe
99129216ee chore: upgrade deps (#91)
* chore: upgrade deps

* fix: lint errors
2020-11-16 09:33:33 +01:00
Pooya Parsa
047761f8b7 fix: move hrtime polyfill to timing plugin 2020-11-15 03:43:43 +01:00
Pooya Parsa
e874d4db59 fix: disable cleanTargetDir for vercel 2020-11-15 02:43:50 +01:00
Pooya Parsa
f2c1589472 fix(timing): include helpers only in entries 2020-11-15 02:34:43 +01:00
Pooya Parsa
aa71b51538 feat: generate meaningful chunkNames 2020-11-15 02:31:50 +01:00
Pooya Parsa
3939ea9e4d chore: sort tree by length 2020-11-15 02:03:35 +01:00
Pooya Parsa
ef85ddfbc9 chore: fix ts lint 2020-11-15 01:53:08 +01:00
Pooya Parsa
740bf073b2 feat: timing plugin and Server-Timing 2020-11-15 01:52:18 +01:00
Pooya Parsa
5bd6531f5d chore: tweak terser options to improve debugging 2020-11-14 23:23:17 +01:00
Pooya Parsa
d2e8c3bd78 chore: disable webpack standalone, minify and enable minify for node by default 2020-11-14 23:01:57 +01:00
Pooya Parsa
8b071c4efd chore: simplify tree 2020-11-14 21:47:14 +01:00
Pooya Parsa
6875d5535b feat: show fs tree for output 2020-11-14 21:41:38 +01:00
Pooya Parsa
609796a944 feat: natively parse and import async webpack chunks 2020-11-14 18:51:56 +01:00
Pooya Parsa
e16aee43ba fix: resolve chunksDirName based on outNames dirname (vercel) 2020-11-14 14:33:31 +01:00
Pooya Parsa
1e34041e8d feat: support dynamic chunks, lazy middleware and cjs target 2020-11-14 14:05:09 +01:00
Pooya Parsa
e3609b6d8a fix: exec require before return 2020-11-14 02:44:33 +01:00
Pooya Parsa
f7378db9e0 feat: add hint to dynamic require for netlify 2020-11-14 02:43:13 +01:00
Pooya Parsa
536155825b fix: add hack for encoding 2020-11-14 01:49:37 +01:00
Pooya Parsa
04bb2fa906 chore: fix lint error 2020-11-14 01:25:12 +01:00
Pooya Parsa
3d2c019a6a tweak target defaults to disable minify and inlining for non workers 2020-11-14 01:23:22 +01:00
Pooya Parsa
a5e70eb4b0 fix: use native fetch when node is disabled 2020-11-14 01:11:26 +01:00
Pooya Parsa
9e638e96fa feat: support universalFetch during generate 2020-11-14 01:03:26 +01:00
Pooya Parsa
c8f4957520 fix: fix mocks and disable buffer since is unnecessary 2020-11-13 19:29:47 +01:00
Pooya Parsa
e8f52bd383 fix: use same global to inject process.hrtime 2020-11-13 19:05:45 +01:00
Pooya Parsa
989f6811c2 feat: better process polyfill 2020-11-13 18:45:03 +01:00
Pooya Parsa
eaf4603d9c fix(worker): wrap polyfill to iife 2020-11-13 18:13:51 +01:00
Pooya Parsa
b65cd7862a fix: always mock generic dependencies
also inject after json
2020-11-13 17:18:27 +01:00
Pooya Parsa
2384b8269e feat: improve mocking 2020-11-13 17:14:17 +01:00
Pooya Parsa
4d4ae7a115 chore: add prefix to rollup errors 2020-11-13 17:13:18 +01:00
Pooya Parsa
2ad4a81362 feat: mock mime packages and fix v1 compat 2020-11-13 15:52:02 +01:00
Pooya Parsa
6ff7c7e02e feat: improve mocks 2020-11-13 14:18:07 +01:00
Pooya Parsa
72d2dcc582 add content playground 2020-11-12 19:18:33 +01:00
Pooya Parsa
75ed762192 feat: support serverMiddleware 2020-11-11 23:06:29 +01:00
Pooya Parsa
b258c2af2c explicitly set outName in targets to avoid regression 2020-11-11 15:27:08 +01:00
Pooya Parsa
35720380c2 update default sls dir to make usage easier (without gitignore) 2020-11-11 15:12:11 +01:00
Pooya Parsa
696556aef8 fix: only generate .sls directory when needed 2020-11-11 15:06:20 +01:00
Pooya Parsa
8414e64eeb refactor: add more tructure to runtime dir 2020-11-11 15:03:55 +01:00
Pooya Parsa
aff2372650 fix: configurable publicPath (closes #21) 2020-11-11 14:42:10 +01:00
Pooya Parsa
2e329d0403 fix(browser): 400.html ~> 404.html 2020-11-11 01:19:29 +01:00
Pooya Parsa
4f74119739 fix: fix issues with router.base support 2020-11-11 00:04:33 +01:00
Pooya Parsa
dc6154fea8 cloudflare: generate package-lock.json 2020-11-10 23:38:22 +01:00
Pooya Parsa
2a6d4f38d0 fix(worker): smaller and working hrtime polyfill 2020-11-10 23:21:00 +01:00
Pooya Parsa
72b877fe7c fix: fix worker polyfill by adding performance 2020-11-10 21:29:46 +01:00
Pooya Parsa
7347e8ebda fix(vercel): generate to config/routes.json 2020-11-10 20:43:33 +01:00
Pooya Parsa
2c4b857893 fix(vercel): add /index suffix to dst 2020-11-10 20:35:56 +01:00
Pooya Parsa
a6c4a7e2cd fix(vercel): add missing node segment 2020-11-10 20:24:05 +01:00
Pooya Parsa
c7b88defa4 feat: update vercel and improve internals 2020-11-10 19:19:24 +01:00
Pooya Parsa
1df092d08e fix(vercel): add api prefix 2020-11-09 19:49:58 +01:00
Pooya Parsa
ffceb25ca2 update vercel target 2020-11-09 19:47:38 +01:00
Pooya Parsa
55f25aa884 fix windows issues 2020-11-09 15:31:57 +01:00
pooya parsa
4b831fbd8d feat(worker): support process.hrtime 2020-11-09 01:41:00 +01:00
pooya parsa
a2413dc5fd fix jiti issue
should be fixed on jiti later on to support syntax
2020-11-09 00:28:30 +01:00
Daniel Roe
fc0934dd0c fix: add more types (#16) 2020-11-09 00:19:23 +01:00
Daniel Roe
799e872b80 docs: node docs and small tweaks to limitations (#12)
* docs: node docs and small tweaks to limitations

* docs: update to use new entrypoint name
2020-11-07 11:51:48 +01:00
Pooya Parsa
5b8314245c feat: make cloudflare working 2020-11-06 17:40:00 +01:00
Pooya Parsa
25290b7aa0 fix script minification 2020-11-06 15:07:35 +01:00
Pooya Parsa
10c306aee0 fix vercel env detection 2020-11-06 15:05:11 +01:00
Pooya Parsa
3fa6717882 improve config extending 2020-11-06 14:46:17 +01:00
Pooya Parsa
91caf2c470 feat: support targer functions to consume nuxtOptions 2020-11-06 13:55:30 +01:00
Pooya Parsa
5647d2dad0 add default files to ignore for smart rebuild 2020-11-06 13:41:33 +01:00
Pooya Parsa
b86eb3d741 ignore target dir too 2020-11-06 13:14:49 +01:00
Pooya Parsa
d6aea1e0df fix: handle if serverless is not set in config 2020-11-06 12:51:29 +01:00
Pooya Parsa
374487ea29 fix: use html.contents 2020-11-06 12:50:45 +01:00
Pooya Parsa
00ccbdcfd8 generate vercel into /api 2020-11-06 12:43:42 +01:00
Pooya Parsa
c99abd06ab chore: default outName to _nuxt.js 2020-11-06 12:38:53 +01:00
Pooya Parsa
ce71ec1347 browser: inline sw register script 2020-11-06 10:57:04 +01:00
Pooya Parsa
47d7644b72 refactor: move targets to src, remove template and improve runtime 2020-11-06 10:51:35 +01:00
Pooya Parsa
ddccc9cb78 feat: detect target
Co-authored-by: Sebasiten Chopin <seb@nuxtjs.com>
2020-11-06 10:12:57 +01:00
Pooya Parsa
5fdc6ccfb6 chore: fix eslint issues 2020-11-05 22:59:14 +01:00
Pooya Parsa
04a25fc527 feat(browser): inject script to js template 2020-11-05 22:56:40 +01:00
Pooya Parsa
6e1678316e feat: inject sw script to pages 2020-11-05 22:40:25 +01:00
Pooya Parsa
360bba7d80 fix only empty slsDir 2020-11-05 22:24:36 +01:00
Pooya Parsa
9d02552c3c feat: make browser target working again 2020-11-05 22:23:24 +01:00
Pooya Parsa
4185ec896f fix: extend routes from serverless.static 2020-11-05 21:42:40 +01:00
Pooya Parsa
a4952a057c fix: add generate.routes and disable crawler 2020-11-05 20:13:50 +01:00
Pooya Parsa
415db060b0 feat: support staticAssetsBase 2020-11-05 19:53:17 +01:00
Pooya Parsa
005421e04d NUXT_SLS_TARGET 2020-11-05 17:49:44 +01:00
Pooya Parsa
4c485ba33a chore: enable inlineChunks by default 2020-11-05 17:33:51 +01:00
Pooya Parsa
274c98f5aa rename default ssr entry to server.js 2020-11-05 16:36:31 +01:00
Pooya Parsa
f2d1064560 refactor: simplify targets to node and worker 2020-11-05 15:12:35 +01:00
Pooya Parsa
8f5534c90a refactor: simplify usage with single target 2020-11-05 14:38:15 +01:00
Daniel Roe
d4624abfb9 fix: add prefix to dynamic imports name (#5)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2020-11-05 13:28:40 +01:00
Daniel Roe
dfdd466270 feat: improve types (#6)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2020-11-05 13:26:00 +01:00
Pooya Parsa
e0505568aa feat: whitelist static routes 2020-11-05 13:02:57 +01:00
Pooya Parsa
486c881b2d feat: rewrite as nuxt module 2020-11-05 12:28:39 +01:00
Pooya Parsa
0245bd65de feat: generate public (dist/) 2020-11-04 20:01:53 +01:00
Pooya Parsa
425941d1b4 move artifacts to {buildDir}/sls 2020-11-04 19:19:34 +01:00
Pooya Parsa
114b5406ac feat: use dynamic require for node targets 2020-11-04 19:19:20 +01:00
Pooya Parsa
16141efe25 fix: resolve runtime provided dependencies 2020-11-04 14:52:12 +01:00
Pooya Parsa
5538f342f7 refactror: separate lib 2020-11-04 14:15:38 +01:00
Pooya Parsa
05e8d538db refactor: cli ~> build, config 2020-11-04 13:34:18 +01:00
Pooya Parsa
0bcee8202a chore: fix package bin 2020-11-04 12:37:05 +01:00
Pooya Parsa
93f265d5e0 refactor: rename to serverless and improve struct 2020-11-04 12:33:19 +01:00
Pooya Parsa
904f813ae9 fix outDir default 2020-11-04 03:22:58 +01:00
Pooya Parsa
bda5805b2d perf: short circuit window type to recuce bundle size 2020-11-04 03:14:39 +01:00
Pooya Parsa
040af4ea4e feat: mock stream 2020-11-04 03:06:23 +01:00
Pooya Parsa
bec1c8edfa fix: host ~> hostname 2020-11-04 02:15:42 +01:00
Pooya Parsa
fac79cb091 fix return error 2020-11-04 01:31:34 +01:00
Pooya Parsa
fab1326cd8 automatically reddirect to secure origin 2020-11-04 01:28:45 +01:00
Pooya Parsa
885f0aba66 fast replace instead of reload 2020-11-04 01:24:40 +01:00
Pooya Parsa
10fddd223e always show loading 2020-11-04 00:52:23 +01:00
Pooya Parsa
2f329dec26 update index.html 2020-11-04 00:46:01 +01:00
Pooya Parsa
dd7f32324f preload service-worker 2020-11-04 00:43:16 +01:00
Pooya Parsa
c43cf33c95 fast claim all clients 2020-11-04 00:13:45 +01:00
Pooya Parsa
a8db45a8ba fix payload for nuxt2 2020-11-03 23:38:46 +01:00
Pooya Parsa
55819d52e0 reload sw page after loading 2020-11-03 23:27:38 +01:00
Pooya Parsa
1a6a4cb248 fix: add critical css 2020-11-03 23:25:37 +01:00
Pooya Parsa
ae0fd1b108 refactor: rename cli to node and export render 2020-11-03 23:20:19 +01:00
Pooya Parsa
2dbaae6b7d feat: ssr with service worker 2020-11-03 23:14:32 +01:00
Pooya Parsa
e6fa415e5a feat: working cloudflare with vue2 and async chunks 2020-11-03 21:51:11 +01:00
Pooya Parsa
69b810a58e fix typo 2020-11-03 21:28:46 +01:00
Pooya Parsa
d441d79c6c refactor: move common logic to server 2020-11-03 21:26:27 +01:00
Pooya Parsa
cbae59a88b feat: dynamic-require rollup plugin 2020-11-03 20:55:36 +01:00
Pooya Parsa
ec8468635b fix timing script 2020-11-03 18:09:39 +01:00
Pooya Parsa
ee27e3b5fe allow disabling async importer 2020-11-02 15:54:18 +01:00
Pooya Parsa
ad4fc18ab8 feat: dynamic chunk importer 2020-11-02 15:42:27 +01:00
Pooya Parsa
9959411f60 export targets to individual dir 2020-11-02 14:40:56 +01:00
Pooya Parsa
b03eef0ceb make requireDynamic pattern more exact 2020-11-02 14:12:33 +01:00
Pooya Parsa
e17b0c5787 preserve webpack dynamic requires 2020-11-02 14:11:26 +01:00
Pooya Parsa
ef072d972c fix typo 2020-11-02 13:51:57 +01:00
Pooya Parsa
0c4225238a configurable nuxt version 2020-11-02 13:50:40 +01:00
Pooya Parsa
54bb617474 fix resolution when linking 2020-11-02 13:12:39 +01:00
Pooya Parsa
87df0ac986 ignore alias import for now 2020-11-02 02:41:55 +01:00
Pooya Parsa
82399259db tree-shake extra deps for vue-server-renderer 2020-11-02 01:54:45 +01:00
Pooya Parsa
9b7016059b fix vue2 import 2020-11-02 01:54:31 +01:00
Pooya Parsa
9e5bb2a580 fix _renderToString import for vue2 2020-11-02 01:37:57 +01:00
Pooya Parsa
aea527fd87 fix typescript support 2020-11-02 01:31:43 +01:00
Pooya Parsa
a9a262f258 fix: ensure builds are relative to buildDir 2020-11-02 01:13:35 +01:00
Pooya Parsa
ef4e5443aa fix: don't set _registeredComponents 2020-11-02 01:11:33 +01:00
Pooya Parsa
4908a963ca initial commit 2020-11-02 00:17:44 +01:00
pooya parsa
ae32ca42fa fix(webpack): use modern target for esbuild 2020-10-30 12:55:17 +01:00
pooya parsa
8a1cb84518 fix(builder): empty dir before generate 2020-10-29 21:10:16 +01:00
pooya parsa
0b18f77746 chore: update @vue/server-renderer to 0.2.1 2020-10-29 21:06:30 +01:00
pooya parsa
8718bf32e3 chore: drop eventsource-polyfill for IE support 2020-10-29 18:35:14 +01:00
pooya parsa
08e0f71946 chore: fix lint/ts errors 2020-10-29 18:32:53 +01:00
pooya parsa
c0e565cbe7 feat: use express instead of connect
requirement of webpack-dev-middleware too
2020-10-29 18:30:00 +01:00
pooya parsa
ade89f1067 chore: update to vue-bundle-renderer 0.1.x 2020-10-29 18:29:32 +01:00
pooya parsa
463e1d2bb4 chore: update webpack-dev-middleware 2020-10-29 18:05:29 +01:00
pooya parsa
2e17133615 chore: fix eslint/ts errors 2020-10-29 17:36:15 +01:00
Daniel Roe
d7f82cc6b0 chore: use dart-sass (#69)
https://sass-lang.com/dart-sass
2020-10-19 12:29:52 +02:00
Sébastien Chopin
09476134ee feat: support document.html 2020-10-01 12:11:20 +02:00
Xin Du (Clark)
20c2375e74 fix(webpack): DeprecationWarning DEP_WEBPACK_COMPILATION_ASSETS (#57) 2020-09-30 14:03:13 +02:00
pooya parsa
5a7f5164f0 feat: improve app, fetch and support vuex5
Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
2020-09-25 18:31:25 +02:00
pooya parsa
ba32279d04 Merge branch '3.x' into feat/pages 2020-09-21 15:33:52 +02:00
pooya parsa
065ce5598f set vue feature flags 2020-09-21 15:26:48 +02:00
Pooya Parsa
f24b9fa45a Merge branch '3.x' into feat/pages 2020-09-21 11:44:45 +02:00
Xin Du (Clark)
232d3298b4 feat(style): add style loaders (#50)
* feat(style): add style loaders

* refactor: merge utils/style-loader to style preset

* refactor style.ts

Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2020-09-21 11:37:13 +02:00
Xin Du (Clark)
db050fd0a2 fix(ssr): update ssr/client manifect after webpack v5 beta.30 (#48) 2020-09-21 10:48:33 +02:00
Sébastien Chopin
d273f803be chore: start using dynamic routes 2020-09-15 18:43:12 +02:00
pooya parsa
a9f3ccf099 Merge branch '3.x' into feat/pages 2020-09-10 16:16:21 +02:00
pooya parsa
7309ef303a fix: remove runtimeChunk options (HMR push of undefined error) 2020-09-10 16:16:09 +02:00
pooya parsa
f7ab29324a Merge branch '3.x' into feat/pages 2020-09-02 14:29:11 +02:00
pooya parsa
d6ed1dfc2c feat: rewrite webpack config (#30) 2020-09-02 14:27:27 +02:00
Sébastien Chopin
e87d0613b3 Merge branch '3.x' into feat/pages 2020-09-02 14:23:34 +02:00
Clark Du
dab1a831a6 fix(build): style not work in vue 2020-08-19 18:34:48 +00:00
Clark Du
2ee86286ad feat(webpack): replace optimize-css-assets-webpack-plugin with css-minimizer-webpack-plugin 2020-08-19 18:33:07 +00:00
Sébastien Chopin
ca8d465073 chore: handle app.vue fallback 2020-08-19 17:28:04 +02:00
pooya parsa
5b2f0fa191 refactor: createApp 2020-08-19 15:11:52 +02:00
pooya parsa
e6a5037aa2 remove extra srcDir 2020-08-19 15:07:54 +02:00
pooya parsa
929dfdc121 refactor: simplify nuxt app interface 2020-08-19 15:06:27 +02:00
Sébastien Chopin
978a997159 chore: improve resolve app options 2020-08-19 14:38:18 +02:00
Xin Du (Clark)
f6355ca65d refactor(builder): remove buildContext (#25) 2020-08-18 22:33:58 +02:00
Clark Du
d1718230ed fix(renderer): missing nomodule on legacy modules 2020-08-18 20:25:13 +01:00
pooya parsa
349fb37bda refactor(builder): split pages logic 2020-08-18 20:34:08 +02:00
Sébastien Chopin
d14d695190 chore: start parsing pages 2020-08-18 19:08:06 +02:00
Sébastien Chopin
e892f5f019 chore: improve watcher and change ignorePrefix 2020-08-18 14:27:51 +02:00
Clark Du
c63091b68d chore: fix all eslint error and warnings 2020-08-17 20:12:34 +01:00
Clark Du
052364c689 chore: fix lint errors 2020-08-17 19:45:32 +01:00
Clark Du
1aa47b5edf chore: fix type for vue/server 2020-08-17 19:44:24 +01:00
Clark Du
8936fe77eb fix(webpack5): plugins/vue/server DeprecationWarning 2020-08-17 19:34:47 +01:00
Sébastien Chopin
dc84429d67 chore: wip 2020-08-17 20:02:10 +02:00
Sébastien Chopin
daaa8eda8c fix: import Builder not as default 2020-08-17 17:54:44 +02:00
pooya parsa
2c91d39fd8 initial builder refactor
Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
2020-08-17 17:25:06 +02:00
Xin Du (Clark)
e266992fac chore(ts): fix types in server (#18)
* chore(ts): fix types in server

* fix serviceConfig
2020-08-17 11:13:46 +02:00
Xin Du (Clark)
b82d75d883 chore(ts): fix types in renderer (#16) 2020-08-12 12:00:47 +02:00
pooya parsa
d6ae2c73d9 chore: lint with eslint 2020-08-04 12:26:22 +02:00
pooya parsa
8ac0a7cec6 Merge branch '3.x' into config-types 2020-08-04 12:19:42 +02:00
pooya parsa
60ce35f3b2 fix server.ts 2020-08-04 12:14:46 +02:00
pooya parsa
36db8c7759 merge leftovers 2020-08-04 12:10:38 +02:00
pooya parsa
b06346d0df Merge branch '3.x' of github.com:nuxt/nuxt3 into 3.x 2020-08-04 12:10:28 +02:00
pooya parsa
cdc42133c7 refactor structure and fix ts errors 2020-08-04 12:06:44 +02:00
Daniel Roe
ecd80c40c4 style: lint 2020-08-02 16:56:24 +01:00
Daniel Roe
212283837b feat: improve typing of config 2020-08-02 16:50:35 +01:00
Daniel Roe
e75e1911af types: increase types coverage (#13) 2020-07-31 11:37:31 +02:00
Daniel Roe
c1188eebd5 style: lint 2020-07-31 07:52:44 +01:00
Daniel Roe
38e72f86c2 feat: typed nuxt (1) 2020-07-31 00:40:16 +01:00
Daniel Roe
a74b48c648 feat: add vue-app types (#12)
* feat: preliminary vue-app types

* style: fix various lint issues

* style: further fixing (not caught by eslint)

* chore: add alias for nuxt-app

Co-authored-by: pooya parsa <pyapar@gmail.com>
2020-07-30 13:36:25 +02:00
Daniel Roe
82cd23e6da style: further fixing (not caught by eslint) 2020-07-30 00:50:30 +01:00
Daniel Roe
fc0d1872e9 style: fix various lint issues 2020-07-30 00:48:20 +01:00
Daniel Roe
426cf1b3de feat: preliminary vue-app types 2020-07-30 00:45:48 +01:00
pooya parsa
e7dd27fa2a feat: rollup build, basic typescript support and typescript app 2020-07-17 17:13:04 +02:00
pooya parsa
00e13c3e41 fix: RouterLink import 2020-07-16 11:40:48 +02:00
Xin Du (Clark)
fd0a437adc Add src path alais to be nuxt (#2) 2020-07-15 12:38:37 +02:00
pooya parsa
14f187e69b initial commit 2020-07-02 15:02:35 +02:00