Commit Graph

4755 Commits

Author SHA1 Message Date
Sébastien Chopin
994c3d252e
Merge pull request #2232 from anteriovieira/patch-1
Added support for placeholder slot
2017-11-24 15:34:10 +01:00
Antério Vieira
2b51eb84db
Added support for placeholder slot 2017-11-24 12:32:52 -02:00
Pooya Parsa
b794a89fae
chore: sync yarn.lock 2017-11-24 13:50:57 +03:30
Pooya Parsa
259f26bd4f
refactors for modulesDir as array 2017-11-24 13:10:01 +03:30
Clark Du
f27ddea7d5 feat: modulesDir supports array form 2017-11-24 17:19:50 +08:00
Clark Du
16c12d1e85 refactor: remove unnecessary return await (#2224)
* refactor: remove unnecessary return await

* refactor: remove unnecessary async
2017-11-24 12:03:47 +03:30
Clark Du
7a301bed6c refactor: prevent wrapper Promise 2017-11-24 11:53:56 +03:30
Clark Du
c15543cb83 refactor: make unwatch async 2017-11-24 11:53:56 +03:30
Dmitriy
967a442d5e resolve extra modules if nuxt linked (#2212) 2017-11-24 11:50:00 +03:30
Clark Du
fd42610862 fix: lint error in bin 2017-11-24 11:40:46 +03:30
Clark Du
4cc4eefcf8 refactor: change getMeta to async 2017-11-24 11:40:21 +03:30
Clark Du
30714c989a refactor: change settimeout to waitFor (#2220) 2017-11-24 11:39:45 +03:30
Pim
65f4a030f4 refactor generator + cli tests (#2205)
* Rename this.generateRoutes to this.staticRoutes

* Refactor generator to separate logic

* Move routeCreated hook to generateRoute

Add routeFailed hook for unhandled exceptions

Keep page errors separately until page hooks have been called

* Move debug and report statements to hooks

* pageErrors can be a const

Push pageErrors to errors

* fix done hook, errors are 2nd param

* Add generator hooks to nuxt-build for spa mode

* Added a cli integration test for bin/nuxt-(build|start|generate)

* Removed unnecessary waitFor

* Use pify instead util.promisify for v6 compatibility

* Fix windows build

You cant execute .js files directly on Windows/Appveyor so call node with nuxt-*.js file as argument

* Fix windows build (2)

Use correct folder separators in text search

* Fix possible timing quirck in children.path.test
2017-11-24 02:01:54 +03:30
Sébastien Chopin
3764dc73c3
Merge pull request #2199 from 0pt1m1z3r/nuxt-dev-fix-double-compile
Prevent double compile on nuxt.config.js update
2017-11-23 13:36:56 +01:00
Sébastien Chopin
b6ad81475c
Merge branch 'dev' into nuxt-dev-fix-double-compile 2017-11-23 12:50:55 +01:00
Sébastien Chopin
959cbb613a
Merge branch 'dev' into nuxt-dev-fix-double-compile 2017-11-23 12:50:28 +01:00
Sébastien Chopin
db5eceec4f
Merge pull request #2207 from pimlie/dev
Fix eslint issue in builder.js
2017-11-23 12:25:22 +01:00
pimlie
6d8c96bc82 Fix eslint issue in builder.js 2017-11-23 12:01:38 +01:00
Dmitri Efimenko
6022c5d561 Prevent double compile on nuxt.config.js update 2017-11-22 15:57:39 +03:00
Dmitri Efimenko
1788de42fb Merge remote-tracking branch 'nuxt/dev' into dev 2017-11-22 12:53:35 +03:00
Dmitriy
4c808c90ab fix memory leak on restart nuxt-dev (#2190) 2017-11-22 13:21:07 +03:30
Pooya Parsa
8550bcd684
wChunk windows fix 2017-11-22 01:04:34 +03:30
Dmitriy
4451178c99 Improved nuxt dev restart on config change (#2189) 2017-11-22 01:03:37 +03:30
Dmitri Efimenko
e5941ca457 Merge remote-tracking branch 'nuxt/dev' into dev 2017-11-21 22:06:44 +03:00
Pooya Parsa
c377a78e7d
fix(builder): webpack chunk names for windows 2017-11-21 16:53:40 +03:30
Dmitri Efimenko
f8f4e785eb Merge remote-tracking branch 'nuxt/dev' into dev 2017-11-21 16:12:18 +03:00
Pooya Parsa
38b71cbe04
fix(nuxt-dev): successful rebuild if nuxt.config.js has problems 2017-11-21 16:36:13 +03:30
Sébastien Chopin
8cf56284ac
Merge pull request #2181 from danielpost/dev
Update no-ssr to v0.2.1
2017-11-21 13:38:25 +01:00
Daniel Post
aab684f8a8
Fix coding style 2017-11-21 12:15:11 +00:00
Daniel Post
dac47d43bf
Update no-ssr to v0.2.1 2017-11-21 12:13:35 +00:00
Clark Du
9bf73b0b5a test: inline postcss config 2017-11-21 13:57:47 +03:30
Clark Du
162b56ee4e test: custom postcss config 2017-11-21 13:57:47 +03:30
Sébastien Chopin
17caac59e2
Merge pull request #2172 from 0pt1m1z3r/style-resources-loader
Style resources loader
2017-11-21 10:18:40 +01:00
Dmitri Efimenko
e56adee998 Fix style-resources package.json 2017-11-21 03:14:06 +03:00
Dmitri Efimenko
f71abff6c6 Fix style-resources example 2017-11-21 03:02:21 +03:00
Dmitri Efimenko
9fb2fdf4f5 build.styleResourcesLoader
https://github.com/yenshih/style-resources-loader
2017-11-21 02:56:14 +03:00
Dmitri Efimenko
a315b71ea8 Merge remote-tracking branch 'nuxt/dev' into dev 2017-11-20 23:48:38 +03:00
Sébastien Chopin
785948ea80
Merge pull request #2164 from clarkdo/dev
test: create a separate test for deprecated apis
2017-11-20 08:53:17 +01:00
Clark Du
1c446b9e1b
test: create a separate test for deprecated apis 2017-11-20 15:13:53 +08:00
Sébastien Chopin
a9dcdca0f2
Merge pull request #2158 from clarkdo/dev
test: coverage for webpack config files
2017-11-20 06:58:47 +01:00
Clark Du
adc6884ed1
test: externals and deprecated dev in build.extend 2017-11-20 12:22:30 +08:00
Clark Du
0fd9774d11
test: build with DllReferencePlugin 2017-11-20 10:54:37 +08:00
yasark
de8e961498 Security update postcss-url #2074 2017-11-19 21:44:13 +03:30
Clark Du
750db84267 test: coverage for hooks exception 2017-11-19 18:38:51 +03:30
Clark Du
f0ea07ea4b test: coverage for hooks 2017-11-19 18:38:51 +03:30
Clark Du
377416a7ef refactor: eslint adjustments 2017-11-19 17:18:02 +03:30
Clark Du
73509c29ba refactor: remove alreadyRequired which is always true 2017-11-19 17:18:02 +03:30
Sébastien Chopin
b34abc7efe
Merge pull request #2152 from dojineko/update-vue
Update Vue.js
2017-11-19 08:46:51 +01:00
dojineko
4645d096f9 Update Vue.js 2017-11-19 12:19:47 +09:00
dojineko
7d28d8608d Update yarn.lock for #2148 2017-11-19 11:59:46 +09:00