Commit Graph

943 Commits

Author SHA1 Message Date
renovate[bot]
5a17342f09 chore(deps): update all non-major dependencies (#6314) 2019-08-28 11:56:50 +02:00
Xin Du (Clark)
c14bb35aad
test: remove unnecessary generate (#6301) 2019-08-25 23:41:32 +01:00
Pim
3eb1710b6d test(vue-app): add template compiler helper (#6299) 2019-08-25 13:31:17 +01:00
Xin Du (Clark)
d85d2fb612
Revert "feat: function watchQuery (#6245)" (#6296)
This reverts commit 3c61830a0d.
2019-08-25 10:53:23 +01:00
Xin Du (Clark)
3c61830a0d
feat: function watchQuery (#6245) 2019-08-25 10:12:59 +01:00
Pooya Parsa
7f542e08e5
fix(builder): apply overrides from app dir only (#6283)
[release]
2019-08-24 21:40:39 +04:30
Pooya Parsa
f0ab042bf4
chore(cli): accept hooks (#6274) 2019-08-24 18:45:08 +04:30
Pooya Parsa
9ad02c4017
refactor(core): use hable (#6271) 2019-08-22 00:16:40 +04:30
Pooya Parsa
81b92b6395
fix: improve watching experience for generated files (#6257) 2019-08-21 23:34:04 +04:30
Dmitry Molotkov
1fda184990 fix(server): treat https: null as https: undefined (#6265) 2019-08-21 20:53:53 +04:30
Pim
662a409056 fix(vue-app): only overwrite leave listener when none provided or without done arg (#6264) 2019-08-21 16:06:52 +04:30
Pooya Parsa
3ca7eca7cf
fix(config): provide typescript backward compatibility (#6258) 2019-08-20 21:47:59 +04:30
renovate[bot]
6a06dfb39a chore(deps): update dependency serialize-javascript to ^1.8.0 (#6254) 2019-08-20 21:46:28 +04:30
Sébastien Chopin
fda1b1b54b fix(vue-app): enforce default css when used with frameworks (#6255) 2019-08-20 20:45:36 +04:30
pooya parsa
a11d971969 reorder package.json 2019-08-20 15:43:45 +04:30
pooya parsa
0157b971de v2.9.1 2019-08-20 15:41:35 +04:30
Kevin Marrec
7fc23cd434 fix(vue-app): provide typescript backward compatibility 2019-08-20 15:38:08 +04:30
pooya parsa
ce3b456961 v2.9.0 2019-08-20 12:51:10 +04:30
Pim
df424e56cb feat(vue-renderer): support prepend/append body tags during ssr for all allowed tag types (#6134) 2019-08-19 23:08:13 +04:30
Xin Du (Clark)
c6a9b37821 feat(vue-app): support functional watchQuery (#6222) 2019-08-19 00:05:16 +04:30
renovate[bot]
8f5244cabd chore(deps): update all non-major dependencies (#6213) 2019-08-17 15:54:58 +01:00
Ricardo Gobbo de Souza
2ad6bf2a08 feat(vue-app): export router options (#6231) 2019-08-15 00:08:25 +04:30
Xin Du (Clark)
35ba65562f fix(vue-renderer): call render:resourcesLoaded hook before createRenderer (#6223)
fixes #5960
2019-08-13 01:25:21 +04:30
pooya parsa
de7ed24b36 feat(cli): export options (#6206)
Co-Authored-By: Kevin Marrec <kevin@marrec.io>

[release]
2019-08-09 18:40:19 +04:30
renovate[bot]
cb22d841fe chore(deps): update all non-major dependencies (#6193) 2019-08-09 15:04:17 +04:30
Pooya Parsa
560cb57443
refactor(config): rename devModules to buildModules (#6203) 2019-08-09 15:02:53 +04:30
Xin Du (Clark)
c436839a17 refactor(babel-preset-app): remove babel-plugin-dynamic-import-node (#6197) 2019-08-08 13:39:17 +04:30
Sébastien Chopin
09878cd6dc
feat(vue-app): add $nuxt.refresh() (#6194)
* feat(vue-app): add $nuxt.refreshPageData()

* hotifx: lint

* chore: use getMatchedComponentsInstance util

* fix: rename to refreshPage

* fix: rename to refresh

* feat: add $nuxt.$context and handle error

* feat: set $nuxt.context

* hotfix: test
2019-08-07 15:12:02 +02:00
Sébastien Chopin
9cc3e34673 feat(vue-app): use EventSource instead of WebSocket for build indicator (#6186) 2019-08-05 20:15:33 +04:30
renovate[bot]
599268a26b chore(deps): update dependency webpackbar to v4 (#6190) 2019-08-05 19:35:18 +04:30
renovate[bot]
275c4dc2f1 chore(deps): update dependency consola to ^2.10.0 (#6189) 2019-08-05 13:54:24 +01:00
yutanoma
a87f5dde6a feat(server): allow passing loadingTimeout and other arguments to renderAndGetWindow() (#6178) 2019-08-05 15:44:03 +04:30
Kevin Marrec
b2def683ba chore: remove types remaining from #5858 (#6188) 2019-08-05 15:27:04 +04:30
renovate[bot]
da4615a160 chore(deps): update all non-major dependencies (#6180) 2019-08-04 15:24:01 +01:00
Xin Du (Clark)
7c98571ac9
refactor(webpack): simplify transpile normalization (#6179) 2019-08-04 15:23:33 +01:00
Sébastien Chopin
e8f1532124 feat(webpack): allow function entries for build.transpile (#6120) 2019-08-03 21:09:38 +01:00
renovate[bot]
5401a51862 chore(deps): update all non-major dependencies (#6160) 2019-08-03 20:54:25 +01:00
renovate[bot]
95b2e6fc5f chore(deps): update all non-major dependencies (#6156) 2019-07-30 20:31:34 +01:00
renovate[bot]
edf5e66e3c chore(deps): update dependency vue-meta to ^2.2.0 (#6153) 2019-07-28 22:14:22 +01:00
renovate[bot]
1ebf6cbfa0 chore(deps): update all non-major dependencies (#6121) 2019-07-27 09:55:08 +01:00
Dzmitry Bachko
76b1167d27 fix: modulepreload warnings (#6118) 2019-07-24 18:01:33 +01:00
Sébastien Chopin
f7cb3dae0f feat(vue-app): support app/router.scrollBehavior.js and deprecate scrollBehavior (#6055) 2019-07-24 16:05:50 +04:30
renovate[bot]
ac00f7a627 chore(deps): update all non-major dependencies (#6114)
[release]
2019-07-24 12:26:16 +04:30
Kevin Marrec
81b5ce22ce feat: externalize typescript support (#5858) 2019-07-24 11:56:44 +04:30
renovate[bot]
b73115e576 chore(deps): update all non-major dependencies (#6113) 2019-07-23 19:54:12 +01:00
renovate[bot]
39e41acb47 chore(deps): update all non-major dependencies (#6089) 2019-07-23 12:05:35 +01:00
renovate[bot]
dfba5bb14a chore(deps): update all non-major dependencies (#6083) 2019-07-18 18:20:16 +01:00
renovate[bot]
eb060bedd6 chore(deps): update all non-major dependencies (#6077) 2019-07-17 20:06:39 +01:00
Dmitry Molotkov
1736bda4aa fix(types): add standalone option to NuxtConfigurationBuild (#6078) 2019-07-17 20:05:44 +01:00
Xin Du (Clark)
26a62596c0
fix: throw error when building failed in quiet mode (#6075) 2019-07-17 20:04:40 +01:00
Xin Du (Clark)
54cd68dbb0 fix: support babel corejs config for modern mode (#6070) 2019-07-16 14:57:05 +04:30
renovate[bot]
a974834073 chore(deps): update all non-major dependencies (#6056) 2019-07-15 18:12:59 +01:00
Farzad Soltani
9909bdb534 chore: fix typo (#6065) 2019-07-13 23:27:07 +04:30
pooya parsa
bb820ddb05 fix serialize test 2019-07-11 15:09:27 +04:30
pooya parsa
e7cc2757c3 refactor: update eslint-config to 1.x
Co-authored-by: Alexander Lichter <manniL@gmx.net>
2019-07-10 15:15:49 +04:30
Xin Du (Clark)
e63923419a fix error when use alias for nuxt-edge (#6051) 2019-07-10 14:27:31 +04:30
renovate[bot]
2b86e31ab2 chore(deps): update all non-major dependencies (#6037) 2019-07-10 14:06:25 +04:30
Clark Du
55e95edd0e
chore: order package.json 2019-07-09 19:24:42 +01:00
Xin Du (Clark)
a1124d2fff
fix(renderer): correctly load nomodule scripts in safari 10 (#6033) 2019-07-06 16:22:50 +01:00
renovate[bot]
9014251c1f chore(deps): update all non-major dependencies (#6030) 2019-07-06 16:22:27 +01:00
bluelovers
9524bcae5e feat(vue-app): add <client-only> alias for <no-ssr> (#5941) 2019-07-04 16:47:45 +01:00
renovate[bot]
2f3709ccb6 chore(deps): update all non-major dependencies (#6029) 2019-07-04 16:03:49 +01:00
renovate[bot]
4af844cb35 chore(deps): update all non-major dependencies (#6027) 2019-07-04 17:29:14 +04:30
Xin Du (Clark)
e6acdbc9bf fix(cli): prevent both nuxt & nuxt-edge being installed (#6020) 2019-07-04 17:28:07 +04:30
Pim
ac723e6ca6 fix(vue-app): emit triggerScroll to support hash navigation (#6012) 2019-07-03 13:34:51 +04:30
Xin Du (Clark)
a56817f2f8 fix: babel polyfil can not be disabled (#6021) 2019-07-03 11:57:18 +04:30
renovate[bot]
efd242ad35 chore(deps): update all non-major dependencies (#6013) 2019-07-02 14:49:41 +01:00
renovate[bot]
9d04b8fb52 chore(deps): update all non-major dependencies (#6003) 2019-07-01 18:41:18 +01:00
Anthony Fu
d86532ae5c fix(types): add missing devModules type (#6006) 2019-06-29 22:34:20 +04:30
renovate[bot]
ae82a03a28 chore(deps): update all non-major dependencies (#6001)
Co-authored-by: Xin Du (Clark) <clark.duxin@gmail.com>
2019-06-29 05:49:55 +01:00
renovate[bot]
346e1e1704 chore(deps): update dependency hash-sum to v2 (#6002) 2019-06-29 05:37:43 +01:00
renovate[bot]
2a0a34f629 chore(deps): update all non-major dependencies (#5997) 2019-06-28 11:53:20 +04:30
renovate[bot]
75c724e24e feat: update vue-meta to v2 (#5899) 2019-06-28 03:04:47 +04:30
Ustun Ozgur
ae9d3519f7 fix(vue-renderer): clone spa meta to prevent cache modification (#5964) 2019-06-28 00:47:43 +04:30
Xin Du (Clark)
d1395a032a chore: upgrade fs-extra to v8 (#5994) 2019-06-28 00:33:44 +04:30
Clark Du
fc5502cd8d Merge remote-tracking branch 'upstream/dev' into next 2019-06-26 16:32:47 +01:00
William Chong
cf39c75711 feat(vue-renderer): add csp option for csp v1 compatibility (#5975) 2019-06-26 16:22:45 +01:00
Josh Deltener
1d4421ef1d chore: inverse wording of error message (#5990) 2019-06-26 16:20:43 +01:00
renovate[bot]
79877b4ec3 chore(deps): update dependency execa to v2 (#5984)
Co-authored-by: Xin Du (Clark) <clark.duxin@gmail.com>
2019-06-25 16:48:53 +01:00
renovate[bot]
3b74c95529 chore(deps): update dependency url-loader to ^2.0.1 (#5983) 2019-06-25 15:59:47 +01:00
Ricardo Gobbo de Souza
43a43bc924 fix: downgrade fs-extra to v7 for fixing jest crashing (#5977) 2019-06-25 15:58:20 +01:00
renovate[bot]
52cafef9a2 chore(deps): update all non-major dependencies (#5976) 2019-06-25 10:59:26 +01:00
orblazer
1b634779f8 feat(types): add vuex definition (#5946) 2019-06-24 21:26:54 +04:30
orblazer
86d4613d9c feat(types): add nuxt error type (#5950) 2019-06-24 21:26:07 +04:30
renovate[bot]
99176aa261 chore(deps): update all non-major dependencies (#5955) 2019-06-24 10:00:31 +01:00
renovate[bot]
7d08ff1f4a chore(deps): update dependency consola to ^2.8.0 (#5953) 2019-06-18 17:41:23 +04:30
renovate[bot]
611bab5bbe chore(deps): update all non-major dependencies (#5942) 2019-06-18 14:16:59 +04:30
Xin Du (Clark)
3195f34531 feat: upgrade css-loader to v3 (#5929) 2019-06-15 14:43:05 +04:30
renovate[bot]
de526f6d44 chore(deps): update all non-major dependencies (#5922) 2019-06-14 22:06:14 +04:30
Sébastien Chopin
329f0f5f36 fix(vue-app): fix font-size and make width bigger (#5920) 2019-06-14 22:05:21 +04:30
Alexander Lichter
3d80ef472e fix(webpack): extract css breaks hmr and source-maps (#5906) 2019-06-14 22:03:45 +04:30
Pim
2a2bf9b93d fix(vue-app): always finish transition.leave asynchronously (#5891) 2019-06-14 21:58:03 +04:30
Clark Du
2633e0c2b8 text: fix timer.test it node 9/10 2019-06-12 10:03:37 +01:00
renovate[bot]
b809d58dc8 chore(deps): update dependency wrap-ansi to v6 (#5914) 2019-06-12 09:14:30 +01:00
renovate[bot]
2467dabf9f chore(deps): update all non-major dependencies (#5894) 2019-06-12 09:14:00 +01:00
719media
d3f1f3b4f9 chore(babel-preset-app): fix typo in babel-preset readme (#5897)
[skip ci]
2019-06-09 13:36:36 +04:30
Kevin Marrec
b1797af428 fix(config): add babel-loader options types (#5895) 2019-06-08 15:50:19 +04:30
Anthony Fu
371c93ed04 fix(config): fix extendRoutes method type (#5841) 2019-06-07 14:06:40 +04:30
Rafał Chłodnicki
0e2965319d fix(vue-app): fix position of the build indicator when page scrolled (#5890) 2019-06-07 01:54:33 +04:30
renovate[bot]
dbba774bcc chore(deps): update dependency caniuse-lite to ^1.0.30000974 (#5883) 2019-06-06 12:39:42 +04:30
Pooya Parsa
cb1b980d8a
feat(vue-app): allow customizing loading indicator (#5844) 2019-06-06 12:39:28 +04:30
renovate[bot]
7b6b3917c1 chore(deps): update dependency file-loader to v4 (#5875) 2019-06-06 12:38:34 +04:30
renovate[bot]
521c949a79 chore(deps): update dependency cache-loader to v4 (#5877) 2019-06-06 12:38:14 +04:30
Renovate Bot
3a9f4c3520 chore(deps): update dependency url-loader to v2 2019-06-06 12:37:36 +04:30
Renovate Bot
a8e5af2ad9 chore(deps): update all non-major dependencies 2019-06-06 12:36:27 +04:30
pooya parsa
2fabea9402 v2.8.1 2019-06-05 00:55:47 +04:30
Rafał Chłodnicki
ab72355669 fix(vue-app): fix exception on property access of undefined object (#5867) 2019-06-05 00:18:56 +04:30
Kevin Marrec
262ea5c31a refactor: prepare for external typescript support (#5854) 2019-06-05 00:18:01 +04:30
renovate[bot]
60df026dd2 chore(deps): update dependency webpack to ^4.33.0 (#5868) 2019-06-05 00:14:37 +04:30
renovate[bot]
8296e942ff chore(deps): update all non-major dependencies (#5848) 2019-06-04 20:05:37 +04:30
Pooya Parsa
31f5729828
fix(vue-renderer): prevent can't set headers after they are sent (#5863) 2019-06-04 19:19:18 +04:30
Pooya Parsa
0c3b9c5d12
fix(vue-app): reduce consola direct access (#5864) 2019-06-04 19:18:45 +04:30
Pooya Parsa
e4fd6fee7e
fix(cli): don't mutate options export (#5865) 2019-06-04 19:18:06 +04:30
renovate[bot]
f2c088978e Update all non-major dependencies (#5838) 2019-05-31 13:53:57 +04:30
pooya parsa
7622d66866 v2.8.0 2019-05-30 21:37:38 +04:30
Alexander Lichter
2e41bb47b5 refactor(vue-app): simplify mount error log (#5826)
* separately log mount error in dev mode
* simplify mount exception

Co-authored-by: Xin Du (Clark) <clark.duxin@gmail.com>
2019-05-30 14:28:37 +01:00
Sébastien Chopin
0d5b49dcbc fix(vue-app): update build indicator style (#5834) 2019-05-30 15:57:41 +04:30
Pooya Parsa
f39fe2279e
refactor: improve build indicator (#5832)
[release]
2019-05-30 14:33:57 +04:30
renovate[bot]
e963dafc74 chore(deps): update all non-major dependencies (#5823) 2019-05-30 14:14:25 +04:30
Xin Du (Clark)
d149e9fb64
chore: upgrade boxen to v4 (#5830) 2019-05-30 10:25:36 +01:00
Elevista
3142ce15d8 fix(vue-app): fixPrepatch in-out transition fix (#5797) (#5824) 2019-05-30 09:04:37 +02:00
Pooya Parsa
a759196865 feat(vue-app): build indicator (#5820)
* feat: inline HMR progress indicator

* support router base

* fix nuxt err

* fix space

* fix indentation

* return in case of ws message parsing error

* close ws on beforeDestroy

* ui: Update loading indicator UI

* builder: Add build.indicator option

* ui: Use only logo and %

* hotfix: Alphabetical order

* hotfix: Add fixed with and add back v-if

* minor style change

* rename component to build-indicator

* feat: animated progress

* assign name to component

* update test

* naming consistency

* render into app to prevent dom wrapping

* extra new line

* better App.js formatting

* update snapshot

* clear interval
2019-05-29 16:44:15 +02:00
Xin Du (Clark)
dfac2326ae
feat: upgrade thread-loader to v2 (#5817) 2019-05-27 10:27:35 +01:00
Pim
1f2bf1c3d3 fix(builder): only listen for file changes for supported extensions (#5812) 2019-05-27 13:36:53 +04:30
Pooya Parsa
09620d58a9 feat: improve browser logs (#5810) 2019-05-27 09:32:53 +01:00
renovate[bot]
1f74362d38 Update dependency consola to ^2.7.1 (#5809) 2019-05-26 14:44:05 +04:30
renovate[bot]
f00f02171f Update all non-major dependencies (#5808) 2019-05-26 14:28:57 +04:30
Markus Padourek
5f72ad5358 refactor(core): use require.resolve instead of Module internals (#5796) 2019-05-26 00:24:28 +04:30
Pooya Parsa
7e50fe744f
fix(vue-renderer): add vary header for ‍user-agent‍ in modern server mode (#5807) 2019-05-26 00:24:00 +04:30
Sébastien Chopin
a0958f03f4 fix(server): preserve random port when restarting (#5793) 2019-05-25 22:49:24 +04:30
aidou
0fc8ee41d1 feat(vue-renderer): render.injectScripts option (#5745) 2019-05-25 22:49:10 +04:30
pooya parsa
668db6fbbb fix(server): return listener when calling listen() 2019-05-25 19:48:51 +04:30
renovate[bot]
bacc40b8ec chore(deps): update all non-major dependencies (#5795) 2019-05-25 18:48:51 +04:30
Dmitry Molotkov
5ae03d0d4b chore(deps): unpin and update esm (#5804) 2019-05-25 18:47:02 +04:30
Sébastien Chopin
e75d65b268 fix(builder): watch for pages/ creation when default page displayed (#5753) 2019-05-23 14:49:37 +04:30
Xin Du (Clark)
21aaef3b48 feat(vue-renderer): support render.ssrLog for controlling SSR logs (#5784) 2019-05-23 14:19:16 +04:30
Pim
fd3ee629fa fix(generator): minify spa fallback (#5791) 2019-05-23 14:15:22 +04:30
renovate[bot]
b2a8b9f3f2 chore(deps): update all non-major dependencies (#5787) 2019-05-23 13:24:46 +04:30
Xin Du (Clark)
737d5f0fe7 refactor(builder): pass nuxt options to template as nuxtOptions (#5792) 2019-05-23 13:19:40 +04:30
cui_xiaorui
6e9cf8e394 test: add unit tests for core/resolver.js (#5790) 2019-05-23 09:10:18 +01:00
Xin Du (Clark)
59071e4c6d fix(ts): add type definition for functional babel.presets (#5785) 2019-05-23 00:27:17 +04:30
renovate[bot]
ec391b9f0e chore(deps): update all non-major dependencies (#5779) 2019-05-23 00:12:44 +04:30
cui_xiaorui
b62585f277 test: remove duplicate unit tests in packages/core/test/resolver… (#5782) 2019-05-22 10:25:49 +01:00
renovate[bot]
ac06cbef51 chore(deps): update all non-major dependencies (#5769) 2019-05-21 23:11:40 +04:30
Xin Du (Clark)
b49dc0fe99 fix(builder): preserve templateVars.options in templates (#5730) (#5776) 2019-05-21 22:41:34 +04:30
Xin Du (Clark)
a764e1f90d refactor(vue-app): add group for ssr logs (#5770) 2019-05-21 11:19:16 +02:00
pooya parsa
ffb1844646 update args logging 2019-05-20 20:35:17 +04:30
Xin Du (Clark)
106836f806 fix(vue-app): wrong index and string in ssr log (#5771) 2019-05-20 18:39:35 +04:30
Jun
7084b3a126 fix(vue-app): reuse page component with watchQuery (#5757) 2019-05-19 23:27:20 +04:30
renovate[bot]
75f5d4fded chore(deps): update all non-major dependencies (#5760) 2019-05-19 23:22:02 +04:30