Skip to content

Commit

Permalink
Migration to passport-next org
Browse files Browse the repository at this point in the history
* Added CHANGELOG.md @rwky
* Updated travis to use node 6, 8 and 10 @rwky
* Updated dev deps @rwky
* Updated README.md and package.json for passport-next org
  • Loading branch information
rwky committed Jun 29, 2018
1 parent 2327a36 commit 398f895
Show file tree
Hide file tree
Showing 9 changed files with 29 additions and 70 deletions.
1 change: 1 addition & 0 deletions .npmignore
Expand Up @@ -9,3 +9,4 @@ test/
.github/
.jshintrc
.travis.yml
.gitlab-ci.yml
14 changes: 2 additions & 12 deletions .travis.yml
@@ -1,18 +1,8 @@
language: "node_js"
node_js:
- "8"
- "7"
- "6"
- "5"
- "4"
- "3" # io.js
- "2" # io.js
- "1" # io.js
- "0.12"
- "0.10"
# - "0.8"
- "0.6"

- "8"
- "10"

before_install:
- "npm install make-node@0.3.x -g"
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
@@ -0,0 +1,6 @@
# 0.5.0 (2018-06-29)

* Added CHANGELOG.md @rwky
* Updated travis to use node 6, 8 and 10 @rwky
* Updated dev deps @rwky
* Updated README.md and package.json for passport-next org @rwky
1 change: 1 addition & 0 deletions LICENSE
@@ -1,5 +1,6 @@
The MIT License (MIT)

Copyright (c) 2018 Rowan Wookey <admin@rwky.net>
Copyright (c) 2011-2015 Jared Hanson

