@@ -750,23 +750,6 @@ npm exec --package yo --package generator-node --call "yo node"
750
750
\`\`\`
751
751
752
752
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
-
770
753
#### \`ci-name\`
771
754
772
755
* 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.
1200
1183
1201
1184
Not supported by all npm commands.
1202
1185
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
-
1218
1186
#### \`legacy-peer-deps\`
1219
1187
1220
1188
* Default: false
@@ -1975,6 +1943,27 @@ When set to \`dev\` or \`development\`, this is an alias for \`--include=dev\`.
1975
1943
1976
1944
\`--cache-min=9999 (or bigger)\` is an alias for \`--prefer-offline\`.
1977
1945
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
+
1978
1967
#### \`dev\`
1979
1968
1980
1969
* Default: false
@@ -2041,6 +2030,25 @@ Alias for \`--init-module\`
2041
2030
2042
2031
Alias for \`--init-version\`
2043
2032
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
+
2044
2052
#### \`legacy-bundling\`
2045
2053
2046
2054
* Default: false
0 commit comments