From 0da31c70c7b8e538bbddd39b98e28d27a7264b35 Mon Sep 17 00:00:00 2001 From: Zoltan Kochan Date: Tue, 4 Jan 2022 04:20:23 +0200 Subject: [PATCH] fix: allow to use the --node-linker CLI option --- .changeset/fuzzy-buttons-love.md | 5 +++++ packages/plugin-commands-installation/src/add.ts | 1 + packages/plugin-commands-installation/src/install.ts | 1 + packages/plugin-commands-installation/src/remove.ts | 1 + 4 files changed, 8 insertions(+) create mode 100644 .changeset/fuzzy-buttons-love.md diff --git a/.changeset/fuzzy-buttons-love.md b/.changeset/fuzzy-buttons-love.md new file mode 100644 index 0000000000..938fe39b38 --- /dev/null +++ b/.changeset/fuzzy-buttons-love.md @@ -0,0 +1,5 @@ +--- +"@pnpm/plugin-commands-installation": patch +--- + +Allow to set `node-linker` through CLI options. diff --git a/packages/plugin-commands-installation/src/add.ts b/packages/plugin-commands-installation/src/add.ts index 7d50887b62..8d8b17b615 100644 --- a/packages/plugin-commands-installation/src/add.ts +++ b/packages/plugin-commands-installation/src/add.ts @@ -34,6 +34,7 @@ export function rcOptionsTypes () { 'lockfile', 'modules-dir', 'network-concurrency', + 'node-linker', 'noproxy', 'npmPath', 'package-import-method', diff --git a/packages/plugin-commands-installation/src/install.ts b/packages/plugin-commands-installation/src/install.ts index 18b28e52b3..d24b2b1475 100644 --- a/packages/plugin-commands-installation/src/install.ts +++ b/packages/plugin-commands-installation/src/install.ts @@ -35,6 +35,7 @@ export function rcOptionsTypes () { 'lockfile', 'modules-dir', 'network-concurrency', + 'node-linker', 'noproxy', 'package-import-method', 'pnpmfile', diff --git a/packages/plugin-commands-installation/src/remove.ts b/packages/plugin-commands-installation/src/remove.ts index 72f7743f93..e468569abd 100644 --- a/packages/plugin-commands-installation/src/remove.ts +++ b/packages/plugin-commands-installation/src/remove.ts @@ -55,6 +55,7 @@ export function rcOptionsTypes () { 'lockfile-directory', 'lockfile-only', 'lockfile', + 'node-linker', 'package-import-method', 'pnpmfile', 'reporter',