diff --git a/tap-snapshots/test/lib/commands/publish.js.test.cjs b/tap-snapshots/test/lib/commands/publish.js.test.cjs index 4c0cd05fe504d..bad7355fb9076 100644 --- a/tap-snapshots/test/lib/commands/publish.js.test.cjs +++ b/tap-snapshots/test/lib/commands/publish.js.test.cjs @@ -254,11 +254,6 @@ exports[`test/lib/commands/publish.js TAP no auth dry-run > must match snapshot exports[`test/lib/commands/publish.js TAP no auth dry-run > warns about auth being needed 1`] = ` Array [ - "publish npm auto-corrected some errors in your package.json when publishing. Please run \\"npm pkg fix\\" to address these errors.", - String( - publish errors corrected: - publish Removed invalid "scripts" - ), "This command requires you to be logged in to https://registry.npmjs.org/ (dry-run)", ] ` @@ -359,26 +354,14 @@ Array [ "\\u001b[94mpublish\\u001b[39m npm auto-corrected some errors in your package.json when publishing. Please run \\"npm pkg fix\\" to address these errors.", String( \\u001b[94mpublish\\u001b[39m errors corrected: - \\u001b[94mpublish\\u001b[39m Removed invalid "scripts" \\u001b[94mpublish\\u001b[39m "repository" was changed from a string to an object ), "\\u001b[94mpublish\\u001b[39m npm auto-corrected some errors in your package.json when publishing. Please run \\"npm pkg fix\\" to address these errors.", String( \\u001b[94mpublish\\u001b[39m errors corrected: - \\u001b[94mpublish\\u001b[39m Removed invalid "scripts" \\u001b[94mpublish\\u001b[39m "repository" was changed from a string to an object \\u001b[94mpublish\\u001b[39m "repository.url" was normalized to "git+https://github.com/npm/workspace-b.git" ), - "\\u001b[94mpublish\\u001b[39m npm auto-corrected some errors in your package.json when publishing. Please run \\"npm pkg fix\\" to address these errors.", - String( - \\u001b[94mpublish\\u001b[39m errors corrected: - \\u001b[94mpublish\\u001b[39m Removed invalid "scripts" - ), - "\\u001b[94mpublish\\u001b[39m npm auto-corrected some errors in your package.json when publishing. Please run \\"npm pkg fix\\" to address these errors.", - String( - \\u001b[94mpublish\\u001b[39m errors corrected: - \\u001b[94mpublish\\u001b[39m Removed invalid "scripts" - ), "\\u001b[94mpublish\\u001b[39m Skipping workspace \\u001b[36mworkspace-p\\u001b[39m, marked as \\u001b[1mprivate\\u001b[22m", ] ` @@ -394,26 +377,14 @@ Array [ "publish npm auto-corrected some errors in your package.json when publishing. Please run \\"npm pkg fix\\" to address these errors.", String( publish errors corrected: - publish Removed invalid "scripts" publish "repository" was changed from a string to an object ), "publish npm auto-corrected some errors in your package.json when publishing. Please run \\"npm pkg fix\\" to address these errors.", String( publish errors corrected: - publish Removed invalid "scripts" publish "repository" was changed from a string to an object publish "repository.url" was normalized to "git+https://github.com/npm/workspace-b.git" ), - "publish npm auto-corrected some errors in your package.json when publishing. Please run \\"npm pkg fix\\" to address these errors.", - String( - publish errors corrected: - publish Removed invalid "scripts" - ), - "publish npm auto-corrected some errors in your package.json when publishing. Please run \\"npm pkg fix\\" to address these errors.", - String( - publish errors corrected: - publish Removed invalid "scripts" - ), "publish Skipping workspace workspace-p, marked as private", ] `