diff --git a/CHANGELOG.md b/CHANGELOG.md index 8e15aef..1c6ae4e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,22 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +### [1.0.13](https://github.com/nrccua/apollo-rest-utils/compare/1.0.12...1.0.13) (2021-11-22) + + +### Changes + +* [E4E-30]: Typo inception ([4fef9ae](https://github.com/nrccua/apollo-rest-utils/commit/4fef9ae4d34446801259ad4ea4992fbed1c6dcc2)) +* [E4E-30]: 1.0.12 ([17195db](https://github.com/nrccua/apollo-rest-utils/commit/17195db1caaea1f94c3586a644975fa2581e54bc)) + +### [1.0.12](https://github.com/nrccua/apollo-rest-utils/compare/1.0.11...1.0.12) (2021-11-22) + + +### Changes + +* [E4E-30]: Fix typo ([72a57dc](https://github.com/nrccua/apollo-rest-utils/commit/72a57dc81a3426811cfd680fd1398e934505ceb1)) +* [E4E-30]: 1.0.11 ([d6c1039](https://github.com/nrccua/apollo-rest-utils/commit/d6c1039ca24d04227e48edee6849b2d6eb97e9d5)) + ### [1.0.11](https://github.com/nrccua/apollo-rest-utils/compare/1.0.10...1.0.11) (2021-11-21) diff --git a/lib/generateRoutes/index.ts b/lib/generateRoutes/index.ts index 787d867..6bc13e8 100644 --- a/lib/generateRoutes/index.ts +++ b/lib/generateRoutes/index.ts @@ -67,7 +67,7 @@ export async function generateTypes(apiPath: string, filePath: string): Promise< export function generateTypescript(api: OpenAPI.Document, typeImportLocation: string): string { let generatedTSEndpoints = '/**\n* This file was auto-generated by the generateRoutes endpoint generator.\n* Do not make direct changes to the file.\n' + - '* To update this file run `npm run updatee:endpoints`\n*/\n\n'; + `* To update this file run \`npx apollo-rest-utils \`\n*/\n\n`; generatedTSEndpoints += `import {operations} from '${typeImportLocation}'\n\nimport { IRestEndpoint} from 'apollo-rest-utils';\n\n\n`; // Create an object representing routes by method, e.g., { 'get': {}, ... } // eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-member-access diff --git a/package-lock.json b/package-lock.json index 10e342e..fdcb56c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "apollo-rest-utils", - "version": "1.0.11", + "version": "1.0.13", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index eb1b8f8..d6e50c4 100644 --- a/package.json +++ b/package.json @@ -65,5 +65,5 @@ "test:unit": "NODE_ENV=test jest --silent --coverage", "update:version": "standard-version" }, - "version": "1.0.11" + "version": "1.0.13" }