Commit Graph

2072 Commits

Author SHA1 Message Date
Pooya Parsa
87ac7d0cb4 revert: don't prepend js/ to chunk file names
It makes some problems with source mappings
2018-01-05 02:57:13 +03:30
Pooya Parsa
4ea963a1c9 update youch to 4.0.1 2018-01-05 02:47:33 +03:30
Pooya Parsa
3822f0912b fix: use use non-eval source maps as of chrome 63 dev-tools bug 2018-01-05 02:30:01 +03:30
Pooya Parsa
60714ecfc0 minor fixes 2018-01-05 02:03:46 +03:30
Pooya Parsa
aef2199402 perf: use non weak etags as default
Calculation is always the same. This helps browsers caching responses for a longer term
2018-01-05 01:43:59 +03:30
Pooya Parsa
42807fcdf9 perf: Use getPreloadFiles for HTTP2 push headers 2018-01-05 01:40:52 +03:30
Pooya Parsa
88b795a83b fix typo 2018-01-04 21:09:12 +03:30
Pooya Parsa
e54beeee1e refactor: move renderer middleware into seperate modules 2018-01-04 21:06:47 +03:30
Pooya Parsa
4354dee243 chore: update dependencies 2018-01-04 20:55:15 +03:30
Pooya Parsa
96c3b4a15b refactor: change _open endpoint to /__open-in-editor
upgrade @nuxtjs/youch to 4.0.0

ref: vuejs/vue-devtools#483
2018-01-04 20:44:48 +03:30
Sébastien Chopin
5b923fd97e feat: Add extensions option to add more language support 2018-01-04 18:10:17 +01:00
Sébastien Chopin
dd83c87f64 example: Lint & fix TS example 2018-01-04 18:08:53 +01:00
Sébastien Chopin
aa62024cb4
Merge pull request #2490 from CKGrafico/dev
Add more realistic TypeScript example
2018-01-04 17:18:34 +01:00
Sébastien Chopin
8aaae89873
Merge pull request #2502 from clarkdo/chrome_sm
fix: chrome sourcemap issue
2018-01-04 16:55:28 +01:00
Clark Du
a74f206189 fix: remove require.cache deletion 2018-01-04 23:54:01 +08:00
Sébastien Chopin
39ef28ca2a fix: Don't call fixPrepatch on non-dynamic routes 2018-01-04 16:40:34 +01:00
Clark Du
f0908f089d
fix: chrome sourcemap issue 2018-01-04 23:25:48 +08:00
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