Skip to content

Commit

Permalink
[Artifacts-common] Reworked localization (#13644)
Browse files Browse the repository at this point in the history
  • Loading branch information
egor-bryzgalov authored Oct 9, 2020
1 parent 8efb5a6 commit 9255777
Show file tree
Hide file tree
Showing 4 changed files with 157 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ import { ProtocolType } from './protocols';
import { ServiceConnection, ServiceConnectionAuthType, UsernamePasswordServiceConnection, TokenServiceConnection } from './serviceConnectionUtils';
import { retryOnException } from './retryUtils'

tl.setResourcePath(path.join(__dirname , 'module.json'), true);

const CRED_PROVIDER_PREFIX_ENVVAR = "VSS_NUGET_URI_PREFIXES";
const CRED_PROVIDER_ACCESS_TOKEN_ENVVAR = "VSS_NUGET_ACCESSTOKEN";
const CRED_PROVIDER_EXTERNAL_ENDPOINTS_ENVVAR = "VSS_NUGET_EXTERNAL_FEED_ENDPOINTS";
Expand Down
165 changes: 150 additions & 15 deletions common-npm-packages/artifacts-common/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions common-npm-packages/artifacts-common/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "azure-pipelines-tasks-artifacts-common",
"version": "1.0.1",
"version": "1.177.0",
"description": "Azure Artifacts common code (for new authentication tasks)",
"scripts": {
"build": "cd ../build-scripts && npm install && cd ../artifacts-common && node make.js"
Expand All @@ -16,7 +16,7 @@
"@types/node": "10.12.9",
"@types/mocha": "5.2.6",
"azure-devops-node-api": "8.0.0",
"azure-pipelines-task-lib": "2.8.0",
"azure-pipelines-task-lib": "2.11.2",
"fs-extra": "8.1.0",
"semver": "6.3.0"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
import * as tl from "azure-pipelines-task-lib/task";
import path = require('path');

tl.setResourcePath(path.join(__dirname , 'module.json'), true);

export interface IExternalPackageSource {
/**
Expand Down

0 comments on commit 9255777

Please sign in to comment.