diff --git a/book.json b/book.json index e3f39d15f1..67da0b9e7f 100755 --- a/book.json +++ b/book.json @@ -21,6 +21,7 @@ "name": "Keycloak", "version": "3.0.0.CR1-SNAPSHOT", "versionMvn": "3.0.0.CR1-SNAPSHOT" + "versionNpm": "3.0.0-cr.1" }, "community": true, "product": false, diff --git a/securing_apps/book-product.json b/securing_apps/book-product.json index 46bdc38a04..d4806d7f75 100755 --- a/securing_apps/book-product.json +++ b/securing_apps/book-product.json @@ -14,6 +14,7 @@ "name": "Red Hat Single Sign-On", "version": "7.1.0", "versionMvn": "2.4.0.Final-redhat-1", + "versionNpm": "2.4.0-Final-redhat-1", "doc_base_url": "https://access.redhat.com/documentation/en/red-hat-single-sign-on/", "doc_info_version_url": "7.1" }, diff --git a/securing_apps/topics/oidc/nodejs-adapter.adoc b/securing_apps/topics/oidc/nodejs-adapter.adoc index 8701deed5e..465cad9176 100644 --- a/securing_apps/topics/oidc/nodejs-adapter.adoc +++ b/securing_apps/topics/oidc/nodejs-adapter.adoc @@ -24,8 +24,8 @@ Use `npm init` command to create a `package.json` for your application. Now add [source,json,subs="attributes"] ---- - dependencies": { - "keycloak-connect": "{{book.project.versionMvn}}" + "dependencies": { + "keycloak-connect": "{{book.project.versionNpm}}" } ---- @@ -35,8 +35,8 @@ Use `npm init` command to create a `package.json` for your application. Now add [source,json,subs="attributes"] ---- - dependencies": { - "keycloak-connect": "file:rh-sso-{{book.project.version}}-nodejs-adapter.tgz" + "dependencies": { + "keycloak-connect": "file:keycloak-connect-{{book.project.versionNpm}}.tgz" } ----