@oribuild/api
Advanced tools
Comparing version 0.0.0-pre-alpha.1-9a3db85 to 0.0.0-pre-alpha.1-9d5a329
@@ -0,1 +1,3 @@ | ||
// Copyright (c) Microsoft Corporation. | ||
// Licensed under the MIT License. | ||
import WebSocket from 'ws'; | ||
@@ -2,0 +4,0 @@ import { ensureServiceStarted } from './ensureServiceStarted.js'; |
@@ -0,1 +1,3 @@ | ||
// Copyright (c) Microsoft Corporation. | ||
// Licensed under the MIT License. | ||
/* eslint-disable @typescript-eslint/no-non-null-assertion */ | ||
@@ -2,0 +4,0 @@ import { build } from './build.js'; |
@@ -0,1 +1,3 @@ | ||
// Copyright (c) Microsoft Corporation. | ||
// Licensed under the MIT License. | ||
import { spawn } from 'child_process'; | ||
@@ -2,0 +4,0 @@ import kill from 'tree-kill'; |
@@ -0,1 +1,3 @@ | ||
// Copyright (c) Microsoft Corporation. | ||
// Licensed under the MIT License. | ||
import path from 'path'; | ||
@@ -14,3 +16,3 @@ import resolve from 'resolve'; | ||
for (const binaryPackageName of Object.keys(oriPackageDefinition.optionalDependencies)) { | ||
const binaryPackagePath = await new Promise((complete) => resolve(`${binaryPackageName}/package.json`, (err, value) => complete(value))); | ||
const binaryPackagePath = await new Promise((complete) => resolve(`${binaryPackageName}/package.json`, { basedir: currentPath }, (err, value) => complete(value))); | ||
if (binaryPackagePath) { | ||
@@ -17,0 +19,0 @@ const binaryPackage = await readJson(binaryPackagePath); |
@@ -0,1 +1,3 @@ | ||
// Copyright (c) Microsoft Corporation. | ||
// Licensed under the MIT License. | ||
import { getOriServiceBinaryPath } from './getOriServiceBinaryPath.js'; | ||
@@ -2,0 +4,0 @@ describe('getOriServiceBinaryPath', () => { |
@@ -0,3 +1,5 @@ | ||
// Copyright (c) Microsoft Corporation. | ||
// Licensed under the MIT License. | ||
export { build } from './build.js'; | ||
export { ensureServiceStarted, stopService } from './ensureServiceStarted.js'; | ||
//# sourceMappingURL=index.js.map |
@@ -0,1 +1,3 @@ | ||
// Copyright (c) Microsoft Corporation. | ||
// Licensed under the MIT License. | ||
import fs from 'fs'; | ||
@@ -2,0 +4,0 @@ const { readFile } = fs.promises; |
@@ -0,1 +1,3 @@ | ||
// Copyright (c) Microsoft Corporation. | ||
// Licensed under the MIT License. | ||
/////////////////////////////////////////////////////////////// | ||
@@ -2,0 +4,0 @@ // oripack types |
{ | ||
"name": "@oribuild/api", | ||
"version": "0.0.0-pre-alpha.1-9a3db85", | ||
"version": "0.0.0-pre-alpha.1-9d5a329", | ||
"type": "module", | ||
@@ -30,8 +30,8 @@ "types": "./lib/index.d.ts", | ||
"optionalDependencies": { | ||
"oriservice-darwin-amd64": "0.0.0-pre-alpha.1-9a3db85", | ||
"oriservice-darwin-arm64": "0.0.0-pre-alpha.1-9a3db85", | ||
"oriservice-linux-amd64": "0.0.0-pre-alpha.1-9a3db85", | ||
"oriservice-linux-arm64": "0.0.0-pre-alpha.1-9a3db85", | ||
"oriservice-windows-amd64": "0.0.0-pre-alpha.1-9a3db85", | ||
"oriservice-windows-arm64": "0.0.0-pre-alpha.1-9a3db85" | ||
"oriservice-darwin-amd64": "0.0.0-pre-alpha.1-9d5a329", | ||
"oriservice-darwin-arm64": "0.0.0-pre-alpha.1-9d5a329", | ||
"oriservice-linux-amd64": "0.0.0-pre-alpha.1-9d5a329", | ||
"oriservice-linux-arm64": "0.0.0-pre-alpha.1-9d5a329", | ||
"oriservice-windows-amd64": "0.0.0-pre-alpha.1-9d5a329", | ||
"oriservice-windows-arm64": "0.0.0-pre-alpha.1-9d5a329" | ||
}, | ||
@@ -38,0 +38,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
51327
854