From d4b30b73924322fc67ef50238221386e3f2e53db Mon Sep 17 00:00:00 2001 From: Harshal Bhakta Date: Fri, 16 May 2025 10:48:31 +0530 Subject: [PATCH] Docs: Update pnpm settings documentation URLs --- docs/src/content/docs/install.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/src/content/docs/install.md b/docs/src/content/docs/install.md index de8d6df1..69d1c106 100644 --- a/docs/src/content/docs/install.md +++ b/docs/src/content/docs/install.md @@ -21,7 +21,7 @@ pnpm add sharp ``` When using `pnpm`, you may need to add `sharp` to -[ignoredBuiltDependencies](https://pnpm.io/package_json#pnpmignoredbuiltdependencies) +[ignoredBuiltDependencies](https://pnpm.io/settings#ignoredbuiltdependencies) to silence warnings. ```sh @@ -94,7 +94,7 @@ Use the [supportedArchitectures](https://yarnpkg.com/configuration/yarnrc#suppor ### pnpm v8+ -Use the [supportedArchitectures](https://pnpm.io/package_json#pnpmsupportedarchitectures) configuration. +Use the [supportedArchitectures](https://pnpm.io/settings#supportedarchitectures) configuration. ## Custom libvips @@ -134,7 +134,7 @@ npm install --save node-addon-api node-gyp ``` When using `pnpm`, you may need to add `sharp` to -[onlyBuiltDependencies](https://pnpm.io/package_json#pnpmonlybuiltdependencies) +[onlyBuiltDependencies](https://pnpm.io/settings#onlybuiltdependencies) to ensure the installation script can be run. For cross-compiling, the `--platform`, `--arch` and `--libc` npm flags