-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: update docs/logging for new --access default
- Loading branch information
1 parent
525654e
commit f0e7584
Showing
8 changed files
with
217 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,7 +51,7 @@ Array [ | |
], | ||
Array [ | ||
"", | ||
"Publishing to https://registry.npmjs.org/ with tag latest (dry-run)", | ||
"Publishing to https://registry.npmjs.org/ with tag latest and default access (dry-run)", | ||
], | ||
] | ||
` | ||
|
@@ -72,7 +72,7 @@ exports[`test/lib/commands/publish.js TAP json > must match snapshot 1`] = ` | |
Array [ | ||
Array [ | ||
"", | ||
"Publishing to https://registry.npmjs.org/ with tag latest", | ||
"Publishing to https://registry.npmjs.org/ with tag latest and default access", | ||
], | ||
] | ||
` | ||
|
@@ -112,6 +112,53 @@ Array [ | |
] | ||
` | ||
|
||
exports[`test/lib/commands/publish.js TAP public access > must match snapshot 1`] = ` | ||
Array [ | ||
Array [ | ||
"", | ||
], | ||
Array [ | ||
"", | ||
"package: @npm/[email protected]", | ||
], | ||
Array [ | ||
"=== Tarball Contents ===", | ||
], | ||
Array [ | ||
"", | ||
"55B package.json", | ||
], | ||
Array [ | ||
"=== Tarball Details ===", | ||
], | ||
Array [ | ||
"", | ||
String( | ||
name: @npm/test-package | ||
version: 1.0.0 | ||
filename: @npm/test-package-1.0.0.tgz | ||
package size: 147 B | ||
unpacked size: 55 B | ||
shasum:{sha} | ||
integrity:{sha} | ||
total files: 1 | ||
), | ||
], | ||
Array [ | ||
"", | ||
"", | ||
], | ||
Array [ | ||
"", | ||
"Publishing to https://registry.npmjs.org/ with tag latest and public access", | ||
], | ||
] | ||
` | ||
|
||
exports[`test/lib/commands/publish.js TAP public access > new package version 1`] = ` | ||
+ @npm/[email protected] | ||
` | ||
|
||
exports[`test/lib/commands/publish.js TAP re-loads publishConfig.registry if added during script process > new package version 1`] = ` | ||
+ [email protected] | ||
` | ||
|
@@ -120,6 +167,53 @@ exports[`test/lib/commands/publish.js TAP respects publishConfig.registry, runs | |
` | ||
|
||
exports[`test/lib/commands/publish.js TAP restricted access > must match snapshot 1`] = ` | ||
Array [ | ||
Array [ | ||
"", | ||
], | ||
Array [ | ||
"", | ||
"package: @npm/[email protected]", | ||
], | ||
Array [ | ||
"=== Tarball Contents ===", | ||
], | ||
Array [ | ||
"", | ||
"55B package.json", | ||
], | ||
Array [ | ||
"=== Tarball Details ===", | ||
], | ||
Array [ | ||
"", | ||
String( | ||
name: @npm/test-package | ||
version: 1.0.0 | ||
filename: @npm/test-package-1.0.0.tgz | ||
package size: 147 B | ||
unpacked size: 55 B | ||
shasum:{sha} | ||
integrity:{sha} | ||
total files: 1 | ||
), | ||
], | ||
Array [ | ||
"", | ||
"", | ||
], | ||
Array [ | ||
"", | ||
"Publishing to https://registry.npmjs.org/ with tag latest and restricted access", | ||
], | ||
] | ||
` | ||
|
||
exports[`test/lib/commands/publish.js TAP restricted access > new package version 1`] = ` | ||
+ @npm/[email protected] | ||
` | ||
|
||
exports[`test/lib/commands/publish.js TAP scoped _auth config scoped registry > new package version 1`] = ` | ||
+ @npm/[email protected] | ||
` | ||
|
@@ -165,7 +259,7 @@ Array [ | |
], | ||
Array [ | ||
"", | ||
"Publishing to https://registry.npmjs.org/ with tag latest", | ||
"Publishing to https://registry.npmjs.org/ with tag latest and default access", | ||
], | ||
] | ||
` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters