-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Remove figgy-pudding, use canonical option names
BREAKING CHANGE: this removes figgy-pudding, and drops several option aliases. Defaults and behavior are all the same, and this module is now using the canonical camelCase option names that npm v7 will provide to all its deps. Related to: npm/rfcs#102 PR-URL: #22 Credit: @isaacs Close: #22 Reviewed-by: @claudiahdz
- Loading branch information
Showing
12 changed files
with
186 additions
and
279 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
const pkg = require('./package.json') | ||
const ciDetect = require('@npmcli/ci-detect') | ||
module.exports = { | ||
isFromCI: ciDetect(), | ||
log: require('./silentlog.js'), | ||
maxSockets: 12, | ||
method: 'GET', | ||
registry: 'https://registry.npmjs.org/', | ||
timeout: 30 * 1000, | ||
strictSSL: true, | ||
noProxy: process.env.NOPROXY, | ||
userAgent: `${pkg.name | ||
}@${ | ||
pkg.version | ||
}/node@${ | ||
process.version | ||
}+${ | ||
process.arch | ||
} (${ | ||
process.platform | ||
})` | ||
} |
Oops, something went wrong.