Pooya Parsa
10d1b5974c
style: format with prettier
2018-01-13 08:52:11 +03:30
Sébastien Chopin
eceb92502b
minor: Improve styleResources to handle multiple pre-provcessors
2018-01-08 10:41:30 +01:00
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
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
56965b838b
update tests
...
Some tests disabled until a fix arrives
2017-12-29 12:03:13 +03:30
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
Sébastien Chopin
a00f482d24
Merge branch 'dev' into feat-cleanup-test-console-output
2017-12-12 16:34:21 +01:00
Pooya Parsa
9b8cbed512
perf: remove rollup build
...
Using native node 8.x for less transpilations
2017-12-12 13:12:29 +03:30
Clark Du
81bb278305
test: build.styleResources for style-resources-loader
2017-12-08 11:32:10 +03:30
pimlie
194bcdd21f
Refine console intercept implementation
...
Adapt basic.ssr
2017-11-27 23:35:42 +01:00
pimlie
87bb0dea64
Intercept console output in tests
2017-11-24 22:19:39 +01:00
Clark Du
162b56ee4e
test: custom postcss config
2017-11-21 13:57:47 +03:30
Clark Du
1c446b9e1b
test: create a separate test for deprecated apis
2017-11-20 15:13:53 +08:00
Clark Du
adc6884ed1
test: externals and deprecated dev in build.extend
2017-11-20 12:22:30 +08:00
Atinux
244644f192
test: Fix common -> vendor
2017-11-07 16:30:19 +01:00
FieryCod
0b46b06c7c
Adds support for folders in /layouts
2017-10-15 21:31:01 +02:00
Sebastien Chopin
20eb5a5eb0
fix: handle process.env to have nested keys
2017-09-05 11:15:07 +02:00
Pooya Parsa
5c2f4715e6
add tests for font preload
2017-08-30 18:48:37 +04:30
Pooya Parsa
1ca5739a2f
add router base to all middleware
2017-08-25 16:31:16 +04:30
Pooya Parsa
85e7641bae
update tests
2017-08-19 16:03:24 +04:30
Pooya Parsa
c5a5dac627
update tests
2017-08-18 16:02:25 +04:30
Sebastien Chopin
af60ba21c0
Remove JS files for pages & layouts
2017-08-17 15:23:40 +02:00
Wu Haotian
814590c15a
add .js files for layouts and pages
2017-08-14 18:09:27 +08:00
Pooya Parsa
7dd00a7c50
fix error pages layout
...
error page itself is a kind of layout so we should purely render it to avoid style conflicts
2017-08-10 15:07:23 +04:30
Pooya Parsa
68326a6c9b
chore: update tests
2017-07-22 23:49:35 +04:30
Pooya Parsa
75d933aac6
tests: update with-config
...
Two index files are generated now so increase assets.length by 1
2017-07-11 13:40:46 +04:30
Pooya Parsa
d42819ee91
update tests
2017-06-20 17:25:52 +04:30
Pooya Parsa
daa50e4efb
refactor server into nuxt
2017-06-20 16:14:47 +04:30
Sébastien Chopin
c26daa9e8f
Fix tests
2017-06-18 19:33:23 +02:00
Pooya Parsa
8f2945111a
use nuxtAppDir
2017-06-16 17:34:42 +04:30
Pooya Parsa
45485f5b8a
update tests
2017-06-16 17:19:35 +04:30
Pooya Parsa
25f11a05ab
fix tests
2017-06-16 03:17:47 +04:30
Pooya Parsa
2576e8795e
init() ~> ready()
2017-06-15 19:29:26 +04:30
Pooya Parsa
25d106e2ab
runBuild option
2017-06-14 23:21:14 +04:30
Pooya Parsa
42bf9bb41d
decouple builder from renderer + improvements
2017-06-14 20:43:43 +04:30
Pooya Parsa
b61694ca21
clone options to prevent unwanted side-effects
...
fixes with-config test that runs nuxt twice with same nuxt.config.js file
2017-06-14 03:22:30 +04:30
Pooya Parsa
c5ca8c64f1
refactor: nuxt constructor no longer returns a promise
...
by not returning a promise we can expose .render method
also the old way of using nuxt won't change by 1.x release
2017-05-31 18:51:16 +04:30
Sebastien Chopin
979e15db2a
Update JSDOM logic
2017-05-30 18:18:01 +02:00
Sebastien Chopin
eaee5afbde
Add render.static
option to customize serve-static
middleware
2017-05-22 12:51:03 +02:00
Sébastien Chopin
e5052c3a87
Update test
2017-05-21 21:00:01 +02:00
Sébastien Chopin
c5b5913402
Update test
2017-05-21 19:18:26 +02:00
Pooya Parsa
34ac2f8b1c
t.pass()
2017-05-15 15:36:23 +04:30
Pooya Parsa
32ac90482e
Merge remote-tracking branch 'remotes/origin/fix-middleware' into dev
...
# Conflicts:
# lib/app/server.js
# lib/app/utils.js
# lib/generate.js
# yarn.lock
2017-05-15 15:33:52 +04:30
Pooya Parsa
b0b9101a8d
[tests] await for nuxt initialization
...
Nuxt constructor is now returning a promise, so we should await it before using
2017-05-12 00:19:02 +04:30
Sebastien Chopin
ac836c77de
Update tests
2017-05-11 13:37:21 +02:00
Pooya Parsa
98ffc2110b
[tests] ensure global styles are inlined
2017-05-05 18:55:17 +04:30
Pooya Parsa
6945479984
fix test resources
2017-04-27 20:02:41 +04:30
Sébastien Chopin
cce71ce8d5
Add test for offline-plugin
2017-04-17 15:58:18 +02:00
Sébastien Chopin
d63b34de78
Fix tests
2017-03-26 00:58:10 +01:00