@oribuild/api
Advanced tools
Comparing version 0.0.0-pre-alpha.1-96c2135 to 0.0.0-pre-alpha.1-98da9ef
@@ -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 */ | ||
@@ -282,3 +284,3 @@ import { build } from './build.js'; | ||
expect(outputContent).toMatch(/background: ?white/); // global style | ||
expect(outputContent).toMatch(/background: ?red/); // module style | ||
expect(outputContent).toMatch(/background: ?#f00/); // module style | ||
}); | ||
@@ -285,0 +287,0 @@ it('can bundle sass project', async () => { |
@@ -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-96c2135", | ||
"version": "0.0.0-pre-alpha.1-98da9ef", | ||
"type": "module", | ||
@@ -30,8 +30,8 @@ "types": "./lib/index.d.ts", | ||
"optionalDependencies": { | ||
"oriservice-darwin-amd64": "0.0.0-pre-alpha.1-96c2135", | ||
"oriservice-darwin-arm64": "0.0.0-pre-alpha.1-96c2135", | ||
"oriservice-linux-amd64": "0.0.0-pre-alpha.1-96c2135", | ||
"oriservice-linux-arm64": "0.0.0-pre-alpha.1-96c2135", | ||
"oriservice-windows-amd64": "0.0.0-pre-alpha.1-96c2135", | ||
"oriservice-windows-arm64": "0.0.0-pre-alpha.1-96c2135" | ||
"oriservice-darwin-amd64": "0.0.0-pre-alpha.1-98da9ef", | ||
"oriservice-darwin-arm64": "0.0.0-pre-alpha.1-98da9ef", | ||
"oriservice-linux-amd64": "0.0.0-pre-alpha.1-98da9ef", | ||
"oriservice-linux-arm64": "0.0.0-pre-alpha.1-98da9ef", | ||
"oriservice-windows-amd64": "0.0.0-pre-alpha.1-98da9ef", | ||
"oriservice-windows-arm64": "0.0.0-pre-alpha.1-98da9ef" | ||
}, | ||
@@ -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
51328
854