This is an automated email from the ASF dual-hosted git repository.
dgrove pushed a commit to branch master
in repository
https://gitbox.apache.org/repos/asf/incubator-openwhisk-composer.git
The following commit(s) were added to refs/heads/master by this push:
new 3c34c1b Rename npm package to openwhisk-composer (#8)
3c34c1b is described below
commit 3c34c1bef4b4dc31aa7ba52a4815dd8db98fdfe0
Author: Olivier Tardieu <[email protected]>
AuthorDate: Thu Nov 15 13:19:43 2018 -0500
Rename npm package to openwhisk-composer (#8)
---
README.md | 9 +++------
package.json | 8 ++++----
samples/demo.js | 2 +-
3 files changed, 8 insertions(+), 11 deletions(-)
diff --git a/README.md b/README.md
index 22b112a..384ab96 100644
--- a/README.md
+++ b/README.md
@@ -44,13 +44,10 @@ This repository includes:
## Installation
-Composer is distributed as Node.js package. The package is currently named
`@ibm-functions/composer`,
-but will soon be available as `@openwhisk-composer`. Until we have our first
official Apache release of
-composer, please continue to use the latest release of
`@ibm-functions/composer`.
-To install this package, use the
+Composer is distributed as Node.js package. To install this package, use the
Node Package Manager:
```
-npm install -g @ibm-functions/composer
+npm install -g openwhisk-composer
```
We recommend to install the package globally (with `-g` option) if you intend
to
use the `compose` and `deploy` commands to compile and deploy compositions.
@@ -60,7 +57,7 @@ use the `compose` and `deploy` commands to compile and deploy
compositions.
A composition is typically defined by means of a Javascript expression as
illustrated in [samples/demo.js](samples/demo.js):
```javascript
-const composer = require('@ibm-functions/composer')
+const composer = require('openwhisk-composer')
module.exports = composer.if(
composer.action('authenticate', { action: function ({ password }) { return
{ value: password === 'abc123' } } }),
diff --git a/package.json b/package.json
index a9710a4..058f1f0 100644
--- a/package.json
+++ b/package.json
@@ -1,8 +1,8 @@
{
- "name": "@ibm-functions/composer",
- "version": "0.8.1",
+ "name": "openwhisk-composer",
+ "version": "0.9.0",
"description": "Composer is a new programming model for composing cloud
functions built on Apache OpenWhisk.",
- "homepage": "https://github.com/ibm-functions/composer",
+ "homepage": "https://github.com/apache/incubator-openwhisk-composer",
"main": "composer.js",
"scripts": {
"test": "standard && mocha"
@@ -21,7 +21,7 @@
],
"repository": {
"type": "git",
- "url": "https://github.com/ibm-functions/composer.git"
+ "url": "https://github.com/apache/incubator-openwhisk-composer.git"
},
"keywords": [
"functions",
diff --git a/samples/demo.js b/samples/demo.js
index 12c632f..9454bbc 100644
--- a/samples/demo.js
+++ b/samples/demo.js
@@ -15,7 +15,7 @@
* limitations under the License.
*/
-const composer = require('@ibm-functions/composer')
+const composer = require('openwhisk-composer')
module.exports = composer.if(
composer.action('authenticate', { action: function ({ password }) { return {
value: password === 'abc123' } } }),