From af532aa725388d4f1faea58caef6633290ecbd51 Mon Sep 17 00:00:00 2001 From: Roman Hotsiy Date: Wed, 3 Feb 2016 18:49:36 +0200 Subject: [PATCH 1/3] remove postinstall script --- README.md | 3 ++- package.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5c1b103c..a460b5e1 100644 --- a/README.md +++ b/README.md @@ -104,8 +104,9 @@ Redoc.init('http://petstore.swagger.io/v2/swagger.json', { `git clone https://github.com/Rebilly/ReDoc.git` 2. Go to the project folder `cd ReDoc` -3. Install node modules +3. Install node modules and front-end dependencies `npm install` +`npm run jspm-install` 4. _(optional)_ Replace `demo/swagger.json` with your own schema 5. Start the server `npm start` diff --git a/package.json b/package.json index 0b95f705..4aa2ebd6 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "scripts": { "test": "gulp lint && ./build/run_tests.sh", "prepublish": "gulp build", - "postinstall": "npm install jspm && jspm install", + "jspm-install": "jspm install", "start": "gulp serve", "build-dist": "gulp build", "branch-release": "git reset --hard && branch-release", From 4ae4e4db4f20d71e0aaec59965e854b2dd9b496f Mon Sep 17 00:00:00 2001 From: Roman Hotsiy Date: Wed, 3 Feb 2016 18:50:02 +0200 Subject: [PATCH 2/3] descriminator minor ui fix --- lib/components/JsonSchema/json-schema.scss | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/components/JsonSchema/json-schema.scss b/lib/components/JsonSchema/json-schema.scss index ce1605d1..50948819 100644 --- a/lib/components/JsonSchema/json-schema.scss +++ b/lib/components/JsonSchema/json-schema.scss @@ -78,3 +78,10 @@ $array-marker-line-height: 1.5; background-color: $headers-color; } } + +tabs .params-wrap > .param-wrap:first-of-type .param-name { + border-left: 0; + &:before { + display: none; + } +} From 25f65c475764b6e00c7609650f4c381d22f5a987 Mon Sep 17 00:00:00 2001 From: Roman Hotsiy Date: Wed, 3 Feb 2016 18:50:17 +0200 Subject: [PATCH 3/3] v0.5.2 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 4aa2ebd6..02d313da 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "redoc", "description": "Swagger-generated API Reference Documentation", - "version": "0.5.1", + "version": "0.5.2", "repository": { "type": "git", "url": "git://github.com/Rebilly/ReDoc"