import assert from 'node:assert/strict'; import { createHash } from 'node:crypto'; import { spawnSync } from 'node:child_process'; import fs from 'node:fs'; import path from 'node:path'; export const TAG = 'canary-verify'; export const REGISTRY = 'https://registry.npmjs.org/'; /** * A release channel decides three things: the dist-tag the packages carry, how * their version is arrived at, and which branch the workflow will accept as * the trigger. Nothing else in these scripts decides any of them separately. * * `snapshot` discards the changesets and builds 0.0.0-canary-