MCPcopy Create free account
hub / github.com/electric-sql/electric / listWorkspaces

Function listWorkspaces

scripts/ci/affected-workspaces.mjs:106–108  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

104}
105
106function listWorkspaces() {
107 return parsePnpmList(run(`pnpm`, [`-r`, `list`, `--depth`, `-1`, `--json`]))
108}
109
110function parsePnpmList(output) {
111 return JSON.parse(output).map((workspace) => ({

Callers 1

Calls 2

parsePnpmListFunction · 0.70
runFunction · 0.70

Tested by

no test coverage detected