diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..6f883e0 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,25 @@ +## [1.3.0] - 2021-07-15 +### Updates +- update to Angular 12 +- update all dependencies to match Angular 12 version + +When you build and serve your app it is possible that some warnings to appear on your terminal. Those will NOT affect your product. + +## [1.2.0] - 2020-10-02 +### Updates +- update to Angular 10 +- update all dependencies to match Angular 10 version + + +## [1.1.0] - 2020-03-06 +### Updates +- update to Angular 9 +- update all dependencies to match Angular 9 version + + +## [1.0.1] - 2019-08-05 +### Bug fixing +- fix datepicker style + +## [1.0.0] - 2019-03-14 +### Initial Release diff --git a/ISSUE_TEMPLATE.md b/ISSUE_TEMPLATE.md new file mode 100644 index 0000000..7ab53d4 --- /dev/null +++ b/ISSUE_TEMPLATE.md @@ -0,0 +1,13 @@ + + + diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 0000000..c0a257e --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,9 @@ +MIT License + +Copyright (c) 2019 [Creative Tim](https://www.creative-tim.com) + +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. diff --git a/angular.json b/angular.json new file mode 100644 index 0000000..9ea2f74 --- /dev/null +++ b/angular.json @@ -0,0 +1,166 @@ +{ + "$schema": "./node_modules/@angular/cli/lib/config/schema.json", + "version": 1, + "newProjectRoot": "projects", + "projects": { + "argon-dashboard-angular": { + "root": "", + "sourceRoot": "src", + "projectType": "application", + "prefix": "app", + "schematics": { + "@schematics/angular:component": { + "styleext": "scss" + } + }, + "architect": { + "build": { + "builder": "@angular-devkit/build-angular:browser", + "options": { + "outputPath": "dist", + "index": "src/index.html", + "main": "src/main.ts", + "polyfills": "src/polyfills.ts", + "tsConfig": "src/tsconfig.app.json", + "allowedCommonJsDependencies": ["chart.js"], + "assets": [ + "src/favicon.ico", + "src/assets" + ], + "styles": [ + "src/styles.scss", + "src/assets/scss/argon.scss" + ], + "scripts": [ + "node_modules/chart.js/dist/Chart.min.js", + "node_modules/clipboard/dist/clipboard.min.js" + ] + }, + "configurations": { + "production": { + "optimization": { + "scripts": true, + "styles": { + "minify": false, + "inlineCritical": false + }, + "fonts": true + }, + "outputHashing": "all", + "sourceMap": false, + "namedChunks": false, + "aot": true, + "extractLicenses": true, + "vendorChunk": false, + "buildOptimizer": true, + "fileReplacements": [ + { + "replace": "src/environments/environment.ts", + "with": "src/environments/environment.prod.ts" + } + ] + }, + "development": { + "buildOptimizer": false, + "optimization": { + "scripts": true, + "styles": { + "minify": false, + "inlineCritical": true + }, + "fonts": true + }, + "outputHashing": "all", + } + } + }, + "serve": { + "builder": "@angular-devkit/build-angular:dev-server", + "options": { + "browserTarget": "argon-dashboard-angular:build" + }, + "configurations": { + "production": { + "browserTarget": "argon-dashboard-angular:build:production" + }, + "development": { + "browserTarget": "argon-dashboard-angular:build:development" + } + }, + "defaultConfiguration": "production", + }, + "extract-i18n": { + "builder": "@angular-devkit/build-angular:extract-i18n", + "options": { + "browserTarget": "argon-dashboard-angular:build" + } + }, + "test": { + "builder": "@angular-devkit/build-angular:karma", + "options": { + "main": "src/test.ts", + "polyfills": "src/polyfills.ts", + "tsConfig": "src/tsconfig.spec.json", + "karmaConfig": "src/karma.conf.js", + "styles": [ + "src/styles.css" + ], + "scripts": [], + "assets": [ + "src/favicon.ico", + "src/assets" + ] + } + }, + "lint": { + "builder": "@angular-devkit/build-angular:tslint", + "options": { + "tsConfig": [ + "src/tsconfig.app.json", + "src/tsconfig.spec.json" + ], + "exclude": [ + "**/node_modules/**" + ] + } + } + } + }, + "argon-dashboard-angular-e2e": { + "root": "e2e/", + "projectType": "application", + "architect": { + "e2e": { + "builder": "@angular-devkit/build-angular:protractor", + "options": { + "protractorConfig": "e2e/protractor.conf.js", + "devServerTarget": "argon-dashboard-angular:serve" + }, + "configurations": { + "production": { + "devServerTarget": "argon-dashboard-angular:serve:production" + } + } + }, + "lint": { + "builder": "@angular-devkit/build-angular:tslint", + "options": { + "tsConfig": "e2e/tsconfig.e2e.json", + "exclude": [ + "**/node_modules/**" + ] + } + } + } + } + }, + "defaultProject": "argon-dashboard-angular", + "schematics": { + "@schematics/angular:component": { + "styleext": "scss" + } + }, + "cli": { + "analytics": false + } +} diff --git a/package.json b/package.json new file mode 100644 index 0000000..7b149a7 --- /dev/null +++ b/package.json @@ -0,0 +1,57 @@ +{ + "name": "argon-dashboard-angular", + "version": "1.2.0", + "scripts": { + "ng": "ng", + "start": "ng serve", + "build": "ng build", + "test": "ng test", + "lint": "ng lint", + "e2e": "ng e2e", + "install:clean": "rm -rf node_modules/ && rm -rf package-lock.json && npm install && npm start" + }, + "private": true, + "dependencies": { + "@angular/animations": "12.1.2", + "@angular/common": "12.1.2", + "@angular/compiler": "12.1.2", + "@angular/core": "12.1.2", + "@angular/forms": "12.1.2", + "@angular/http": "7.2.16", + "@angular/localize": "^12.1.2", + "@angular/platform-browser": "12.1.2", + "@angular/platform-browser-dynamic": "12.1.2", + "@angular/router": "12.1.2", + "@ng-bootstrap/ng-bootstrap": "10.0.0", + "bootstrap": "4.5.2", + "chart.js": "2.9.3", + "clipboard": "2.0.6", + "core-js": "3.15.2", + "ngx-clipboard": "14.0.1", + "ngx-toastr": "14.0.0", + "nouislider": "14.6.2", + "rxjs": "7.2.0", + "zone.js": "0.11.4" + }, + "devDependencies": { + "@angular-devkit/build-angular": "12.1.2", + "@angular/cli": "12.1.2", + "@angular/compiler-cli": "12.1.2", + "@angular/language-service": "12.1.2", + "@types/jasmine": "3.8.1", + "@types/jasminewd2": "2.0.10", + "@types/node": "16.3.2", + "codelyzer": "6.0.2", + "jasmine-core": "3.8.0", + "jasmine-spec-reporter": "7.0.0", + "karma": "6.3.4", + "karma-chrome-launcher": "3.1.0", + "karma-coverage-istanbul-reporter": "3.0.3", + "karma-jasmine": "4.0.1", + "karma-jasmine-html-reporter": "1.7.0", + "protractor": "7.0.0", + "ts-node": "10.1.0", + "tslint": "6.1.3", + "typescript": "4.3.5" + } +}