Commit Graph

1980 Commits

Author SHA1 Message Date
Clark Du
cc779b903e
chore: upgrade vue to 2.5.13 2017-12-21 14:01:56 +08:00
Sébastien Chopin
ae754af362
Merge pull request #2412 from pimlie/test-no-serial-and-sinon
Test improvements, eg run tests in parallel and use sinon for console tests
2017-12-18 11:10:45 +01:00
Clark Du
c55df07968 chore: upgrade loader (#2415) 2017-12-18 13:29:16 +03:30
pimlie
ada5ffb84e Fix stdout/stderr interceptors 2017-12-17 22:14:05 +01:00
pimlie
fffe741986 Use console helper with sinon
Add stdout/stderr to console helpers

Remove separate nosubfolders test file in favor of inclusion in basic.generate

Add build.stats to silence webpack output

Add .always to after hooks: (1) fixes issue with basic.dev test that watch.js is empty when one of the test fails and (2) fixes that sometimes when running multiple tests that failed after eachother the port is still used as the server did not automatically get killed

Change all init nuxt before test to serial tests and add tests for DONE and OPEN logs
2017-12-17 20:30:26 +01:00
Pim
c92d427bb0 Feat: add possiblity to mute webpack in non-dev modes (#2411)
Move webpackStats to nuxt.options

Only clearConsole when we expect webpack to output stats
2017-12-17 17:29:50 +03:30
pimlie
0f4bf0f9b2 Revert cc74126
The generate:routeCreated hook still existed but probably not in the expected place
2017-12-17 16:46:14 +03:30
Sébastien Chopin
126b58be00
Merge pull request #2382 from clarkdo/sinon_console
test: use sinon instead of std-mocks
2017-12-15 11:22:50 +01:00
Sébastien Chopin
1dd3191f04
Merge branch 'dev' into sinon_console 2017-12-15 10:53:55 +01:00
Sébastien Chopin
747371e79d
Merge branch 'dev' into sinon_console 2017-12-15 10:53:29 +01:00
Sébastien Chopin
2d45dc44b2
Merge pull request #2400 from clarkdo/dev
chore: upgrade dependencies
2017-12-15 10:51:15 +01:00
Clark Du
bcd2412b2b
chore: upgrade dependencies 2017-12-15 15:03:33 +08:00
Clark Du
7e956c8ae2 chore: upgrade vue 2017-12-15 14:31:43 +08:00
Clark Du
3ec8f14e57 test: coverage for ProgressPlugin 2017-12-13 11:39:57 +03:30
Clark Du
4cf855ce81 chore: upgrade vue to 2.5.10 2017-12-13 11:22:42 +03:30
Clark Du
75dc379340 test: coverage for ProgressPlugin 2017-12-13 11:20:40 +03:30
Clark Du
0fc98f3927 fix: ProgressBarPlugin ends at 91% 2017-12-13 11:20:40 +03:30
Clark Du
ff53769829 test: use sinon instead of std-mocks 2017-12-13 13:39:02 +08:00
Pooya Parsa
4adfdf3313 fix commonCunks to ignore vue files from adding into vendor 2017-12-13 05:48:41 +03:30
Pooya Parsa
4f55aadd1e fix: temporary disable build.config hydration 2017-12-13 05:47:44 +03:30
dsandor
cc74126fa6 Replace code that was removed by commit: 65f4a030f4 2017-12-13 04:45:17 +03:30
Pooya Parsa
49b43c4be3 improve modulesDir 2017-12-13 04:39:38 +03:30
Sébastien Chopin
6fc57895b5
Merge pull request #2234 from pimlie/feat-cleanup-test-console-output
Intercept console output in tests
2017-12-12 17:36:59 +01:00
Sébastien Chopin
a482cc868f
Merge branch 'dev' into feat-cleanup-test-console-output 2017-12-12 16:38:15 +01:00
Sébastien Chopin
a00f482d24
Merge branch 'dev' into feat-cleanup-test-console-output 2017-12-12 16:34:21 +01:00
Sébastien Chopin
868e93e7f3
Merge pull request #2377 from clarkdo/js_jsx
refactor: vue takes precedence over js in pages and layouts
2017-12-12 16:27:39 +01:00
Clark Du
bc3bcac337
refactor: vue takes precedence over js in pages and layouts 2017-12-12 21:32:45 +08:00
Pooya Parsa
a4e2a7cd65 always add nuxt to modulesDir 2017-12-12 16:27:01 +03:30
Pooya Parsa
adb5966ed2 improve progressbar experience 2017-12-12 15:16:19 +03:30
Pooya Parsa
edfc42086f coverage 2017-12-12 13:55:41 +03:30
Pooya Parsa
b5ff5a167d remove index.js from files 2017-12-12 13:42:36 +03:30
Pooya Parsa
26f032a11c build ~> scripts 2017-12-12 13:41:55 +03:30
Pooya Parsa
2450747ab0 fix permissions 2017-12-12 13:40:53 +03:30
Pooya Parsa
8a110b54ec fix ci 2017-12-12 13:32:39 +03:30
Pooya Parsa
d32419eb92 fix: add all node_modules requests into vendor chunk 2017-12-12 13:30:56 +03:30
Pooya Parsa
9e0aa84416 fix(ci): release-next script 2017-12-12 13:22:20 +03:30
Pooya Parsa
9b8cbed512 perf: remove rollup build
Using native node 8.x for less transpilations
2017-12-12 13:12:29 +03:30
Pooya Parsa
ceef1f896f fix build warn 2017-12-12 11:15:04 +03:30
Pooya Parsa
5a07be6396 perf: use native util.promisify instead of pify
https://nodejs.org/api/util.html#util_util_promisify_original
2017-12-12 11:13:56 +03:30
Pooya Parsa
0ebc17454d chore: update dependencies 2017-12-12 11:13:09 +03:30
Clark Du
72e2351719 fix: youch with source-map in default dev case 2017-12-12 00:13:08 +03:30
Pooya Parsa
b86426aaa0 fix(webpack): don't use hashes when watching
helps preventing memory leaks on dev mode and more clear source
2017-12-11 23:37:11 +03:30
Pooya Parsa
f99897376b refactor webpack plugins 2017-12-11 23:24:32 +03:30
Sébastien Chopin
d4d1bd504d
Merge pull request #2353 from clarkdo/js_jsx
feat: support .js and JSX in components
2017-12-11 11:42:12 +01:00
Clark Du
a9b54c3f25
fix: jsx example lint issue and use latest nuxt 2017-12-11 18:37:50 +08:00
Clark Du
844da3f1fe
test: js/jsx page 2017-12-11 16:18:28 +08:00
Clark Du
29df01f16e fix: memory leak when frequent rebuild in watch mode 2017-12-10 17:43:45 +03:30
Clark Du
4b841c7f2c example: add jsx 2017-12-10 01:55:59 +08:00
Clark Du
7d5ecbfd08 feat: lint jsx 2017-12-10 01:55:59 +08:00
Clark Du
84961b3dae feat: support component as js extension 2017-12-10 01:55:59 +08:00