Skip to content

Commit

Permalink
chore: fix snapshots for updated @npmcli/package-json
Browse files Browse the repository at this point in the history
Invalid scripts warnings are gone that should not be there
  • Loading branch information
wraithgar committed May 29, 2024
1 parent e3f0fd4 commit 2d84091
Showing 1 changed file with 0 additions and 29 deletions.
29 changes: 0 additions & 29 deletions tap-snapshots/test/lib/commands/publish.js.test.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -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)",
]
`
Expand Down Expand Up @@ -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",
]
`
Expand All @@ -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",
]
`
Expand Down

0 comments on commit 2d84091

Please # to comment.