From 719bea83033cb0028a8540593759c8bce350efa3 Mon Sep 17 00:00:00 2001 From: Bernd Date: Wed, 17 Apr 2019 06:18:13 +0200 Subject: [PATCH] [typescript-rxjs] fix samples and invalid package.json (#2674) * fix(typescript-rxjs): invalid package.json, align typescript version with rxjs * feat(typescript-rxjs): regenereate samples --- .../main/resources/typescript-rxjs/package.mustache | 4 ++-- .../typescript-rxjs/builds/es6-target/package.json | 4 ++-- .../builds/with-npm-version/package.json | 10 +++++----- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/modules/openapi-generator/src/main/resources/typescript-rxjs/package.mustache b/modules/openapi-generator/src/main/resources/typescript-rxjs/package.mustache index 4da6b0e44d5..ce875205e48 100644 --- a/modules/openapi-generator/src/main/resources/typescript-rxjs/package.mustache +++ b/modules/openapi-generator/src/main/resources/typescript-rxjs/package.mustache @@ -10,10 +10,10 @@ "prepare": "npm run build" }, "dependencies": { - "rxjs": "^6.3.3", + "rxjs": "^6.3.3" }, "devDependencies": { - "typescript": "^2.4" + "typescript": "^3.0.1" }{{#npmRepository}},{{/npmRepository}} {{#npmRepository}} "publishConfig":{ diff --git a/samples/client/petstore/typescript-rxjs/builds/es6-target/package.json b/samples/client/petstore/typescript-rxjs/builds/es6-target/package.json index 5b33f51d196..5359f787056 100644 --- a/samples/client/petstore/typescript-rxjs/builds/es6-target/package.json +++ b/samples/client/petstore/typescript-rxjs/builds/es6-target/package.json @@ -10,10 +10,10 @@ "prepare": "npm run build" }, "dependencies": { - "rxjs": "^6.3.3", + "rxjs": "^6.3.3" }, "devDependencies": { - "typescript": "^2.4" + "typescript": "^3.0.1" }, "publishConfig":{ "registry":"https://skimdb.npmjs.com/registry" diff --git a/samples/client/petstore/typescript-rxjs/builds/with-npm-version/package.json b/samples/client/petstore/typescript-rxjs/builds/with-npm-version/package.json index 5b33f51d196..6518ff70c35 100644 --- a/samples/client/petstore/typescript-rxjs/builds/with-npm-version/package.json +++ b/samples/client/petstore/typescript-rxjs/builds/with-npm-version/package.json @@ -5,17 +5,17 @@ "author": "OpenAPI-Generator", "main": "./dist/index.js", "typings": "./dist/index.d.ts", - "scripts" : { + "scripts": { "build": "tsc --outDir dist/", "prepare": "npm run build" }, "dependencies": { - "rxjs": "^6.3.3", + "rxjs": "^6.3.3" }, "devDependencies": { - "typescript": "^2.4" + "typescript": "^3.0.1" }, - "publishConfig":{ - "registry":"https://skimdb.npmjs.com/registry" + "publishConfig": { + "registry": "https://skimdb.npmjs.com/registry" } }