From 55e1ba0a26f558529ddab8138900ab4d466ca0b2 Mon Sep 17 00:00:00 2001 From: David Luecke Date: Sat, 21 Oct 2017 12:06:01 -0700 Subject: [PATCH] Update repository name and move to npm scope (#7) --- packages/express/.travis.yml | 2 +- packages/express/CHANGELOG.md | 14 +- packages/express/README.md | 21 +- packages/express/lib/index.js | 6 +- packages/express/package-lock.json | 330 +++++++++++++--------------- packages/express/package.json | 10 +- packages/express/test/index.test.js | 10 +- 7 files changed, 182 insertions(+), 211 deletions(-) diff --git a/packages/express/.travis.yml b/packages/express/.travis.yml index a019a2085d..4abc9b2d23 100644 --- a/packages/express/.travis.yml +++ b/packages/express/.travis.yml @@ -4,7 +4,7 @@ node_js: - '6' addons: code_climate: - repo_token: 966bd479ee7d82eee5081abd823b995893aa7342de0da6fbf5b5ec0632cb76c8 + repo_token: c348bb60c0659ca8c1afe04ca7738e1681138e1ce0a30daaa5e7de11016888ad notifications: email: false slack: diff --git a/packages/express/CHANGELOG.md b/packages/express/CHANGELOG.md index 14fa4a3514..65dfdfd25f 100644 --- a/packages/express/CHANGELOG.md +++ b/packages/express/CHANGELOG.md @@ -1,18 +1,18 @@ # Change Log -## [v1.0.0-pre.2](https://github.com/feathersjs/feathers-express/tree/v1.0.0-pre.2) (2017-10-18) -[Full Changelog](https://github.com/feathersjs/feathers-express/compare/v1.0.0-pre.1...v1.0.0-pre.2) +## [v1.0.0-pre.2](https://github.com/feathersjs/express/tree/v1.0.0-pre.2) (2017-10-18) +[Full Changelog](https://github.com/feathersjs/express/compare/v1.0.0-pre.1...v1.0.0-pre.2) **Merged pull requests:** -- Also export Express top level functionality [\#5](https://github.com/feathersjs/feathers-express/pull/5) ([daffl](https://github.com/daffl)) -- Update mocha to the latest version 🚀 [\#4](https://github.com/feathersjs/feathers-express/pull/4) ([greenkeeper[bot]](https://github.com/apps/greenkeeper)) -- Update debug to the latest version 🚀 [\#2](https://github.com/feathersjs/feathers-express/pull/2) ([greenkeeper[bot]](https://github.com/apps/greenkeeper)) +- Also export Express top level functionality [\#5](https://github.com/feathersjs/express/pull/5) ([daffl](https://github.com/daffl)) +- Update mocha to the latest version 🚀 [\#4](https://github.com/feathersjs/express/pull/4) ([greenkeeper[bot]](https://github.com/apps/greenkeeper)) +- Update debug to the latest version 🚀 [\#2](https://github.com/feathersjs/express/pull/2) ([greenkeeper[bot]](https://github.com/apps/greenkeeper)) -## [v1.0.0-pre.1](https://github.com/feathersjs/feathers-express/tree/v1.0.0-pre.1) (2017-07-19) +## [v1.0.0-pre.1](https://github.com/feathersjs/express/tree/v1.0.0-pre.1) (2017-07-19) **Merged pull requests:** -- Update dependencies to enable Greenkeeper 🌴 [\#1](https://github.com/feathersjs/feathers-express/pull/1) ([greenkeeper[bot]](https://github.com/apps/greenkeeper)) +- Update dependencies to enable Greenkeeper 🌴 [\#1](https://github.com/feathersjs/express/pull/1) ([greenkeeper[bot]](https://github.com/apps/greenkeeper)) diff --git a/packages/express/README.md b/packages/express/README.md index d099ff8876..ebfc6557ce 100644 --- a/packages/express/README.md +++ b/packages/express/README.md @@ -1,12 +1,11 @@ -# feathers-express +# @feathersjs/express -[![Greenkeeper badge](https://badges.greenkeeper.io/feathersjs/feathers-express.svg)](https://greenkeeper.io/) +[![Greenkeeper badge](https://badges.greenkeeper.io/feathersjs/express.svg)](https://greenkeeper.io/) -[![Build Status](https://travis-ci.org/feathersjs/feathers-express.png?branch=master)](https://travis-ci.org/feathersjs/feathers-express) -[![Code Climate](https://codeclimate.com/github/feathersjs/feathers-express/badges/gpa.svg)](https://codeclimate.com/github/feathersjs/feathers-express) -[![Test Coverage](https://codeclimate.com/github/feathersjs/feathers-express/badges/coverage.svg)](https://codeclimate.com/github/feathersjs/feathers-express/coverage) -[![Dependency Status](https://img.shields.io/david/feathersjs/feathers-express.svg?style=flat-square)](https://david-dm.org/feathersjs/feathers-express) -[![Download Status](https://img.shields.io/npm/dm/feathers-express.svg?style=flat-square)](https://www.npmjs.com/package/feathers-express) +[![Build Status](https://travis-ci.org/feathersjs/express.png?branch=master)](https://travis-ci.org/feathersjs/express) +[![Test Coverage](https://codeclimate.com/github/feathersjs/express/badges/coverage.svg)](https://codeclimate.com/github/feathersjs/express/coverage) +[![Dependency Status](https://img.shields.io/david/feathersjs/express.svg?style=flat-square)](https://david-dm.org/feathersjs/express) +[![Download Status](https://img.shields.io/npm/dm/@feathersjs/express.svg?style=flat-square)](https://www.npmjs.com/package/@feathersjs/express) > Feathers Express framework bindings and REST provider @@ -15,22 +14,22 @@ This plugin turns a Feathers v3+ application into a drop-in replacement for any ## Installation ``` -npm install feathers-express --save +npm install @feathersjs/express --save ``` > _Important:_ This plugin only works with `feathers` 3.0 and later ## Documentation -Please refer to the [feathers-express API documentation](https://docs.feathersjs.com/api/express.html) for more details. +Please refer to the [@feathersjs/express API documentation](https://docs.feathersjs.com/api/express.html) for more details. ## Complete Example -Here's an example of a Feathers server that uses `feathers-express`. +Here's an example of a Feathers server that uses `@feathersjs/express`. ```js const feathers = require('feathers'); -const expressify = require('feathers-express'); +const expressify = require('@feathersjs/express'); const app = expressify(feathers()); diff --git a/packages/express/lib/index.js b/packages/express/lib/index.js index 24aacf961d..5ea7a66348 100644 --- a/packages/express/lib/index.js +++ b/packages/express/lib/index.js @@ -1,14 +1,14 @@ -const debug = require('debug')('feathers-express'); +const debug = require('debug')('@feathersjs/express'); const express = require('express'); const Proto = require('uberproto'); module.exports = function feathersExpress (feathersApp) { if (!feathersApp || typeof feathersApp.setup !== 'function') { - throw new Error('feathers-express requires a valid Feathers application instance'); + throw new Error('@feathersjs/express requires a valid Feathers application instance'); } if (!feathersApp.version || feathersApp.version < '3.0.0') { - throw new Error(`feathers-express requires an instance of a Feathers application version 3.x or later (got ${feathersApp.version || 'unknown'})`); + throw new Error(`@feathersjs/express requires an instance of a Feathers application version 3.x or later (got ${feathersApp.version || 'unknown'})`); } const expressApp = express(); diff --git a/packages/express/package-lock.json b/packages/express/package-lock.json index abc77eafb1..386486de3d 100644 --- a/packages/express/package-lock.json +++ b/packages/express/package-lock.json @@ -1,9 +1,27 @@ { - "name": "feathers-express", + "name": "@feathersjs/express", "version": "1.0.0-pre.2", "lockfileVersion": 1, "requires": true, "dependencies": { + "@feathersjs/commons": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@feathersjs/commons/-/commons-1.0.0.tgz", + "integrity": "sha512-se02pGZTrH383iBWieDLuGt8zTt4YnIa0Y+VpwjJeTFGH10rwV0oHlnEfut4jxeBTqy1kWGyyODeLDjmGG6bsg==", + "dev": true + }, + "@feathersjs/feathers": { + "version": "3.0.0-pre.2", + "resolved": "https://registry.npmjs.org/@feathersjs/feathers/-/feathers-3.0.0-pre.2.tgz", + "integrity": "sha512-RvIdvN2L4i7vscFseRw2av9Dw1ZrY+EbH7WOts5DhIX+Tv8csqZXc69xPa0kSBfr4ooci91J3r8gVWhL3R3syQ==", + "dev": true, + "requires": { + "@feathersjs/commons": "1.0.0", + "debug": "3.1.0", + "events": "1.1.1", + "uberproto": "1.2.0" + } + }, "abbrev": { "version": "1.0.9", "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.0.9.tgz", @@ -233,10 +251,21 @@ "babel-runtime": "6.23.0", "babel-types": "6.25.0", "babylon": "6.17.4", - "debug": "2.6.8", + "debug": "2.6.9", "globals": "9.18.0", "invariant": "2.2.2", "lodash": "4.17.4" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + } } }, "babel-types": { @@ -385,15 +414,6 @@ "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=", "dev": true }, - "commander": { - "version": "2.9.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.9.0.tgz", - "integrity": "sha1-nJkJQXbhIkDLItbFFGCYQA/g99Q=", - "dev": true, - "requires": { - "graceful-readlink": "1.0.1" - } - }, "concat-map": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", @@ -459,9 +479,9 @@ } }, "debug": { - "version": "2.6.8", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.8.tgz", - "integrity": "sha1-5zFTHKLt4n0YgiJCfaF4IdaP9Pw=", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", + "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", "requires": { "ms": "2.0.0" } @@ -552,12 +572,6 @@ "repeating": "2.0.1" } }, - "diff": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/diff/-/diff-3.2.0.tgz", - "integrity": "sha1-yc45Okt8vQsFinJck98pkCeGj/k=", - "dev": true - }, "doctrine": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.0.0.tgz", @@ -718,7 +732,7 @@ "babel-code-frame": "6.22.0", "chalk": "1.1.3", "concat-stream": "1.6.0", - "debug": "2.6.8", + "debug": "2.6.9", "doctrine": "2.0.0", "escope": "3.6.0", "espree": "3.4.3", @@ -752,6 +766,15 @@ "user-home": "2.0.0" }, "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, "strip-bom": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", @@ -784,9 +807,20 @@ "integrity": "sha1-Wt2BBujJKNssuiMrzZ76hG49oWw=", "dev": true, "requires": { - "debug": "2.6.8", + "debug": "2.6.9", "object-assign": "4.1.1", "resolve": "1.3.3" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + } } }, "eslint-module-utils": { @@ -795,8 +829,19 @@ "integrity": "sha512-jDI/X5l/6D1rRD/3T43q8Qgbls2nq5km5KSqiwlyUbGo5+04fXhMKdCPhjwbqAa6HXWaMxj8Q4hQDIh7IadJQw==", "dev": true, "requires": { - "debug": "2.6.8", + "debug": "2.6.9", "pkg-dir": "1.0.0" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + } } }, "eslint-plugin-import": { @@ -807,7 +852,7 @@ "requires": { "builtin-modules": "1.1.1", "contains-path": "0.1.0", - "debug": "2.6.8", + "debug": "2.6.9", "doctrine": "1.5.0", "eslint-import-resolver-node": "0.2.3", "eslint-module-utils": "2.1.1", @@ -817,6 +862,15 @@ "pkg-up": "1.0.0" }, "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, "doctrine": { "version": "1.5.0", "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-1.5.0.tgz", @@ -1004,24 +1058,6 @@ "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=", "dev": true }, - "feathers": { - "version": "3.0.0-pre.1", - "resolved": "https://registry.npmjs.org/feathers/-/feathers-3.0.0-pre.1.tgz", - "integrity": "sha512-wvz78AVxBdCI/IGihqAjiKMsKjepFR63bnOJ1dR/oqZGK4DDTK+Szs5jsyMptJ6hXSJi6e52vPVV6v01UJfYlQ==", - "dev": true, - "requires": { - "debug": "2.6.8", - "events": "1.1.1", - "feathers-commons": "1.0.0-pre.2", - "uberproto": "1.2.0" - } - }, - "feathers-commons": { - "version": "1.0.0-pre.2", - "resolved": "https://registry.npmjs.org/feathers-commons/-/feathers-commons-1.0.0-pre.2.tgz", - "integrity": "sha512-tXBfq35YuQmfQTD0+/pWO9qfdEbjMkwrO0afQvMm/r6eeDELQAU6Evmsc5Tl14pdpnttITZo0q3ZYPOC4yFvKA==", - "dev": true - }, "figures": { "version": "1.7.0", "resolved": "https://registry.npmjs.org/figures/-/figures-1.7.0.tgz", @@ -1110,7 +1146,18 @@ "integrity": "sha512-Suw6KewLV2hReSyEOeql+UUkBVyiBm3ok1VPrVFRZnQInWpdoZbbiG5i8aJVSjTr0yQ4Ava0Sh6/joCg1Brdqw==", "dev": true, "requires": { - "debug": "2.6.8" + "debug": "2.6.9" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + } } }, "foreach": { @@ -1202,18 +1249,6 @@ "integrity": "sha1-Dovf5NHduIVNZOBOp8AOKgJuVlg=", "dev": true }, - "graceful-readlink": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/graceful-readlink/-/graceful-readlink-1.0.1.tgz", - "integrity": "sha1-TK+tdrxi8C+gObL5Tpo906ORpyU=", - "dev": true - }, - "growl": { - "version": "1.9.2", - "resolved": "https://registry.npmjs.org/growl/-/growl-1.9.2.tgz", - "integrity": "sha1-Dqd0NxXbjY3ixe3hd14bRayFwC8=", - "dev": true - }, "handlebars": { "version": "4.0.10", "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.0.10.tgz", @@ -1261,6 +1296,12 @@ "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=", "dev": true }, + "he": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/he/-/he-1.1.1.tgz", + "integrity": "sha1-k0EP0hsAlzUVH4howvJx80J+I/0=", + "dev": true + }, "http-errors": { "version": "1.6.1", "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.6.1.tgz", @@ -1571,11 +1612,22 @@ "integrity": "sha512-mukVvSXCn9JQvdJl8wP/iPhqig0MRtuWuD4ZNKo6vB2Ik//AmhAKe3QnPN02dmkRe3lTudFk3rzoHhwU4hb94w==", "dev": true, "requires": { - "debug": "2.6.8", + "debug": "2.6.9", "istanbul-lib-coverage": "1.1.1", "mkdirp": "0.5.1", "rimraf": "2.6.1", "source-map": "0.5.6" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + } } }, "istanbul-reports": { @@ -1618,12 +1670,6 @@ "jsonify": "0.0.0" } }, - "json3": { - "version": "3.3.2", - "resolved": "https://registry.npmjs.org/json3/-/json3-3.3.2.tgz", - "integrity": "sha1-PAQ0dD35Pi9cQq7nsZvLSDV19OE=", - "dev": true - }, "jsonify": { "version": "0.0.0", "resolved": "https://registry.npmjs.org/jsonify/-/jsonify-0.0.0.tgz", @@ -1712,80 +1758,12 @@ "integrity": "sha1-eCA6TRwyiuHYbcpkYONptX9AVa4=", "dev": true }, - "lodash._baseassign": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/lodash._baseassign/-/lodash._baseassign-3.2.0.tgz", - "integrity": "sha1-jDigmVAPIVrQnlnxci/QxSv+Ck4=", - "dev": true, - "requires": { - "lodash._basecopy": "3.0.1", - "lodash.keys": "3.1.2" - } - }, - "lodash._basecopy": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/lodash._basecopy/-/lodash._basecopy-3.0.1.tgz", - "integrity": "sha1-jaDmqHbPNEwK2KVIghEd08XHyjY=", - "dev": true - }, - "lodash._basecreate": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/lodash._basecreate/-/lodash._basecreate-3.0.3.tgz", - "integrity": "sha1-G8ZhYU2qf8MRt9A78WgGoCE8+CE=", - "dev": true - }, - "lodash._getnative": { - "version": "3.9.1", - "resolved": "https://registry.npmjs.org/lodash._getnative/-/lodash._getnative-3.9.1.tgz", - "integrity": "sha1-VwvH3t5G1hzc3mh9ZdPuy6o6r/U=", - "dev": true - }, - "lodash._isiterateecall": { - "version": "3.0.9", - "resolved": "https://registry.npmjs.org/lodash._isiterateecall/-/lodash._isiterateecall-3.0.9.tgz", - "integrity": "sha1-UgOte6Ql+uhCRg5pbbnPPmqsBXw=", - "dev": true - }, "lodash.cond": { "version": "4.5.2", "resolved": "https://registry.npmjs.org/lodash.cond/-/lodash.cond-4.5.2.tgz", "integrity": "sha1-9HGh2khr5g9quVXRcRVSPdHSVdU=", "dev": true }, - "lodash.create": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/lodash.create/-/lodash.create-3.1.1.tgz", - "integrity": "sha1-1/KEnw29p+BGgruM1yqwIkYd6+c=", - "dev": true, - "requires": { - "lodash._baseassign": "3.2.0", - "lodash._basecreate": "3.0.3", - "lodash._isiterateecall": "3.0.9" - } - }, - "lodash.isarguments": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/lodash.isarguments/-/lodash.isarguments-3.1.0.tgz", - "integrity": "sha1-L1c9hcaiQon/AGY7SRwdM4/zRYo=", - "dev": true - }, - "lodash.isarray": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/lodash.isarray/-/lodash.isarray-3.0.4.tgz", - "integrity": "sha1-eeTriMNqgSKvhvhEqpvNhRtfu1U=", - "dev": true - }, - "lodash.keys": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/lodash.keys/-/lodash.keys-3.1.2.tgz", - "integrity": "sha1-TbwEcrFWvlCgsoaFXRvQsMZWCYo=", - "dev": true, - "requires": { - "lodash._getnative": "3.9.1", - "lodash.isarguments": "3.1.0", - "lodash.isarray": "3.0.4" - } - }, "longest": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/longest/-/longest-1.0.1.tgz", @@ -1859,60 +1837,54 @@ } }, "mocha": { - "version": "3.4.2", - "resolved": "https://registry.npmjs.org/mocha/-/mocha-3.4.2.tgz", - "integrity": "sha1-0O9NMyEm2/GNDWQMmzgt1IvpdZQ=", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/mocha/-/mocha-4.0.1.tgz", + "integrity": "sha512-evDmhkoA+cBNiQQQdSKZa2b9+W2mpLoj50367lhy+Klnx9OV8XlCIhigUnn1gaTFLQCa0kdNhEGDr0hCXOQFDw==", "dev": true, "requires": { "browser-stdout": "1.3.0", - "commander": "2.9.0", - "debug": "2.6.0", - "diff": "3.2.0", + "commander": "2.11.0", + "debug": "3.1.0", + "diff": "3.3.1", "escape-string-regexp": "1.0.5", - "glob": "7.1.1", - "growl": "1.9.2", - "json3": "3.3.2", - "lodash.create": "3.1.1", + "glob": "7.1.2", + "growl": "1.10.3", + "he": "1.1.1", "mkdirp": "0.5.1", - "supports-color": "3.1.2" + "supports-color": "4.4.0" }, "dependencies": { - "debug": { - "version": "2.6.0", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.0.tgz", - "integrity": "sha1-vFlryr52F/Edn6FTYe3tVgi4SZs=", - "dev": true, - "requires": { - "ms": "0.7.2" - } + "commander": { + "version": "2.11.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.11.0.tgz", + "integrity": "sha512-b0553uYA5YAEGgyYIGYROzKQ7X5RAqedkfjiZxwi0kL1g3bOaBNNZfYkzt/CL0umgD5wc9Jec2FbB98CjkMRvQ==", + "dev": true }, - "glob": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.1.tgz", - "integrity": "sha1-gFIR3wT6rxxjo2ADBs31reULLsg=", - "dev": true, - "requires": { - "fs.realpath": "1.0.0", - "inflight": "1.0.6", - "inherits": "2.0.3", - "minimatch": "3.0.4", - "once": "1.4.0", - "path-is-absolute": "1.0.1" - } + "diff": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/diff/-/diff-3.3.1.tgz", + "integrity": "sha512-MKPHZDMB0o6yHyDryUOScqZibp914ksXwAMYMTHj6KO8UeKsRYNJD3oNCKjTqZon+V488P7N/HzXF8t7ZR95ww==", + "dev": true }, - "ms": { - "version": "0.7.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-0.7.2.tgz", - "integrity": "sha1-riXPJRKziFodldfwN4aNhDESR2U=", + "growl": { + "version": "1.10.3", + "resolved": "https://registry.npmjs.org/growl/-/growl-1.10.3.tgz", + "integrity": "sha512-hKlsbA5Vu3xsh1Cg3J7jSmX/WaW6A5oBeqzM88oNbCRQFz+zUaXm6yxS4RVytp1scBoJzSYl4YAEOQIt6O8V1Q==", + "dev": true + }, + "has-flag": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-2.0.0.tgz", + "integrity": "sha1-6CB68cx7MNRGzHC3NLXovhj4jVE=", "dev": true }, "supports-color": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.1.2.tgz", - "integrity": "sha1-cqJiiU2dQIuVbKBf83su2KbiotU=", + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-4.4.0.tgz", + "integrity": "sha512-rKC3+DyXWgK0ZLKwmRsrkyHVZAjNkfzeehuFWdGGcqGDTZFH73+RH6S/RDAAxl9GusSjZSUWYLmT9N5pzXFOXQ==", "dev": true, "requires": { - "has-flag": "1.0.0" + "has-flag": "2.0.0" } } } @@ -2493,15 +2465,6 @@ "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.3.1.tgz", "integrity": "sha1-+vUbnrdKrvOzrPStX2Gr8ky3uT4=" }, - "string_decoder": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.0.3.tgz", - "integrity": "sha512-4AH6Z5fzNNBcH+6XDMfA/BTt87skxqJlO0lAh3Dker5zThcAxG6mKz+iGu308UKoPPQ8Dcqx/4JhujzltRa+hQ==", - "dev": true, - "requires": { - "safe-buffer": "5.1.1" - } - }, "string-width": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", @@ -2513,6 +2476,15 @@ "strip-ansi": "3.0.1" } }, + "string_decoder": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.0.3.tgz", + "integrity": "sha512-4AH6Z5fzNNBcH+6XDMfA/BTt87skxqJlO0lAh3Dker5zThcAxG6mKz+iGu308UKoPPQ8Dcqx/4JhujzltRa+hQ==", + "dev": true, + "requires": { + "safe-buffer": "5.1.1" + } + }, "strip-ansi": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", diff --git a/packages/express/package.json b/packages/express/package.json index 977ae7ad00..4524dd81bd 100644 --- a/packages/express/package.json +++ b/packages/express/package.json @@ -1,8 +1,8 @@ { - "name": "feathers-express", + "name": "@feathersjs/express", "description": "Feathers Express framework bindings and REST provider", "version": "1.0.0-pre.2", - "homepage": "https://github.com/feathersjs/feathers-express", + "homepage": "https://github.com/feathersjs/express", "main": "lib/", "keywords": [ "feathers", @@ -11,7 +11,7 @@ "license": "MIT", "repository": { "type": "git", - "url": "git://github.com/feathersjs/feathers-express.git" + "url": "git://github.com/feathersjs/express.git" }, "author": { "name": "Feathers contributors", @@ -20,7 +20,7 @@ }, "contributors": [], "bugs": { - "url": "https://github.com/feathersjs/feathers-express/issues" + "url": "https://github.com/feathersjs/express/issues" }, "engines": { "node": ">= 6" @@ -53,8 +53,8 @@ "uberproto": "^1.2.0" }, "devDependencies": { + "@feathersjs/feathers": "^3.0.0-pre.2", "axios": "^0.16.2", - "feathers": "^3.0.0-pre.1", "istanbul": "^1.1.0-alpha.1", "mocha": "^4.0.0", "semistandard": "^11.0.0", diff --git a/packages/express/test/index.test.js b/packages/express/test/index.test.js index 4e0eb0f9b1..f637179dd3 100644 --- a/packages/express/test/index.test.js +++ b/packages/express/test/index.test.js @@ -1,12 +1,12 @@ const assert = require('assert'); const express = require('express'); -const feathers = require('feathers'); +const feathers = require('@feathersjs/feathers'); const axios = require('axios'); const expressify = require('../lib'); -describe('feathers-express', () => { +describe('@feathersjs/express', () => { const service = { get (id) { return Promise.resolve({ id }); @@ -23,7 +23,7 @@ describe('feathers-express', () => { try { expressify(); } catch (e) { - assert.equal(e.message, 'feathers-express requires a valid Feathers application instance'); + assert.equal(e.message, '@feathersjs/express requires a valid Feathers application instance'); } try { @@ -32,7 +32,7 @@ describe('feathers-express', () => { expressify(app); } catch (e) { - assert.equal(e.message, 'feathers-express requires an instance of a Feathers application version 3.x or later (got 2.9.9)'); + assert.equal(e.message, '@feathersjs/express requires an instance of a Feathers application version 3.x or later (got 2.9.9)'); } try { @@ -41,7 +41,7 @@ describe('feathers-express', () => { expressify(app); } catch (e) { - assert.equal(e.message, 'feathers-express requires an instance of a Feathers application version 3.x or later (got unknown)'); + assert.equal(e.message, '@feathersjs/express requires an instance of a Feathers application version 3.x or later (got unknown)'); } });