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 — t3code/scripts/check-changed-command.ts at main · VitaCodez/t3code

Expand file tree

/

check-changed-command.ts

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
19 lines (18 loc) · 808 Bytes
/

check-changed-command.ts

Copy path

File metadata and controls

19 lines (18 loc) · 808 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// @effect-diagnostics nodeBuiltinImport:off
import * as NodeURL from "node:url";
export function vitePlusCommand(
args: ReadonlyArray<string>,
// oxlint-disable-next-line t3code/no-global-process-runtime -- Standalone Node tooling has no Effect runtime; tests pass the platform explicitly.
platform: NodeJS.Platform = process.platform,
): [command: string, args: Array<string>] {
// Windows cannot spawn the package manager's vp.cmd shim without a shell.
// Use Vite+'s exported JS entry with this Node instead, keeping paths and
// arguments literal. Resolve here, not from the patch check's temporary cwd.
if (platform === "win32") {
return [
process.execPath,
[NodeURL.fileURLToPath(import.meta.resolve("vite-plus/bin")), ...args],
];
}
return ["vp", [...args]];
}
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.