Commit Graph

4550 Commits

Author SHA1 Message Date
renovate[bot]
ee0a84c83c chore(deps): update dependency rollup-plugin-babel to ^4.2.0 (#4655) 2018-12-29 22:54:59 +03:30
renovate[bot]
33b8a57618 chore(deps): update dependency rollup to v1 (#4648)
[release]
2018-12-29 20:44:05 +03:30
renovate[bot]
d93a3e28b6 chore(deps): update dependency webpack to ^4.28.3 (#4654) 2018-12-29 16:30:46 +03:30
renovate[bot]
cf451ebb9b chore(deps): update all non-major dependencies (#4640) 2018-12-29 13:51:23 +03:30
Sébastien Chopin
f319033928
feat(nuxt-link): Smart prefetching and $nuxt.isOffline (#4574)
* feat(nuxt-link): Improve <n-link> and add automatic prefetch

* Update packages/vue-app/template/components/nuxt-link.js

Co-Authored-By: Atinux <seb@orion.sh>

* add missing space

* feat(nuxt-link): Split in two components for smaller bundle

* fix(vue-app): Use requestIdleCallback

* chore(vue-app): Improve nuxt prefetch strategy for nuxt links

* chore(vue-app): Add .isOnline and handle it for prefetch

* chore(vue-app): Add .isOffline and use it

* chore(vue-app): Add .isOffline

* chore(server): Check is options.modern is given in dev mode

* chore(vue-app): Add intersection-observer polyfill if router.prefetchLinks is 'polyfill'

* chore(vue-app): Remove polyfill

* chore(vue-app): Use only process.client

* chore(vue-app): Add TS typings for .isOnline and isOffline

* chore(vue-app): Update typings by @kevinmarrec

* chore(vue-app): Reorder names

* examples(nuxt-prefetch): Add Nuxt prefetching example

* chore(vue-app): Add router.linkPrefetchedClass

* lint(vue-app): Fix lint

* chore(vue-app): Use intersectionRatio, recommend by @maoberlehner

* fix(lint): Fix linting issues

* lint(vue-app): Fix again (lol)

* types(vue-app): Update TS typings

* chore(vue-app): Update Vetur tags description

* fix(vue-app): Use prefetchClass

* chore(vue-app): Disable linkPrefetchedClass by default
2018-12-28 17:27:03 +01:00
Clark Du
35151150fd fix: wrong devMiddleware in non-modern dev mode 2018-12-28 13:26:46 +00:00
renovate[bot]
197be144ba chore(deps): update dependency terser-webpack-plugin to ^1.2.1 (#4637)
don't crash when no extracted comments
2018-12-27 20:55:43 +03:30
renovate[bot]
650572ad9b chore(deps): update dependency eslint to ^5.11.1 (#4631) 2018-12-27 09:11:38 +00:00
renovate[bot]
61dc2dfec9 chore(deps): update dependency css-loader to ^2.1.0 (#4628) 2018-12-25 23:57:25 +03:30
Xin Du (Clark)
df9b32a1c4 fix: hmr in modern mode (#4623) 2018-12-24 19:56:39 +03:30
renovate[bot]
8cd19f0bd4 chore(deps): update dependency serialize-javascript to ^1.6.0 (#4625) 2018-12-24 19:10:45 +03:30
Alexander Lichter
5bca91c406 chore: add security contact (#4621) 2018-12-24 15:28:21 +01:00
renovate[bot]
751028102c chore(deps): update dependency rollup to ^0.68.2 (#4619) 2018-12-23 20:40:25 +03:30
Sébastien Chopin
498c4f11d3 feat: better stack traces for SSR error, show error with correct URL and use eventsource-polyfill (#4600)
[release]
2018-12-23 12:10:36 +03:30
Pooya Parsa
54186babe7 chore(ci, edge): only release with [release] in commit body 2018-12-23 11:30:23 +03:30
Pooya Parsa
ba50d3b392 fix(pkg): skip invalid workspace packages
[skip ci]
2018-12-23 11:28:35 +03:30
Kevin Marrec
f1377a7f8d feat(ts): provide type checking through fork-ts-checker-webpack-plugin (#4611) 2018-12-23 11:13:51 +03:30
Dmitry Molotkov
8dc15d07b7 fix: allow keepAliveProps for nuxt component (#4610)
[skip ci]
2018-12-23 11:13:36 +03:30
renovate[bot]
81b2dfa084 chore(deps): update dependency eslint to ^5.11.0 (#4618)
[skip ci]
2018-12-23 11:10:41 +03:30
renovate[bot]
bf4803af19 chore(deps): update dependency cache-loader to v2 (#4608) 2018-12-23 02:18:22 +03:30
Kevin Marrec
4d5274215a feat(ts): add TSX support (#4613) 2018-12-23 02:12:20 +03:30
renovate[bot]
a17bb1704d chore(deps): update all non-major dependencies (#4605)
[skip release]
2018-12-23 01:33:22 +03:30
Xin Du (Clark)
324135df51 refactor: @nuxt/utils (#4609) 2018-12-23 00:35:13 +03:30
Kevin Marrec
5458ba5b10 chore: fix dependencies order (#4612)
[skip ci]
2018-12-22 01:44:16 +03:30
renovate[bot]
c432ec4ec7 chore(deps): update dependency file-loader to v3 (#4599) 2018-12-21 19:38:47 +00:00
Clark Du
90f42a618e refactor: remove unused properties in base config 2018-12-21 15:18:14 +00:00
Clark Du
15ad7d03c9 refactor: remove unused properties in style-loader 2018-12-21 15:15:48 +00:00
renovate[bot]
0491c8a7e7 chore(deps): update dependency webpack to ^4.28.1 (#4602)
[skip ci]
2018-12-20 22:44:35 +03:30
Xin Du (Clark)
a1ee6636ca
ci: invalid github actions
[skip release]
2018-12-20 17:07:26 +00:00
Clark Du
f1a3ce1a7a ci: add branch filter 2018-12-20 16:51:58 +00:00
Xin Du (Clark)
03779e0ed3
ci: update main.workflow
[skip ci]
2018-12-20 16:41:50 +00:00
Andrey Shertsinger
b1b9e0bcbc feat(vue-app): support named views (#4410)
* support named views for extendRoutes config

* fix lint errors

* fix lint errors 2

* some refactoring

* var rename

* fixture & unit tests

* fix: style

* nuxt-child named view example and test

* nuxt element with named view in layout

* lint
2018-12-20 16:50:22 +01:00
Clark Du
2f1c87994e ci: use yarn audit [skip release] 2018-12-20 14:52:40 +00:00
Clark Du
6a4808f576 fix(eslint): amp tags not support pascal case
[skip release]
2018-12-20 13:49:16 +00:00
Ricardo Gobbo de Souza
add80004ba feat(router): custom route name splitter (#4598) 2018-12-20 13:42:42 +01:00
renovate[bot]
9877c72f5d chore(deps): update all non-major dependencies to ^7.2.3 (#4597)
[skip release]
2018-12-20 15:01:22 +03:30
Jonas Galvez
0145551c3a feat(cli): improvements and external commands (#4314) 2018-12-20 14:45:48 +03:30
Pooya Parsa
8b366fd216
chore: use @nuxt for all core dependencies (#4596)
[skip release]
2018-12-20 14:45:12 +03:30
Clark Du
7a1ec1c180 ci[trial]: disable actions for now[skip ci] 2018-12-20 11:14:51 +00:00
Clark Du
3c1911565f ci[trial]: rename intall action[skip ci] 2018-12-20 11:09:08 +00:00
renovate[bot]
46f0eee83d chore(deps): update dependency @nuxtjs/devalue to ^1.2.0 (#4595) 2018-12-20 14:33:57 +03:30
Clark Du
dbc578d65f ci[trial]: use args in action-yarn [skip ci] 2018-12-20 10:44:38 +00:00
Clark Du
96bce72fe4 ci[trial]: use nuxt actions-yarn [skip ci] 2018-12-20 10:35:55 +00:00
Xin Du (Clark)
9ddcd2e716
ci(trial): add actions
[skip ci]
2018-12-20 10:14:26 +00:00
Xin Du (Clark)
e71c4559ff feat: mode for plugins (#4592) 2018-12-20 12:58:10 +03:30
renovate[bot]
40928967ac chore(deps): update all non-major dependencies (#4594)
[skip ci]
2018-12-20 12:32:17 +03:30
renovate[bot]
e1c1701d03 chore(deps): update all non-major dependencies (#4588) 2018-12-20 12:27:40 +03:30
Clark Du
3fd059de52 chore(renovate): ignore thread-loader
[skip release]
2018-12-19 21:48:14 +00:00
Clark Du
4fb220c911 fix: thread-loader slow building 2018-12-19 21:44:08 +00:00
Clark Du
d34a9e24ae fix: thread-loader memory leak 2018-12-19 19:30:25 +00:00