Permission is hereby granted, free of charge, to any person obtaining a copy of
Expand Down
43 changes: 5 additions & 38 deletions README.md
@@ -1,5 +1,3 @@
[![passport banner](http://cdn.auth0.com/img/passport-banner-github.png)](http://passportjs.org)

# Passport

Passport is [Express](http://expressjs.com/)-compatible authentication
Expand All @@ -13,17 +11,11 @@ simple: you provide Passport a request to authenticate, and Passport provides
hooks for controlling what occurs when authentication succeeds or fails.

Status:
[![Build](https://travis-ci.org/jaredhanson/passport.svg?branch=master)](https://travis-ci.org/jaredhanson/passport)
[![Coverage](https://coveralls.io/repos/jaredhanson/passport/badge.svg?branch=master)](https://coveralls.io/r/jaredhanson/passport)
[![Dependencies](https://david-dm.org/jaredhanson/passport.svg)](https://david-dm.org/jaredhanson/passport)


## Sponsorship

Passport is open source software. Ongoing development is made possible by
generous contributions from [individuals and corporations](https://github.com/jaredhanson/passport/blob/master/SPONSORS.md).
To learn more about how you can help keep this project financially sustainable,
please visit Jared Hanson's page on [Patreon](https://www.patreon.com/jaredhanson).
[![Build Status](https://travis-ci.org/passport-next/passport.svg?branch=master)](https://travis-ci.org/passport-next/passport)
[![Coverage Status](https://coveralls.io/repos/github/passport-next/passport/badge.svg?branch=master)](https://coveralls.io/github/passport-next/passport?branch=master)
[![Maintainability](https://api.codeclimate.com/v1/badges/deaf381bf0cff6bf26a5/maintainability)](https://codeclimate.com/github/passport-next/passport/maintainability)
[![Dependencies](https://david-dm.org/passport-next/passport.png)](https://david-dm.org/passport-next/passport)
<!--[![SAST](https://gitlab.com/passport-next/passport-strategy/badges/master/build.svg)](https://gitlab.com/passport-next/passport-strategy/badges/master/build.svg)-->

## Install

Expand Down Expand Up @@ -149,34 +141,9 @@ that uses [passport-local](https://github.com/jaredhanson/passport-local).
- Express v3x - [Tutorial](http://mherman.org/blog/2013/11/10/social-authentication-with-passport-dot-js/) / [working example](https://github.com/mjhea0/passport-examples)
- Express v4x - [Tutorial](http://mherman.org/blog/2015/09/26/social-authentication-in-node-dot-js-with-passport) / [working example](https://github.com/mjhea0/passport-social-auth)

## Related Modules

- [Locomotive](https://github.com/jaredhanson/locomotive) — Powerful MVC web framework
- [OAuthorize](https://github.com/jaredhanson/oauthorize) — OAuth service provider toolkit
- [OAuth2orize](https://github.com/jaredhanson/oauth2orize) — OAuth 2.0 authorization server toolkit
- [connect-ensure-login](https://github.com/jaredhanson/connect-ensure-login) — middleware to ensure login sessions

The [modules](https://github.com/jaredhanson/passport/wiki/Modules) page on the
[wiki](https://github.com/jaredhanson/passport/wiki) lists other useful modules
that build upon or integrate with Passport.

## Tests

```
$ npm install
$ make test
```

## Credits

- [Jared Hanson](http://github.com/jaredhanson)

## Supporters

This project is supported by ![](http://passportjs.org/images/supported_logo.svg) [Auth0](https://auth0.com)

## License

[The MIT License](http://opensource.org/licenses/MIT)

Copyright (c) 2011-2015 Jared Hanson <[http://jaredhanson.net/](http://jaredhanson.net/)>
4 changes: 0 additions & 4 deletions SPONSORS.md

This file was deleted.

2 changes: 1 addition & 1 deletion lib/index.js
Expand Up @@ -17,7 +17,7 @@ exports = module.exports = new Passport();
*/
exports.Passport =
exports.Authenticator = Passport;
exports.Strategy = require('passport-strategy');
exports.Strategy = require('@passport-next/passport-strategy');

/**
* Expose strategies.
Expand Down
2 changes: 1 addition & 1 deletion lib/strategies/session.js
Expand Up @@ -3,7 +3,7 @@
*/
var pause = require('pause')
, util = require('util')
, Strategy = require('passport-strategy');
, Strategy = require('@passport-next/passport-strategy');


/**
Expand Down
26 changes: 12 additions & 14 deletions package.json
@@ -1,6 +1,6 @@
{
"name": "passport",
"version": "0.4.0",
"name": "@passport-next/passport",
"version": "0.5.0",
"description": "Simple, unobtrusive authentication for Node.js.",
"keywords": [
"express",
Expand All @@ -10,17 +10,15 @@
"authentication"
],
"author": {
"name": "Jared Hanson",
"email": "jaredhanson@gmail.com",
"url": "http://www.jaredhanson.net/"
"name": "Rowan Wookey",
"email": "admin@rwky.net"
},
"homepage": "http://passportjs.org/",
"repository": {
"type": "git",
"url": "git://github.com/jaredhanson/passport.git"
"url": "git://github.com/passport-next/passport.git"
},
"bugs": {
"url": "http://github.com/jaredhanson/passport/issues"
"url": "http://github.com/passport-next/passport/issues"
},
"license": "MIT",
"licenses": [
Expand All @@ -31,19 +29,19 @@
],
"main": "./lib",
"dependencies": {
"passport-strategy": "1.x.x",
"@passport-next/passport-strategy": "1.x.x",
"pause": "0.0.1"
},
"devDependencies": {
"make-node": "0.3.x",
"mocha": "2.x.x",
"chai": "2.x.x",
"mocha": "5.2.x",
"chai": "4.1.x",
"chai-connect-middleware": "0.3.x",
"chai-passport-strategy": "0.2.x",
"proxyquire": "1.4.x"
"chai-passport-strategy": "1.x.x",
"proxyquire": "2.0.x"
},
"engines": {
"node": ">= 0.4.0"
"node": ">=6.0.0"
},
"scripts": {
"test": "node_modules/.bin/mocha --reporter spec --require test/bootstrap/node test/*.test.js test/**/*.test.js"
Expand Down

0 comments on commit 398f895

Please sign in to comment.