Merge pull request #63 from abstractj/nodejs-docs

Securing Apps Guide: Misleading dependencies instructions for Node.js adapter
This commit is contained in:
Stian Thorgersen 2017-03-22 13:47:53 +01:00 committed by GitHub
commit 1500bf1f9c
3 changed files with 6 additions and 4 deletions

View file

@ -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,

View file

@ -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"
},

View file

@ -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"
}
----