mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-03-15 03:21:37 -04:00
15 lines
682 B
JavaScript
15 lines
682 B
JavaScript
/*---------------------------------------------------------------------------------------------
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
|
*--------------------------------------------------------------------------------------------*/
|
|
var cp = require('child_process');
|
|
function yarnInstall(package) {
|
|
cp.execSync("yarn add --no-lockfile " + package);
|
|
}
|
|
var product = require('../../../product.json');
|
|
var dependencies = product.dependencies || {};
|
|
Object.keys(dependencies).forEach(function (name) {
|
|
var url = dependencies[name];
|
|
yarnInstall(url);
|
|
});
|