mirror of
https://github.com/vector-im/element-web.git
synced 2026-04-03 12:42:41 +02:00
- Add @designer Copilot agent with Figma URL parsing and MCP/CLI fallback - Make fileKey optional on all Figma MCP tools (extract from pasted URLs) - Add CLI fallback scripts (figma-file, figma-node, figma-components) - Add run-element-web.mjs launcher and start:element-web script - Update devcontainer to Node 24 image, forward port 8080 for Element Web - Simplify setup guide (no FIGMA_FILE secret, 3-step onboarding) - Update docs with Element Web prototyping instructions
19 lines
439 B
JavaScript
19 lines
439 B
JavaScript
import { spawn } from "node:child_process";
|
|
import { repoRoot } from "./workspace-utils.mjs";
|
|
|
|
console.log("Starting Element Web dev server (http://localhost:8080)…");
|
|
|
|
const child = spawn("pnpm", ["--filter", "element-web", "start"], {
|
|
cwd: repoRoot,
|
|
stdio: "inherit",
|
|
});
|
|
|
|
child.on("exit", (code, signal) => {
|
|
if (signal) {
|
|
process.kill(process.pid, signal);
|
|
return;
|
|
}
|
|
process.exit(code ?? 0);
|
|
});
|
|
|