Commit Graph

355 Commits

Author SHA1 Message Date
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
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
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
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
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
Clark Du
746d4ffb0a test: cli list 2019-01-14 11:56:30 +00:00
renovate[bot]
dbf2711f0a chore(deps): update all non-major dependencies (#4742) 2019-01-13 00:08:21 +03:30
Xin Du (Clark)
ef05e005a6 refactor: add module not found fatal message in cli/imports (#4741) 2019-01-12 23:51:43 +03:30
Kevin Marrec
dfaffc0183 feat(nuxt-ts): typescript support improvements (#4750) 2019-01-12 23:51:21 +03:30
Kevin Marrec
8c915887f4 chore(deps): fix yarn.lock (#4747)
* chore(deps): fix yarn.lock

* Bump @vue/babel-preset-jsx to 1.0.0-beta.2

* yarn.lock bump
2019-01-12 07:43:22 +00:00
Alexander Lichter
4b9e8e75d8 fix: require postcss module via resolver (#4737) 2019-01-11 15:09:22 +00:00
renovate[bot]
4587a221df chore(deps): update all non-major dependencies (#4733) 2019-01-11 13:10:33 +03:30
Xin Du (Clark)
da8a3d84bb
feat: replace babel-plugin-transform-vue-jsx with @vue/babel-preset-jsx (#4740) 2019-01-11 09:39:07 +00:00
Sébastien Chopin
3ebd6b707e hotfix(layout): Hot fix for layout middleware 2019-01-10 19:57:32 +01:00
Sébastien Chopin
521ac20e29 fix(layout-middleware): Fix issue #4724 2019-01-10 18:59:56 +01:00
renovate[bot]
2bde11f77d chore(deps): update all non-major dependencies (#4731) 2019-01-10 19:46:42 +03:30
Clark Du
0a21d4b34c fix: undefined script in modern mode 2019-01-10 11:17:28 +00:00
William Chong
68d8d54e83 fix: use case insensitive regex for webpack loader rules (#4728) 2019-01-09 23:18:34 +03:30
Xin Du (Clark)
f85ac94a87 fix(builder, module): addLayout and nuxt.config precedence over auto-scanned layouts (#4702) 2019-01-09 14:27:46 +03:30
Pim
9c6df495d8 fix: add option to rewatch on path after raw fs event (#4717) 2019-01-09 14:18:28 +03:30
Alexander Lichter
eef2af35e4 fix: no false positives for plugins with index.js (#4714)
resolves #4713 [release]
2019-01-08 22:55:56 +03:30
Clark Du
ecf76d91f1 fix: SafariFix is not injected in client modern mode 2019-01-08 13:21:13 +00:00
renovate[bot]
a053e58534 chore(deps): update dependency postcss to ^7.0.8 (#4709) 2019-01-08 15:39:16 +03:30
renovate[bot]
51c018acd3 chore(deps): update all non-major dependencies (#4704) 2019-01-08 10:48:49 +03:30
Xin Du (Clark)
af76e07b56 fix(builder): js layout (#4701)
[release]
2019-01-07 15:44:51 +03:30
Kevin Marrec
b38e0aac43 feat(ts): typescript examples + improve vue-app typings (#4695) 2019-01-06 12:37:17 +03:30
renovate[bot]
3ccfcedb65 chore(deps): update all non-major dependencies (#4692) 2019-01-06 12:36:24 +03:30
Ricardo Gobbo de Souza
6436e3b080 fix(builder): layouts condition (#4641) 2019-01-06 11:35:11 +03:30
Alexander Lichter
78433b599e refactor: use is prefix for booleans (#4674) 2019-01-06 11:32:28 +03:30
Pim
605b76073b chore: lint vue-app templates (#4689) 2019-01-06 11:26:59 +03:30
renovate[bot]
d063cb09e8 chore(deps): update all non-major dependencies (#4691) 2019-01-04 23:46:28 +00:00
Pooya Parsa
ee0096bf59
feat: nuxt-ts (#4658)
[release]
2019-01-04 23:00:28 +03:30
renovate[bot]
6168c3c9f3 chore(deps): update dependency webpack-dev-middleware to ^3.5.0 (#4690) 2019-01-04 21:49:16 +03:30
renovate[bot]
e40022138e chore(deps): update all non-major dependencies (#4687) 2019-01-04 17:06:53 +00:00
Clark Du
89f88669c1 fix: server build failed in dev mode 2019-01-04 16:33:50 +00:00
Clark Du
30fef5d7a0 fix: enable FriendlyErrorsPlugin when build.friendlyErrors is true 2019-01-04 16:09:10 +00:00
pooya parsa
6178c470ba perf(ssr): remove extra imprts from server.js 2019-01-04 00:17:06 +03:30