patch-incorrect-lockfile.d.ts 364 B

12345678
  1. import '../server/node-polyfill-fetch';
  2. /**
  3. * Attempts to patch npm package-lock.json when it
  4. * fails to include optionalDependencies for other platforms
  5. * this can occur when the package-lock is rebuilt from a current
  6. * node_modules install instead of pulling fresh package data
  7. */
  8. export declare function patchIncorrectLockfile(dir: string): Promise<void>;