[DOCS] Inconsistent package.json repository example use of https
and git+https
#7614
Closed
2 tasks done
Labels
Is there an existing issue for this?
This is a CLI Docs Problem, not another kind of Docs Problem.
Description of Problem
The Repository documentation example shows:
https
togit+https
includingcli/package.json
Line 30 in 2273183
The same section (Repository) also shows a similar example:
npm pkg fix
changes the protocol fromhttps
togit+https
If
npm pkg fix
is set up so thathttps
is not accepted as correct, then no examples should be showinghttps
.The Repository section should provide examples:
npm pkg fix
Potential Solution
Change to
Instead of the (incorrect?) Facebook example (using only
https
) use one of the npm/cli examples with a directory. For exampleAffected URL
https://docs.npmjs.com/cli/v10/configuring-npm/package-json#repository
The text was updated successfully, but these errors were encountered: