Skip to content
Source
Sign inSign up
pingdotgg/t3code
Open History to see the last commit

version.mjs

8 lines259 Bytes

1import * as Fs from "node:fs"
2​
3const { version } = JSON.parse(Fs.readFileSync("packages/effect/package.json", "utf8"))
4​
5Fs.writeFileSync(
6 "packages/effect/src/internal/version.ts",
7 `/** @internal */\nexport const version = ${JSON.stringify(version)}\n`
8)