Commit Graph

3679 Commits

Author SHA1 Message Date
Xin Du (Clark)
e3cc28c31e refactor: encapsulate pages validation into a separate function (#4826)
* refactor: encapsulate pages validation into a separate function

* refactor: remove else
2019-01-21 22:10:37 +03:30
Xin Du (Clark)
3966b265f9
fix: watch custom patterns only when it exists (#4823) 2019-01-21 15:14:17 +00:00
Xingkai Wang
fe57a5a929 fix: $nuxt is used instead of globalName (#4743) 2019-01-21 16:53:07 +03:30
Xingkai Wang
dcdbaba710 feat(webpack): support build.hotMiddleware.client (#4796) 2019-01-21 15:25:49 +03:30
Alexander Lichter
fa78f5396e Update README.md (#4820) 2019-01-21 11:42:50 +01:00
Sébastien Chopin
5f0b34fcd4
fix: hotfix for vuex hmr (#4801)
* hotfix: Vuex HMR and warning when exporting an object for state

* hotfix: Handle sub modules too

* Update store.js
2019-01-21 11:42:06 +01:00
Clark Du
70775e121a fix(test): typescirpt modern mode only check once 2019-01-21 09:26:59 +00:00
pooya parsa
6504e108ea chore(test): reduce use of NUXT_TS 2019-01-21 00:53:03 +03:30
Kevin Marrec
6a68f4e981 fix(webpack): prevent terser mangling html/vue reserved tags (#4821) 2019-01-21 00:49:53 +03:30
pooya parsa
6a5d0725d2 fix lint
Co-authored-by:  Kevin Marrec <kevin@marrec.io>
2019-01-20 22:29:06 +03:30
pooya parsa
b170864134 fix typo 2019-01-20 22:23:27 +03:30
pooya parsa
e1d4dd59c7 chore: simplify loadFixture 2019-01-20 22:20:01 +03:30
pooya parsa
2f2ec7ac30 fix(test): fallback to config if no config.default 2019-01-20 22:14:55 +03:30
pooya parsa
5b66afc23a fix(test/utils): check both ts and js for nuxt.config 2019-01-20 22:13:27 +03:30
Pooya Parsa
b0ca62d0c7
Update lock.yml 2019-01-20 08:38:59 +03:30
renovate[bot]
dbe40bc15e chore(deps): update dependency rollup-plugin-babel to ^4.3.2 (#4813) 2019-01-19 23:06:51 +03:30
Xin Du (Clark)
b23f5c9b4b feat(server): timing option for Server-Timing header (#4800) 2019-01-19 21:44:54 +03:30
Dmitry Molotkov
a7ba73ed13 fix: exit with proper error code on errors (#4806) 2019-01-19 16:19:57 +03:30
Kevin Marrec
25fd1d8dfc feat(ci): test typescript types (#4802) 2019-01-19 16:17:23 +03:30
Clark Du
9b3e7be3e7
fix: invalid plugin mode warning for all 2019-01-19 12:27:15 +00:00
Amos Wong
602cf12216 fix(server): allow listening on number 0 port (#4781) 2019-01-19 15:53:18 +03:30
renovate[bot]
991da1acf4 chore(deps): update all non-major dependencies (#4790) 2019-01-19 15:50:25 +03:30
Kevin Marrec
45afc3fc3a fix(ts): fix missing process type definitions and refactor types tests (#4798)
* fix(ts): add missing `process.mode` & `process.modern` typedefs

* refactor types tests + add tests for process typedefs
2019-01-19 15:50:06 +03:30
Kevin Marrec
b202361a1b fix(ts): prevent checking types twice in modern mode & use consola as logger (#4803) 2019-01-19 15:40:21 +03:30
Xin Du (Clark)
a616c09b22 feat(test): unit tests for core/config module (#4760)
* feat(test): enable tests in packages

* fix: wait error hook

* test: entry and hookable in core

* fix(test): options snapshot in windows

* refactor(test): simpilify jest.fn

* test: module in core

* test: complete module test

* test: add test for resolver in core

* test: update config snapshot

* test: nuxt in core module
2019-01-19 13:00:51 +01:00
Sébastien Chopin
deadc48f19
fix(vue-app): Fix Vuex HMR & refactor for better modules usage (#4791)
* fix(vue-app): Refactor store for better modules usage

* Update packages/vue-app/template/store.js

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

* fix: tests and code style
2019-01-18 12:28:34 +01:00
Eduardo San Martin Morote
c83bcb046a fix(examples): use testURL and module names (#4777) 2019-01-18 01:15:17 +03:30
renovate[bot]
7e5cb42275 chore(deps): update all non-major dependencies (#4785) 2019-01-18 00:50:00 +03:30
Alexander Lichter
40fbe5ba47 refactor: cleanups and code style improvements (#4788) 2019-01-18 00:48:29 +03:30
Kevin Marrec
db4001dae1 fix(ts): Add missing loading property to Component options (#4786) 2019-01-17 18:29:41 +01:00
Kevin Marrec
6694cf706b fix(ts): fix $nuxt.$loading typedefs (#4778)
* feat(ts): improve typedefs of `$nuxt.$loading`

* fix: remove useless new line
2019-01-17 18:29:01 +01:00
renovate[bot]
add233ce80 chore(deps): update dependency rollup-plugin-license to ^0.8.1 (#4783) 2019-01-17 11:00:19 +00:00
Alexander Lichter
f70610b794 fix(examples): deps [skip ci] (#4782) 2019-01-17 10:01:15 +00:00
Pim
9eab5589c0 fix: add iron browser as modern (#4775) 2019-01-17 00:15:46 +03:30
Pim
0c64410c6d chore: don't show stable version number when running from git/source (#4756) 2019-01-16 21:23:14 +03:30
Xin Du (Clark)
9c9d519576 refactor: simplify return value in addModule (#4766) 2019-01-16 21:20:45 +03:30
renovate[bot]
381e0af52f chore(deps): update dependency esm to ^3.1.0 (#4772) 2019-01-16 21:16:02 +03:30
Alexander Lichter
ec17804c48 feat: add exclude regex array for generated pages (#4754) 2019-01-16 21:13:56 +03:30
Clark Du
5f6361f6db fix: not use deprecated option esm in resolver 2019-01-16 17:24:36 +00:00
renovate[bot]
a1782600f7 chore(deps): update all non-major dependencies (#4761)
TODO: Remove warn fix for rollup-plugin-license
2019-01-16 14:54:15 +03:30
Kevin Marrec
73507b80b0 fix(examples): Ugrade vue-property-decorator in typescript examples (#4767) 2019-01-16 14:46:59 +03:30
Clark Du
36ca945d00 fix: wait error hook 2019-01-15 11:02:44 +00:00
Clark Du
e594f09914
test: mock require.main 2019-01-14 20:31:39 +00:00
Clark Du
8a11bb8bea feat(ci): disable lock bot 2019-01-14 20:10:58 +00:00
Clark Du
d02eb2f958 fix(test): remove local paths 2019-01-14 19:47:00 +00:00
Clark Du
bd1ae0b9df test: add unit tests for @nuxt/config 2019-01-14 17:40:15 +00:00
Sébastien Chopin
1b84fa84e1
Update README.md 2019-01-14 15:55:45 +01:00
Clark Du
746d4ffb0a test: cli list 2019-01-14 11:56:30 +00:00
Clark Du
5ec0c8d252 fix(ci): reduce jest workers i CircleCI 2019-01-14 09:43:39 +00:00
Kevin Marrec
e22e14bba5 fix(ts): set ts-node register compilerOptions.module to 'commonjs' (#4752) 2019-01-13 02:06:22 +03:30