@@ -750,23 +750,6 @@ npm exec --package yo --package generator-node --call "yo node"
750750\`\`\`
751751
752752
753- #### \`cert\`
754-
755- * Default: null
756- * Type: null or String
757-
758- A client certificate to pass when accessing the registry. Values should be
759- in PEM format (Windows calls it "Base-64 encoded X.509 (.CER)") with
760- newlines replaced by the string "\\n". For example:
761-
762- \`\`\`ini
763- cert="-----BEGIN CERTIFICATE-----\\nXXXX\\nXXXX\\n-----END CERTIFICATE-----"
764- \`\`\`
765-
766- It is _not_ the path to a certificate file, though you can set a
767- registry-scoped "certfile" path like
768- "//other-registry.tld/:certfile=/path/to/cert.pem".
769-
770753#### \`ci-name\`
771754
772755* Default: The name of the current CI system, or \`null\` when not on a known CI
@@ -1200,21 +1183,6 @@ Whether or not to output JSON data, rather than the normal output.
12001183
12011184Not supported by all npm commands.
12021185
1203- #### \`key\`
1204-
1205- * Default: null
1206- * Type: null or String
1207-
1208- A client key to pass when accessing the registry. Values should be in PEM
1209- format with newlines replaced by the string "\\n". For example:
1210-
1211- \`\`\`ini
1212- key="-----BEGIN PRIVATE KEY-----\\nXXXX\\nXXXX\\n-----END PRIVATE KEY-----"
1213- \`\`\`
1214-
1215- It is _not_ the path to a key file, though you can set a registry-scoped
1216- "keyfile" path like "//other-registry.tld/:keyfile=/path/to/key.pem".
1217-
12181186#### \`legacy-peer-deps\`
12191187
12201188* Default: false
@@ -1975,6 +1943,27 @@ When set to \`dev\` or \`development\`, this is an alias for \`--include=dev\`.
19751943
19761944\`--cache-min=9999 (or bigger)\` is an alias for \`--prefer-offline\`.
19771945
1946+ #### \`cert\`
1947+
1948+ * Default: null
1949+ * Type: null or String
1950+ * DEPRECATED: \`key\` and \`cert\` are no longer used for most registry
1951+ operations. Use registry scoped \`keyfile\` and \`certfile\` instead. Example:
1952+ //other-registry.tld/:keyfile=/path/to/key.pem
1953+ //other-registry.tld/:certfile=/path/to/cert.crt
1954+
1955+ A client certificate to pass when accessing the registry. Values should be
1956+ in PEM format (Windows calls it "Base-64 encoded X.509 (.CER)") with
1957+ newlines replaced by the string "\\n". For example:
1958+
1959+ \`\`\`ini
1960+ cert="-----BEGIN CERTIFICATE-----\\nXXXX\\nXXXX\\n-----END CERTIFICATE-----"
1961+ \`\`\`
1962+
1963+ It is _not_ the path to a certificate file, though you can set a
1964+ registry-scoped "certfile" path like
1965+ "//other-registry.tld/:certfile=/path/to/cert.pem".
1966+
19781967#### \`dev\`
19791968
19801969* Default: false
@@ -2041,6 +2030,25 @@ Alias for \`--init-module\`
20412030
20422031Alias for \`--init-version\`
20432032
2033+ #### \`key\`
2034+
2035+ * Default: null
2036+ * Type: null or String
2037+ * DEPRECATED: \`key\` and \`cert\` are no longer used for most registry
2038+ operations. Use registry scoped \`keyfile\` and \`certfile\` instead. Example:
2039+ //other-registry.tld/:keyfile=/path/to/key.pem
2040+ //other-registry.tld/:certfile=/path/to/cert.crt
2041+
2042+ A client key to pass when accessing the registry. Values should be in PEM
2043+ format with newlines replaced by the string "\\n". For example:
2044+
2045+ \`\`\`ini
2046+ key="-----BEGIN PRIVATE KEY-----\\nXXXX\\nXXXX\\n-----END PRIVATE KEY-----"
2047+ \`\`\`
2048+
2049+ It is _not_ the path to a key file, though you can set a registry-scoped
2050+ "keyfile" path like "//other-registry.tld/:keyfile=/path/to/key.pem".
2051+
20442052#### \`legacy-bundling\`
20452053
20462054* Default: false
0 commit comments