MCPcopy Create free account
hub / github.com/alovajs/devtools / main

Function main

scripts/version.ts:5–14  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3import { saveReleasePlan } from './utils/release-plan'
4
5async function main() {
6 const releasePlan = await getReleasePlan(process.cwd())
7 saveReleasePlan(releasePlan.releases.filter(r => r.type !== 'none').map(r => ({
8 name: r.name,
9 version: r.newVersion,
10 type: r.type,
11 })))
12
13 execSync('changeset version', { stdio: 'inherit' })
14}
15
16main()

Callers 1

version.tsFile · 0.70

Calls 1

saveReleasePlanFunction · 0.90

Tested by

no test coverage detected