mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Merge from vscode merge-base (#22780)
* Revert "Revert "Merge from vscode merge-base (#22769)" (#22779)"
This reverts commit 47a1745180.
* Fix notebook download task
* Remove done call from extensions-ci
This commit is contained in:
25
build/npm/setupBuildYarnrc.js
Normal file
25
build/npm/setupBuildYarnrc.js
Normal file
@@ -0,0 +1,25 @@
|
||||
/*---------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
const path = require('path');
|
||||
const fs = require('fs');
|
||||
|
||||
// make sure we install the deps of build for the system installed
|
||||
// node, since that is the driver of gulp
|
||||
function setupBuildYarnrc() {
|
||||
const yarnrcPath = path.join(path.dirname(__dirname), '.yarnrc');
|
||||
const yarnrc = `disturl "https://nodejs.org/download/release"
|
||||
target "${process.versions.node}"
|
||||
runtime "node"
|
||||
arch "${process.arch}"`;
|
||||
|
||||
fs.writeFileSync(yarnrcPath, yarnrc, 'utf8');
|
||||
}
|
||||
|
||||
exports.setupBuildYarnrc = setupBuildYarnrc;
|
||||
|
||||
if (require.main === module) {
|
||||
setupBuildYarnrc();
|
||||
}
|
||||
Reference in New Issue
Block a user