Fix broken sames from lib rename. (#209)
This commit is contained in:
Родитель
4b347984e1
Коммит
8699c486cb
|
@ -2,5 +2,5 @@
|
|||
//
|
||||
// As of this writing, it is a part of the node-http-ntlm module produced by SamDecrock.
|
||||
//
|
||||
// It is used as a part of the NTLM support provided by the vso-node-api library.
|
||||
// It is used as a part of the NTLM support provided by the azure-devops-node-api library.
|
||||
//
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
import * as cm from './common';
|
||||
import * as vm from 'vso-node-api';
|
||||
import * as vm from 'azure-devops-node-api';
|
||||
|
||||
import * as ba from 'vso-node-api/BuildApi';
|
||||
import * as bi from 'vso-node-api/interfaces/BuildInterfaces';
|
||||
import * as ba from 'azure-devops-node-api/BuildApi';
|
||||
import * as bi from 'azure-devops-node-api/interfaces/BuildInterfaces';
|
||||
|
||||
export async function run() {
|
||||
try
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
// A sample showing how to list VSTS build artifacts, and how to download a zip of a VSTS build artifact.
|
||||
import * as cm from './common';
|
||||
import * as vm from 'vso-node-api';
|
||||
import * as vm from 'azure-devops-node-api';
|
||||
import * as fs from 'fs';
|
||||
|
||||
import * as ba from 'vso-node-api/BuildApi';
|
||||
import * as bi from 'vso-node-api/interfaces/BuildInterfaces';
|
||||
import * as ba from 'azure-devops-node-api/BuildApi';
|
||||
import * as bi from 'azure-devops-node-api/interfaces/BuildInterfaces';
|
||||
|
||||
export async function run() {
|
||||
try
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import * as vm from 'vso-node-api';
|
||||
import * as lim from 'vso-node-api/interfaces/LocationsInterfaces';
|
||||
import * as vm from 'azure-devops-node-api';
|
||||
import * as lim from 'azure-devops-node-api/interfaces/LocationsInterfaces';
|
||||
|
||||
function getEnv(name: string): string {
|
||||
let val = process.env[name];
|
||||
|
|
|
@ -1,31 +1,27 @@
|
|||
import * as common from './common';
|
||||
import * as fs from 'fs';
|
||||
import * as path from 'path';
|
||||
import * as stream from 'stream';
|
||||
import * as vsoNodeApi from 'vso-node-api';
|
||||
import * as vsoNodeApi from 'azure-devops-node-api';
|
||||
|
||||
import { Build, Timeline } from 'vso-node-api/interfaces/BuildInterfaces';
|
||||
import { ContributedFeature } from 'vso-node-api/interfaces/FeatureManagementInterfaces';
|
||||
import { FileContainer } from 'vso-node-api/interfaces/FileContainerInterfaces';
|
||||
import { GitRepository, TfvcChangesetRef } from 'vso-node-api/interfaces/TfvcInterfaces';
|
||||
import { Identity, IdentitySelf } from 'vso-node-api/interfaces/IdentitiesInterfaces';
|
||||
import { Plan } from 'vso-node-api/interfaces/WorkInterfaces';
|
||||
import { PolicyType } from 'vso-node-api/interfaces/PolicyInterfaces';
|
||||
import { ProfileRegions } from 'vso-node-api/interfaces/ProfileInterfaces';
|
||||
import { ProjectLanguageAnalytics } from 'vso-node-api/interfaces/ProjectAnalysisInterfaces';
|
||||
import { Release } from 'vso-node-api/interfaces/ReleaseInterfaces';
|
||||
import { ResourceAreaInfo } from 'vso-node-api/interfaces/LocationsInterfaces';
|
||||
import { RequestedExtension } from 'vso-node-api/interfaces/ExtensionManagementInterfaces';
|
||||
import { SecurityRole } from 'vso-node-api/interfaces/SecurityRolesInterfaces';
|
||||
import { TaskAgentPool } from 'vso-node-api/interfaces/TaskAgentInterfaces';
|
||||
import { TestPlan } from 'vso-node-api/interfaces/TestInterfaces';
|
||||
import { Timeline as TaskAgentTimeline } from "vso-node-api/interfaces/TaskAgentInterfaces";
|
||||
import { WebApiTeam } from 'vso-node-api/interfaces/CoreInterfaces';
|
||||
import { WidgetScope, WidgetTypesResponse } from 'vso-node-api/interfaces/DashboardInterfaces';
|
||||
import { WorkItemField } from 'vso-node-api/interfaces/WorkItemTrackingInterfaces';
|
||||
import { ProcessModel } from 'vso-node-api/interfaces/WorkItemTrackingProcessInterfaces';
|
||||
import { PickListMetadataModel } from 'vso-node-api/interfaces/WorkItemTrackingProcessDefinitionsInterfaces';
|
||||
import { WikiV2 } from 'vso-node-api/interfaces/WikiInterfaces';
|
||||
import { Build } from 'azure-devops-node-api/interfaces/BuildInterfaces';
|
||||
import { ContributedFeature } from 'azure-devops-node-api/interfaces/FeatureManagementInterfaces';
|
||||
import { FileContainer } from 'azure-devops-node-api/interfaces/FileContainerInterfaces';
|
||||
import { GitRepository, TfvcChangesetRef } from 'azure-devops-node-api/interfaces/TfvcInterfaces';
|
||||
import { Plan } from 'azure-devops-node-api/interfaces/WorkInterfaces';
|
||||
import { PolicyType } from 'azure-devops-node-api/interfaces/PolicyInterfaces';
|
||||
import { ProfileRegions } from 'azure-devops-node-api/interfaces/ProfileInterfaces';
|
||||
import { ProjectLanguageAnalytics } from 'azure-devops-node-api/interfaces/ProjectAnalysisInterfaces';
|
||||
import { Release } from 'azure-devops-node-api/interfaces/ReleaseInterfaces';
|
||||
import { ResourceAreaInfo } from 'azure-devops-node-api/interfaces/LocationsInterfaces';
|
||||
import { RequestedExtension } from 'azure-devops-node-api/interfaces/ExtensionManagementInterfaces';
|
||||
import { SecurityRole } from 'azure-devops-node-api/interfaces/SecurityRolesInterfaces';
|
||||
import { TaskAgentPool } from 'azure-devops-node-api/interfaces/TaskAgentInterfaces';
|
||||
import { TestPlan } from 'azure-devops-node-api/interfaces/TestInterfaces';
|
||||
import { Timeline as TaskAgentTimeline } from "azure-devops-node-api/interfaces/TaskAgentInterfaces";
|
||||
import { WebApiTeam } from 'azure-devops-node-api/interfaces/CoreInterfaces';
|
||||
import { WidgetScope, WidgetTypesResponse } from 'azure-devops-node-api/interfaces/DashboardInterfaces';
|
||||
import { WorkItemField } from 'azure-devops-node-api/interfaces/WorkItemTrackingInterfaces';
|
||||
import { ProcessModel } from 'azure-devops-node-api/interfaces/WorkItemTrackingProcessInterfaces';
|
||||
import { PickListMetadataModel } from 'azure-devops-node-api/interfaces/WorkItemTrackingProcessDefinitionsInterfaces';
|
||||
import { WikiV2 } from 'azure-devops-node-api/interfaces/WikiInterfaces';
|
||||
|
||||
// In order for this to run you will need to set the following environment variables:
|
||||
//
|
||||
|
|
|
@ -1,12 +1,6 @@
|
|||
import * as fs from 'fs';
|
||||
import * as path from 'path';
|
||||
import * as stream from 'stream';
|
||||
|
||||
import * as cm from './common';
|
||||
import * as vm from 'vso-node-api';
|
||||
|
||||
import * as ta from 'vso-node-api/FileContainerApi';
|
||||
import * as ti from 'vso-node-api/interfaces/FileContainerInterfaces';
|
||||
import * as vm from 'azure-devops-node-api';
|
||||
import * as ti from 'azure-devops-node-api/interfaces/FileContainerInterfaces';
|
||||
|
||||
export async function run() {
|
||||
try
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
"vso-node-api": {
|
||||
"azure-devops-node-api": {
|
||||
"version": "file:../_build",
|
||||
"requires": {
|
||||
"tunnel": "0.0.4",
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
"description": "VSTS Node Api Samples",
|
||||
"main": "build.js",
|
||||
"dependencies": {
|
||||
"vso-node-api": "file:../_build"
|
||||
"azure-devops-node-api": "file:../_build"
|
||||
},
|
||||
"devDependencies": {},
|
||||
"scripts": {
|
||||
|
|
|
@ -4,10 +4,10 @@ import * as stream from 'stream';
|
|||
import * as sh from 'shelljs';
|
||||
|
||||
import * as cm from './common';
|
||||
import * as vm from 'vso-node-api';
|
||||
import * as vm from 'azure-devops-node-api';
|
||||
|
||||
import * as ta from 'vso-node-api/TaskAgentApi';
|
||||
import * as ti from 'vso-node-api/interfaces/TaskAgentInterfaces';
|
||||
import * as ta from 'azure-devops-node-api/TaskAgentApi';
|
||||
import * as ti from 'azure-devops-node-api/interfaces/TaskAgentInterfaces';
|
||||
|
||||
let sampleFilePath: string = path.join(process.cwd(), 'taskdefinition.zip');
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче