@azure-tools/rlc-common
Advanced tools
Comparing version 0.14.0-alpha.20230726.2 to 0.14.0-alpha.20230731.1
{ | ||
"nonCachedDurationMs": 6397.575773000019 | ||
"nonCachedDurationMs": 6733.143727000017 | ||
} |
@@ -33,8 +33,8 @@ { | ||
"packages/rlc-common/src/index.ts": "3d16dd6148dd3bd43d7b0e7132d81472f74ba27e", | ||
"packages/rlc-common/src/interfaces.ts": "7b4c7b97636bf964129eb2ae061a50b198beb104", | ||
"packages/rlc-common/src/interfaces.ts": "01eabe2c4979a49b3245a42410ea38b2bb09e88a", | ||
"packages/rlc-common/src/metadata/buildApiExtractorConfig.ts": "4bcc63b3551d923d2881adb015b23978a2539e14", | ||
"packages/rlc-common/src/metadata/buildESLintConfig.ts": "b0530cba08bf5e29cc1d307b93363f66c1e6b81d", | ||
"packages/rlc-common/src/metadata/buildLicenseFile.ts": "ce4083770e48d3b0dd670f7efc324a7fed10dac4", | ||
"packages/rlc-common/src/metadata/buildPackageFile.ts": "f738ecdc6e16ff4b44047d6fcfc23361a8fb900f", | ||
"packages/rlc-common/src/metadata/buildReadmeFile.ts": "649510f75d04ba8438202b92b83a56d3d3206efe", | ||
"packages/rlc-common/src/metadata/buildPackageFile.ts": "87b1a192c78588b89393eb4b8a8829e419f1d20e", | ||
"packages/rlc-common/src/metadata/buildReadmeFile.ts": "75f2d8c12221ec5646b8272ce48d129c7dbc51c5", | ||
"packages/rlc-common/src/metadata/buildRollupConfig.ts": "56a0ac2b69266d8a3192981abc4c09fcde444634", | ||
@@ -41,0 +41,0 @@ "packages/rlc-common/src/metadata/buildTsConfig.ts": "861d8af19f1e8658b7fef02b51c63d4f006c76f3", |
@@ -50,2 +50,3 @@ // Copyright (c) Microsoft Corporation. | ||
let apiRefUrlQueryParameter = ""; | ||
packageDetails.version = packageDetails.version ?? "1.0.0-beta.1"; | ||
if (packageDetails.version.includes("beta")) { | ||
@@ -197,3 +198,3 @@ apiRefUrlQueryParameter = "?view=azure-node-preview"; | ||
packageInfo.devDependencies["karma-env-preprocessor"] = "^0.1.1"; | ||
packageInfo.devDependencies["karma-firefox-launcher"] = "^1.1.0"; | ||
packageInfo.devDependencies["karma-firefox-launcher"] = "^2.1.2"; | ||
packageInfo.devDependencies["karma-junit-reporter"] = "^2.0.1"; | ||
@@ -203,3 +204,3 @@ packageInfo.devDependencies["karma-mocha-reporter"] = "^2.2.5"; | ||
packageInfo.devDependencies["karma-source-map-support"] = "~1.4.0"; | ||
packageInfo.devDependencies["karma-sourcemap-loader"] = "^0.3.8"; | ||
packageInfo.devDependencies["karma-sourcemap-loader"] = "^0.4.0"; | ||
packageInfo.devDependencies["karma"] = "^6.2.0"; | ||
@@ -206,0 +207,0 @@ packageInfo.devDependencies["nyc"] = "^15.0.0"; |
@@ -114,2 +114,3 @@ // @ts-ignore: to fix the handlebars issue | ||
let apiRefUrlQueryParameter = ""; | ||
packageDetails.version = packageDetails.version ?? "1.0.0-beta.1"; | ||
if (packageDetails?.version.includes("beta")) { | ||
@@ -116,0 +117,0 @@ apiRefUrlQueryParameter = "?view=azure-node-preview"; |
@@ -40,3 +40,3 @@ "use strict"; | ||
function restLevelPackage(model, hasSamplesGenerated) { | ||
var _a, _b; | ||
var _a, _b, _c; | ||
if (!model.options || !model.options.packageDetails) { | ||
@@ -57,2 +57,3 @@ return; | ||
let apiRefUrlQueryParameter = ""; | ||
packageDetails.version = (_a = packageDetails.version) !== null && _a !== void 0 ? _a : "1.0.0-beta.1"; | ||
if (packageDetails.version.includes("beta")) { | ||
@@ -196,3 +197,3 @@ apiRefUrlQueryParameter = "?view=azure-node-preview"; | ||
packageInfo.devDependencies["karma-env-preprocessor"] = "^0.1.1"; | ||
packageInfo.devDependencies["karma-firefox-launcher"] = "^1.1.0"; | ||
packageInfo.devDependencies["karma-firefox-launcher"] = "^2.1.2"; | ||
packageInfo.devDependencies["karma-junit-reporter"] = "^2.0.1"; | ||
@@ -202,3 +203,3 @@ packageInfo.devDependencies["karma-mocha-reporter"] = "^2.2.5"; | ||
packageInfo.devDependencies["karma-source-map-support"] = "~1.4.0"; | ||
packageInfo.devDependencies["karma-sourcemap-loader"] = "^0.3.8"; | ||
packageInfo.devDependencies["karma-sourcemap-loader"] = "^0.4.0"; | ||
packageInfo.devDependencies["karma"] = "^6.2.0"; | ||
@@ -245,3 +246,3 @@ packageInfo.devDependencies["nyc"] = "^15.0.0"; | ||
packageInfo["//sampleConfiguration"] = { | ||
productName: (_b = (_a = model.options.serviceInfo) === null || _a === void 0 ? void 0 : _a.title) !== null && _b !== void 0 ? _b : model.libraryName, | ||
productName: (_c = (_b = model.options.serviceInfo) === null || _b === void 0 ? void 0 : _b.title) !== null && _c !== void 0 ? _c : model.libraryName, | ||
productSlugs: ["azure"], | ||
@@ -248,0 +249,0 @@ disableDocsMs: true, |
@@ -103,3 +103,3 @@ "use strict"; | ||
function createMetadata(model) { | ||
var _a; | ||
var _a, _b; | ||
if (!model.options || !model.options.packageDetails) { | ||
@@ -121,2 +121,3 @@ return; | ||
let apiRefUrlQueryParameter = ""; | ||
packageDetails.version = (_a = packageDetails.version) !== null && _a !== void 0 ? _a : "1.0.0-beta.1"; | ||
if (packageDetails === null || packageDetails === void 0 ? void 0 : packageDetails.version.includes("beta")) { | ||
@@ -130,3 +131,3 @@ apiRefUrlQueryParameter = "?view=azure-node-preview"; | ||
clientDescriptiveName: `${serviceName} REST client`, | ||
description: (_a = serviceInfo === null || serviceInfo === void 0 ? void 0 : serviceInfo.description) !== null && _a !== void 0 ? _a : packageDetails.description, | ||
description: (_b = serviceInfo === null || serviceInfo === void 0 ? void 0 : serviceInfo.description) !== null && _b !== void 0 ? _b : packageDetails.description, | ||
serviceDocURL: productDocLink, | ||
@@ -133,0 +134,0 @@ packageSourceURL: packageSourceURL, |
{ | ||
"name": "@azure-tools/rlc-common", | ||
"version": "0.14.0-alpha.20230726.2", | ||
"version": "0.14.0-alpha.20230731.1", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -201,3 +201,3 @@ // Copyright (c) Microsoft Corporation. | ||
description?: string; | ||
version: string; | ||
version?: string; | ||
} | ||
@@ -204,0 +204,0 @@ export interface OperationParameter { |
@@ -78,2 +78,3 @@ // Copyright (c) Microsoft Corporation. | ||
let apiRefUrlQueryParameter: string = ""; | ||
packageDetails.version = packageDetails.version ?? "1.0.0-beta.1"; | ||
if (packageDetails.version.includes("beta")) { | ||
@@ -246,3 +247,3 @@ apiRefUrlQueryParameter = "?view=azure-node-preview"; | ||
packageInfo.devDependencies["karma-env-preprocessor"] = "^0.1.1"; | ||
packageInfo.devDependencies["karma-firefox-launcher"] = "^1.1.0"; | ||
packageInfo.devDependencies["karma-firefox-launcher"] = "^2.1.2"; | ||
packageInfo.devDependencies["karma-junit-reporter"] = "^2.0.1"; | ||
@@ -252,3 +253,3 @@ packageInfo.devDependencies["karma-mocha-reporter"] = "^2.2.5"; | ||
packageInfo.devDependencies["karma-source-map-support"] = "~1.4.0"; | ||
packageInfo.devDependencies["karma-sourcemap-loader"] = "^0.3.8"; | ||
packageInfo.devDependencies["karma-sourcemap-loader"] = "^0.4.0"; | ||
packageInfo.devDependencies["karma"] = "^6.2.0"; | ||
@@ -255,0 +256,0 @@ packageInfo.devDependencies["nyc"] = "^15.0.0"; |
@@ -172,2 +172,3 @@ import { RLCModel } from "../interfaces.js"; | ||
let apiRefUrlQueryParameter: string = ""; | ||
packageDetails.version = packageDetails.version ?? "1.0.0-beta.1"; | ||
if (packageDetails?.version.includes("beta")) { | ||
@@ -174,0 +175,0 @@ apiRefUrlQueryParameter = "?view=azure-node-preview"; |
@@ -177,3 +177,3 @@ export interface RLCModel { | ||
description?: string; | ||
version: string; | ||
version?: string; | ||
} | ||
@@ -180,0 +180,0 @@ export interface OperationParameter { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
748018
13062