Skip to content

Commit

Permalink
Prepare packages for release from Monorepo (#961)
Browse files Browse the repository at this point in the history
chore: Prepare packages for release from Monorepo
  • Loading branch information
daffl authored Aug 29, 2018
1 parent 34a51a3 commit 139d2d6
Show file tree
Hide file tree
Showing 82 changed files with 222 additions and 311 deletions.
8 changes: 4 additions & 4 deletions .github/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

Thank you for contributing to Feathers! :heart: :tada:

Feathers embraces modularity and is broken up across many repos. To make this easier to manage we currently use Github projects for issue triage and visibility. To get a high level view of the core releases you can go to https://github.com/feathersjs/feathers/projects.
Feathers embraces modularity and is broken up across multiple modules. You can find them all in the `packages/` folder. Most reflect their name on npm. For example, the code for `@feathersjs/feathers` will be in `packages/feathers`, for `@feathersjs/authentication` in `packages/authenticaiton`.

## Report a bug

Before creating an issue please make sure you have checked out the docs, specifically the [FAQ](https://docs.feathersjs.com/help/faq.html) section. You might want to also try searching Github. It's pretty likely someone has already asked a similar question.

If you haven't found your answer please feel free to join our [slack channel](http://slack.feathersjs.com), create an issue on Github, or post on [Stackoverflow](http://stackoverflow.com) using the `feathers` or `feathersjs` tag. We try our best to monitor Stackoverflow but you're likely to get more immediate responses in Slack and Github.
If you haven't found your answer please feel free to join our [slack channel](http://slack.feathersjs.com), create an issue on Github, or post on [Stackoverflow](http://stackoverflow.com) using the `feathersjs` tag. We try our best to monitor Stackoverflow but you're likely to get more immediate responses in Slack and Github.

Issues can be reported in the [issue tracker](https://github.com/feathersjs/feathers/issues). Since feathers combines many modules it can be hard for us to assess the root cause without knowing which modules are being used and what your configuration looks like, so **it helps us immensely if you can link to a simple example that reproduces your issue**.
Issues can be reported in the [issue tracker](https://github.com/feathersjs/feathers/issues). Since feathers combines many modules it can be hard for us to assess the root cause without knowing which modules are being used and what your configuration looks like, so **it helps us immensely if you can link to a simple example that reproduces your issue**.

## Report a Security Concern

Expand All @@ -22,7 +22,7 @@ For full details refer to our [Security docs](https://docs.feathersjs.com/SECURI

## Pull Requests

We :heart: pull requests and we're continually working to make it as easy as possible for people to contribute, including a [Plugin Generator](https://github.com/feathersjs/generator-feathers-plugin) and a [common test suite](https://github.com/feathersjs/feathers-service-tests) for database adapters.
We :heart: pull requests and we're continually working to make it as easy as possible for people to contribute.

We prefer small pull requests with minimal code changes. The smaller they are the easier they are to review and merge. A FeathersJS maintainer will pick up your PR and review it as soon as they can. They may ask for changes or reject your pull request. This is not a reflection of you as an engineer or a person. Please accept feedback graciously as we will also try to be sensitive when providing it.

Expand Down
22 changes: 22 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
The MIT License (MIT)

Copyright (c) 2018 Feathers

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

4 changes: 1 addition & 3 deletions mocha.opts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
--recursive packages/**/test/**/*.test.js
--exclude packages/generator-feathers*/**
--exclude **/node_modules/**
--recursive test/
--timeout 20000
--reporter Dot
--exit
5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,7 @@
"scripts": {
"install": "lerna bootstrap",
"lint": "semistandard packages/**/*.js --fix",
"mocha": "mocha --opts mocha.opts",
"mocha:watch": "mocha --opts mocha.opts --watch",
"coverage": "nyc npm run mocha",
"test": "npm run lint && npm run coverage"
"test": "npm run lint && nyc lerna run test --ignore generator-**"
},
"semistandard": {
"env": [
Expand Down
9 changes: 0 additions & 9 deletions packages/authentication-client/.npmignore
Original file line number Diff line number Diff line change
@@ -1,10 +1 @@
.editorconfig
.jshintrc
.travis.yml
.istanbul.yml
.babelrc
.idea/
.vscode/
test/
coverage/
.github/
2 changes: 1 addition & 1 deletion packages/authentication-client/LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2016 Feathers
Copyright (c) 2018 Feathers

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
7 changes: 2 additions & 5 deletions packages/authentication-client/README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
# @feathersjs/authentication-client

[![Greenkeeper badge](https://badges.greenkeeper.io/feathersjs/authentication-client.svg)](https://greenkeeper.io/)

[![Build Status](https://travis-ci.org/feathersjs/authentication-client.png?branch=master)](https://travis-ci.org/feathersjs/authentication-client)
[![Test Coverage](https://api.codeclimate.com/v1/badges/b2d2b018d2bf75f9bcc8/test_coverage)](https://codeclimate.com/github/feathersjs/authentication-client/test_coverage)
[![Dependency Status](https://img.shields.io/david/feathersjs/authentication-client.svg?style=flat-square)](https://david-dm.org/feathersjs/authentication-client)
[![Build Status](https://travis-ci.org/feathersjs/feathers.png?branch=master)](https://travis-ci.org/feathersjs/feathers)
[![Dependency Status](https://img.shields.io/david/feathersjs/feathers.svg?style=flat-square&path=packages/authentication-client)](https://david-dm.org/feathersjs/feathers?path=packages/authentication-client)
[![Download Status](https://img.shields.io/npm/dm/@feathersjs/authentication-client.svg?style=flat-square)](https://www.npmjs.com/package/@feathersjs/authentication-client)

> The authentication plugin for feathers-client
Expand Down
7 changes: 6 additions & 1 deletion packages/authentication-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,15 @@
"engines": {
"node": ">= 6"
},
"scripts": {},
"scripts": {
"test": "../../node_modules/.bin/mocha --opts ../../mocha.opts"
},
"directories": {
"lib": "lib"
},
"publishConfig": {
"access": "public"
},
"dependencies": {
"@feathersjs/errors": "^3.0.0",
"debug": "^3.1.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/authentication-jwt/.npmignore
Original file line number Diff line number Diff line change
@@ -1 +1 @@
test/
test/
2 changes: 1 addition & 1 deletion packages/authentication-jwt/LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2016 Feathers
Copyright (c) 2018 Feathers

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
7 changes: 2 additions & 5 deletions packages/authentication-jwt/README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
# @feathersjs/authentication-jwt

[![Greenkeeper badge](https://badges.greenkeeper.io/feathersjs/authentication-jwt.svg)](https://greenkeeper.io/)

[![Build Status](https://travis-ci.org/feathersjs/authentication-jwt.png?branch=master)](https://travis-ci.org/feathersjs/authentication-jwt)
[![Test Coverage](https://codeclimate.com/github/feathersjs/authentication-jwt/badges/coverage.svg)](https://codeclimate.com/github/feathersjs/authentication-jwt/coverage)
[![Dependency Status](https://img.shields.io/david/feathersjs/authentication-jwt.svg?style=flat-square)](https://david-dm.org/feathersjs/authentication-jwt)
[![Build Status](https://travis-ci.org/feathersjs/feathers.png?branch=master)](https://travis-ci.org/feathersjs/feathers)
[![Dependency Status](https://img.shields.io/david/feathersjs/feathers.svg?style=flat-square&path=packages/authentication-jwt)](https://david-dm.org/feathersjs/feathers?path=packages/authentication-jwt)
[![Download Status](https://img.shields.io/npm/dm/@feathersjs/authentication-jwt.svg?style=flat-square)](https://www.npmjs.com/package/@feathersjs/authentication-jwt)

> JWT authentication strategy for feathers-authentication using Passport
Expand Down
7 changes: 6 additions & 1 deletion packages/authentication-jwt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,15 @@
"engines": {
"node": ">= 6"
},
"scripts": {},
"scripts": {
"test": "../../node_modules/.bin/mocha --opts ../../mocha.opts"
},
"directories": {
"lib": "lib"
},
"publishConfig": {
"access": "public"
},
"dependencies": {
"@feathersjs/errors": "^3.0.0",
"debug": "^3.1.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/authentication-local/.npmignore
Original file line number Diff line number Diff line change
@@ -1 +1 @@
test/
test/
2 changes: 1 addition & 1 deletion packages/authentication-local/LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2016 Feathers
Copyright (c) 2018 Feathers

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
7 changes: 2 additions & 5 deletions packages/authentication-local/README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
# @feathersjs/authentication-local

[![Greenkeeper badge](https://badges.greenkeeper.io/feathersjs/authentication-local.svg)](https://greenkeeper.io/)

[![Build Status](https://travis-ci.org/feathersjs/authentication-local.png?branch=master)](https://travis-ci.org/feathersjs/authentication-local)
[![Test Coverage](https://api.codeclimate.com/v1/badges/d948ae0f5b7572578d5a/test_coverage)](https://codeclimate.com/github/feathersjs/authentication-local/test_coverage)
[![Dependency Status](https://img.shields.io/david/feathersjs/authentication-local.svg?style=flat-square)](https://david-dm.org/feathersjs/authentication-local)
[![Build Status](https://travis-ci.org/feathersjs/feathers.png?branch=master)](https://travis-ci.org/feathersjs/feathers)
[![Dependency Status](https://img.shields.io/david/feathersjs/feathers.svg?style=flat-square&path=packages/authentication-local)](https://david-dm.org/feathersjs/feathers?path=packages/authentication-local)
[![Download Status](https://img.shields.io/npm/dm/@feathersjs/authentication-local.svg?style=flat-square)](https://www.npmjs.com/package/@feathersjs/authentication-local)

> Local authentication strategy for feathers-authentication using Passport without all the boilerplate.
Expand Down
7 changes: 6 additions & 1 deletion packages/authentication-local/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,15 @@
"engines": {
"node": ">= 6"
},
"scripts": {},
"scripts": {
"test": "../../node_modules/.bin/mocha --opts ../../mocha.opts"
},
"directories": {
"lib": "lib"
},
"publishConfig": {
"access": "public"
},
"dependencies": {
"@feathersjs/errors": "^3.0.0",
"bcryptjs": "^2.3.0",
Expand Down
1 change: 0 additions & 1 deletion packages/authentication-oauth1/.npmignore
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
test/
changelog.md
2 changes: 1 addition & 1 deletion packages/authentication-oauth1/LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2016 Feathers
Copyright (c) 2018 Feathers

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
7 changes: 2 additions & 5 deletions packages/authentication-oauth1/README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
# @feathersjs/authentication-oauth1

[![Greenkeeper badge](https://badges.greenkeeper.io/feathersjs/authentication-oauth1.svg)](https://greenkeeper.io/)

[![Build Status](https://travis-ci.org/feathersjs/authentication-oauth1.png?branch=master)](https://travis-ci.org/feathersjs/authentication-oauth1)
[![Test Coverage](https://api.codeclimate.com/v1/badges/c8bd6a04ca7085e78e5f/test_coverage)](https://codeclimate.com/github/feathersjs/authentication-oauth1/test_coverage)
[![Dependency Status](https://img.shields.io/david/feathersjs/authentication-oauth1.svg?style=flat-square)](https://david-dm.org/feathersjs/authentication-oauth1)
[![Build Status](https://travis-ci.org/feathersjs/feathers.png?branch=master)](https://travis-ci.org/feathersjs/feathers)
[![Dependency Status](https://img.shields.io/david/feathersjs/feathers.svg?style=flat-square&path=packages/authentication-oauth1)](https://david-dm.org/feathersjs/feathers?path=packages/authentication-oauth1)
[![Download Status](https://img.shields.io/npm/dm/@feathersjs/authentication-oauth1.svg?style=flat-square)](https://www.npmjs.com/package/@feathersjs/authentication-oauth1)

> A Feathers OAuth1 authentication strategy
Expand Down
7 changes: 6 additions & 1 deletion packages/authentication-oauth1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,15 @@
"engines": {
"node": ">= 6"
},
"scripts": {},
"scripts": {
"test": "../../node_modules/.bin/mocha --opts ../../mocha.opts"
},
"directories": {
"lib": "lib"
},
"publishConfig": {
"access": "public"
},
"dependencies": {
"@feathersjs/commons": "^2.0.0",
"@feathersjs/errors": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/authentication-oauth2/.npmignore
Original file line number Diff line number Diff line change
@@ -1 +1 @@
test/
test/
2 changes: 1 addition & 1 deletion packages/authentication-oauth2/LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2016 Feathers
Copyright (c) 2018 Feathers

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
7 changes: 2 additions & 5 deletions packages/authentication-oauth2/README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
# @feathersjs/authentication-oauth2

[![Greenkeeper badge](https://badges.greenkeeper.io/feathersjs/authentication-oauth2.svg)](https://greenkeeper.io/)

[![Build Status](https://travis-ci.org/feathersjs/authentication-oauth2.png?branch=master)](https://travis-ci.org/feathersjs/authentication-oauth2)
[![Test Coverage](https://api.codeclimate.com/v1/badges/ba4d86601a687bb6e960/test_coverage)](https://codeclimate.com/github/feathersjs/authentication-oauth2/test_coverage)
[![Dependency Status](https://img.shields.io/david/feathersjs/authentication-oauth2.svg?style=flat-square)](https://david-dm.org/feathersjs/authentication-oauth2)
[![Build Status](https://travis-ci.org/feathersjs/feathers.png?branch=master)](https://travis-ci.org/feathersjs/feathers)
[![Dependency Status](https://img.shields.io/david/feathersjs/feathers.svg?style=flat-square&path=packages/authentication-oauth2)](https://david-dm.org/feathersjs/feathers?path=packages/authentication-oauth2)
[![Download Status](https://img.shields.io/npm/dm/@feathersjs/authentication-oauth2.svg?style=flat-square)](https://www.npmjs.com/package/@feathersjs/authentication-oauth2)

> An OAuth2 authentication strategy for feathers-authentication using Passport
Expand Down
7 changes: 6 additions & 1 deletion packages/authentication-oauth2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,15 @@
"engines": {
"node": ">= 6"
},
"scripts": {},
"scripts": {
"test": "../../node_modules/.bin/mocha --opts ../../mocha.opts"
},
"directories": {
"lib": "lib"
},
"publishConfig": {
"access": "public"
},
"dependencies": {
"@feathersjs/commons": "^2.0.0",
"@feathersjs/errors": "^3.3.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/authentication/.npmignore
Original file line number Diff line number Diff line change
@@ -1 +1 @@
test/
test/
2 changes: 1 addition & 1 deletion packages/authentication/LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2015 Feathers
Copyright (c) 2018 Feathers

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
8 changes: 2 additions & 6 deletions packages/authentication/README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
# @feathersjs/authentication

[![Build Status](https://travis-ci.org/feathersjs/authentication.png?branch=master)](https://travis-ci.org/feathersjs/authentication)
[![Dependency Status](https://img.shields.io/david/feathersjs/authentication.svg?style=flat-square)](https://david-dm.org/feathersjs/authentication)
[![Maintainability](https://api.codeclimate.com/v1/badges/65abe50ec85244072ee9/maintainability)](https://codeclimate.com/github/feathersjs/authentication/maintainability)
[![Test Coverage](https://api.codeclimate.com/v1/badges/65abe50ec85244072ee9/test_coverage)](https://codeclimate.com/github/feathersjs/authentication/test_coverage)

[![Greenkeeper badge](https://badges.greenkeeper.io/feathersjs/authentication.svg)](https://greenkeeper.io/)
[![Build Status](https://travis-ci.org/feathersjs/feathers.png?branch=master)](https://travis-ci.org/feathersjs/feathers)
[![Dependency Status](https://img.shields.io/david/feathersjs/feathers.svg?style=flat-square&path=packages/authentication)](https://david-dm.org/feathersjs/feathers?path=packages/authentication)
[![Download Status](https://img.shields.io/npm/dm/@feathersjs/authentication.svg?style=flat-square)](https://www.npmjs.com/package/@feathersjs/authentication)

> Add Authentication to your FeathersJS app.
Expand Down
7 changes: 6 additions & 1 deletion packages/authentication/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,15 @@
"engines": {
"node": ">= 6"
},
"scripts": {},
"scripts": {
"test": "../../node_modules/.bin/mocha --opts ../../mocha.opts"
},
"directories": {
"lib": "lib"
},
"publishConfig": {
"access": "public"
},
"dependencies": {
"@feathersjs/commons": "^2.0.0",
"@feathersjs/errors": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/authentication/test/integration/primus.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const { expect } = chai;
chai.use(sinonChai);

describe('Primus authentication', function () {
const port = 8998;
const port = 9889;
const baseURL = `http://localhost:${port}`;
const app = createApplication({ secret: 'supersecret' }, 'primus');
const expiringApp = createApplication({
Expand Down
1 change: 0 additions & 1 deletion packages/cli/.npmignore
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
changelog.md
test/
2 changes: 1 addition & 1 deletion packages/cli/LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2016 Feathers
Copyright (c) 2018 Feathers

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
9 changes: 3 additions & 6 deletions packages/cli/README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
# Feathers CLI

[![Greenkeeper badge](https://badges.greenkeeper.io/feathersjs/cli.svg)](https://greenkeeper.io/)
[![Build Status](https://travis-ci.org/feathersjs/feathers.png?branch=master)](https://travis-ci.org/feathersjs/feathers)
[![Dependency Status](https://img.shields.io/david/feathersjs/feathers.svg?style=flat-square&path=packages/cli)](https://david-dm.org/feathersjs/feathers?path=packages/cli)
[![Download Status](https://img.shields.io/npm/dm/@feathersjs/cli.svg)](https://www.npmjs.com/package/@feathersjs/cli)

> The command line interface for Feathers applications
[![Build Status](https://img.shields.io/travis/feathersjs/cli/master.svg)](https://travis-ci.org/feathersjs/cli)
[![Test Coverage](https://codeclimate.com/github/feathersjs/cli/badges/coverage.svg)](https://codeclimate.com/github/feathersjs/cli/coverage)
[![Dependency Status](https://img.shields.io/david/feathersjs/cli.svg)](https://david-dm.org/feathersjs/cli)
[![Download Status](https://img.shields.io/npm/dm/@feathersjs/cli.svg)](https://www.npmjs.com/package/@feathersjs/cli)

## Installation

```bash
Expand Down
5 changes: 4 additions & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,15 @@
"node": ">= 6"
},
"scripts": {
"test": "../../node_modules/.bin/mocha"
"test": "../../node_modules/.bin/mocha --opts ../../mocha.opts"
},
"directories": {
"lib": "lib"
},
"preferGlobal": true,
"publishConfig": {
"access": "public"
},
"dependencies": {
"@feathersjs/tools": "^0.1.6",
"commander": "^2.9.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/commons/LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2015 Feathers
Copyright (c) 2018 Feathers

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
Loading

0 comments on commit 139d2d6

Please sign in to comment.