hunk.code_window:   }
   })
   test('throw error if --shrinkwrap-directory is used with --global', async (t) => {
     try {
       await getConfig({
         cliArgs: {
  
hunk.labels: keep keep keep replace keep keep keep
hunk.after_edit: test('throw error if --lockfile-directory is used with --global', async (t) => {
  
hunk.file_path: packages/config/test/index.ts
hunk.type: replace
file: import { InstallOptions, mutateModules } from 'supi'
  import createStoreController from '../createStoreController'
  import { readImporterManifestOnly } from '../readImporterManifest'
  import { PnpmOptions } from '../types'
  
  export default async (input: string[], opts: PnpmOptions) => {
    const store = await createStoreController(opts)
    return mutateModules([
      {
        buildIndex: 0,
        manifest: await readImporterManifestOnly(process.cwd(), opts),
        mutation: 'install',
        prefix: process.cwd(),
        pruneDirectDependencies: true,
      },
    ], {
      ...opts,
      pruneStore: true,
      storeController: store.ctrl,
      storeDir: store.dir,
    } as InstallOptions)
  }
  