mirror of
https://github.com/Effect-TS/effect.git
synced 2026-11-17 00:49:43 +08:00
10 lines
296 B
JavaScript
10 lines
296 B
JavaScript
import * as Fs from "node:fs"
|
|
import Package from "../packages/effect/package.json" assert { type: "json" }
|
|
|
|
const tpl = Fs.readFileSync("./scripts/version.template.txt").toString("utf8")
|
|
|
|
Fs.writeFileSync(
|
|
"packages/effect/src/internal/version.ts",
|
|
tpl.replace("VERSION", Package.version)
|
|
)
|