GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(scripts): report:renders starts on Windows without a vp shim (#32… · adampeterhiggins/t3code@a1af184

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • scripts
    • render-metrics.ts
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎scripts/render-metrics.ts‎

Copy file name to clipboardExpand all lines: scripts/render-metrics.ts
+4-1Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ import * as NodeFS from "node:fs";
44
import * as NodeOS from "node:os";
55
import * as NodePath from "node:path";
66

7+
import { vitePlusCommand } from "./check-changed-command.ts";
8+
79
const HELP = `Usage:
810
node scripts/render-metrics.ts run [--out <file>] [--runs <n>]
911
node scripts/render-metrics.ts compare <before.json> <after.json> [--top <n>]
@@ -40,7 +42,8 @@ const root = NodePath.resolve(import.meta.dirname, "..");
4042
export function runOnce(): RenderMetrics {
4143
const directory = NodeFS.mkdtempSync(NodePath.join(NodeOS.tmpdir(), "t3-renders-"));
4244
try {
43-
const result = NodeChildProcess.spawnSync("vp", ["test", "run", "--project", "renders"], {
45+
const [command, commandArgs] = vitePlusCommand(["test", "run", "--project", "renders"]);
46+
const result = NodeChildProcess.spawnSync(command, commandArgs, {
4447
cwd: NodePath.join(root, "apps/web"),
4548
env: { ...process.env, T3CODE_RENDER_REPORT_DIR: directory },
4649
stdio: ["ignore", "inherit", "inherit"],

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.