Files
yaak-mountain-loop/npm/cli/common.js
Gregory Schier b4a1c418bb Run oxfmt across repo, add format script and docs
Add .oxfmtignore to skip generated bindings and wasm-pack output.
Add npm format script, update DEVELOPMENT.md for Vite+ toolchain,
and format all non-generated files with oxfmt.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 10:15:49 -07:00

21 lines
681 B
JavaScript

const BINARY_DISTRIBUTION_PACKAGES = {
darwin_arm64: "@yaakapp/cli-darwin-arm64",
darwin_x64: "@yaakapp/cli-darwin-x64",
linux_arm64: "@yaakapp/cli-linux-arm64",
linux_x64: "@yaakapp/cli-linux-x64",
win32_x64: "@yaakapp/cli-win32-x64",
win32_arm64: "@yaakapp/cli-win32-arm64",
};
const BINARY_DISTRIBUTION_VERSION = require("./package.json").version;
const BINARY_NAME = process.platform === "win32" ? "yaak.exe" : "yaak";
const PLATFORM_SPECIFIC_PACKAGE_NAME =
BINARY_DISTRIBUTION_PACKAGES[`${process.platform}_${process.arch}`];
module.exports = {
BINARY_DISTRIBUTION_PACKAGES,
BINARY_DISTRIBUTION_VERSION,
BINARY_NAME,
PLATFORM_SPECIFIC_PACKAGE_NAME,
};