@microsoft.azure/autorest.typescript
Version:
The typescript extension for classic generators in AutoRest.
34 lines (33 loc) • 1.35 kB
text/typescript
import { ChangeClonedDependenciesToOptions, joinPath, resolvePath, Logger, getDefaultLogger, wrapLogger } from "@ts-common/azure-js-dev-tools";
const repositoryFolderPath: string = resolvePath(__dirname, "..");
const testFolderPath: string = joinPath(repositoryFolderPath, "test");
const multiapiFolderPath: string = joinPath(testFolderPath, "multiapi");
const multiapiPackagesFolderPath: string = joinPath(multiapiFolderPath, "packages");
export const dependenciesOptions: ChangeClonedDependenciesToOptions = {
packageFolders: [
{
path: repositoryFolderPath,
dependenciesToIgnore: ["autorest"]
},
joinPath(testFolderPath, "azuremetadata/generated/Lro"),
joinPath(testFolderPath, "metadata/generated/BodyComplex"),
{
path: joinPath(multiapiPackagesFolderPath, "multiapi-test-2018-02-01"),
runNPMInstall: false
},
{
path: joinPath(multiapiPackagesFolderPath, "multiapi-test-2017-10-01"),
runNPMInstall: false
},
{
path: joinPath(multiapiPackagesFolderPath, "multiapi-test"),
runNPMInstall: false,
dependenciesToIgnore: ["@azure/multiapi-test-2018-02-01"]
},
multiapiFolderPath
],
extraFilesToUpdate: [
joinPath(repositoryFolderPath, "src/vanilla/Model/CodeModelTS.cs"),
joinPath(repositoryFolderPath, "src/azure/Model/CodeModelTSa.cs")
]
}