cordova-serve.git
2 months agoMerge pull request #5 from audreyso/CB-13501 master
Audrey [Mon, 30 Oct 2017 23:03:13 +0000 (16:03 -0700)] 
Merge pull request #5 from audreyso/CB-13501

CB-13501 : added support for node 8

2 months agoCB-13501 : added support for node 8 5/head
Audrey So [Fri, 27 Oct 2017 21:08:16 +0000 (14:08 -0700)] 
CB-13501 : added support for node 8

4 months agoCB-13214 Incremented package version to -dev
Steve Gill [Thu, 24 Aug 2017 22:05:57 +0000 (15:05 -0700)] 
CB-13214 Incremented package version to -dev

4 months agoCB-13214 Updated version and RELEASENOTES.md for release 2.0.0 2.0.x 2.0.0 rel/2.0.0
Steve Gill [Thu, 24 Aug 2017 21:44:19 +0000 (14:44 -0700)] 
CB-13214 Updated version and RELEASENOTES.md for release 2.0.0

4 months agoCB-13188: updated broken promise, set serve to use default browser if none is provided
Steve Gill [Thu, 24 Aug 2017 00:47:31 +0000 (17:47 -0700)] 
CB-13188: updated broken promise, set serve to use default browser if none is provided

 This closes #4

5 months agoadd eslint config file
Jesse MacFadyen [Sat, 12 Aug 2017 08:05:10 +0000 (01:05 -0700)] 
add eslint config file

5 months agofix linting errors
Jesse MacFadyen [Sat, 12 Aug 2017 08:01:26 +0000 (01:01 -0700)] 
fix linting errors

5 months agoRedo change to eslint instead of jshint
Jesse MacFadyen [Sat, 12 Aug 2017 08:00:46 +0000 (01:00 -0700)] 
Redo change to eslint instead of jshint

6 months agocleanup quotes and semicolons 3/head
Jesse MacFadyen [Sat, 1 Jul 2017 01:02:54 +0000 (18:02 -0700)] 
cleanup quotes and semicolons

6 months agoremove 'q' dependence completely. Added server.spec
Jesse MacFadyen [Sat, 1 Jul 2017 00:56:59 +0000 (17:56 -0700)] 
remove 'q' dependence completely. Added server.spec

6 months agoreduce mockery, exec fails on windows which makes the test fail
Jesse MacFadyen [Sat, 1 Jul 2017 00:07:36 +0000 (17:07 -0700)] 
reduce mockery, exec fails on windows which makes the test fail

6 months agoadded browser tests, new dep on rewire because of the way open() works
Jesse MacFadyen [Fri, 30 Jun 2017 00:51:33 +0000 (17:51 -0700)] 
added browser tests, new dep on rewire because of the way open() works

6 months agoConvert src/browser to use Promise api
Jesse MacFadyen [Thu, 29 Jun 2017 22:04:13 +0000 (15:04 -0700)] 
Convert src/browser to use Promise api

6 months agoallow global Promise
Jesse MacFadyen [Thu, 29 Jun 2017 21:06:35 +0000 (14:06 -0700)] 
allow global Promise

6 months agoallow global Promise
Jesse MacFadyen [Thu, 29 Jun 2017 18:52:51 +0000 (11:52 -0700)] 
allow global Promise

6 months agosetup testing
Jesse MacFadyen [Thu, 29 Jun 2017 18:27:14 +0000 (11:27 -0700)] 
setup testing

6 months agoAdd License, Contributing, Notice, pr-template, ...
Jesse MacFadyen [Thu, 29 Jun 2017 18:07:52 +0000 (11:07 -0700)] 
Add License, Contributing, Notice, pr-template, ...

6 months agore-arrange code in src/, use Promise, default target gets open'd
Jesse MacFadyen [Thu, 29 Jun 2017 17:44:35 +0000 (10:44 -0700)] 
re-arrange code in src/, use Promise, default target gets open'd

7 months agoCB-12785: added travis and appveyor
Steve Gill [Tue, 6 Jun 2017 23:12:10 +0000 (16:12 -0700)] 
CB-12785: added travis and appveyor

7 months agoCB-12762 : updated common, fetch, and serve pkgJson to point pkgJson repo items to...
Audrey So [Fri, 2 Jun 2017 22:00:01 +0000 (15:00 -0700)] 
CB-12762 : updated common, fetch, and serve pkgJson to point pkgJson repo items to github mirrors

 This closes #560

9 months agoCB-12665 removed enginestrict since it is deprecated
Steve Gill [Wed, 19 Apr 2017 18:30:48 +0000 (11:30 -0700)] 
CB-12665 removed enginestrict since it is deprecated

10 months agoCB-11977 : updated engines and enginescript for common, fetch, and serve
Audrey So [Fri, 10 Mar 2017 17:57:59 +0000 (09:57 -0800)] 
CB-11977 : updated engines and enginescript for common, fetch, and serve

 This closes #520

12 months agoCB-12358 Incremented package version to -dev
Steve Gill [Wed, 18 Jan 2017 01:55:36 +0000 (17:55 -0800)] 
CB-12358 Incremented package version to -dev

12 months agoCB-12358 Updated version and RELEASENOTES.md for release 1.0.1
Steve Gill [Tue, 17 Jan 2017 23:33:56 +0000 (15:33 -0800)] 
CB-12358 Updated version and RELEASENOTES.md for release 1.0.1

13 months agoCB-12284 Include project root as additional root for static router
TimBarham [Wed, 21 Dec 2016 02:18:44 +0000 (12:18 +1000)] 
CB-12284 Include project root as additional root for static router

