Commit Graph

2805 Commits

Author SHA1 Message Date
Clark Du
6f6a184f92
Merge pull request #2487 from clarkdo/chokidar2
chore: upgrade chokidar to 2.0.0
2018-01-03 09:31:58 +08:00
Quique Fdez Guerra
44c0ab78a2 Add more realistic TypeScript example 2018-01-02 10:55:22 +01:00
Clark Du
92f293e413
chore: upgrade chokidar to 2.0.0 2018-01-02 10:36:09 +08:00
Clark Du
a5b6d8ee9f
chore: downgrade chokidar 2018-01-02 00:01:39 +08:00
Clark Du
1af78f663a
chore: upgrade dependencies 2018-01-01 23:35:47 +08:00
Pooya Parsa
806287e62c fix inject for store 2017-12-29 16:01:19 +03:30
Pooya Parsa
61232a61e6 fix: avoid pretty-error mutating traces 2017-12-29 15:16:31 +03:30
Pooya Parsa
8868a4e8f4 update style-loader test 2017-12-29 13:18:47 +03:30
Pooya Parsa
d243ad13e1 improve dist chunks structure
Moving all js assets into _nuxt/js and css assets into _nuxt/css
2017-12-29 13:15:21 +03:30
Pooya Parsa
bfe1f2c4d3 builder loader refactors 2017-12-29 12:26:32 +03:30
Pooya Parsa
f4ca25a692 coverage 2017-12-29 12:13:24 +03:30
Pooya Parsa
56965b838b update tests
Some tests disabled until a fix arrives
2017-12-29 12:03:13 +03:30
Quique Fdez Guerra
9c754f8021 Merge branch 'dev' of https://github.com/nuxt/nuxt.js into dev 2017-12-28 19:22:34 +01:00
Pooya Parsa
2656529771 fix: prioritize nuxtDir in modulesDir 2017-12-28 20:19:56 +03:30
Pooya Parsa
ef5b910112 refactor postcssConfig 2017-12-28 19:35:34 +03:30
Pooya Parsa
4e22416002 refactor sryle-loader
makes code more clear and (temporary) fixing dev source maps when extractCSS is on
2017-12-28 19:00:31 +03:30
Pooya Parsa
6fabea392d chore: update dependencies 2017-12-28 15:56:10 +03:30
Ivan Santos
26ba9f43ea remove duplicated --spa flag on nuxt-generate help (#2467) 2017-12-28 08:54:12 +03:30
Pooya Parsa
447b314a45 fix: update dependencies 2017-12-22 01:30:57 +03:30
Clark Du
83d5f059ee feature: redirect by route name 2017-12-21 12:21:43 +03:30
Clark Du
b385ee74db feature: enable extractCSS in dev 2017-12-21 12:16:07 +03:30
Clark Du
cc779b903e
chore: upgrade vue to 2.5.13 2017-12-21 14:01:56 +08:00
Sebastien Lacoste
45c15a96c4 Add ignorePrefix option to ignore files 2017-12-18 16:53:36 +01: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