mirror of
https://github.com/Effect-TS/effect.git
synced 2026-11-16 01:14:09 +08:00
Co-authored-by: Effect Bot <tech-ops@effectful.co> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Tim Smart <hello@timsmart.co>
9 lines
259 B
JavaScript
9 lines
259 B
JavaScript
import * as Fs from "node:fs"
|
|
|
|
const { version } = JSON.parse(Fs.readFileSync("packages/effect/package.json", "utf8"))
|
|
|
|
Fs.writeFileSync(
|
|
"packages/effect/src/internal/version.ts",
|
|
`/** @internal */\nexport const version = ${JSON.stringify(version)}\n`
|
|
)
|