MCPcopy Create free account
hub / github.com/adobe/react-spectrum / use_subpaths

Function use_subpaths

packages/dev/codemods/src/use-subpaths/src/index.ts:7–13  ·  view source on GitHub ↗
(
  options: UseSubpathsCodemodOptions
)

Source from the content-addressed store, hash-verified

5const transformPath = path.join(__dirname, 'codemod.js');
6
7export async function use_subpaths(
8 options: UseSubpathsCodemodOptions
9): Promise<ReturnType<typeof jscodeshift>> {
10 let {path: filePath = '.', ...rest} = options;
11
12 return await jscodeshift(transformPath, [filePath], rest);
13}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected