this repo has no description

fix: import crypto from node:crypto for Node.js compatibility

The CLI uses crypto.subtle in getContentHash() but relied on the
Bun-global crypto object. This fails in Node.js environments (e.g.
GitHub Actions). Explicitly importing from node:crypto works in both.

authored by

Julien Calixte and committed by
Julien Calixte
9187d5ff 79fae718

+1
+1
packages/cli/src/lib/markdown.ts
··· 1 + import { webcrypto as crypto } from "node:crypto"; 1 2 import * as fs from "node:fs/promises"; 2 3 import * as path from "node:path"; 3 4 import { glob } from "glob";