Use pnpm in prepare script (#4466)
Corepack throws an error when running pnpm install from the root of the
monorepo, because the prepare script is run when you run install.
Corepack does not allow using npm, because the root of the monorepo
has configured the packageManager to be pnpm.