MCPcopy Create free account
hub / github.com/npm/cli / op

Function op

scripts/publish.js:11–11  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9const resetdeps = () => npm('run', 'resetdeps')
10
11const op = () => spawn('op', 'item', 'get', 'npm', '--otp', { out: true, ok: true })
12
13const getWorkspaceTag = async ({ name, version }) => {
14 const { prerelease, major } = semver.parse(version)

Callers 1

mainFunction · 0.85

Calls 1

spawnFunction · 0.85

Tested by

no test coverage detected