You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by st...@apache.org on 2016/10/14 02:05:53 UTC
[1/3] cordova-cli git commit: CB-11976 - Add deprecated node version
warning for 0.x
Repository: cordova-cli
Updated Branches:
refs/heads/master 4759c4670 -> 9c306a44e
CB-11976 - Add deprecated node version warning for 0.x
Project: http://git-wip-us.apache.org/repos/asf/cordova-cli/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-cli/commit/0814fe06
Tree: http://git-wip-us.apache.org/repos/asf/cordova-cli/tree/0814fe06
Diff: http://git-wip-us.apache.org/repos/asf/cordova-cli/diff/0814fe06
Branch: refs/heads/master
Commit: 0814fe06c7851103ea321873cd160b47481596cd
Parents: 4759c46
Author: Shazron Abdullah <sh...@apache.org>
Authored: Mon Oct 10 00:53:58 2016 -0700
Committer: Shazron Abdullah <sh...@apache.org>
Committed: Mon Oct 10 00:53:58 2016 -0700
----------------------------------------------------------------------
src/cli.js | 6 ++++++
1 file changed, 6 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/0814fe06/src/cli.js
----------------------------------------------------------------------
diff --git a/src/cli.js b/src/cli.js
index d3b6d92..5133cd8 100644
--- a/src/cli.js
+++ b/src/cli.js
@@ -287,6 +287,12 @@ function cli(inputArgs) {
}
}
+ if (/^v0.\d+[.\d+]*/.exec(process.version)) { // matches v0.*
+ var msg = 'Warning: using node version ' + process.version +
+ ' which has been deprecated. Please upgrade to the latest node version available (v6.x is recommended).';
+ logger.warn(msg);
+ }
+
// If there were arguments protected from nopt with a double dash, keep
// them in unparsedArgs. For example:
// cordova build ios -- --verbose --whatever
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org
[3/3] cordova-cli git commit: CB-11976 - Updated package.json engine
key
Posted by st...@apache.org.
CB-11976 - Updated package.json engine key
This closes #262
Project: http://git-wip-us.apache.org/repos/asf/cordova-cli/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-cli/commit/9c306a44
Tree: http://git-wip-us.apache.org/repos/asf/cordova-cli/tree/9c306a44
Diff: http://git-wip-us.apache.org/repos/asf/cordova-cli/diff/9c306a44
Branch: refs/heads/master
Commit: 9c306a44e146788dd6c62a9b3005212608e4572b
Parents: ce6dcad
Author: Shazron Abdullah <sh...@apache.org>
Authored: Mon Oct 10 16:34:32 2016 -0700
Committer: Steve Gill <st...@gmail.com>
Committed: Thu Oct 13 19:04:34 2016 -0700
----------------------------------------------------------------------
package.json | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/9c306a44/package.json
----------------------------------------------------------------------
diff --git a/package.json b/package.json
index d4bd816..6685d96 100644
--- a/package.json
+++ b/package.json
@@ -5,9 +5,8 @@
"description": "Cordova command line interface tool",
"main": "cordova",
"engines": {
- "node": ">=0.9.9"
+ "node": ">=4.0.0"
},
- "engineStrict": true,
"bin": {
"cordova": "./bin/cordova"
},
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org
[2/3] cordova-cli git commit: Updated .travis.yml to clean npm cache
Posted by st...@apache.org.
Updated .travis.yml to clean npm cache
Project: http://git-wip-us.apache.org/repos/asf/cordova-cli/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-cli/commit/ce6dcada
Tree: http://git-wip-us.apache.org/repos/asf/cordova-cli/tree/ce6dcada
Diff: http://git-wip-us.apache.org/repos/asf/cordova-cli/diff/ce6dcada
Branch: refs/heads/master
Commit: ce6dcada87ecc178093a025495e471aab63427b5
Parents: 0814fe0
Author: Shazron Abdullah <sh...@apache.org>
Authored: Mon Oct 10 10:08:08 2016 -0700
Committer: Shazron Abdullah <sh...@apache.org>
Committed: Mon Oct 10 10:08:08 2016 -0700
----------------------------------------------------------------------
.travis.yml | 3 +++
1 file changed, 3 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/ce6dcada/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index ec19675..e2ec2b5 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -7,6 +7,9 @@ node_js:
- "0.12"
- "4"
- "6"
+
+before_install:
+ - npm cache clean -f
# getting cordova tools dependencies from github
# to make sure we're using their latest versions
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org