Skip to content

Commit

Permalink
fix: deprecate ci-name config (#6434)
Browse files Browse the repository at this point in the history
  • Loading branch information
wraithgar committed May 16, 2023
1 parent 7ade93d commit 23c865f
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 10 deletions.
3 changes: 3 additions & 0 deletions lib/utils/config/definitions.js
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,9 @@ define('ci-name', {
platform.
`,
type: [null, String],
deprecated: `
This config is deprecated and will not be changeable in future version of npm.
`,
description: `
The name of a continuous integration system. If not set explicitly, npm
will detect the current CI environment using the
Expand Down
22 changes: 12 additions & 10 deletions tap-snapshots/test/lib/docs.js.test.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -332,16 +332,6 @@ npm exec --package yo --package generator-node --call "yo node"
\`\`\`
#### \`ci-name\`
* Default: The name of the current CI system, or \`null\` when not on a known CI
platform.
* Type: null or String
The name of a continuous integration system. If not set explicitly, npm will
detect the current CI environment using the
[\`ci-info\`](http://npm.im/ci-info) module.
#### \`cidr\`
* Default: null
Expand Down Expand Up @@ -1557,6 +1547,18 @@ It is _not_ the path to a certificate file, though you can set a
registry-scoped "certfile" path like
"//other-registry.tld/:certfile=/path/to/cert.pem".
#### \`ci-name\`
* Default: The name of the current CI system, or \`null\` when not on a known CI
platform.
* Type: null or String
* DEPRECATED: This config is deprecated and will not be changeable in future
version of npm.
The name of a continuous integration system. If not set explicitly, npm will
detect the current CI environment using the
[\`ci-info\`](http://npm.im/ci-info) module.
#### \`dev\`
* Default: false
Expand Down

0 comments on commit 23c865f

Please sign in to comment.