MCPcopy Create free account
hub / github.com/Openpanel-dev/openpanel / workspacePath

Function workspacePath

tooling/publish/publish.ts:39–40  ·  view source on GitHub ↗
(relativePath: string)

Source from the content-addressed store, hash-verified

37
38// Utility functions
39const workspacePath = (relativePath: string) =>
40 resolve(__dirname, '../../', relativePath);
41
42const savePackageJson = (absPath: string, data: PackageJson) => {
43 fs.writeFileSync(absPath, JSON.stringify(data, null, 2), 'utf-8');

Callers 6

loadPackagesFunction · 0.70
transformPackagesFunction · 0.70
buildPackagesFunction · 0.70
publishPackagesFunction · 0.70
restoreAndUpdateLocalFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected