MCPcopy Index your code
hub / github.com/changesets/changesets / linkNodeModules

Function linkNodeModules

packages/release-utils/src/run.test.ts:12–17  ·  view source on GitHub ↗
(cwd: string)

Source from the content-addressed store, hash-verified

10import { runPublish, runVersion } from "./run";
11
12const linkNodeModules = async (cwd: string) => {
13 await fs.symlink(
14 path.join(__dirname, "..", "..", "..", "node_modules"),
15 path.join(cwd, "node_modules")
16 );
17};
18const writeChangesets = (changesets: Changeset[], cwd: string) => {
19 return Promise.all(changesets.map((commit) => writeChangeset(commit, cwd)));
20};

Callers 1

run.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…