MCPcopy
hub / github.com/vercel/next.js / pack

Function pack

run-evals.js:57–69  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

55]
56
57function pack() {
58 fs.mkdirSync(TARBALL_DIR, { recursive: true })
59 const out = execFileSync(
60 'pnpm',
61 ['pack', '--pack-destination', TARBALL_DIR],
62 { cwd: path.join(ROOT, 'packages/next'), encoding: 'utf8' }
63 )
64 const produced = out.trim().split('\n').pop()
65 const src = path.isAbsolute(produced)
66 ? produced
67 : path.join(TARBALL_DIR, produced)
68 fs.renameSync(src, TARBALL)
69}
70
71/** @param {string | null} evalName null means all evals */
72function writeExperiments(evalName) {

Callers 1

mainFunction · 0.85

Calls 4

splitMethod · 0.80
trimMethod · 0.80
joinMethod · 0.45
popMethod · 0.45

Tested by

no test coverage detected