Skip to content

Commit 687e8a2

Browse files
authored
Merge pull request #112 from accounts-js/auth-services
Modular Auth services
2 parents b1f3377 + cc7e2d2 commit 687e8a2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+5460
-8652
lines changed

.circleci/config.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
version: 2
2+
3+
jobs:
4+
build:
5+
docker:
6+
- image: circleci/node:8
7+
steps:
8+
- checkout
9+
- run: yarn install --frozen-lockfile
10+
- run: yarn test
11+
- run: yarn codecov

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ coverage/
44
npm-debug.log
55
.idea
66
lerna-debug.log
7-
.vscode
7+
.vscode
8+
packages/*/package-lock.json

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2017 by Gadi Cohen & Tim Mikeladze
1+
Copyright (c) 2017.
22

33
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:
44

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44

55
[![Backers on Open Collective](https://opencollective.com/accounts-js/backers/badge.svg)](#backers) [![Sponsors on Open Collective](https://opencollective.com/accounts-js/sponsors/badge.svg)](#sponsors) [![npm](https://img.shields.io/npm/v/@accounts/server.svg?maxAge=2592000)](https://www.npmjs.com/package/@accounts/accounts) [![CircleCI](https://circleci.com/gh/accounts-js/accounts.svg?style=svg)](https://circleci.com/gh/accounts-js/accounts) [![Coverage Status](https://coveralls.io/repos/github/accounts-js/accounts/badge.svg?branch=master)](https://coveralls.io/github/accounts-js/accounts?branch=master) ![MIT License](https://img.shields.io/badge/license-MIT-blue.svg)
66

7-
Copyright (c) 2016 by Gadi Cohen & Tim Mikeladze. Released under the MIT license.
8-
97
## Community
108

119
- Slack - accounts-js.slack.com

circle.yml

Lines changed: 0 additions & 17 deletions
This file was deleted.

lerna.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
2-
"lerna": "2.0.0",
2+
"lerna": "2.9.0",
3+
"npmClient": "yarn",
34
"packages": [
45
"packages/*"
56
],

package.json

Lines changed: 23 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,48 @@
11
{
22
"private": true,
33
"scripts": {
4-
"start": "lerna exec -- npm start",
5-
"link": "lerna exec -- npm link",
4+
"start": "lerna exec -- yarn start",
5+
"link": "lerna exec -- yarn link",
66
"clean": "lerna run clean",
77
"compile": "lerna run compile",
88
"lint": "tslint packages/*/{src,__tests__}/**/*.ts",
9-
"prebootstrap": "npm install",
9+
"prebootstrap": "yarn install",
1010
"postinstall": "lerna bootstrap && opencollective postinstall",
1111
"publish": "lerna publish",
12-
"publish:canary": "npm run publish -- --canary",
13-
"test": "npm run testonly",
14-
"posttest": "npm run lint",
12+
"publish:canary": "yarn run publish -- --canary",
13+
"test": "yarn lint && yarn compile && yarn coverage",
1514
"testonly": "lerna run testonly",
16-
"format": "prettier --single-quote --trailing-comma es5 --parser typescript --write \"packages/*/{src,__tests__}/**/*.ts\"",
15+
"format": "prettier --write \"packages/*/{src,__tests__}/**/*.ts\"",
1716
"coverage": "lerna run coverage",
18-
"coveralls": "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage"
17+
"codecov": "codecov"
18+
},
19+
"prettier": {
20+
"singleQuote": true,
21+
"trailingComma": "es5"
1922
},
2023
"repository": {
2124
"type": "git",
2225
"url": "https://github.com/js-accounts/accounts"
2326
},
2427
"license": "MIT",
2528
"devDependencies": {
26-
"@accounts/tslint-config-accounts": "^0.0.5",
27-
"@types/jest": "^20.0.2",
28-
"@types/node": "^8.0.10",
29+
"@accounts/tslint-config-accounts": "^0.0.6",
30+
"@types/jest": "^21.1.5",
31+
"@types/node": "8.0.47",
32+
"codecov": "^3.0.0",
2933
"flow-bin": "0.41.0",
30-
"jest": "^20.0.4",
31-
"lerna": "^2.0.0",
32-
"prettier": "^1.5.2",
33-
"ts-jest": "^20.0.7",
34-
"tslint": "^5.6.0",
35-
"tslint-config-accounts": "^0.0.3",
34+
"jest": "^21.2.1",
35+
"lerna": "^2.9.0",
36+
"opencollective": "^1.0.3",
37+
"prettier": "^1.7.4",
38+
"rimraf": "^2.6.2",
39+
"ts-jest": "^21.1.4",
40+
"tslint": "^5.8.0",
3641
"typescript": "^2.4.1"
3742
},
38-
"dependencies": {
39-
"opencollective": "^1.0.3"
40-
},
4143
"collective": {
4244
"type": "opencollective",
4345
"url": "https://opencollective.com/accounts-js",
4446
"logo": "https://opencollective.com/accounts-js/logo.txt"
4547
}
46-
}
48+
}

0 commit comments

Comments
 (0)