Skip to content

Commit

Permalink
feat: use keycloak-js dependency from COMMON package instead of the A…
Browse files Browse the repository at this point in the history
…NGULAR package
  • Loading branch information
renanfranca committed Sep 20, 2024
1 parent 6d72a52 commit d7b3f2a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package tech.jhipster.lite.generator.client.angular.security.oauth2.domain;

import static tech.jhipster.lite.module.domain.JHipsterModule.*;
import static tech.jhipster.lite.module.domain.npm.JHLiteNpmVersionSource.ANGULAR;
import static tech.jhipster.lite.module.domain.npm.JHLiteNpmVersionSource.*;
import static tech.jhipster.lite.module.domain.replacement.ReplacementCondition.notMatchingRegex;

import java.util.regex.Pattern;
Expand Down Expand Up @@ -114,7 +114,7 @@ public JHipsterModule buildModule(JHipsterModuleProperties properties) {
//@formatter:off
return moduleBuilder(properties)
.packageJson()
.addDependency(packageName("keycloak-js"), ANGULAR)
.addDependency(packageName("keycloak-js"), COMMON)
.and()
.files()
.batch(SOURCE.append("auth"), APP_DESTINATION.append("auth"))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"@angular/core": "18.2.4",
"@angular/material": "18.2.4",
"angular-eslint": "18.3.1",
"keycloak-js": "25.0.5",
"rxjs": "7.8.1",
"tslib": "2.7.0",
"zone.js": "0.14.10"
Expand Down

0 comments on commit d7b3f2a

Please sign in to comment.