MCPcopy Index your code
hub / github.com/nodejs/node / execWorkspaces

Method execWorkspaces

deps/npm/lib/commands/pkg.js:51–56  ·  view source on GitHub ↗
(args)

Source from the content-addressed store, hash-verified

49 }
50
51 async execWorkspaces (args) {
52 await this.setWorkspaces()
53 for (const [workspace, path] of this.workspaces.entries()) {
54 await this.exec(args, { path, workspace })
55 }
56 }
57
58 async get (args, { path, workspace }) {
59 this.npm.config.set('json', true)

Callers 1

execCommandClassMethod · 0.45

Calls 3

execMethod · 0.95
setWorkspacesMethod · 0.80
entriesMethod · 0.45

Tested by

no test coverage detected