cmux/node_modules/@vercel/build-utils/dist/validate-npmrc.d.ts
2026-01-29 17:36:26 -08:00

12 lines
527 B
TypeScript

/**
* Checks if there is a `.npmrc` in the cwd (project root) and makes sure it
* doesn't contain a `use-node-version`. This config setting is not supported
* since it causes the package manager to install the Node.js version which in
* the case of newer Node.js versions is not compatible with AWS due to
* outdated GLIBC binaries.
*
* @see https://pnpm.io/npmrc#use-node-version
*
* @param cwd The current working directory (e.g. project root);
*/
export declare function validateNpmrc(cwd: string): Promise<void>;