Skip to content

Commit

Permalink
Merge pull request #139 from nimjetushar/angular-9
Browse files Browse the repository at this point in the history
updated dependencies to angular 9
  • Loading branch information
nimjetushar authored Apr 14, 2020
2 parents 50e88f5 + 1363b50 commit 7c985b3
Show file tree
Hide file tree
Showing 137 changed files with 22,543 additions and 10,174 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,3 @@ testem.log
# System Files
.DS_Store
Thumbs.db

/package-lock.json
7 changes: 6 additions & 1 deletion angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"prefix": "t",
"schematics": {
"@schematics/angular:component": {
"styleext": "scss"
"style": "scss"
}
},
"architect": {
Expand All @@ -19,6 +19,11 @@
"options": {
"tsConfig": "projects/ng-library/tsconfig.lib.json",
"project": "projects/ng-library/ng-package.json"
},
"configurations": {
"production": {
"tsConfig": "projects/ng-library/tsconfig.lib.prod.json"
}
}
},
"test": {
Expand Down
21 changes: 21 additions & 0 deletions dist/ng-library/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2018 Tushar Nimje

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.
62 changes: 57 additions & 5 deletions dist/ng-library/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# UI Library

[![Website](https://img.shields.io/website-up-down-green-red/https/shields.io.svg?label=my-website)](https://nimjetushar.github.io/ui-lib/)
![npm](https://img.shields.io/npm/v/@fourjs/ng-library)
<br/>
[![Build Status](https://semaphoreci.com/api/v1/nimjetushar/ui-lib/branches/master/shields_badge.svg)](https://semaphoreci.com/nimjetushar/ui-lib)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/2f3503831efb41fe9e5cde24acd60be7)](https://www.codacy.com/app/tushar/ui-lib?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=nimjetushar/ui-lib&amp;utm_campaign=Badge_Grade)
Expand All @@ -13,14 +14,65 @@

## Getting started:

Download / clone repositry from [https://github.com/nimjetushar/ui-lib.git](https://github.com/nimjetushar/ui-lib.git).
Install library

Install dependencies ```npm install``` <br>
Create build ```npm run build```
``` npm i @fourjs/ng-library --save ```
Note: Install peer dependencies.

Required ``` BrowserAnimationsModule ```
Import NgLibrary into @NgModule

```
import { NgLibrary } from '@fourjs/ng-library';
@NgModule({
declarations: [DemoWrapperComponent],
imports: [
NgLibrary,
BrowserAnimationsModule
// other modules imports
...
]
...
})
```

Add `"node_modules/@fourjs/ng-library/styles.css"` into of angular.json
```
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"newProjectRoot": "projects",
"projects": {
"project-name": {
"projectType": "application",
"sourceRoot": "src",
"prefix": "app",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
...
"styles": [
"src/styles.scss",
"node_modules/@fourjs/ng-library/styles.css"
],
"scripts": []
},
"configurations": {
...
}
},
...
}
}},
"defaultProject": "project-name"
}
```

For API Documentation refer [https://nimjetushar.github.io/ui-lib/](https://nimjetushar.github.io/ui-lib/)

Place the generated build from dist folder into respective project directory and import the js file and scss file into your project.

## License
[![GitHub license](https://img.shields.io/github/license/nimjetushar/ui-lib.svg)](https://github.com/nimjetushar/ui-lib/blob/master/LICENSE)
Loading

0 comments on commit 7c985b3

Please sign in to comment.