Commit Graph

3042 Commits

Author SHA1 Message Date
Dmitry Molotkov
9a702809ee fix: window nuxt build by using cross-spawn (#3833)
node spawnSync have issues on windows and building fails with it with ENOENT error
2018-09-01 21:44:57 +01:00
Dmitry Molotkov
00ea57937e fix(nuxt-start): add missing dependencies (#3832) 2018-09-02 00:57:10 +04:30
Ahad Birang
bceddf5bcf feat(router): add support for props and alias (#3818) 2018-09-01 09:03:28 +04:30
Indrek Ardel
674e9ed545 feat(builder, webpack): allow loading webp images as assets (#3827) 2018-09-01 08:56:10 +04:30
Clark Du
40aae73d5b
feat: enable runtimeChunk for extracting manifest chunk 2018-08-31 22:47:49 +01:00
Clark Du
b11e9c0e51
feat: upgrade eslint to 5.x (#3494)
- [ ] babel-eslint https://github.com/babel/babel-eslint/issues/664
- [x] eslint-config-standard-jsx https://github.com/standard/eslint-config-standard-jsx/issues/32
- [x] eslint-config-standard to be stable release https://github.com/standard/eslint-config-standard/issues/123
- [x] eslint-plugin-html
- [x] eslint-plugin-import
- [x] eslint-plugin-jest
- [x] eslint-plugin-node
- [x] eslint-plugin-promise
- [x] eslint-plugin-standard https://github.com/standard/eslint-plugin-standard/issues/29
- [x] eslint-plugin-vue https://github.com/vuejs/eslint-plugin-vue/pull/504
- [x] eslint-plugin-react https://github.com/yannickcr/eslint-plugin-react/releases/tag/v7.10.0
2018-08-31 21:34:12 +01:00
Clark Du
fa01cd76ff
fix: type of buildSuffix 2018-08-31 20:56:21 +01:00
Clark Du
76d6ab4190
refactor: make build suffix dynamically 2018-08-31 20:55:13 +01:00
Clark Du
510c9e2dc4
fix: convertTo suffix log 2018-08-31 20:52:24 +01:00
Clark Du
783ef46cff
refactor: simplify package.js 2018-08-31 20:48:33 +01:00
Clark Du
c20034b994
refactor: use logger in package.js 2018-08-31 20:32:30 +01:00
Clark Du
fe2dd22c14
refactor: resolve packageJS one time 2018-08-31 20:26:51 +01:00
Pooya Parsa
4ad1528b84 perf(circleCI): build edge on release step
Without this we have to persist everything again at build step which adds ~1min
2018-08-31 23:35:55 +04:30
Pooya Parsa
2e5edaa572 fix(circleci): persist all changes for release step 2018-08-31 23:26:37 +04:30
Pooya Parsa
fdd88547f7 fix(build/package): trim logs 2018-08-31 23:26:26 +04:30
Pooya Parsa
f85465386c
feat: move nuxt-legacy and nuxt-start into packages (#3824) 2018-08-31 22:51:41 +04:30
Clark Du
4311aca5cb refactor: update nuxt-start dependencies dynamically (#3816) 2018-08-30 20:47:41 +04:30
Clark Du
aeb33e0c94 fix: nuxt-start-edge missing resources 2018-08-29 07:45:19 +01:00
Clark Du
67528f1ba3
fix: bin folder name 2018-08-28 22:25:13 +01:00
Clark Du
dca1425cfe fix(nuxt-start): update dependencies (#3815) 2018-08-29 01:38:57 +04:30
Clark Du
7e77c82c5b
feat: upgrade babel to 7.0.0 (#3814) 2018-08-28 21:57:17 +01:00
Pooya Parsa
83d9dc4105 test: add tests for validate with error 2018-08-25 22:24:16 +04:30
Pooya Parsa
87d303845f chore: remove extra validationError
as @clarkdo mentioned
2018-08-25 21:56:42 +04:30
Jonas Galvez
608b913b8a feat: async validate() (#3797) 2018-08-25 14:12:00 +04:30
Mihal Malostanidis
a2168ae4f9 nit: Make fs more parallel 😂👌 (#3795) 2018-08-24 19:20:57 +01:00
Pooya Parsa
ac841edf62 use exact version for @babel/preset-env 2018-08-24 20:26:55 +04:30
Pooya Parsa
f7ca6cd2a2 chore: update dependencies (#3794)
Remaining:

- For `css-loader`: #3741
- For `eslint`: #3494
- For `postcss`: #3679
2018-08-24 16:53:30 +01:00
Pim
43f639b88e fix: fallback should always be a string (#3792)
The SPA fallback option should always be a string, if the user configuration was specifed as boolean true it should have been replaced by the default string value (currently 404.html) in lib/common/options.js

Added test on empty string

Added missing test for spa-fallback.html
2018-08-23 19:33:02 +02:00
Clark Du
ba5df53042 refactor: remove unnecessary splitChunks process (#3791) 2018-08-23 15:48:05 +02:00
Clark Du
567dc860c1 feat: new filenames structure (#3789)
* feat: new filenames structure

* refactor: codes format

* refactor: remove [path] in output filename

* refactor: use chunkhash for js files

* refactor: remove normalizeFileName
2018-08-22 23:54:08 +02:00
Sébastien Chopin
22559a838c
code: Update code style, remove else 2018-08-22 20:12:07 +02:00
Clark Du
e8414291b4
refactor: functional filename should be called from webpack (#3788)
@Atinux Improvement for #3787
2018-08-22 16:47:52 +01:00
Alexander Lichter
3e027269c0 feat: merge renderAndGetWindow options (#3761)
* feat: merge renderAndGetWindow options

* fix: typoe

* refactor: remove explicit comparison for truthy value

* fix: setup defaults correctly

* test: add custom params test
2018-08-22 17:14:15 +02:00
Clark Du
3612ecd435 feat: support functional filenames (#3787) 2018-08-22 17:08:51 +02:00
Clark Du
8230354d1b feat: webpack refactor (#3747)
* refactor: use more standard entrypoint config

* refactor: fix dev entry name

* refactor: webpack devtool and optimization
2018-08-22 16:24:47 +02:00
Clark Du
3f7c5f64ed
fix: async fetch and asyncData not trigger ErrorHandler (#3781) 2018-08-22 14:10:43 +01:00
Clark Du
b35126d68c
fix: ie11 loading indicator not centering (#3779) 2018-08-22 14:10:31 +01:00
Clark Du
ef85723fe6
fix: error page rendering before redirect (#3782)
* fix: error page rendering before redirect

* fix: cancel redirect after redirect to external link

* refactor: simplify ERR_REDIRECT

* refactor: simplify ERR_REDIRECT

* refactor: trigger routeChanged when redirect external link
2018-08-22 14:10:18 +01:00
Sébastien Chopin
820f0fae1a
[WIP] Hooks: render:routeContext and render:routeDone (#3773)
* hooks: Add render:routeDone hook

* hooks: Deprecate render:context and add render:routeContext

* refactor: delegate context to routeContext

* test: Add test for render:routeDone hook

* lint: Fix lint issue
2018-08-21 18:35:46 +02:00
Sébastien Chopin
799c487d8c
readme: Add browser stack for cross-browser testing 2018-08-21 17:53:17 +02:00
Sébastien Chopin
bba9e2bae0 fix: Show error page if error on layout 2018-08-21 16:50:31 +02:00
Alexander Lichter
b9f3aa27c9 fix: update with-vuetify example (#3780) 2018-08-21 13:10:50 +02:00
Tatsuyuki Ishi
716c04f4e9 Isolate client and server artifacts (#3758) 2018-08-20 18:04:55 +02:00
Jonas Galvez
f0f307553f Filter out non-strings (serverMiddleware watch fix) (#3771)
* Filter out non-strings

* Add serverMiddleware function

* Add serverMiddleware function (2)

* Add serverMiddleware function (3)
2018-08-20 16:43:23 +02:00
Clark Du
b920f22483
refactor: add hooks (#3772) 2018-08-20 15:20:45 +01:00
Sébastien Chopin
7b910428bc example: Add live edit and demo 2018-08-20 15:08:44 +02:00
Sébastien Chopin
1fb2520eec example: Update package.json 2018-08-20 15:02:55 +02:00
Sébastien Chopin
de9641b94c example: Add README 2018-08-20 15:02:04 +02:00
Sébastien Chopin
fe41d4b75b example: Add routes-meta example 2018-08-20 14:59:21 +02:00
Jonas Galvez
97910de3ec Improve hooks in nuxt.config.js (#3766)
* Improve hooks in nuxt.config.js

* No mult-line for
2018-08-20 14:19:09 +02:00