Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: deprecate ci-name config #6434

Merged
merged 1 commit into from
May 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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