This can be useful in cases where source files that have been transpiled (such as TypeScript files) are located under the project root on a path that mirrors the the transpiled file's path under the platform root, and is pointed to by a map file (otherwise when debugging in a browser, the browser won't be able to find the original source file).

22 months agoSome corrections and enhancements for cordova-serve readme.
Tim Barham [Fri, 26 Feb 2016 08:49:28 +0000 (18:49 +1000)] 
Some corrections and enhancements for cordova-serve readme.

2 years agoOn Windows, verify browsers installed before launching.
Tim Barham [Sat, 17 Oct 2015 02:17:03 +0000 (19:17 -0700)] 
On Windows, verify browsers installed before launching.

Do this to avoid dialog that pops up if browser is not installed.

2 years agoCB-9748 Incremented cordova-serve package version to -dev
Tim Barham [Mon, 5 Oct 2015 21:21:46 +0000 (14:21 -0700)] 
CB-9748 Incremented cordova-serve package version to -dev

2 years agoCB-9748 Updated version and RELEASENOTES.md for release cordova-serve 1.0.0
Tim Barham [Mon, 5 Oct 2015 21:11:31 +0000 (14:11 -0700)] 
CB-9748 Updated version and RELEASENOTES.md for release cordova-serve 1.0.0

2 years agoRefactor cordova-serve to use Express.
Tim Barham [Sat, 3 Oct 2015 23:34:36 +0000 (16:34 -0700)] 
Refactor cordova-serve to use Express.

This simplifies a lot of code, and also provides a more standardized and modular way to customize the server (via Express middleware).

Also changes cordova-serve to support multiple instances (i.e. multiple servers).

Note that this is a breaking change, so for next release we will need to update the version to 0.2.0 (and I have updates to cordova-browser and cordova-lib ('cordova serve' command) ready to go to make use of this change.

2 years agoCB-9547 Incremented cordova-serve package version to -dev
Tim Barham [Sat, 22 Aug 2015 14:07:56 +0000 (00:07 +1000)] 
CB-9547 Incremented cordova-serve package version to -dev

2 years agoFix problem caused by circular dependency between server and stream.
Tim Barham [Sat, 22 Aug 2015 13:59:48 +0000 (23:59 +1000)] 
Fix problem caused by circular dependency between server and stream.

2 years agoCB-9547 Updated version and RELEASENOTES.md for cordova-serve release 0.1.3
Tim Barham [Sat, 22 Aug 2015 13:26:04 +0000 (23:26 +1000)] 
CB-9547 Updated version and RELEASENOTES.md for cordova-serve release 0.1.3

2 years agoCB-9547 Updated shelljs dependency to latest version.
Tim Barham [Sat, 22 Aug 2015 13:22:57 +0000 (23:22 +1000)] 
CB-9547 Updated shelljs dependency to latest version.

2 years agoClean up cordova-serve console output.
Tim Barham [Sat, 22 Aug 2015 11:18:34 +0000 (21:18 +1000)] 
Clean up cordova-serve console output.

* Simplifies cordova-serve console output and adds some color.
* Also adds ability for caller to turn off all console messages, and specificall the "Static file server running on..." message.

2 years agoCB-9546 cordova-serve.servePlatform() should provide project folders
Tim Barham [Sat, 22 Aug 2015 08:48:30 +0000 (18:48 +1000)] 
CB-9546 cordova-serve.servePlatform() should provide project folders

The 'servePlatform()' method provided by 'cordova-serve' figures out the project and platform root directories (either from the cwd or a provided path). Since this information is potentially useful to the caller, it is now provided in the return value.

2 years agoCB-9545 Cordova-serve's 'noCache' option does not work in IE.
Tim Barham [Sat, 22 Aug 2015 06:55:54 +0000 (16:55 +1000)] 
CB-9545 Cordova-serve's 'noCache' option does not work in IE.

Switched to using Cache-Control value of 'no-store' instead of 'no-cache'.

2 years agoAdd support for --target=edge to launch app in Edge browser.
Tim Barham [Mon, 13 Jul 2015 23:06:41 +0000 (09:06 +1000)] 
Add support for --target=edge to launch app in Edge browser.

2 years agoCB-9181 Incremented package version to -dev
Tim Barham [Wed, 17 Jun 2015 00:10:59 +0000 (17:10 -0700)] 
CB-9181 Incremented package version to -dev

2 years agoCB-9181 Added license header to README.md.
Tim Barham [Mon, 15 Jun 2015 21:44:53 +0000 (14:44 -0700)] 
CB-9181 Added license header to README.md.

2 years agoCB-9181 Updated cordova-serve version and RELEASENOTES.md for release 0.1.2
Tim Barham [Mon, 15 Jun 2015 21:23:06 +0000 (14:23 -0700)] 
CB-9181 Updated cordova-serve version and RELEASENOTES.md for release 0.1.2

2 years agoUpdate cordova-serve README.md to reflect recent changes.
Tim Barham [Mon, 15 Jun 2015 21:20:25 +0000 (14:20 -0700)] 
Update cordova-serve README.md to reflect recent changes.

2 years agoCB-9127 Implements cordova-serve module.
Tim Barham [Fri, 5 Jun 2015 19:05:52 +0000 (12:05 -0700)] 
CB-9127 Implements cordova-serve module.

This takes code and functionality from cordova-browser and cordova-lib ('cordova serve' command) and combines it in a single module. Most of the code is lifted directly from those two places. Once this is checked in and we have a release, cordova-lib and cordova-browser can be updated to use it.