cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject [02/32] cordova-fetch git commit: CB-11260 Updated version and RELEASENOTES.md for cordova-fetch release 1.0.0
Date Tue, 06 Jun 2017 00:44:24 GMT
CB-11260 Updated version and RELEASENOTES.md for cordova-fetch release 1.0.0


Project: http://git-wip-us.apache.org/repos/asf/cordova-fetch/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-fetch/commit/0ca56a93
Tree: http://git-wip-us.apache.org/repos/asf/cordova-fetch/tree/0ca56a93
Diff: http://git-wip-us.apache.org/repos/asf/cordova-fetch/diff/0ca56a93

Branch: refs/heads/master
Commit: 0ca56a93a1b99d8f010b82906db21c7b5ef41473
Parents: c8864a9
Author: Steve Gill <stevengill97@gmail.com>
Authored: Thu May 12 17:47:01 2016 -0700
Committer: Steve Gill <stevengill97@gmail.com>
Committed: Thu May 12 17:47:01 2016 -0700

----------------------------------------------------------------------
 README.md       | 18 ++++++++++++++++--
 RELEASENOTES.md |  4 ++++
 package.json    |  4 ++--
 3 files changed, 22 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-fetch/blob/0ca56a93/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index 5cc75e9..b6a2d33 100644
--- a/README.md
+++ b/README.md
@@ -21,9 +21,11 @@
 
 # cordova-fetch
 
-This module is used for fetching modules from npm and gitURLs. It fetches the modules via
`npm install`. 
+This module is used for fetching modules from npm and gitURLs. It fetches the modules via
`npm install`. It can also `npm uninstall` modules from a project.
 
-Usage:
+## Usage:
+
+### Fetching:
 ```
 var fetch = require('cordova-fetch');
 
@@ -34,3 +36,15 @@ fetch(spec, dest, opts);
 `dest` is string of the directory location you wish to `npm install` these modules.
 `opts` is an Object of options cordova fetch handles. Currently, fetch only support the `save`
option.
     eg. `{'save':true}`
+
+### Removing:
+```
+var npmUninstall = require('cordova-fetch').uninstall;
+
+npmUninstall(spec, dest, opts);
+```
+
+`spec` can be a string containg a npm `packageID`. 
+`dest` is string of the directory location you wish to `npm uninstall` these modules.
+`opts` is an Object of options cordova fetch handles. Currently, fetch only support the `save`
option.
+    eg. `{'save':true}`

http://git-wip-us.apache.org/repos/asf/cordova-fetch/blob/0ca56a93/RELEASENOTES.md
----------------------------------------------------------------------
diff --git a/RELEASENOTES.md b/RELEASENOTES.md
index 305cdc6..22573fc 100644
--- a/RELEASENOTES.md
+++ b/RELEASENOTES.md
@@ -20,3 +20,7 @@
 -->
 # Cordova-fetch Release Notes
 
+### 1.0.0 (May 12, 2016)
+* CB-9858 Added jasmine tests
+* CB-9858 Added `npm uninstall` method to cordova-fetch
+* CB-9858 Initial implementation of `cordova-fetch` module

http://git-wip-us.apache.org/repos/asf/cordova-fetch/blob/0ca56a93/package.json
----------------------------------------------------------------------
diff --git a/package.json b/package.json
index 2e7e330..6c61df4 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
 {
   "name": "cordova-fetch",
-  "version": "1.0.0-dev",
+  "version": "1.0.0",
   "description": "Apache Cordova fetch module. Fetches from git and npm.",
   "main": "index.js",
   "repository": {
@@ -21,7 +21,7 @@
     "email": "dev@cordova.apache.org"
   },
   "dependencies": {
-    "cordova-common": "^1.0.0",
+    "cordova-common": "^1.3.0",
     "dependency-ls": "^1.0.0",
     "is-url": "^1.2.1",
     "q": "^1.4.1",


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message