diff --git a/.npmrc b/.npmrc index 98799a6a4c5..70ef8264dad 100644 --- a/.npmrc +++ b/.npmrc @@ -3,13 +3,3 @@ update-notifier=false # ESLint editor integrations expect ESLint's binary to be in the root node_modules. public-hoist-pattern[]=eslint -# pnpm v10.3.0+ ships with node-gyp@11.1.0. That version of node-gyp has a bug which prevents -# node-pty, one of Connect deps, from being built on Windows (https://github.com/nodejs/node-gyp/issues/3126). -# -# To work around this, we install node-gyp@11.0.0 as a dev dep and then tell node-pty through the below -# config option to use node-gyp from our node_modules rather than the one bundled with pnpm. -# -# During pnpm install, the script is executed from a directory such as -# /node_modules/.pnpm/node-pty@1.1.0-beta14/node_modules/node-pty -# so we escape five directories and then give a path to node-gyp.js. -node_gyp=../../../../../node_modules/node-gyp/bin/node-gyp.js