Commit Graph

176 Commits

Author SHA1 Message Date
Pooya Parsa
4829d89b17 chore: fix type and imports 2021-04-02 21:38:11 +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
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]
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
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
Xin Du (Clark)
2c9854dfe3 fix(webpack): types in webpack and await compiler close (#176) 2021-03-05 18:17:05 +00: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
040e14f2b6 fix: update nitro preset for dev 2021-02-22 20:11:54 +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
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
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
Pooya Parsa
b4251b1389 Merge branch 'main' of github.com:nuxt/nuxt3 into main 2021-02-09 15:56:21 +01:00
Daniel Roe
abb21f30ca fix: allow resolving relative package.json in vite mode
closes #146
2021-02-05 22:09:16 +00: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
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
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
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
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
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
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
f4975dfd09 fix nuxt dev 2020-11-24 12:06:05 +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
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