Skip to content

Commit

Permalink
Node6hotfixes/file transform v1 (#14149)
Browse files Browse the repository at this point in the history
* Set up CI with Azure Pipelines

[skip ci]

* adding the exact copy of the webdeployment-common-v2 in common-npm-packages

* adding changes for making exposing it as npm package

* Revert "Set up CI with Azure Pipelines"

This reverts commit 409f46b.

* Revert "adding changes for making exposing it as npm package"

This reverts commit 7056479.

* Revert "adding the exact copy of the webdeployment-common-v2 in common-npm-packages"

This reverts commit 631fa44.

* adding changes for node upgrade filetransformv1

* [FileTransformV1] bunping up the version as per the sprint number

* [FileTransformV1] adding changes for using dependency from NPM

* using the specific version of the package
  • Loading branch information
agrataru authored Feb 23, 2021
1 parent 38db81e commit dac36a4
Show file tree
Hide file tree
Showing 6 changed files with 327 additions and 77 deletions.
10 changes: 5 additions & 5 deletions Tasks/FileTransformV1/filetransform.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import tl = require('azure-pipelines-task-lib/task');
import path = require('path');
import { Package } from 'webdeployment-common-v2/packageUtility';
var deployUtility = require('webdeployment-common-v2/utility.js');
var zipUtility = require('webdeployment-common-v2/ziputility.js');
var fileTransformationsUtility = require('webdeployment-common-v2/fileTransformationsUtility.js');
import { Package } from 'azure-pipelines-tasks-webdeployment-common/packageUtility';
var deployUtility = require('azure-pipelines-tasks-webdeployment-common/utility.js');
var zipUtility = require('azure-pipelines-tasks-webdeployment-common/ziputility.js');
var fileTransformationsUtility = require('azure-pipelines-tasks-webdeployment-common/fileTransformationsUtility.js');

async function main() {
tl.setResourcePath(path.join( __dirname, 'task.json'));
tl.setResourcePath(path.join( __dirname, 'node_modules/webdeployment-common-v2/module.json'));
tl.setResourcePath(path.join( __dirname, 'node_modules/azure-pipelines-tasks-webdeployment-common/module.json'));
let webPackage = new Package(tl.getPathInput('folderPath', true));
let packagePath = webPackage.getPath();
let fileType = tl.getInput("fileType", false);
Expand Down
8 changes: 0 additions & 8 deletions Tasks/FileTransformV1/make.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,4 @@
{
"common": [
{
"module": "../Common/webdeployment-common-v2",
"type": "node",
"dest": "./",
"compile" : true
}
],
"externals": {
"archivePackages": [
{
Expand Down
Loading

0 comments on commit dac36a4

Please sign in to comment.