Skip to content

Commit

Permalink
Add ApexCharts library and update Angular dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
EliasAfara committed Nov 7, 2023
1 parent 1708d5f commit 008ee5a
Show file tree
Hide file tree
Showing 4 changed files with 137 additions and 22 deletions.
29 changes: 7 additions & 22 deletions client/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,11 @@
"outputPath": "dist/client",
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": [
"zone.js"
],
"polyfills": ["zone.js"],
"tsConfig": "tsconfig.app.json",
"assets": [
"src/favicon.ico",
"src/assets"
],
"styles": [
"src/styles.css"
],
"scripts": []
"assets": ["src/favicon.ico", "src/assets"],
"styles": ["src/styles.css"],
"scripts": ["node_modules/apexcharts/dist/apexcharts.min.js"]
},
"configurations": {
"production": {
Expand Down Expand Up @@ -77,18 +70,10 @@
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"polyfills": [
"zone.js",
"zone.js/testing"
],
"polyfills": ["zone.js", "zone.js/testing"],
"tsConfig": "tsconfig.spec.json",
"assets": [
"src/favicon.ico",
"src/assets"
],
"styles": [
"src/styles.css"
],
"assets": ["src/favicon.ico", "src/assets"],
"styles": ["src/styles.css"],
"scripts": []
}
}
Expand Down
127 changes: 127 additions & 0 deletions client/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"@apollo/client": "^3.0.0",
"apollo-angular": "^5.0.2",
"graphql": "^16",
"ng-apexcharts": "^1.8.0",
"ngx-infinite-scroll": "^16.0.0",
"rxjs": "~7.8.0",
"tslib": "^2.3.0",
Expand Down
2 changes: 2 additions & 0 deletions client/src/app/app.module.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { InfiniteScrollModule } from 'ngx-infinite-scroll';
import { NgApexchartsModule } from 'ng-apexcharts';

import { AppComponent } from './app.component';
import { PostsComponent } from './posts/posts.component';
Expand All @@ -14,6 +15,7 @@ import { HttpClientModule } from '@angular/common/http';
GraphQLModule,
HttpClientModule,
InfiniteScrollModule,
NgApexchartsModule,
],
providers: [],
bootstrap: [AppComponent],
Expand Down

0 comments on commit 008ee5a

Please sign in to comment.