Merge commit '36c66dd290d3ce6eb1ccd310d0c658d4a32bb8eb' as 'repos/effect'
This commit is contained in:
9
repos/effect/scripts/version.mjs
Normal file
9
repos/effect/scripts/version.mjs
Normal file
@@ -0,0 +1,9 @@
|
||||
import * as Fs from "node:fs"
|
||||
import Package from "../packages/effect/package.json" with { type: "json" }
|
||||
|
||||
const tpl = Fs.readFileSync("./scripts/version.template.txt").toString("utf8")
|
||||
|
||||
Fs.writeFileSync(
|
||||
"packages/effect/src/internal/version.ts",
|
||||
tpl.replace(/VERSION/g, Package.version)
|
||||
)
|
||||
Reference in New Issue
Block a user