Skip to content

Commit

Permalink
docs(keycloak-angular): updated keycloak-heroes example to angular 7
Browse files Browse the repository at this point in the history
  • Loading branch information
Mauricio Vigolo authored and Mauricio Vigolo committed Nov 27, 2018
1 parent f86e189 commit 40fc5c2
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 34 deletions.
13 changes: 10 additions & 3 deletions examples/keycloak-heroes/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@
},
"configurations": {
"production": {
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.prod.ts"
}
],
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
Expand All @@ -38,10 +44,11 @@
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"fileReplacements": [
"budgets": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.prod.ts"
"type": "initial",
"maximumWarning": "2mb",
"maximumError": "5mb"
}
]
}
Expand Down
59 changes: 29 additions & 30 deletions examples/keycloak-heroes/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "keycloak-heroes",
"version": "2.0.0",
"version": "3.0.0",
"license": "MIT",
"scripts": {
"ng": "ng",
Expand All @@ -15,44 +15,43 @@
"email": "@mauriciovigolo"
},
"dependencies": {
"@angular/animations": "^6.0.0",
"@angular/common": "^6.0.0",
"@angular/compiler": "^6.0.0",
"@angular/core": "^6.0.0",
"@angular/forms": "^6.0.0",
"@angular/http": "^6.0.0",
"@angular/platform-browser": "^6.0.0",
"@angular/platform-browser-dynamic": "^6.0.0",
"@angular/router": "^6.0.0",
"@clr/angular": "^0.11.19",
"@clr/icons": "^0.11.19",
"@clr/ui": "^0.11.19",
"@angular/animations": "^7.0.0",
"@angular/common": "^7.0.0",
"@angular/compiler": "^7.0.0",
"@angular/core": "^7.0.0",
"@angular/forms": "^7.0.0",
"@angular/http": "^7.0.0",
"@angular/platform-browser": "^7.0.0",
"@angular/platform-browser-dynamic": "^7.0.0",
"@angular/router": "^7.0.0",
"@clr/angular": "^0.13.10",
"@clr/icons": "^0.13.10",
"@clr/ui": "^0.13.10",
"@webcomponents/custom-elements": "^1.0.0",
"core-js": "^2.5.4",
"keycloak-angular": "^4.0.0",
"rxjs": "^6.0.0",
"rxjs-compat": "^6.2.0",
"keycloak-angular": "^5.0.0",
"rxjs": "^6.3.3",
"zone.js": "^0.8.26"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.6.6",
"@angular/cli": "~6.0.0",
"@angular/compiler-cli": "^6.0.0",
"@angular/language-service": "^6.0.0",
"@types/jasmine": "~2.8.6",
"@types/jasminewd2": "~2.0.3",
"@angular-devkit/build-angular": "~0.10.0",
"@angular/cli": "~7.0.6",
"@angular/compiler-cli": "~7.0.0",
"@angular/language-service": "~7.0.0",
"@types/node": "~8.9.4",
"codelyzer": "~4.2.1",
"@types/jasmine": "~2.8.8",
"@types/jasminewd2": "~2.0.3",
"codelyzer": "~4.5.0",
"jasmine-core": "~2.99.1",
"jasmine-spec-reporter": "~4.2.1",
"karma": "~1.7.1",
"karma": "~3.0.0",
"karma-chrome-launcher": "~2.2.0",
"karma-coverage-istanbul-reporter": "~1.4.2",
"karma-jasmine": "~1.1.1",
"karma-coverage-istanbul-reporter": "~2.0.1",
"karma-jasmine": "~1.1.2",
"karma-jasmine-html-reporter": "^0.2.2",
"protractor": "~5.3.0",
"ts-node": "~5.0.1",
"tslint": "~5.9.1",
"typescript": "~2.7.0"
"protractor": "~5.4.0",
"ts-node": "~7.0.0",
"tslint": "~5.11.0",
"typescript": "~3.1.6"
}
}
2 changes: 1 addition & 1 deletion examples/keycloak-heroes/src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { initializer } from './utils/app-init';
imports: [
BrowserModule,
HttpClientModule,
ClarityModule.forRoot(),
ClarityModule,
KeycloakAngularModule,
AppRoutingModule
],
Expand Down

0 comments on commit 40fc5c2

Please sign in to comment.