Sam Hatchett
71cfdd2907
fixes api route default content-type
...
fixes issue where api routes were being defaulted to text/html. Page routes should be text/html, but api routes could be json, zip files, etc., and express does some type-guessing to assist in case the user code does not specify the content-type.
2018-01-31 11:08:25 -05:00
Rich Harris
7a3506420f
Merge pull request #100 from sveltejs/gh-99
...
return a promise from init
2018-01-20 20:16:46 -05:00
Rich Harris
72ae4a1c64
ugh still need to wait for requests to complete
2018-01-20 19:55:21 -05:00
Rich Harris
a09c33d6a5
return a promise from init - fixes #99
2018-01-20 19:49:41 -05:00
Rich Harris
4590aa313c
Merge pull request #96 from mrkishi/master
...
Identify js and html route clashes
2018-01-20 18:36:50 -05:00
Rich Harris
d11bd954e0
seems tests weren't actually running in appveyor? ( #98 )
...
well this was harder than it should have been
2018-01-20 18:34:30 -05:00
Rich Harris
c15959710b
huh. not sure where this broke
2018-01-20 13:39:49 -05:00
Rich Harris
bb8ff74f68
remove noise from tests
2018-01-20 13:21:53 -05:00
Rich Harris
2cbbe91490
Merge branch 'master' of github.com:sveltejs/sapper
2018-01-20 12:53:16 -05:00
Rich Harris
faeddd8add
work around Svelte hydration failures
2018-01-20 12:53:06 -05:00
Rich Harris
d77722c042
Merge branch 'chexxor-patch-1'
2018-01-20 12:40:35 -05:00
Rich Harris
61daba7a64
add hydration test, add window.init function to make it possible
2018-01-20 12:40:31 -05:00
Rich Harris
54ff8cc2e6
Merge branch 'patch-1' of https://github.com/chexxor/sapper into chexxor-patch-1
2018-01-20 12:37:48 -05:00
Rich Harris
e6fcafe09b
Merge pull request #95 from lukeed/fix/express-reliance
...
Remove Express Helpers
2018-01-20 12:10:43 -05:00
Rich Harris
a305d3cea1
Merge pull request #97 from sveltejs/gh-90
...
return service worker from generate_asset_cache
2018-01-20 12:09:11 -05:00
Rich Harris
75e70207b8
return service worker from generate_asset_cache - fixes #90
2018-01-20 12:02:32 -05:00
mrkishi
8a8526d9ed
Identify js and html route clashes
2018-01-20 01:42:13 -02:00
Luke Edwards
9a76229bb6
test: shim setHeader method
2018-01-19 13:56:01 -08:00
Luke Edwards
f4e46e6e6c
replace Express shorthands w/ native counterparts
2018-01-19 13:54:55 -08:00
Alex Berg
90cd347112
Fix typo
2018-01-19 01:25:20 -06:00
Alex Berg
5adfdd6fe0
Hydrate on first load, not destroy
2018-01-19 01:22:08 -06:00
Rich Harris
a6dc61a182
-> v0.5.1
v0.5.1
2018-01-16 08:47:50 -05:00
Rich Harris
96666d05ec
only write to filesystem in dev mode
2018-01-16 08:47:44 -05:00
Rich Harris
6390ba692b
-> v0.5.0
v0.5.0
2018-01-15 10:28:48 -05:00
Rich Harris
0e131cc81e
Merge pull request #88 from sveltejs/gh-9
...
Exporting
2018-01-15 10:24:35 -05:00
Rich Harris
bd3d5713cb
Merge pull request #64 from lukeed/lazy-chokidar
...
Lazily Require Chokidar
2018-01-15 10:04:37 -05:00
Rich Harris
9ec23c47ad
update test
2018-01-15 10:04:24 -05:00
Rich Harris
b7bb69925e
rename extract to export, for familiarity to next.js devs
2018-01-15 10:03:27 -05:00
Rich Harris
25124f6ee7
Merge branch 'master' into lazy-chokidar
2018-01-15 09:58:39 -05:00
Rich Harris
73d491cd19
Merge branch 'master' into lazy-chokidar
2018-01-15 09:58:03 -05:00
Rich Harris
e25fceb4b8
node 6 is the new IE
2018-01-15 09:36:12 -05:00
Rich Harris
3807147c57
add missing dependency
2018-01-14 22:45:59 -05:00
Rich Harris
a523ba58ff
save pages as index.html, ignore hashes
2018-01-14 22:45:51 -05:00
Rich Harris
fe03fd3a52
update lockfile
2018-01-14 18:21:37 -05:00
Rich Harris
89c430a0cb
slightly different approach to extracting
2018-01-14 18:19:51 -05:00
Rich Harris
8ef312849c
always write service-worker.js and shell index.html file
2018-01-14 18:16:10 -05:00
Rich Harris
4200446684
ignore trailing slash in pathnames
2018-01-14 18:15:40 -05:00
Rich Harris
681ed005b8
remove unused deps
2018-01-14 18:15:12 -05:00
Rich Harris
d457af8d51
update test
2018-01-14 18:14:07 -05:00
Rich Harris
0c158b9e1f
Merge branch 'master' of https://github.com/freedmand/sapper into freedmand-master
2018-01-14 13:48:07 -05:00
Rich Harris
50011e2077
always print stdout/stderr, to avoid wild goose chase debugging
2018-01-14 13:47:23 -05:00
Rich Harris
f27b7973e3
Build before extracting
2018-01-14 13:46:25 -05:00
Rich Harris
2af2ab3cb9
Ensure output dir exists, return Promise
2018-01-14 13:45:47 -05:00
Rich Harris
6a4dc1901c
Enforce prod mode, return a Promise so it can be used programmatically
2018-01-14 13:45:01 -05:00
Rich Harris
fbbc0e9e19
Merge branch 'master' of https://github.com/freedmand/sapper into freedmand-master
2018-01-14 12:29:15 -05:00
Rich Harris
1213c3da46
fix lockfile mess
2018-01-14 12:27:35 -05:00
Rich Harris
4cc2104088
add back test that got lost in a merge conflict somewhere
2018-01-14 12:23:07 -05:00
Rich Harris
d6dda371ca
typo
2018-01-14 12:22:41 -05:00
Rich Harris
304c06085e
Merge branch 'master' into master
2018-01-14 12:19:47 -05:00
Rich Harris
33b6450e34
Merge branch 'master' into master
2018-01-14 12:16:09 -05:00