Add useful stream conversion methods to a supplied can-define/map/map or can-define/list/list constructor using a stream interface such as can-stream-kefir.
The version 1.2.0 is not covered by your current version range.
Without accepting this pull request your project will work just like it did before. There might be a bunch of new features, fixes and perf improvements that the maintainers worked on for you though.
I recommend you look into these changes and try to get onto the latest version of done-serve.
Given that you have a decent test suite, a passing build is a strong indicator that you can take advantage of these changes by merging the proposed change into your project. Otherwise this branch is a great starting point for you to work on the update.
Release NotesPushstate routing in `--static` mode
Pushstate routing is now handled automatically when SSR is turned off using the --static option. Static files are still first priority. If a static file doesn't exist for a URL, and the request is pushstate compatible (meaning it isn't for a file with an extension or might contain the ? character) an .html file based on the current environment will be loaded.
Environment Selection
DoneJS applications come with a development.html file and a production.html file in the project root. With any environment other than development, it will first attempt to find an .html file named after the current environment (process.env.NODE_ENV). For example, if the current NODE_ENV is qa, the server will check if qa.html exists. If it does, qa.html will be served. If not, the server will check for and load production.html.
If no .html file exists for the current environment, and there's no production.html, the request will return a 404.
Not sure how things should work exactly?
There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html) and of course you may always [ask my humans](https://github.com/greenkeeperio/greenkeeper/issues/new).
Version 1.2.0 of done-serve just got published.
The version 1.2.0 is not covered by your current version range.
Without accepting this pull request your project will work just like it did before. There might be a bunch of new features, fixes and perf improvements that the maintainers worked on for you though.
I recommend you look into these changes and try to get onto the latest version of done-serve. Given that you have a decent test suite, a passing build is a strong indicator that you can take advantage of these changes by merging the proposed change into your project. Otherwise this branch is a great starting point for you to work on the update.
Release Notes
Pushstate routing in `--static` modePushstate routing is now handled automatically when SSR is turned off using the
--static
option. Static files are still first priority. If a static file doesn't exist for a URL, and the request is pushstate compatible (meaning it isn't for a file with an extension or might contain the?
character) an.html
file based on the current environment will be loaded.Environment Selection
DoneJS applications come with a
development.html
file and aproduction.html
file in the project root. With any environment other thandevelopment
, it will first attempt to find an.html
file named after the current environment (process.env.NODE_ENV
). For example, if the currentNODE_ENV
isqa
, the server will check ifqa.html
exists. If it does,qa.html
will be served. If not, the server will check for and loadproduction.html
.If no
.html
file exists for the current environment, and there's noproduction.html
, the request will return a 404.PR: #30
Commits
The new version differs by 23 commits0.
28dbed6
v1.2.0
20827af
Merge pull request #30 from donejs/pushstate-static
efbf0e6
Unobtrusively handle pushstate routing
206604d
1.1.0
8c2390e
Allow custom error pages for pushstate support in static mode (#27)
2534e7f
Merge pull request #29 from donejs/four
5fe7208
Update dependencies
209a812
1.0.0
d3cc0ea
Merge pull request #25 from donejs/major
5649120
Merge pull request #10 from donejs/4-env-to-development
1000a57
Merge pull request #15 from donejs/export-cli-server
4f9de46
1.0.0-alpha.0
52c5f89
Merge pull request #21 from donejs/update-dependencies
c56e671
testing on node 4,6,7 for now
3427f8b
updating to latest can 3 packages and getting tests working
There are 23 commits in total.
See the full diff
Not sure how things should work exactly?
There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html) and of course you may always [ask my humans](https://github.com/greenkeeperio/greenkeeper/issues/new).Your Greenkeeper Bot :palm_tree: