Skip to content
This repository was archived by the owner on Jun 21, 2022. It is now read-only.

Commit 5e4d5dc

Browse files
committed
initial commit
0 parents  commit 5e4d5dc

25 files changed

+18411
-0
lines changed

.editorconfig

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Editor configuration, see https://editorconfig.org
2+
root = true
3+
4+
[*]
5+
charset = utf-8
6+
indent_style = space
7+
indent_size = 2
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true
10+
11+
[*.ts]
12+
quote_type = single
13+
14+
[*.md]
15+
max_line_length = off
16+
trim_trailing_whitespace = false

.gitignore

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# See http://help.github.com/ignore-files/ for more about ignoring files.
2+
3+
# compiled output
4+
/dist
5+
/tmp
6+
/out-tsc
7+
# Only exists if Bazel was run
8+
/bazel-out
9+
10+
# dependencies
11+
/node_modules
12+
13+
# profiling files
14+
chrome-profiler-events*.json
15+
speed-measure-plugin*.json
16+
17+
# IDEs and editors
18+
/.idea
19+
.project
20+
.classpath
21+
.c9/
22+
*.launch
23+
.settings/
24+
*.sublime-workspace
25+
26+
# IDE - VSCode
27+
.vscode/*
28+
!.vscode/settings.json
29+
!.vscode/tasks.json
30+
!.vscode/launch.json
31+
!.vscode/extensions.json
32+
.history/*
33+
34+
# misc
35+
/.sass-cache
36+
/connect.lock
37+
/coverage
38+
/libpeerconnection.log
39+
npm-debug.log
40+
yarn-error.log
41+
testem.log
42+
/typings
43+
44+
# System Files
45+
.DS_Store
46+
Thumbs.db
47+
48+
# api documentation
49+
projects/yeiniel/angular-auth0/documentation

.travis.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
dist: xenial
2+
3+
language: node_js
4+
5+
node_js:
6+
- node
7+
8+
addons:
9+
chrome: stable
10+
11+
script:
12+
- npm test -- --watch=false --no-progress --browsers=ChromeHeadlessNoSandbox --code-coverage
13+
14+
after_success:
15+
- cat ./coverage/yeiniel/angular-auth0/lcov.info | ./node_modules/coveralls/bin/coveralls.js

LICENSE

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
Copyright 2020 Yeiniel Suarez Sosa <yeiniel@gmail.com>
2+
3+
Permission is hereby granted, free of charge, to any person obtaining a copy of
4+
this software and associated documentation files (the "Software"), to deal in
5+
the Software without restriction, including without limitation the rights to
6+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
7+
of the Software, and to permit persons to whom the Software is furnished to do
8+
so, subject to the following conditions:
9+
10+
The above copyright notice and this permission notice shall be included in all
11+
copies or substantial portions of the Software.
12+
13+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19+
SOFTWARE.

README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# AngularAuth0
2+
[![Build Status](https://travis-ci.com/yeiniel/angular-auth0.svg?branch=main)](https://travis-ci.com/yeiniel/angular-auth0)
3+
[![Coverage Status](https://coveralls.io/repos/github/yeiniel/angular-auth0/badge.svg?branch=main)](https://coveralls.io/github/yeiniel/angular-auth0?branch=main)
4+
5+
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 11.1.2.
6+
7+
## Code scaffolding
8+
9+
Run `ng generate component component-name --project angular-auth0` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project angular-auth0`.
10+
> Note: Don't forget to add `--project angular-auth0` or else it will be added to the default project in your `angular.json` file.
11+
12+
## Build
13+
14+
Run `ng build angular-auth0` to build the project. The build artifacts will be stored in the `dist/` directory.
15+
16+
## Publishing
17+
18+
After building your library with `ng build angular-auth0`, go to the dist folder `cd dist/angular-auth0` and run `npm publish`.
19+
20+
## Running unit tests
21+
22+
Run `ng test angular-auth0` to execute the unit tests via [Karma](https://karma-runner.github.io).
23+
24+
## Further help
25+
26+
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.

angular.json

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
{
2+
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3+
"cli": {
4+
"analytics": false
5+
},
6+
"version": 1,
7+
"newProjectRoot": "projects",
8+
"projects": {
9+
"@yeiniel/angular-auth0": {
10+
"projectType": "library",
11+
"root": "projects/yeiniel/angular-auth0",
12+
"sourceRoot": "projects/yeiniel/angular-auth0/src",
13+
"prefix": "lib",
14+
"architect": {
15+
"build": {
16+
"builder": "@angular-devkit/build-angular:ng-packagr",
17+
"options": {
18+
"tsConfig": "projects/yeiniel/angular-auth0/tsconfig.lib.json",
19+
"project": "projects/yeiniel/angular-auth0/ng-package.json"
20+
},
21+
"configurations": {
22+
"production": {
23+
"tsConfig": "projects/yeiniel/angular-auth0/tsconfig.lib.prod.json"
24+
}
25+
}
26+
},
27+
"test": {
28+
"builder": "@angular-devkit/build-angular:karma",
29+
"options": {
30+
"main": "projects/yeiniel/angular-auth0/src/test.ts",
31+
"tsConfig": "projects/yeiniel/angular-auth0/tsconfig.spec.json",
32+
"karmaConfig": "projects/yeiniel/angular-auth0/karma.conf.js"
33+
}
34+
},
35+
"lint": {
36+
"builder": "@angular-devkit/build-angular:tslint",
37+
"options": {
38+
"tsConfig": [
39+
"projects/yeiniel/angular-auth0/tsconfig.lib.json",
40+
"projects/yeiniel/angular-auth0/tsconfig.spec.json"
41+
],
42+
"exclude": [
43+
"**/node_modules/**"
44+
]
45+
}
46+
}
47+
}
48+
}
49+
},
50+
"defaultProject": "@yeiniel/angular-auth0"
51+
}

0 commit comments

Comments
 (0)