Upgrade xml2js to v0.5.0 + migration to @vscode/vsce + migration to @azure/storage-blob (#22664)

This commit is contained in:
Cheena Malhotra
2023-04-11 15:13:43 -07:00
committed by GitHub
parent 577d99e790
commit 219bdabfb2
23 changed files with 1713 additions and 1376 deletions

View File

@@ -238,7 +238,7 @@
"gulp-typescript": "^3.2.4",
"tslint": "^3.14.0",
"typescript": "^4.1.0-dev.20200824",
"vsce": "^1.57.1",
"@vscode/vsce": "^2.18.0",
"@types/uuid": "^8.3.0"
},
"repository": {

View File

@@ -14,27 +14,27 @@ let packageVals = require('../package');
// HELPER FUNCTIONS ////////////////////////////////////////////////////////
let buildPackage = function(packageName) {
// Make sure there are
if (!packageVals.repository) {
return Promise.reject("Repository field is not defined in package.json");
}
let buildPackage = function (packageName) {
// Make sure there are
if (!packageVals.repository) {
return Promise.reject("Repository field is not defined in package.json");
}
// Initialize the package command with program and command
let vsceArgs = [];
vsceArgs.push('./node_modules/vsce/out/vsce');
vsceArgs.push('package'); // package command
// Initialize the package command with program and command
let vsceArgs = [];
vsceArgs.push('./node_modules/@vscode/vsce/out/vsce');
vsceArgs.push('package'); // package command
// Add the package name
vsceArgs.push('-o');
vsceArgs.push(packageName);
// Add the package name
vsceArgs.push('-o');
vsceArgs.push(packageName);
// Put it all together and execute the command
let command = vsceArgs.join(' ');
console.log(command);
return exec(command);
// Put it all together and execute the command
let command = vsceArgs.join(' ');
console.log(command);
return exec(command);
};
gulp.task('package', async () => {
await buildPackage('out/sqlservices.vsix');
});
await buildPackage('out/sqlservices.vsix');
});

File diff suppressed because it is too large Load Diff