mirror of
https://github.com/pnpm/pnpm.git
synced 2025-12-23 23:29:17 -05:00
fix: --https-proxy, --proxy, --no-proxy CLI options (#3277)
close #3274
This commit is contained in:
committed by
Zoltan Kochan
parent
b72e8b3081
commit
4f1ce907ad
5
.changeset/fresh-jobs-grab.md
Normal file
5
.changeset/fresh-jobs-grab.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@pnpm/plugin-commands-installation": patch
|
||||
---
|
||||
|
||||
Allow `--https-proxy`, `--proxy`, and `--noproxy` CLI options with the `install`, `add`, `update` commands.
|
||||
5
.changeset/silver-squids-drop.md
Normal file
5
.changeset/silver-squids-drop.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@pnpm/config": patch
|
||||
---
|
||||
|
||||
Add type for `noproxy`.
|
||||
@@ -54,6 +54,7 @@ export const types = Object.assign({
|
||||
'modules-dir': String,
|
||||
'network-concurrency': Number,
|
||||
'node-linker': ['pnp'],
|
||||
noproxy: String,
|
||||
'npm-path': String,
|
||||
offline: Boolean,
|
||||
'package-import-method': ['auto', 'hardlink', 'clone', 'copy'],
|
||||
|
||||
@@ -21,6 +21,7 @@ export function rcOptionsTypes () {
|
||||
'global',
|
||||
'hoist',
|
||||
'hoist-pattern',
|
||||
'https-proxy',
|
||||
'ignore-pnpmfile',
|
||||
'ignore-scripts',
|
||||
'ignore-workspace-root-check',
|
||||
@@ -31,11 +32,13 @@ export function rcOptionsTypes () {
|
||||
'lockfile',
|
||||
'modules-dir',
|
||||
'network-concurrency',
|
||||
'noproxy',
|
||||
'npmPath',
|
||||
'package-import-method',
|
||||
'pnpmfile',
|
||||
'prefer-offline',
|
||||
'production',
|
||||
'proxy',
|
||||
'public-hoist-pattern',
|
||||
'registry',
|
||||
'reporter',
|
||||
|
||||
@@ -23,6 +23,7 @@ export function rcOptionsTypes () {
|
||||
'global',
|
||||
'hoist',
|
||||
'hoist-pattern',
|
||||
'https-proxy',
|
||||
'ignore-pnpmfile',
|
||||
'ignore-scripts',
|
||||
'link-workspace-packages',
|
||||
@@ -32,11 +33,13 @@ export function rcOptionsTypes () {
|
||||
'lockfile',
|
||||
'modules-dir',
|
||||
'network-concurrency',
|
||||
'noproxy',
|
||||
'package-import-method',
|
||||
'pnpmfile',
|
||||
'prefer-frozen-lockfile',
|
||||
'prefer-offline',
|
||||
'production',
|
||||
'proxy',
|
||||
'public-hoist-pattern',
|
||||
'registry',
|
||||
'reporter',
|
||||
|
||||
@@ -29,6 +29,7 @@ export function rcOptionsTypes () {
|
||||
'global-dir',
|
||||
'global-pnpmfile',
|
||||
'global',
|
||||
'https-proxy',
|
||||
'ignore-pnpmfile',
|
||||
'ignore-scripts',
|
||||
'lockfile-dir',
|
||||
@@ -36,6 +37,7 @@ export function rcOptionsTypes () {
|
||||
'lockfile-only',
|
||||
'lockfile',
|
||||
'network-concurrency',
|
||||
'noproxy',
|
||||
'npmPath',
|
||||
'offline',
|
||||
'only',
|
||||
@@ -44,6 +46,7 @@ export function rcOptionsTypes () {
|
||||
'pnpmfile',
|
||||
'prefer-offline',
|
||||
'production',
|
||||
'proxy',
|
||||
'registry',
|
||||
'reporter',
|
||||
'save',
|
||||
|
||||
Reference in New Issue
Block a user