@aws-sdk/service-client-documentation-generator
Advanced tools
Comparing version 3.52.0 to 3.55.0
@@ -6,2 +6,10 @@ # Change Log | ||
# [3.55.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.1...v3.55.0) (2022-03-21) | ||
**Note:** Version bump only for package @aws-sdk/service-client-documentation-generator | ||
# [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18) | ||
@@ -8,0 +16,0 @@ |
@@ -17,6 +17,6 @@ "use strict"; | ||
return; | ||
const rawComment = comment_1.getRawComment(node); | ||
const rawComment = (0, comment_1.getRawComment)(node); | ||
if (!rawComment) | ||
return; | ||
const comment = comment_1.parseComment(this.cleanEmptyCommentLines(rawComment)); | ||
const comment = (0, comment_1.parseComment)(this.cleanEmptyCommentLines(rawComment)); | ||
reflection.comment = comment; | ||
@@ -34,4 +34,4 @@ } | ||
SdkClientCommentUpdatePlugin = tslib_1.__decorate([ | ||
components_1.Component({ name: "SdkClientCommentUpdatePlugin" }) | ||
(0, components_1.Component)({ name: "SdkClientCommentUpdatePlugin" }) | ||
], SdkClientCommentUpdatePlugin); | ||
exports.SdkClientCommentUpdatePlugin = SdkClientCommentUpdatePlugin; |
@@ -23,4 +23,4 @@ "use strict"; | ||
SdkClientRemoveNavigatorPlugin = tslib_1.__decorate([ | ||
components_1.Component({ name: "SdkClientRemoveNavigator" }) | ||
(0, components_1.Component)({ name: "SdkClientRemoveNavigator" }) | ||
], SdkClientRemoveNavigatorPlugin); | ||
exports.SdkClientRemoveNavigatorPlugin = SdkClientRemoveNavigatorPlugin; |
@@ -22,5 +22,5 @@ "use strict"; | ||
if (!this.projectName) { | ||
const clientDirectory = utils_1.getCurrentClientDirectory(event); | ||
const clientDirectory = (0, utils_1.getCurrentClientDirectory)(event); | ||
const metadataDir = (_b = (_a = clientDirectory.files.filter((sourceFile) => sourceFile.fileName.endsWith("/package.json"))) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.fullFileName; | ||
const { name } = metadataDir || JSON.parse(fs_1.readFileSync(metadataDir).toString()); | ||
const { name } = metadataDir || JSON.parse((0, fs_1.readFileSync)(metadataDir).toString()); | ||
const serviceIdReflection = (_e = (_d = (_c = clientDirectory.directories.src.files) === null || _c === void 0 ? void 0 : _c.filter((sourceFile) => sourceFile.fileName.endsWith("/runtimeConfig.shared.ts"))) === null || _d === void 0 ? void 0 : _d[0].reflections.filter((reflection) => reflection.name === "serviceId")) === null || _e === void 0 ? void 0 : _e[0]; | ||
@@ -35,4 +35,4 @@ this.projectName = serviceIdReflection | ||
SdkClientRenameProjectPlugin = tslib_1.__decorate([ | ||
components_1.Component({ name: "SdkClientRenameProject" }) | ||
(0, components_1.Component)({ name: "SdkClientRenameProject" }) | ||
], SdkClientRenameProjectPlugin); | ||
exports.SdkClientRenameProjectPlugin = SdkClientRenameProjectPlugin; |
@@ -120,9 +120,9 @@ "use strict"; | ||
} | ||
const clientsDirectory = utils_1.getCurrentClientDirectory({ project: projectModel }); | ||
return path_1.dirname(path_1.dirname(clientsDirectory === null || clientsDirectory === void 0 ? void 0 : clientsDirectory.directories.src.files.find((file) => file.name.endsWith("Client.ts")).fullFileName)); | ||
const clientsDirectory = (0, utils_1.getCurrentClientDirectory)({ project: projectModel }); | ||
return (0, path_1.dirname)((0, path_1.dirname)(clientsDirectory === null || clientsDirectory === void 0 ? void 0 : clientsDirectory.directories.src.files.find((file) => file.name.endsWith("Client.ts")).fullFileName)); | ||
} | ||
}; | ||
SdkClientTocPlugin = tslib_1.__decorate([ | ||
components_1.Component({ name: "SdkClientTocPlugin" }) | ||
(0, components_1.Component)({ name: "SdkClientTocPlugin" }) | ||
], SdkClientTocPlugin); | ||
exports.SdkClientTocPlugin = SdkClientTocPlugin; |
@@ -29,3 +29,3 @@ import { __decorate, __extends } from "tslib"; | ||
this.projectName = serviceIdReflection | ||
? serviceIdReflection.defaultValue.match(/"(.*)"/)[1] + " Client - AWS SDK for JavaScript v3" | ||
? "".concat(serviceIdReflection.defaultValue.match(/"(.*)"/)[1], " Client - AWS SDK for JavaScript v3") | ||
: name; | ||
@@ -32,0 +32,0 @@ } |
@@ -50,3 +50,3 @@ import { __decorate, __extends } from "tslib"; | ||
(model.name.endsWith("Client") || | ||
extendedTypes.filter(function (reference) { return reference.name === model.name + "Client"; }).length > 0) && | ||
extendedTypes.filter(function (reference) { return reference.name === "".concat(model.name, "Client"); }).length > 0) && | ||
this.belongsToClientPackage(model)); | ||
@@ -53,0 +53,0 @@ }; |
{ | ||
"name": "@aws-sdk/service-client-documentation-generator", | ||
"version": "3.52.0", | ||
"version": "3.55.0", | ||
"scripts": { | ||
@@ -25,3 +25,3 @@ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'", | ||
"dependencies": { | ||
"tslib": "^2.3.0" | ||
"tslib": "^2.3.1" | ||
}, | ||
@@ -35,3 +35,3 @@ "devDependencies": { | ||
"typedoc": "0.19.2", | ||
"typescript": "~4.3.5" | ||
"typescript": "~4.6.2" | ||
}, | ||
@@ -38,0 +38,0 @@ "typesVersions": { |
62447
Updatedtslib@^2.3.1