11cb0ef41Sopenharmony_ci/* IMPORTANT 21cb0ef41Sopenharmony_ci * This snapshot file is auto-generated, but designed for humans. 31cb0ef41Sopenharmony_ci * It should be checked into source control and tracked carefully. 41cb0ef41Sopenharmony_ci * Re-generate by setting TAP_SNAPSHOT=1 and running tests. 51cb0ef41Sopenharmony_ci * Make sure to inspect the output below. Do not ignore changes! 61cb0ef41Sopenharmony_ci */ 71cb0ef41Sopenharmony_ci'use strict' 81cb0ef41Sopenharmony_ciexports[`test/lib/commands/publish.js TAP _auth config default registry > new package version 1`] = ` 91cb0ef41Sopenharmony_ci+ test-package@1.0.0 101cb0ef41Sopenharmony_ci` 111cb0ef41Sopenharmony_ci 121cb0ef41Sopenharmony_ciexports[`test/lib/commands/publish.js TAP bare _auth and registry config > new package version 1`] = ` 131cb0ef41Sopenharmony_ci+ @npm/test-package@1.0.0 141cb0ef41Sopenharmony_ci` 151cb0ef41Sopenharmony_ci 161cb0ef41Sopenharmony_ciexports[`test/lib/commands/publish.js TAP dry-run > must match snapshot 1`] = ` 171cb0ef41Sopenharmony_ciArray [ 181cb0ef41Sopenharmony_ci Array [ 191cb0ef41Sopenharmony_ci "", 201cb0ef41Sopenharmony_ci ], 211cb0ef41Sopenharmony_ci Array [ 221cb0ef41Sopenharmony_ci "", 231cb0ef41Sopenharmony_ci "package: test-package@1.0.0", 241cb0ef41Sopenharmony_ci ], 251cb0ef41Sopenharmony_ci Array [ 261cb0ef41Sopenharmony_ci "=== Tarball Contents ===", 271cb0ef41Sopenharmony_ci ], 281cb0ef41Sopenharmony_ci Array [ 291cb0ef41Sopenharmony_ci "", 301cb0ef41Sopenharmony_ci "87B package.json", 311cb0ef41Sopenharmony_ci ], 321cb0ef41Sopenharmony_ci Array [ 331cb0ef41Sopenharmony_ci "=== Tarball Details ===", 341cb0ef41Sopenharmony_ci ], 351cb0ef41Sopenharmony_ci Array [ 361cb0ef41Sopenharmony_ci "", 371cb0ef41Sopenharmony_ci String( 381cb0ef41Sopenharmony_ci name: test-package 391cb0ef41Sopenharmony_ci version: 1.0.0 401cb0ef41Sopenharmony_ci filename: test-package-1.0.0.tgz 411cb0ef41Sopenharmony_ci package size: {size} 421cb0ef41Sopenharmony_ci unpacked size: 87 B 431cb0ef41Sopenharmony_ci shasum: {sha} 441cb0ef41Sopenharmony_ci integrity: {integrity} 451cb0ef41Sopenharmony_ci total files: 1 461cb0ef41Sopenharmony_ci ), 471cb0ef41Sopenharmony_ci ], 481cb0ef41Sopenharmony_ci Array [ 491cb0ef41Sopenharmony_ci "", 501cb0ef41Sopenharmony_ci "", 511cb0ef41Sopenharmony_ci ], 521cb0ef41Sopenharmony_ci Array [ 531cb0ef41Sopenharmony_ci "", 541cb0ef41Sopenharmony_ci "Publishing to https://registry.npmjs.org/ with tag latest and default access (dry-run)", 551cb0ef41Sopenharmony_ci ], 561cb0ef41Sopenharmony_ci] 571cb0ef41Sopenharmony_ci` 581cb0ef41Sopenharmony_ci 591cb0ef41Sopenharmony_ciexports[`test/lib/commands/publish.js TAP foreground-scripts can still be set to false > must match snapshot 1`] = ` 601cb0ef41Sopenharmony_ciArray [ 611cb0ef41Sopenharmony_ci Array [ 621cb0ef41Sopenharmony_ci "", 631cb0ef41Sopenharmony_ci ], 641cb0ef41Sopenharmony_ci Array [ 651cb0ef41Sopenharmony_ci "", 661cb0ef41Sopenharmony_ci "package: test-fg-scripts@0.0.0", 671cb0ef41Sopenharmony_ci ], 681cb0ef41Sopenharmony_ci Array [ 691cb0ef41Sopenharmony_ci "=== Tarball Contents ===", 701cb0ef41Sopenharmony_ci ], 711cb0ef41Sopenharmony_ci Array [ 721cb0ef41Sopenharmony_ci "", 731cb0ef41Sopenharmony_ci "110B package.json", 741cb0ef41Sopenharmony_ci ], 751cb0ef41Sopenharmony_ci Array [ 761cb0ef41Sopenharmony_ci "=== Tarball Details ===", 771cb0ef41Sopenharmony_ci ], 781cb0ef41Sopenharmony_ci Array [ 791cb0ef41Sopenharmony_ci "", 801cb0ef41Sopenharmony_ci String( 811cb0ef41Sopenharmony_ci name: test-fg-scripts 821cb0ef41Sopenharmony_ci version: 0.0.0 831cb0ef41Sopenharmony_ci filename: test-fg-scripts-0.0.0.tgz 841cb0ef41Sopenharmony_ci package size: {size} 851cb0ef41Sopenharmony_ci unpacked size: 110 B 861cb0ef41Sopenharmony_ci shasum: {sha} 871cb0ef41Sopenharmony_ci integrity: {integrity} 881cb0ef41Sopenharmony_ci total files: 1 891cb0ef41Sopenharmony_ci ), 901cb0ef41Sopenharmony_ci ], 911cb0ef41Sopenharmony_ci Array [ 921cb0ef41Sopenharmony_ci "", 931cb0ef41Sopenharmony_ci "", 941cb0ef41Sopenharmony_ci ], 951cb0ef41Sopenharmony_ci Array [ 961cb0ef41Sopenharmony_ci "", 971cb0ef41Sopenharmony_ci "Publishing to https://registry.npmjs.org/ with tag latest and default access (dry-run)", 981cb0ef41Sopenharmony_ci ], 991cb0ef41Sopenharmony_ci] 1001cb0ef41Sopenharmony_ci` 1011cb0ef41Sopenharmony_ci 1021cb0ef41Sopenharmony_ciexports[`test/lib/commands/publish.js TAP foreground-scripts defaults to true > must match snapshot 1`] = ` 1031cb0ef41Sopenharmony_ciArray [ 1041cb0ef41Sopenharmony_ci Array [ 1051cb0ef41Sopenharmony_ci "", 1061cb0ef41Sopenharmony_ci ], 1071cb0ef41Sopenharmony_ci Array [ 1081cb0ef41Sopenharmony_ci "", 1091cb0ef41Sopenharmony_ci "package: test-fg-scripts@0.0.0", 1101cb0ef41Sopenharmony_ci ], 1111cb0ef41Sopenharmony_ci Array [ 1121cb0ef41Sopenharmony_ci "=== Tarball Contents ===", 1131cb0ef41Sopenharmony_ci ], 1141cb0ef41Sopenharmony_ci Array [ 1151cb0ef41Sopenharmony_ci "", 1161cb0ef41Sopenharmony_ci "110B package.json", 1171cb0ef41Sopenharmony_ci ], 1181cb0ef41Sopenharmony_ci Array [ 1191cb0ef41Sopenharmony_ci "=== Tarball Details ===", 1201cb0ef41Sopenharmony_ci ], 1211cb0ef41Sopenharmony_ci Array [ 1221cb0ef41Sopenharmony_ci "", 1231cb0ef41Sopenharmony_ci String( 1241cb0ef41Sopenharmony_ci name: test-fg-scripts 1251cb0ef41Sopenharmony_ci version: 0.0.0 1261cb0ef41Sopenharmony_ci filename: test-fg-scripts-0.0.0.tgz 1271cb0ef41Sopenharmony_ci package size: {size} 1281cb0ef41Sopenharmony_ci unpacked size: 110 B 1291cb0ef41Sopenharmony_ci shasum: {sha} 1301cb0ef41Sopenharmony_ci integrity: {integrity} 1311cb0ef41Sopenharmony_ci total files: 1 1321cb0ef41Sopenharmony_ci ), 1331cb0ef41Sopenharmony_ci ], 1341cb0ef41Sopenharmony_ci Array [ 1351cb0ef41Sopenharmony_ci "", 1361cb0ef41Sopenharmony_ci "", 1371cb0ef41Sopenharmony_ci ], 1381cb0ef41Sopenharmony_ci Array [ 1391cb0ef41Sopenharmony_ci "", 1401cb0ef41Sopenharmony_ci "Publishing to https://registry.npmjs.org/ with tag latest and default access (dry-run)", 1411cb0ef41Sopenharmony_ci ], 1421cb0ef41Sopenharmony_ci] 1431cb0ef41Sopenharmony_ci` 1441cb0ef41Sopenharmony_ci 1451cb0ef41Sopenharmony_ciexports[`test/lib/commands/publish.js TAP has mTLS auth for scope configured registry > new package version 1`] = ` 1461cb0ef41Sopenharmony_ci+ @npm/test-package@1.0.0 1471cb0ef41Sopenharmony_ci` 1481cb0ef41Sopenharmony_ci 1491cb0ef41Sopenharmony_ciexports[`test/lib/commands/publish.js TAP has token auth for scope configured registry > new package version 1`] = ` 1501cb0ef41Sopenharmony_ci+ @npm/test-package@1.0.0 1511cb0ef41Sopenharmony_ci` 1521cb0ef41Sopenharmony_ci 1531cb0ef41Sopenharmony_ciexports[`test/lib/commands/publish.js TAP ignore-scripts > new package version 1`] = ` 1541cb0ef41Sopenharmony_ci+ test-package@1.0.0 1551cb0ef41Sopenharmony_ci` 1561cb0ef41Sopenharmony_ci 1571cb0ef41Sopenharmony_ciexports[`test/lib/commands/publish.js TAP json > must match snapshot 1`] = ` 1581cb0ef41Sopenharmony_ciArray [ 1591cb0ef41Sopenharmony_ci Array [ 1601cb0ef41Sopenharmony_ci "", 1611cb0ef41Sopenharmony_ci "Publishing to https://registry.npmjs.org/ with tag latest and default access", 1621cb0ef41Sopenharmony_ci ], 1631cb0ef41Sopenharmony_ci] 1641cb0ef41Sopenharmony_ci` 1651cb0ef41Sopenharmony_ci 1661cb0ef41Sopenharmony_ciexports[`test/lib/commands/publish.js TAP json > new package json 1`] = ` 1671cb0ef41Sopenharmony_ci{ 1681cb0ef41Sopenharmony_ci "id": "test-package@1.0.0", 1691cb0ef41Sopenharmony_ci "name": "test-package", 1701cb0ef41Sopenharmony_ci "version": "1.0.0", 1711cb0ef41Sopenharmony_ci "size": "{size}", 1721cb0ef41Sopenharmony_ci "unpackedSize": 87, 1731cb0ef41Sopenharmony_ci "shasum": "{sha}", 1741cb0ef41Sopenharmony_ci "integrity": "{integrity}", 1751cb0ef41Sopenharmony_ci "filename": "test-package-1.0.0.tgz", 1761cb0ef41Sopenharmony_ci "files": [ 1771cb0ef41Sopenharmony_ci { 1781cb0ef41Sopenharmony_ci "path": "package.json", 1791cb0ef41Sopenharmony_ci "size": "{size}", 1801cb0ef41Sopenharmony_ci "mode": 420 1811cb0ef41Sopenharmony_ci } 1821cb0ef41Sopenharmony_ci ], 1831cb0ef41Sopenharmony_ci "entryCount": 1, 1841cb0ef41Sopenharmony_ci "bundled": [] 1851cb0ef41Sopenharmony_ci} 1861cb0ef41Sopenharmony_ci` 1871cb0ef41Sopenharmony_ci 1881cb0ef41Sopenharmony_ciexports[`test/lib/commands/publish.js TAP manifest > manifest 1`] = ` 1891cb0ef41Sopenharmony_ciObject { 1901cb0ef41Sopenharmony_ci "_id": "npm@{VERSION}", 1911cb0ef41Sopenharmony_ci "author": Object { 1921cb0ef41Sopenharmony_ci "name": "GitHub Inc.", 1931cb0ef41Sopenharmony_ci }, 1941cb0ef41Sopenharmony_ci "bin": Object { 1951cb0ef41Sopenharmony_ci "npm": "bin/npm-cli.js", 1961cb0ef41Sopenharmony_ci "npx": "bin/npx-cli.js", 1971cb0ef41Sopenharmony_ci }, 1981cb0ef41Sopenharmony_ci "bugs": Object { 1991cb0ef41Sopenharmony_ci "url": "https://github.com/npm/cli/issues", 2001cb0ef41Sopenharmony_ci }, 2011cb0ef41Sopenharmony_ci "description": "a package manager for JavaScript", 2021cb0ef41Sopenharmony_ci "directories": Object { 2031cb0ef41Sopenharmony_ci "doc": "./doc", 2041cb0ef41Sopenharmony_ci "man": "./man", 2051cb0ef41Sopenharmony_ci }, 2061cb0ef41Sopenharmony_ci "exports": Object { 2071cb0ef41Sopenharmony_ci ".": Array [ 2081cb0ef41Sopenharmony_ci Object { 2091cb0ef41Sopenharmony_ci "default": "./index.js", 2101cb0ef41Sopenharmony_ci }, 2111cb0ef41Sopenharmony_ci "./index.js", 2121cb0ef41Sopenharmony_ci ], 2131cb0ef41Sopenharmony_ci "./package.json": "./package.json", 2141cb0ef41Sopenharmony_ci }, 2151cb0ef41Sopenharmony_ci "files": Array [ 2161cb0ef41Sopenharmony_ci "bin/", 2171cb0ef41Sopenharmony_ci "lib/", 2181cb0ef41Sopenharmony_ci "index.js", 2191cb0ef41Sopenharmony_ci "docs/content/", 2201cb0ef41Sopenharmony_ci "docs/output/", 2211cb0ef41Sopenharmony_ci "man/", 2221cb0ef41Sopenharmony_ci ], 2231cb0ef41Sopenharmony_ci "homepage": "https://docs.npmjs.com/", 2241cb0ef41Sopenharmony_ci "keywords": Array [ 2251cb0ef41Sopenharmony_ci "install", 2261cb0ef41Sopenharmony_ci "modules", 2271cb0ef41Sopenharmony_ci "package manager", 2281cb0ef41Sopenharmony_ci "package.json", 2291cb0ef41Sopenharmony_ci ], 2301cb0ef41Sopenharmony_ci "license": "Artistic-2.0", 2311cb0ef41Sopenharmony_ci "main": "./index.js", 2321cb0ef41Sopenharmony_ci "man": Array [ 2331cb0ef41Sopenharmony_ci "man/man1/npm-access.1", 2341cb0ef41Sopenharmony_ci "man/man1/npm-adduser.1", 2351cb0ef41Sopenharmony_ci "man/man1/npm-audit.1", 2361cb0ef41Sopenharmony_ci "man/man1/npm-bugs.1", 2371cb0ef41Sopenharmony_ci "man/man1/npm-cache.1", 2381cb0ef41Sopenharmony_ci "man/man1/npm-ci.1", 2391cb0ef41Sopenharmony_ci "man/man1/npm-completion.1", 2401cb0ef41Sopenharmony_ci "man/man1/npm-config.1", 2411cb0ef41Sopenharmony_ci "man/man1/npm-dedupe.1", 2421cb0ef41Sopenharmony_ci "man/man1/npm-deprecate.1", 2431cb0ef41Sopenharmony_ci "man/man1/npm-diff.1", 2441cb0ef41Sopenharmony_ci "man/man1/npm-dist-tag.1", 2451cb0ef41Sopenharmony_ci "man/man1/npm-docs.1", 2461cb0ef41Sopenharmony_ci "man/man1/npm-doctor.1", 2471cb0ef41Sopenharmony_ci "man/man1/npm-edit.1", 2481cb0ef41Sopenharmony_ci "man/man1/npm-exec.1", 2491cb0ef41Sopenharmony_ci "man/man1/npm-explain.1", 2501cb0ef41Sopenharmony_ci "man/man1/npm-explore.1", 2511cb0ef41Sopenharmony_ci "man/man1/npm-find-dupes.1", 2521cb0ef41Sopenharmony_ci "man/man1/npm-fund.1", 2531cb0ef41Sopenharmony_ci "man/man1/npm-help-search.1", 2541cb0ef41Sopenharmony_ci "man/man1/npm-help.1", 2551cb0ef41Sopenharmony_ci "man/man1/npm-hook.1", 2561cb0ef41Sopenharmony_ci "man/man1/npm-init.1", 2571cb0ef41Sopenharmony_ci "man/man1/npm-install-ci-test.1", 2581cb0ef41Sopenharmony_ci "man/man1/npm-install-test.1", 2591cb0ef41Sopenharmony_ci "man/man1/npm-install.1", 2601cb0ef41Sopenharmony_ci "man/man1/npm-link.1", 2611cb0ef41Sopenharmony_ci "man/man1/npm-login.1", 2621cb0ef41Sopenharmony_ci "man/man1/npm-logout.1", 2631cb0ef41Sopenharmony_ci "man/man1/npm-ls.1", 2641cb0ef41Sopenharmony_ci "man/man1/npm-org.1", 2651cb0ef41Sopenharmony_ci "man/man1/npm-outdated.1", 2661cb0ef41Sopenharmony_ci "man/man1/npm-owner.1", 2671cb0ef41Sopenharmony_ci "man/man1/npm-pack.1", 2681cb0ef41Sopenharmony_ci "man/man1/npm-ping.1", 2691cb0ef41Sopenharmony_ci "man/man1/npm-pkg.1", 2701cb0ef41Sopenharmony_ci "man/man1/npm-prefix.1", 2711cb0ef41Sopenharmony_ci "man/man1/npm-profile.1", 2721cb0ef41Sopenharmony_ci "man/man1/npm-prune.1", 2731cb0ef41Sopenharmony_ci "man/man1/npm-publish.1", 2741cb0ef41Sopenharmony_ci "man/man1/npm-query.1", 2751cb0ef41Sopenharmony_ci "man/man1/npm-rebuild.1", 2761cb0ef41Sopenharmony_ci "man/man1/npm-repo.1", 2771cb0ef41Sopenharmony_ci "man/man1/npm-restart.1", 2781cb0ef41Sopenharmony_ci "man/man1/npm-root.1", 2791cb0ef41Sopenharmony_ci "man/man1/npm-run-script.1", 2801cb0ef41Sopenharmony_ci "man/man1/npm-sbom.1", 2811cb0ef41Sopenharmony_ci "man/man1/npm-search.1", 2821cb0ef41Sopenharmony_ci "man/man1/npm-shrinkwrap.1", 2831cb0ef41Sopenharmony_ci "man/man1/npm-star.1", 2841cb0ef41Sopenharmony_ci "man/man1/npm-stars.1", 2851cb0ef41Sopenharmony_ci "man/man1/npm-start.1", 2861cb0ef41Sopenharmony_ci "man/man1/npm-stop.1", 2871cb0ef41Sopenharmony_ci "man/man1/npm-team.1", 2881cb0ef41Sopenharmony_ci "man/man1/npm-test.1", 2891cb0ef41Sopenharmony_ci "man/man1/npm-token.1", 2901cb0ef41Sopenharmony_ci "man/man1/npm-uninstall.1", 2911cb0ef41Sopenharmony_ci "man/man1/npm-unpublish.1", 2921cb0ef41Sopenharmony_ci "man/man1/npm-unstar.1", 2931cb0ef41Sopenharmony_ci "man/man1/npm-update.1", 2941cb0ef41Sopenharmony_ci "man/man1/npm-version.1", 2951cb0ef41Sopenharmony_ci "man/man1/npm-view.1", 2961cb0ef41Sopenharmony_ci "man/man1/npm-whoami.1", 2971cb0ef41Sopenharmony_ci "man/man1/npm.1", 2981cb0ef41Sopenharmony_ci "man/man1/npx.1", 2991cb0ef41Sopenharmony_ci "man/man5/folders.5", 3001cb0ef41Sopenharmony_ci "man/man5/install.5", 3011cb0ef41Sopenharmony_ci "man/man5/npm-global.5", 3021cb0ef41Sopenharmony_ci "man/man5/npm-json.5", 3031cb0ef41Sopenharmony_ci "man/man5/npm-shrinkwrap-json.5", 3041cb0ef41Sopenharmony_ci "man/man5/npmrc.5", 3051cb0ef41Sopenharmony_ci "man/man5/package-json.5", 3061cb0ef41Sopenharmony_ci "man/man5/package-lock-json.5", 3071cb0ef41Sopenharmony_ci "man/man7/config.7", 3081cb0ef41Sopenharmony_ci "man/man7/dependency-selectors.7", 3091cb0ef41Sopenharmony_ci "man/man7/developers.7", 3101cb0ef41Sopenharmony_ci "man/man7/logging.7", 3111cb0ef41Sopenharmony_ci "man/man7/orgs.7", 3121cb0ef41Sopenharmony_ci "man/man7/package-spec.7", 3131cb0ef41Sopenharmony_ci "man/man7/registry.7", 3141cb0ef41Sopenharmony_ci "man/man7/removal.7", 3151cb0ef41Sopenharmony_ci "man/man7/scope.7", 3161cb0ef41Sopenharmony_ci "man/man7/scripts.7", 3171cb0ef41Sopenharmony_ci "man/man7/workspaces.7", 3181cb0ef41Sopenharmony_ci ], 3191cb0ef41Sopenharmony_ci "name": "npm", 3201cb0ef41Sopenharmony_ci "readmeFilename": "README.md", 3211cb0ef41Sopenharmony_ci "repository": Object { 3221cb0ef41Sopenharmony_ci "type": "git", 3231cb0ef41Sopenharmony_ci "url": "git+https://github.com/npm/cli.git", 3241cb0ef41Sopenharmony_ci }, 3251cb0ef41Sopenharmony_ci "version": "{VERSION}", 3261cb0ef41Sopenharmony_ci} 3271cb0ef41Sopenharmony_ci` 3281cb0ef41Sopenharmony_ci 3291cb0ef41Sopenharmony_ciexports[`test/lib/commands/publish.js TAP no auth dry-run > must match snapshot 1`] = ` 3301cb0ef41Sopenharmony_ci+ test-package@1.0.0 3311cb0ef41Sopenharmony_ci` 3321cb0ef41Sopenharmony_ci 3331cb0ef41Sopenharmony_ciexports[`test/lib/commands/publish.js TAP no auth dry-run > warns about auth being needed 1`] = ` 3341cb0ef41Sopenharmony_ciArray [ 3351cb0ef41Sopenharmony_ci Array [ 3361cb0ef41Sopenharmony_ci "publish", 3371cb0ef41Sopenharmony_ci "npm auto-corrected some errors in your package.json when publishing. Please run \\"npm pkg fix\\" to address these errors.", 3381cb0ef41Sopenharmony_ci ], 3391cb0ef41Sopenharmony_ci Array [ 3401cb0ef41Sopenharmony_ci "publish", 3411cb0ef41Sopenharmony_ci String( 3421cb0ef41Sopenharmony_ci errors corrected: 3431cb0ef41Sopenharmony_ci Removed invalid "scripts" 3441cb0ef41Sopenharmony_ci ), 3451cb0ef41Sopenharmony_ci ], 3461cb0ef41Sopenharmony_ci Array [ 3471cb0ef41Sopenharmony_ci "", 3481cb0ef41Sopenharmony_ci "This command requires you to be logged in to https://registry.npmjs.org/ (dry-run)", 3491cb0ef41Sopenharmony_ci ], 3501cb0ef41Sopenharmony_ci] 3511cb0ef41Sopenharmony_ci` 3521cb0ef41Sopenharmony_ci 3531cb0ef41Sopenharmony_ciexports[`test/lib/commands/publish.js TAP public access > must match snapshot 1`] = ` 3541cb0ef41Sopenharmony_ciArray [ 3551cb0ef41Sopenharmony_ci Array [ 3561cb0ef41Sopenharmony_ci "", 3571cb0ef41Sopenharmony_ci ], 3581cb0ef41Sopenharmony_ci Array [ 3591cb0ef41Sopenharmony_ci "", 3601cb0ef41Sopenharmony_ci "package: @npm/test-package@1.0.0", 3611cb0ef41Sopenharmony_ci ], 3621cb0ef41Sopenharmony_ci Array [ 3631cb0ef41Sopenharmony_ci "=== Tarball Contents ===", 3641cb0ef41Sopenharmony_ci ], 3651cb0ef41Sopenharmony_ci Array [ 3661cb0ef41Sopenharmony_ci "", 3671cb0ef41Sopenharmony_ci "55B package.json", 3681cb0ef41Sopenharmony_ci ], 3691cb0ef41Sopenharmony_ci Array [ 3701cb0ef41Sopenharmony_ci "=== Tarball Details ===", 3711cb0ef41Sopenharmony_ci ], 3721cb0ef41Sopenharmony_ci Array [ 3731cb0ef41Sopenharmony_ci "", 3741cb0ef41Sopenharmony_ci String( 3751cb0ef41Sopenharmony_ci name: @npm/test-package 3761cb0ef41Sopenharmony_ci version: 1.0.0 3771cb0ef41Sopenharmony_ci filename: npm-test-package-1.0.0.tgz 3781cb0ef41Sopenharmony_ci package size: {size} 3791cb0ef41Sopenharmony_ci unpacked size: 55 B 3801cb0ef41Sopenharmony_ci shasum: {sha} 3811cb0ef41Sopenharmony_ci integrity: {integrity} 3821cb0ef41Sopenharmony_ci total files: 1 3831cb0ef41Sopenharmony_ci ), 3841cb0ef41Sopenharmony_ci ], 3851cb0ef41Sopenharmony_ci Array [ 3861cb0ef41Sopenharmony_ci "", 3871cb0ef41Sopenharmony_ci "", 3881cb0ef41Sopenharmony_ci ], 3891cb0ef41Sopenharmony_ci Array [ 3901cb0ef41Sopenharmony_ci "", 3911cb0ef41Sopenharmony_ci "Publishing to https://registry.npmjs.org/ with tag latest and public access", 3921cb0ef41Sopenharmony_ci ], 3931cb0ef41Sopenharmony_ci] 3941cb0ef41Sopenharmony_ci` 3951cb0ef41Sopenharmony_ci 3961cb0ef41Sopenharmony_ciexports[`test/lib/commands/publish.js TAP public access > new package version 1`] = ` 3971cb0ef41Sopenharmony_ci+ @npm/test-package@1.0.0 3981cb0ef41Sopenharmony_ci` 3991cb0ef41Sopenharmony_ci 4001cb0ef41Sopenharmony_ciexports[`test/lib/commands/publish.js TAP re-loads publishConfig.registry if added during script process > new package version 1`] = ` 4011cb0ef41Sopenharmony_ci+ test-package@1.0.0 4021cb0ef41Sopenharmony_ci` 4031cb0ef41Sopenharmony_ci 4041cb0ef41Sopenharmony_ciexports[`test/lib/commands/publish.js TAP respects publishConfig.registry, runs appropriate scripts > new package version 1`] = ` 4051cb0ef41Sopenharmony_ci 4061cb0ef41Sopenharmony_ci` 4071cb0ef41Sopenharmony_ci 4081cb0ef41Sopenharmony_ciexports[`test/lib/commands/publish.js TAP restricted access > must match snapshot 1`] = ` 4091cb0ef41Sopenharmony_ciArray [ 4101cb0ef41Sopenharmony_ci Array [ 4111cb0ef41Sopenharmony_ci "", 4121cb0ef41Sopenharmony_ci ], 4131cb0ef41Sopenharmony_ci Array [ 4141cb0ef41Sopenharmony_ci "", 4151cb0ef41Sopenharmony_ci "package: @npm/test-package@1.0.0", 4161cb0ef41Sopenharmony_ci ], 4171cb0ef41Sopenharmony_ci Array [ 4181cb0ef41Sopenharmony_ci "=== Tarball Contents ===", 4191cb0ef41Sopenharmony_ci ], 4201cb0ef41Sopenharmony_ci Array [ 4211cb0ef41Sopenharmony_ci "", 4221cb0ef41Sopenharmony_ci "55B package.json", 4231cb0ef41Sopenharmony_ci ], 4241cb0ef41Sopenharmony_ci Array [ 4251cb0ef41Sopenharmony_ci "=== Tarball Details ===", 4261cb0ef41Sopenharmony_ci ], 4271cb0ef41Sopenharmony_ci Array [ 4281cb0ef41Sopenharmony_ci "", 4291cb0ef41Sopenharmony_ci String( 4301cb0ef41Sopenharmony_ci name: @npm/test-package 4311cb0ef41Sopenharmony_ci version: 1.0.0 4321cb0ef41Sopenharmony_ci filename: npm-test-package-1.0.0.tgz 4331cb0ef41Sopenharmony_ci package size: {size} 4341cb0ef41Sopenharmony_ci unpacked size: 55 B 4351cb0ef41Sopenharmony_ci shasum: {sha} 4361cb0ef41Sopenharmony_ci integrity: {integrity} 4371cb0ef41Sopenharmony_ci total files: 1 4381cb0ef41Sopenharmony_ci ), 4391cb0ef41Sopenharmony_ci ], 4401cb0ef41Sopenharmony_ci Array [ 4411cb0ef41Sopenharmony_ci "", 4421cb0ef41Sopenharmony_ci "", 4431cb0ef41Sopenharmony_ci ], 4441cb0ef41Sopenharmony_ci Array [ 4451cb0ef41Sopenharmony_ci "", 4461cb0ef41Sopenharmony_ci "Publishing to https://registry.npmjs.org/ with tag latest and restricted access", 4471cb0ef41Sopenharmony_ci ], 4481cb0ef41Sopenharmony_ci] 4491cb0ef41Sopenharmony_ci` 4501cb0ef41Sopenharmony_ci 4511cb0ef41Sopenharmony_ciexports[`test/lib/commands/publish.js TAP restricted access > new package version 1`] = ` 4521cb0ef41Sopenharmony_ci+ @npm/test-package@1.0.0 4531cb0ef41Sopenharmony_ci` 4541cb0ef41Sopenharmony_ci 4551cb0ef41Sopenharmony_ciexports[`test/lib/commands/publish.js TAP scoped _auth config scoped registry > new package version 1`] = ` 4561cb0ef41Sopenharmony_ci+ @npm/test-package@1.0.0 4571cb0ef41Sopenharmony_ci` 4581cb0ef41Sopenharmony_ci 4591cb0ef41Sopenharmony_ciexports[`test/lib/commands/publish.js TAP tarball > must match snapshot 1`] = ` 4601cb0ef41Sopenharmony_ciArray [ 4611cb0ef41Sopenharmony_ci Array [ 4621cb0ef41Sopenharmony_ci "", 4631cb0ef41Sopenharmony_ci ], 4641cb0ef41Sopenharmony_ci Array [ 4651cb0ef41Sopenharmony_ci "", 4661cb0ef41Sopenharmony_ci "package: test-tar-package@1.0.0", 4671cb0ef41Sopenharmony_ci ], 4681cb0ef41Sopenharmony_ci Array [ 4691cb0ef41Sopenharmony_ci "=== Tarball Contents ===", 4701cb0ef41Sopenharmony_ci ], 4711cb0ef41Sopenharmony_ci Array [ 4721cb0ef41Sopenharmony_ci "", 4731cb0ef41Sopenharmony_ci String( 4741cb0ef41Sopenharmony_ci 26B index.js 4751cb0ef41Sopenharmony_ci 98B package.json 4761cb0ef41Sopenharmony_ci ), 4771cb0ef41Sopenharmony_ci ], 4781cb0ef41Sopenharmony_ci Array [ 4791cb0ef41Sopenharmony_ci "=== Tarball Details ===", 4801cb0ef41Sopenharmony_ci ], 4811cb0ef41Sopenharmony_ci Array [ 4821cb0ef41Sopenharmony_ci "", 4831cb0ef41Sopenharmony_ci String( 4841cb0ef41Sopenharmony_ci name: test-tar-package 4851cb0ef41Sopenharmony_ci version: 1.0.0 4861cb0ef41Sopenharmony_ci filename: test-tar-package-1.0.0.tgz 4871cb0ef41Sopenharmony_ci package size: {size} 4881cb0ef41Sopenharmony_ci unpacked size: 124 B 4891cb0ef41Sopenharmony_ci shasum: {sha} 4901cb0ef41Sopenharmony_ci integrity: {integrity} 4911cb0ef41Sopenharmony_ci total files: 2 4921cb0ef41Sopenharmony_ci ), 4931cb0ef41Sopenharmony_ci ], 4941cb0ef41Sopenharmony_ci Array [ 4951cb0ef41Sopenharmony_ci "", 4961cb0ef41Sopenharmony_ci "", 4971cb0ef41Sopenharmony_ci ], 4981cb0ef41Sopenharmony_ci Array [ 4991cb0ef41Sopenharmony_ci "", 5001cb0ef41Sopenharmony_ci "Publishing to https://registry.npmjs.org/ with tag latest and default access", 5011cb0ef41Sopenharmony_ci ], 5021cb0ef41Sopenharmony_ci] 5031cb0ef41Sopenharmony_ci` 5041cb0ef41Sopenharmony_ci 5051cb0ef41Sopenharmony_ciexports[`test/lib/commands/publish.js TAP tarball > new package json 1`] = ` 5061cb0ef41Sopenharmony_ci+ test-tar-package@1.0.0 5071cb0ef41Sopenharmony_ci` 5081cb0ef41Sopenharmony_ci 5091cb0ef41Sopenharmony_ciexports[`test/lib/commands/publish.js TAP workspaces all workspaces - color > all public workspaces 1`] = ` 5101cb0ef41Sopenharmony_ci+ workspace-a@1.2.3-a 5111cb0ef41Sopenharmony_ci+ workspace-b@1.2.3-n 5121cb0ef41Sopenharmony_ci+ workspace-n@1.2.3-n 5131cb0ef41Sopenharmony_ci` 5141cb0ef41Sopenharmony_ci 5151cb0ef41Sopenharmony_ciexports[`test/lib/commands/publish.js TAP workspaces all workspaces - color > warns about skipped private workspace in color 1`] = ` 5161cb0ef41Sopenharmony_ciArray [ 5171cb0ef41Sopenharmony_ci Array [ 5181cb0ef41Sopenharmony_ci "publish", 5191cb0ef41Sopenharmony_ci "npm auto-corrected some errors in your package.json when publishing. Please run \\"npm pkg fix\\" to address these errors.", 5201cb0ef41Sopenharmony_ci ], 5211cb0ef41Sopenharmony_ci Array [ 5221cb0ef41Sopenharmony_ci "publish", 5231cb0ef41Sopenharmony_ci String( 5241cb0ef41Sopenharmony_ci errors corrected: 5251cb0ef41Sopenharmony_ci Removed invalid "scripts" 5261cb0ef41Sopenharmony_ci "repository" was changed from a string to an object 5271cb0ef41Sopenharmony_ci ), 5281cb0ef41Sopenharmony_ci ], 5291cb0ef41Sopenharmony_ci Array [ 5301cb0ef41Sopenharmony_ci "publish", 5311cb0ef41Sopenharmony_ci "npm auto-corrected some errors in your package.json when publishing. Please run \\"npm pkg fix\\" to address these errors.", 5321cb0ef41Sopenharmony_ci ], 5331cb0ef41Sopenharmony_ci Array [ 5341cb0ef41Sopenharmony_ci "publish", 5351cb0ef41Sopenharmony_ci String( 5361cb0ef41Sopenharmony_ci errors corrected: 5371cb0ef41Sopenharmony_ci Removed invalid "scripts" 5381cb0ef41Sopenharmony_ci "repository" was changed from a string to an object 5391cb0ef41Sopenharmony_ci "repository.url" was normalized to "git+https://github.com/npm/workspace-b.git" 5401cb0ef41Sopenharmony_ci ), 5411cb0ef41Sopenharmony_ci ], 5421cb0ef41Sopenharmony_ci Array [ 5431cb0ef41Sopenharmony_ci "publish", 5441cb0ef41Sopenharmony_ci "npm auto-corrected some errors in your package.json when publishing. Please run \\"npm pkg fix\\" to address these errors.", 5451cb0ef41Sopenharmony_ci ], 5461cb0ef41Sopenharmony_ci Array [ 5471cb0ef41Sopenharmony_ci "publish", 5481cb0ef41Sopenharmony_ci String( 5491cb0ef41Sopenharmony_ci errors corrected: 5501cb0ef41Sopenharmony_ci Removed invalid "scripts" 5511cb0ef41Sopenharmony_ci ), 5521cb0ef41Sopenharmony_ci ], 5531cb0ef41Sopenharmony_ci Array [ 5541cb0ef41Sopenharmony_ci "publish", 5551cb0ef41Sopenharmony_ci "npm auto-corrected some errors in your package.json when publishing. Please run \\"npm pkg fix\\" to address these errors.", 5561cb0ef41Sopenharmony_ci ], 5571cb0ef41Sopenharmony_ci Array [ 5581cb0ef41Sopenharmony_ci "publish", 5591cb0ef41Sopenharmony_ci String( 5601cb0ef41Sopenharmony_ci errors corrected: 5611cb0ef41Sopenharmony_ci Removed invalid "scripts" 5621cb0ef41Sopenharmony_ci ), 5631cb0ef41Sopenharmony_ci ], 5641cb0ef41Sopenharmony_ci Array [ 5651cb0ef41Sopenharmony_ci "publish", 5661cb0ef41Sopenharmony_ci "Skipping workspace \\u001b[32mworkspace-p\\u001b[39m, marked as \\u001b[1mprivate\\u001b[22m", 5671cb0ef41Sopenharmony_ci ], 5681cb0ef41Sopenharmony_ci] 5691cb0ef41Sopenharmony_ci` 5701cb0ef41Sopenharmony_ci 5711cb0ef41Sopenharmony_ciexports[`test/lib/commands/publish.js TAP workspaces all workspaces - no color > all public workspaces 1`] = ` 5721cb0ef41Sopenharmony_ci+ workspace-a@1.2.3-a 5731cb0ef41Sopenharmony_ci+ workspace-b@1.2.3-n 5741cb0ef41Sopenharmony_ci+ workspace-n@1.2.3-n 5751cb0ef41Sopenharmony_ci` 5761cb0ef41Sopenharmony_ci 5771cb0ef41Sopenharmony_ciexports[`test/lib/commands/publish.js TAP workspaces all workspaces - no color > warns about skipped private workspace 1`] = ` 5781cb0ef41Sopenharmony_ciArray [ 5791cb0ef41Sopenharmony_ci Array [ 5801cb0ef41Sopenharmony_ci "publish", 5811cb0ef41Sopenharmony_ci "npm auto-corrected some errors in your package.json when publishing. Please run \\"npm pkg fix\\" to address these errors.", 5821cb0ef41Sopenharmony_ci ], 5831cb0ef41Sopenharmony_ci Array [ 5841cb0ef41Sopenharmony_ci "publish", 5851cb0ef41Sopenharmony_ci String( 5861cb0ef41Sopenharmony_ci errors corrected: 5871cb0ef41Sopenharmony_ci Removed invalid "scripts" 5881cb0ef41Sopenharmony_ci "repository" was changed from a string to an object 5891cb0ef41Sopenharmony_ci ), 5901cb0ef41Sopenharmony_ci ], 5911cb0ef41Sopenharmony_ci Array [ 5921cb0ef41Sopenharmony_ci "publish", 5931cb0ef41Sopenharmony_ci "npm auto-corrected some errors in your package.json when publishing. Please run \\"npm pkg fix\\" to address these errors.", 5941cb0ef41Sopenharmony_ci ], 5951cb0ef41Sopenharmony_ci Array [ 5961cb0ef41Sopenharmony_ci "publish", 5971cb0ef41Sopenharmony_ci String( 5981cb0ef41Sopenharmony_ci errors corrected: 5991cb0ef41Sopenharmony_ci Removed invalid "scripts" 6001cb0ef41Sopenharmony_ci "repository" was changed from a string to an object 6011cb0ef41Sopenharmony_ci "repository.url" was normalized to "git+https://github.com/npm/workspace-b.git" 6021cb0ef41Sopenharmony_ci ), 6031cb0ef41Sopenharmony_ci ], 6041cb0ef41Sopenharmony_ci Array [ 6051cb0ef41Sopenharmony_ci "publish", 6061cb0ef41Sopenharmony_ci "npm auto-corrected some errors in your package.json when publishing. Please run \\"npm pkg fix\\" to address these errors.", 6071cb0ef41Sopenharmony_ci ], 6081cb0ef41Sopenharmony_ci Array [ 6091cb0ef41Sopenharmony_ci "publish", 6101cb0ef41Sopenharmony_ci String( 6111cb0ef41Sopenharmony_ci errors corrected: 6121cb0ef41Sopenharmony_ci Removed invalid "scripts" 6131cb0ef41Sopenharmony_ci ), 6141cb0ef41Sopenharmony_ci ], 6151cb0ef41Sopenharmony_ci Array [ 6161cb0ef41Sopenharmony_ci "publish", 6171cb0ef41Sopenharmony_ci "npm auto-corrected some errors in your package.json when publishing. Please run \\"npm pkg fix\\" to address these errors.", 6181cb0ef41Sopenharmony_ci ], 6191cb0ef41Sopenharmony_ci Array [ 6201cb0ef41Sopenharmony_ci "publish", 6211cb0ef41Sopenharmony_ci String( 6221cb0ef41Sopenharmony_ci errors corrected: 6231cb0ef41Sopenharmony_ci Removed invalid "scripts" 6241cb0ef41Sopenharmony_ci ), 6251cb0ef41Sopenharmony_ci ], 6261cb0ef41Sopenharmony_ci Array [ 6271cb0ef41Sopenharmony_ci "publish", 6281cb0ef41Sopenharmony_ci "Skipping workspace workspace-p, marked as private", 6291cb0ef41Sopenharmony_ci ], 6301cb0ef41Sopenharmony_ci] 6311cb0ef41Sopenharmony_ci` 6321cb0ef41Sopenharmony_ci 6331cb0ef41Sopenharmony_ciexports[`test/lib/commands/publish.js TAP workspaces json > all workspaces in json 1`] = ` 6341cb0ef41Sopenharmony_ci{ 6351cb0ef41Sopenharmony_ci "workspace-a": { 6361cb0ef41Sopenharmony_ci "id": "workspace-a@1.2.3-a", 6371cb0ef41Sopenharmony_ci "name": "workspace-a", 6381cb0ef41Sopenharmony_ci "version": "1.2.3-a", 6391cb0ef41Sopenharmony_ci "size": "{size}", 6401cb0ef41Sopenharmony_ci "unpackedSize": 82, 6411cb0ef41Sopenharmony_ci "shasum": "{sha}", 6421cb0ef41Sopenharmony_ci "integrity": "{integrity}", 6431cb0ef41Sopenharmony_ci "filename": "workspace-a-1.2.3-a.tgz", 6441cb0ef41Sopenharmony_ci "files": [ 6451cb0ef41Sopenharmony_ci { 6461cb0ef41Sopenharmony_ci "path": "package.json", 6471cb0ef41Sopenharmony_ci "size": "{size}", 6481cb0ef41Sopenharmony_ci "mode": 420 6491cb0ef41Sopenharmony_ci } 6501cb0ef41Sopenharmony_ci ], 6511cb0ef41Sopenharmony_ci "entryCount": 1, 6521cb0ef41Sopenharmony_ci "bundled": [] 6531cb0ef41Sopenharmony_ci }, 6541cb0ef41Sopenharmony_ci "workspace-b": { 6551cb0ef41Sopenharmony_ci "id": "workspace-b@1.2.3-n", 6561cb0ef41Sopenharmony_ci "name": "workspace-b", 6571cb0ef41Sopenharmony_ci "version": "1.2.3-n", 6581cb0ef41Sopenharmony_ci "size": "{size}", 6591cb0ef41Sopenharmony_ci "unpackedSize": 92, 6601cb0ef41Sopenharmony_ci "shasum": "{sha}", 6611cb0ef41Sopenharmony_ci "integrity": "{integrity}", 6621cb0ef41Sopenharmony_ci "filename": "workspace-b-1.2.3-n.tgz", 6631cb0ef41Sopenharmony_ci "files": [ 6641cb0ef41Sopenharmony_ci { 6651cb0ef41Sopenharmony_ci "path": "package.json", 6661cb0ef41Sopenharmony_ci "size": "{size}", 6671cb0ef41Sopenharmony_ci "mode": 420 6681cb0ef41Sopenharmony_ci } 6691cb0ef41Sopenharmony_ci ], 6701cb0ef41Sopenharmony_ci "entryCount": 1, 6711cb0ef41Sopenharmony_ci "bundled": [] 6721cb0ef41Sopenharmony_ci }, 6731cb0ef41Sopenharmony_ci "workspace-n": { 6741cb0ef41Sopenharmony_ci "id": "workspace-n@1.2.3-n", 6751cb0ef41Sopenharmony_ci "name": "workspace-n", 6761cb0ef41Sopenharmony_ci "version": "1.2.3-n", 6771cb0ef41Sopenharmony_ci "size": "{size}", 6781cb0ef41Sopenharmony_ci "unpackedSize": 42, 6791cb0ef41Sopenharmony_ci "shasum": "{sha}", 6801cb0ef41Sopenharmony_ci "integrity": "{integrity}", 6811cb0ef41Sopenharmony_ci "filename": "workspace-n-1.2.3-n.tgz", 6821cb0ef41Sopenharmony_ci "files": [ 6831cb0ef41Sopenharmony_ci { 6841cb0ef41Sopenharmony_ci "path": "package.json", 6851cb0ef41Sopenharmony_ci "size": "{size}", 6861cb0ef41Sopenharmony_ci "mode": 420 6871cb0ef41Sopenharmony_ci } 6881cb0ef41Sopenharmony_ci ], 6891cb0ef41Sopenharmony_ci "entryCount": 1, 6901cb0ef41Sopenharmony_ci "bundled": [] 6911cb0ef41Sopenharmony_ci } 6921cb0ef41Sopenharmony_ci} 6931cb0ef41Sopenharmony_ci` 6941cb0ef41Sopenharmony_ci 6951cb0ef41Sopenharmony_ciexports[`test/lib/commands/publish.js TAP workspaces one workspace - success > single workspace 1`] = ` 6961cb0ef41Sopenharmony_ci+ workspace-a@1.2.3-a 6971cb0ef41Sopenharmony_ci` 698