cordova-create.git
8 months agoDetermine code coverage during tests (#17)
Raphael von der Grün [Sun, 17 Jun 2018 18:53:00 +0000 (20:53 +0200)] 
Determine code coverage during tests (#17)

8 months agoCB-14140 Use fs-extra instead of shelljs (#19)
Raphael von der Grün [Sun, 17 Jun 2018 13:26:38 +0000 (15:26 +0200)] 
CB-14140 Use fs-extra instead of shelljs (#19)

Co-authored-by: Christopher J. Brody <brodybits@litehelpers.net>
Co-authored-by: Raphael von der Grün <raphinesse@gmail.com>
8 months agoDrop support for reading from .cordova/config.json (#18)
Raphael von der Grün [Sun, 17 Jun 2018 13:04:24 +0000 (15:04 +0200)] 
Drop support for reading from .cordova/config.json (#18)

Resolves §2 from apache/cordova-discuss#89

8 months agoRefactor tests (#16)
Raphael von der Grün [Sun, 17 Jun 2018 12:28:38 +0000 (14:28 +0200)] 
Refactor tests (#16)

* Factor out common checks
* Check more artifacts
* Simplify Checks

Co-authored-by: Christopher J. Brody <brodybits@litehelpers.net>
Co-authored-by: Raphael von der Grün <raphinesse@gmail.com>
8 months agoFix error messages for toExist matcher (#15)
Raphael von der Grün [Sun, 3 Jun 2018 17:34:13 +0000 (19:34 +0200)] 
Fix error messages for toExist matcher (#15)

The message in case of failure was negated.

9 months agoMerge pull request #13 from raphinesse/cleanup
Steve Gill [Fri, 25 May 2018 05:28:25 +0000 (22:28 -0700)] 
Merge pull request #13 from raphinesse/cleanup

Major code cleanup

9 months agoUse nicer and unique tmpDir name for tests 13/head
Raphael von der Grün [Wed, 16 May 2018 21:15:48 +0000 (23:15 +0200)] 
Use nicer and unique tmpDir name for tests

9 months agoRemove unused config key `version` in tests
Raphael von der Grün [Wed, 16 May 2018 16:39:03 +0000 (18:39 +0200)] 
Remove unused config key `version` in tests

9 months agoMove new test helpers to spec/helpers.js
Raphael von der Grün [Tue, 15 May 2018 00:04:21 +0000 (02:04 +0200)] 
Move new test helpers to spec/helpers.js

9 months agoImprove test coverage
Raphael von der Grün [Mon, 14 May 2018 22:19:08 +0000 (00:19 +0200)] 
Improve test coverage

9 months agoRework npm fetch test to make it faster and less involved
Raphael von der Grün [Mon, 14 May 2018 19:34:30 +0000 (21:34 +0200)] 
Rework npm fetch test to make it faster and less involved

There was so much wrong with the previous test:
- I could not get it to fail, even w/out appending '@latest' in create
- It relies on an active network connection and can take over 20s easily
- It relies on knowing where fetch will save the downloaded template
- It seems to test some kind of cache busting that should probably
  handled by fetch instead of create anyway

The new test inherits only the last downside.

9 months agoMock out fetch for robust and faster tests
Raphael von der Grün [Mon, 14 May 2018 08:10:17 +0000 (10:10 +0200)] 
Mock out fetch for robust and faster tests

9 months agoFix invalid-ID tests so they fail if no error is thrown
Raphael von der Grün [Mon, 14 May 2018 17:30:37 +0000 (19:30 +0200)] 
Fix invalid-ID tests so they fail if no error is thrown

9 months agoUse os.homedir to get home dir in tests
Raphael von der Grün [Mon, 14 May 2018 17:11:36 +0000 (19:11 +0200)] 
Use os.homedir to get home dir in tests

9 months agoUse global fixtures for invalid-ID tests too
Raphael von der Grün [Mon, 14 May 2018 16:39:35 +0000 (18:39 +0200)] 
Use global fixtures for invalid-ID tests too

9 months agoMove configs to corresponding test cases
Raphael von der Grün [Mon, 14 May 2018 16:37:11 +0000 (18:37 +0200)] 
Move configs to corresponding test cases

9 months agoRemove nonsense comments in tests
Raphael von der Grün [Mon, 14 May 2018 16:26:30 +0000 (18:26 +0200)] 
Remove nonsense comments in tests

9 months agoMark link tests on Windows as pending, not passed
Raphael von der Grün [Mon, 14 May 2018 16:16:43 +0000 (18:16 +0200)] 
Mark link tests on Windows as pending, not passed

9 months agoUse default timeout of 5s for all tests that don't use the network
Raphael von der Grün [Mon, 14 May 2018 16:13:40 +0000 (18:13 +0200)] 
Use default timeout of 5s for all tests that don't use the network

9 months agoUse Promise API instead of Q API
Raphael von der Grün [Mon, 14 May 2018 16:02:58 +0000 (18:02 +0200)] 
Use Promise API instead of Q API

To play it safe, cordova-create still returns a Q instance, so as to
not break any callers that are relying on this implementation detail.

9 months agoLet Jasmine detect when async tests are done
Raphael von der Grün [Mon, 14 May 2018 08:53:10 +0000 (10:53 +0200)] 
Let Jasmine detect when async tests are done

9 months agoUpdate dependencies
Raphael von der Grün [Mon, 14 May 2018 07:20:07 +0000 (09:20 +0200)] 
Update dependencies

9 months agoRemove unnecessary assignment
Raphael von der Grün [Sun, 13 May 2018 19:17:28 +0000 (21:17 +0200)] 
Remove unnecessary assignment

9 months agoFix location of verbose log
Raphael von der Grün [Sat, 12 May 2018 22:27:24 +0000 (00:27 +0200)] 
Fix location of verbose log

9 months agoUse os.homedir to get home dir
Raphael von der Grün [Sun, 13 May 2018 19:10:18 +0000 (21:10 +0200)] 
Use os.homedir to get home dir

9 months agoUse is-url package to replace isUrl
Raphael von der Grün [Sun, 13 May 2018 19:01:48 +0000 (21:01 +0200)] 
Use is-url package to replace isUrl

9 months agoRemove unused test helpers
Raphael von der Grün [Sat, 12 May 2018 15:49:33 +0000 (17:49 +0200)] 
Remove unused test helpers

9 months agoDisable regular console output during tests
Raphael von der Grün [Sat, 12 May 2018 15:43:11 +0000 (17:43 +0200)] 
Disable regular console output during tests

9 months agoGroup imports in spec
Raphael von der Grün [Sat, 12 May 2018 15:08:39 +0000 (17:08 +0200)] 
Group imports in spec

9 months agoUse import-fresh in tests too
Raphael von der Grün [Sat, 12 May 2018 15:03:54 +0000 (17:03 +0200)] 
Use import-fresh in tests too

9 months agoUse import-fresh package to require w/out cache
Raphael von der Grün [Sat, 12 May 2018 22:29:50 +0000 (00:29 +0200)] 
Use import-fresh package to require w/out cache

9 months agoRemove tautology in condition
Raphael von der Grün [Sat, 12 May 2018 10:57:19 +0000 (12:57 +0200)] 
Remove tautology in condition

9 months agoDRY default version
Raphael von der Grün [Sat, 12 May 2018 10:52:54 +0000 (12:52 +0200)] 
DRY default version

9 months agoSimplify default structure creation
Raphael von der Grün [Fri, 11 May 2018 12:54:44 +0000 (14:54 +0200)] 
Simplify default structure creation

9 months agoRemove defaults assignment to unused config keys
Raphael von der Grün [Fri, 11 May 2018 12:42:47 +0000 (14:42 +0200)] 
Remove defaults assignment to unused config keys

9 months agoGroup imports
Raphael von der Grün [Fri, 11 May 2018 01:24:21 +0000 (03:24 +0200)] 
Group imports

9 months agoAvoid manual promise wrapping
Raphael von der Grün [Fri, 11 May 2018 01:41:26 +0000 (03:41 +0200)] 
Avoid manual promise wrapping

9 months agoCleanup stock asset fallback handling
Raphael von der Grün [Wed, 9 May 2018 11:55:25 +0000 (13:55 +0200)] 
Cleanup stock asset fallback handling

9 months agoRemove outdated TODO comment
Raphael von der Grün [Fri, 11 May 2018 09:24:12 +0000 (11:24 +0200)] 
Remove outdated TODO comment

9 months agoMove TODO comment to more appropriate place
Raphael von der Grün [Wed, 9 May 2018 11:28:01 +0000 (13:28 +0200)] 
Move TODO comment to more appropriate place

9 months agoInitialize vars on declaration
Raphael von der Grün [Wed, 9 May 2018 11:25:11 +0000 (13:25 +0200)] 
Initialize vars on declaration

9 months agoFix error shadowing on failed fetch
Raphael von der Grün [Wed, 9 May 2018 11:23:35 +0000 (13:23 +0200)] 
Fix error shadowing on failed fetch

9 months agoRemove dead code to update .cordova/config.json
Raphael von der Grün [Wed, 9 May 2018 11:10:25 +0000 (13:10 +0200)] 
Remove dead code to update .cordova/config.json

9 months agoRemove dead code to handle missing cordova-app-hello-world
Raphael von der Grün [Wed, 9 May 2018 10:42:17 +0000 (12:42 +0200)] 
Remove dead code to handle missing cordova-app-hello-world

9 months agoFix then-chain formatting
Raphael von der Grün [Wed, 9 May 2018 10:54:30 +0000 (12:54 +0200)] 
Fix then-chain formatting

9 months agoUpdate node versions for CI and drop support for node 4 (#12)
Raphael von der Grün [Fri, 11 May 2018 02:28:26 +0000 (04:28 +0200)] 
Update node versions for CI and drop support for node 4 (#12)

14 months agoCB-13674 Incremented package version to -dev
Steve Gill [Thu, 14 Dec 2017 21:43:45 +0000 (13:43 -0800)] 
CB-13674 Incremented package version to -dev

14 months agoCB-13674 Updated version and RELEASENOTES.md for release 1.1.2 1.1.x 1.1.2 rel/1.1.2
Steve Gill [Thu, 14 Dec 2017 19:43:55 +0000 (11:43 -0800)] 
CB-13674 Updated version and RELEASENOTES.md for release 1.1.2

14 months agoCB-12807 : updated error message to follow the template guide
Audrey So [Mon, 12 Jun 2017 21:51:50 +0000 (14:51 -0700)] 
CB-12807 : updated error message to follow the template guide

15 months agoupdated deps
Steve Gill [Mon, 6 Nov 2017 23:21:20 +0000 (15:21 -0800)] 
updated deps

15 months agoCB-13501 : added support for node 8 11/head
Audrey So [Mon, 30 Oct 2017 16:48:43 +0000 (09:48 -0700)] 
CB-13501 : added support for node 8

19 months agoCB-12895 : setup eslint and remove jshint 10/head
Audrey So [Fri, 9 Jun 2017 21:15:32 +0000 (14:15 -0700)] 
CB-12895 : setup eslint and remove jshint

21 months agoCB-12769 Incremented package version to -dev
Steve Gill [Mon, 8 May 2017 14:29:16 +0000 (16:29 +0200)] 
CB-12769 Incremented package version to -dev

21 months agoCB-12769 Updated version and RELEASENOTES.md for release 1.1.1 1.1.1 rel/1.1.1
Steve Gill [Mon, 8 May 2017 14:20:16 +0000 (16:20 +0200)] 
CB-12769 Updated version and RELEASENOTES.md for release 1.1.1

21 months agoCB-12765: default app cordova-app-hello-world is now treated like a template 7/head
Steve Gill [Thu, 4 May 2017 15:31:25 +0000 (17:31 +0200)] 
CB-12765: default app cordova-app-hello-world is now treated like a template

21 months agoCB-12747 Incremented package version to -dev
Steve Gill [Tue, 2 May 2017 00:05:08 +0000 (02:05 +0200)] 
CB-12747 Incremented package version to -dev

21 months agoCB-12747 Updated version and RELEASENOTES.md for release 1.1.0 1.1.0 rel/1.1.0
Steve Gill [Mon, 1 May 2017 23:15:52 +0000 (01:15 +0200)] 
CB-12747 Updated version and RELEASENOTES.md for release 1.1.0

21 months agoCB-10681: added test to confirm we aren't using cached template 6/head
Steve Gill [Mon, 1 May 2017 11:37:47 +0000 (13:37 +0200)] 
CB-10681: added test to confirm we aren't using cached template

21 months agoCB-10681: templates will add @latest when fetching from npm when no version is specif...
Steve Gill [Mon, 1 May 2017 10:24:01 +0000 (12:24 +0200)] 
CB-10681: templates will add @latest when fetching from npm when no version is specified. This will ensure an older cahced version of the template is not used

22 months agoIgnore spec/ when publishing to npm
Jesse MacFadyen [Mon, 29 Aug 2016 23:54:42 +0000 (16:54 -0700)] 
Ignore spec/ when publishing to npm

 This closes #2

22 months agoCB-12662 - Update cordova-common dependency version to 2.0.2
Shazron Abdullah [Tue, 18 Apr 2017 05:31:09 +0000 (22:31 -0700)] 
CB-12662 - Update cordova-common dependency version to 2.0.2

 This closes #4

22 months agoCB-12666 - Remove node 0.x testing. Cleaned up testing use of v4 and v6 of node
Shazron Abdullah [Tue, 18 Apr 2017 05:40:44 +0000 (22:40 -0700)] 
CB-12666 - Remove node 0.x testing. Cleaned up testing use of v4 and v6 of node

 This closes #5

22 months agoCB-12517 : pkgjson displayname should equal config's name and pkgjson.name should...
Audrey So [Wed, 8 Mar 2017 00:07:13 +0000 (16:07 -0800)] 
CB-12517 : pkgjson displayname should equal config's name and pkgjson.name should equal config's id

 This closes #3

2 years agoCB-12358 Incremented package version to -dev 1.0.x
Steve Gill [Wed, 18 Jan 2017 01:54:41 +0000 (17:54 -0800)] 
CB-12358 Incremented package version to -dev

2 years agoCB-12358 Updated version and RELEASENOTES.md for release 1.0.2 1.0.2 rel/1.0.2
Steve Gill [Tue, 17 Jan 2017 23:33:04 +0000 (15:33 -0800)] 
CB-12358 Updated version and RELEASENOTES.md for release 1.0.2

2 years agochange event from warn to verbose
Steve Gill [Wed, 26 Oct 2016 21:13:21 +0000 (14:13 -0700)] 
change event from warn to verbose

2 years agoAdd github pull request template
Shazron Abdullah [Wed, 5 Oct 2016 05:03:17 +0000 (22:03 -0700)] 
Add github pull request template

2 years agoCB-11931 Incremented package version to -dev
Steve Gill [Fri, 30 Sep 2016 01:41:57 +0000 (18:41 -0700)] 
CB-11931 Incremented package version to -dev

2 years agoCB-11931 Updated version and RELEASENOTES.md for release 1.0.1 1.0.1 rel/1.0.1
Steve Gill [Fri, 30 Sep 2016 01:21:10 +0000 (18:21 -0700)] 
CB-11931 Updated version and RELEASENOTES.md for release 1.0.1

2 years agoremoved stripping eventlisteners
Steve Gill [Fri, 2 Sep 2016 18:19:36 +0000 (11:19 -0700)] 
removed stripping eventlisteners

2 years agoCB-11722 Incremented package version to -dev
Steve Gill [Tue, 23 Aug 2016 23:56:10 +0000 (16:56 -0700)] 
CB-11722 Incremented package version to -dev

2 years agoadded .ratignore 1.0.0
Steve Gill [Tue, 23 Aug 2016 23:44:57 +0000 (16:44 -0700)] 
added .ratignore

2 years agoCB-11722 Updated version and RELEASENOTES.md for release 1.0.0
Steve Gill [Tue, 23 Aug 2016 23:39:57 +0000 (16:39 -0700)] 
CB-11722 Updated version and RELEASENOTES.md for release 1.0.0

2 years agoupdated readme and package.json
Steve Gill [Tue, 23 Aug 2016 23:19:03 +0000 (16:19 -0700)] 
updated readme and package.json

2 years agoadded appveyor link to readme
Steve Gill [Thu, 18 Aug 2016 20:24:05 +0000 (13:24 -0700)] 
added appveyor link to readme

2 years agoappveyor EBUSY failure fix (npm problem) by commenting out test
carynbear [Thu, 11 Aug 2016 22:04:38 +0000 (15:04 -0700)] 
appveyor EBUSY failure fix (npm problem) by commenting out test

 This closes #1

2 years agoupdated readme and package.json
Steve Gill [Wed, 10 Aug 2016 00:24:01 +0000 (17:24 -0700)] 
updated readme and package.json

2 years agoCB-11623 added symlinking option
carynbear [Thu, 4 Aug 2016 18:28:36 +0000 (11:28 -0700)] 
CB-11623 added symlinking option

2 years agoMerge pull request #1 from stevengill/master
Caryn Tran [Wed, 20 Jul 2016 23:18:22 +0000 (16:18 -0700)] 
Merge pull request #1 from stevengill/master

updated tests, added readme

2 years agoadded readme and releasenotes
Steve Gill [Wed, 20 Jul 2016 20:59:30 +0000 (13:59 -0700)] 
added readme and releasenotes

2 years agoremoved Q() from tests
Steve Gill [Wed, 20 Jul 2016 20:41:44 +0000 (13:41 -0700)] 
removed Q() from tests

2 years agofixed jasmine custom matcher for toExist
Steve Gill [Wed, 20 Jul 2016 20:30:36 +0000 (13:30 -0700)] 
fixed jasmine custom matcher for toExist

2 years agoupdated jasmine dep, fixed caching issue with tests
Steve Gill [Wed, 20 Jul 2016 01:26:21 +0000 (18:26 -0700)] 
updated jasmine dep, fixed caching issue with tests

2 years agoadded travis and appveyor
Steve Gill [Tue, 19 Jul 2016 17:42:29 +0000 (10:42 -0700)] 
added travis and appveyor

2 years agocleanup package.json, .gitignore
carynbear [Mon, 18 Jul 2016 21:11:39 +0000 (14:11 -0700)] 
cleanup package.json, .gitignore

2 years agoadded a to-do
carynbear [Sat, 16 Jul 2016 00:31:08 +0000 (17:31 -0700)] 
added a to-do

2 years agoversion 1.0.0 for npm
carynbear [Tue, 12 Jul 2016 23:59:36 +0000 (16:59 -0700)] 
version 1.0.0 for npm

2 years agofix eventemitter memory leak
carynbear [Tue, 12 Jul 2016 21:15:26 +0000 (14:15 -0700)] 
fix eventemitter memory leak

2 years agogitignore node modules
carynbear [Tue, 12 Jul 2016 21:10:44 +0000 (14:10 -0700)] 
gitignore node modules

2 years agoforward event emitter
carynbear [Tue, 12 Jul 2016 00:14:36 +0000 (17:14 -0700)] 
forward event emitter

2 years agoMerge branch 'master' of github.com:carynbear/cordova-create
carynbear [Fri, 24 Jun 2016 23:52:55 +0000 (16:52 -0700)] 
Merge branch 'master' of github.com:carynbear/cordova-create

2 years agomigrated from cordova-lib/detach
carynbear [Fri, 24 Jun 2016 23:52:15 +0000 (16:52 -0700)] 
migrated from cordova-lib/detach

2 years agoInitial commit
Caryn Tran [Fri, 24 Jun 2016 23:48:35 +0000 (16:48 -0700)] 
Initial commit