- Rename all user-facing and technical identifiers from OpenPets/Pet to FamiliarOS/Familiar. - Rename packages from @open-pets/* to @familiaros/*; rename install-pet/pet-format packages. - Rename plugin IDs and directories from openpets.* to familiaros.*. - Rename IPC namespace from openpets:* to familiaros:* and state filenames from openpets-* to familiaros-* with legacy migration. - Rename source files (pet-window, built-in-pet, default-pet-controller, etc.) to familiar equivalents. - Update locales (en, es-419, ja, ko, pt-BR, zh-Hans, zh-Hant) and tray/pet context menu strings. - Add Familiar naming feature: preference, settings input, tray menu display. - Update assets and packaging config; all desktop tests pass.
35 lines
1,012 B
JavaScript
35 lines
1,012 B
JavaScript
#!/usr/bin/env node
|
|
// Cross-platform workspace dependency build for the desktop app.
|
|
// Replaces the shell-glob build:deps command so Windows packaging hosts
|
|
// can build the exact same set of packages without relying on './packages/*'
|
|
// glob quoting behavior.
|
|
|
|
import { execFileSync } from "node:child_process";
|
|
import { dirname, join } from "node:path";
|
|
import { fileURLToPath } from "node:url";
|
|
|
|
const root = join(dirname(fileURLToPath(import.meta.url)), "..");
|
|
|
|
const filters = [
|
|
"@familiaros/agent-events",
|
|
"@familiaros/client",
|
|
"@familiaros/claude",
|
|
"@familiaros/cli",
|
|
"@familiaros/cursor",
|
|
"@familiaros/mcp",
|
|
"@familiaros/opencode",
|
|
"@familiaros/familiar-format",
|
|
"@familiaros/pi",
|
|
"@familiaros/plugin-sdk",
|
|
];
|
|
|
|
const args = [];
|
|
for (const filter of filters) {
|
|
args.push("--filter", filter);
|
|
}
|
|
args.push("build");
|
|
|
|
const isWin = process.platform === "win32";
|
|
const pnpmBin = isWin ? "pnpm.cmd" : "pnpm";
|
|
|
|
execFileSync(pnpmBin, args, { cwd: root, stdio: "inherit", shell: isWin });
|