GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — opencode/.husky/pre-push at dev · markathomas/opencode Expand file tree/ Copy pathpre-pushMore file actions executable file ·20 lines (20 loc) · 812 Bytes / Copy pathpre-pushFile metadata and controlsexecutable file ·20 lines (20 loc) · 812 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 #!/bin/sh set -e # Check if bun version matches package.json # keep in sync with packages/script/src/index.ts semver qualifier bun -e ' import { semver } from "bun"; const pkg = await Bun.file("package.json").json(); const expectedBunVersion = pkg.packageManager?.split("@")[1]; if (!expectedBunVersion) { throw new Error("packageManager field not found in root package.json"); } const expectedBunVersionRange = `^${expectedBunVersion}`; if (!semver.satisfies(process.versions.bun, expectedBunVersionRange)) { throw new Error(`This script requires bun@${expectedBunVersionRange}, but you are using bun@${process.versions.bun}`); } if (process.versions.bun !== expectedBunVersion) { console.warn(`Warning: Bun version ${process.versions.bun} differs from expected ${expectedBunVersion}`); } ' bun typecheck |
| 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. |