Skip to content

Commit 30c23b2

Browse files
author
Danny McCormick
authored
Move a bunch of azure-arm-rest-v2 consumers to shared npm package (#13498)
1 parent 0d9737f commit 30c23b2

File tree

98 files changed

+832
-826
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

98 files changed

+832
-826
lines changed

Tasks/ACRTaskV0/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import AcrTaskOperations from "./operations/acrtaskoperations"
66
import { TaskUtil, MetadatUtil } from "./utilities/utils";
77

88
tl.setResourcePath(path.join(__dirname, 'task.json'));
9-
tl.setResourcePath(path.join( __dirname, 'node_modules/azure-arm-rest-v2/module.json'));
9+
tl.setResourcePath(path.join( __dirname, 'node_modules/azure-pipelines-tasks-azure-arm-rest-v2/module.json'));
1010

1111
// Change to any specified working directory
1212
tl.cd(tl.getInput("cwd"));

Tasks/ACRTaskV0/make.json

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,6 @@
55
"dest" : "./",
66
"compile" : true
77
},
8-
{
9-
"module": "../Common/azure-arm-rest-v2",
10-
"type": "node",
11-
"dest": "./",
12-
"compile": true
13-
},
148
{
159
"module": "../Common/utility-common-v2",
1610
"type": "node",
@@ -22,7 +16,7 @@
2216
{
2317
"items": [
2418
"node_modules/docker-common-v2/node_modules/azure-pipelines-task-lib",
25-
"node_modules/azure-arm-rest-v2/node_modules/vso-node-api",
19+
"node_modules/azure-pipelines-tasks-azure-arm-rest-v2/node_modules/vso-node-api",
2620
"node_modules/utility-common-v2/node_modules/azure-pipelines-task-lib"
2721
],
2822
"options": "-Rf"

Tasks/ACRTaskV0/models/acrtaskparameters.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import path = require("path");
22
import tl = require("azure-pipelines-task-lib/task");
3-
import msRestAzure = require("azure-arm-rest-v2/azure-arm-common");
4-
import { AzureRMEndpoint } from 'azure-arm-rest-v2/azure-arm-endpoint';
3+
import msRestAzure = require("azure-pipelines-tasks-azure-arm-rest-v2/azure-arm-common");
4+
import { AzureRMEndpoint } from 'azure-pipelines-tasks-azure-arm-rest-v2/azure-arm-endpoint';
55
import { TaskUtil } from "../utilities/utils";
66
import { TaskRequestStepType } from "./acrtaskrequestbody";
7-
import { AzureEndpoint } from "azure-arm-rest-v2/azureModels";
8-
import { Resources } from "azure-arm-rest-v2/azure-arm-resource";
7+
import { AzureEndpoint } from "azure-pipelines-tasks-azure-arm-rest-v2/azureModels";
8+
import { Resources } from "azure-pipelines-tasks-azure-arm-rest-v2/azure-arm-resource";
99

1010
class AcrRegistry {
1111
name: string;

Tasks/ACRTaskV0/operations/acrtaskclient.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import msRestAzure = require('azure-arm-rest-v2/azure-arm-common');
2-
import webClient = require("azure-arm-rest-v2/webClient");
3-
import { ApiResult, ApiCallback, ToError } from "azure-arm-rest-v2/AzureServiceClientBase";
4-
import { ServiceClient } from "azure-arm-rest-v2/AzureServiceClient"
1+
import msRestAzure = require('azure-pipelines-tasks-azure-arm-rest-v2/azure-arm-common');
2+
import webClient = require("azure-pipelines-tasks-azure-arm-rest-v2/webClient");
3+
import { ApiResult, ApiCallback, ToError } from "azure-pipelines-tasks-azure-arm-rest-v2/AzureServiceClientBase";
4+
import { ServiceClient } from "azure-pipelines-tasks-azure-arm-rest-v2/AzureServiceClient"
55
import tl = require("azure-pipelines-task-lib/task");
66
import * as yaml from "js-yaml";
77
import * as AcrTaskRequest from "../models/acrtaskrequestbody";

0 commit comments

Comments
 (0)