MCPcopy Create free account
hub / github.com/formkit/formkit / publishLocal

Function publishLocal

scripts/publishLocal.mjs:5–11  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3import { execSync } from 'child_process'
4
5async function publishLocal() {
6 const packages = getPackages()
7 for (const p of packages) {
8 const val = execSync(`cd packages/${p} && yalc publish --push`).toString()
9 console.log(`${p}: ${val}`)
10 }
11}
12
13/**
14 * Set up the command line tool and options.

Callers 1

publishLocal.mjsFile · 0.85

Calls 1

getPackagesFunction · 0.90

Tested by

no test coverage detected