Skip to contentOpen History to see the last commit
version.mjs
9 lines295 Bytes
1import * as Fs from "node:fs" 2import Package from "../packages/effect/package.json" with { type: "json" } 4const tpl = Fs.readFileSync("./scripts/version.template.txt").toString("utf8") 7 "packages/effect/src/internal/version.ts", 8 tpl.replace(/VERSION/g, Package.version)