@@ -245,6 +245,17 @@ exports[`test/lib/commands/publish.js TAP no auth dry-run > must match snapshot
245
245
246
246
exports [ `test/lib/commands/publish.js TAP no auth dry-run > warns about auth being needed 1` ] = `
247
247
Array [
248
+ Array [
249
+ "publish",
250
+ "npm auto-corrected some errors in your package.json when publishing. Please run \\"npm pkg fix\\" to address these errors.",
251
+ ],
252
+ Array [
253
+ "publish",
254
+ String(
255
+ errors corrected:
256
+ Removed invalid "scripts"
257
+ ),
258
+ ],
248
259
Array [
249
260
"",
250
261
"This command requires you to be logged in to https://registry.npmjs.org/ (dry-run)",
@@ -416,6 +427,53 @@ exports[`test/lib/commands/publish.js TAP workspaces all workspaces - color > al
416
427
417
428
exports [ `test/lib/commands/publish.js TAP workspaces all workspaces - color > warns about skipped private workspace in color 1` ] = `
418
429
Array [
430
+ Array [
431
+ "publish",
432
+ "npm auto-corrected some errors in your package.json when publishing. Please run \\"npm pkg fix\\" to address these errors.",
433
+ ],
434
+ Array [
435
+ "publish",
436
+ String(
437
+ errors corrected:
438
+ Removed invalid "scripts"
439
+ "repository" was changed from a string to an object
440
+ ),
441
+ ],
442
+ Array [
443
+ "publish",
444
+ "npm auto-corrected some errors in your package.json when publishing. Please run \\"npm pkg fix\\" to address these errors.",
445
+ ],
446
+ Array [
447
+ "publish",
448
+ String(
449
+ errors corrected:
450
+ Removed invalid "scripts"
451
+ "repository" was changed from a string to an object
452
+ "repository.url" was normalized to "git+https://github.com/npm/workspace-b.git"
453
+ ),
454
+ ],
455
+ Array [
456
+ "publish",
457
+ "npm auto-corrected some errors in your package.json when publishing. Please run \\"npm pkg fix\\" to address these errors.",
458
+ ],
459
+ Array [
460
+ "publish",
461
+ String(
462
+ errors corrected:
463
+ Removed invalid "scripts"
464
+ ),
465
+ ],
466
+ Array [
467
+ "publish",
468
+ "npm auto-corrected some errors in your package.json when publishing. Please run \\"npm pkg fix\\" to address these errors.",
469
+ ],
470
+ Array [
471
+ "publish",
472
+ String(
473
+ errors corrected:
474
+ Removed invalid "scripts"
475
+ ),
476
+ ],
419
477
Array [
420
478
"publish",
421
479
"Skipping workspace \\u001b[32mworkspace-p\\u001b[39m, marked as \\u001b[1mprivate\\u001b[22m",
@@ -431,6 +489,53 @@ exports[`test/lib/commands/publish.js TAP workspaces all workspaces - no color >
431
489
432
490
exports [ `test/lib/commands/publish.js TAP workspaces all workspaces - no color > warns about skipped private workspace 1` ] = `
433
491
Array [
492
+ Array [
493
+ "publish",
494
+ "npm auto-corrected some errors in your package.json when publishing. Please run \\"npm pkg fix\\" to address these errors.",
495
+ ],
496
+ Array [
497
+ "publish",
498
+ String(
499
+ errors corrected:
500
+ Removed invalid "scripts"
501
+ "repository" was changed from a string to an object
502
+ ),
503
+ ],
504
+ Array [
505
+ "publish",
506
+ "npm auto-corrected some errors in your package.json when publishing. Please run \\"npm pkg fix\\" to address these errors.",
507
+ ],
508
+ Array [
509
+ "publish",
510
+ String(
511
+ errors corrected:
512
+ Removed invalid "scripts"
513
+ "repository" was changed from a string to an object
514
+ "repository.url" was normalized to "git+https://github.com/npm/workspace-b.git"
515
+ ),
516
+ ],
517
+ Array [
518
+ "publish",
519
+ "npm auto-corrected some errors in your package.json when publishing. Please run \\"npm pkg fix\\" to address these errors.",
520
+ ],
521
+ Array [
522
+ "publish",
523
+ String(
524
+ errors corrected:
525
+ Removed invalid "scripts"
526
+ ),
527
+ ],
528
+ Array [
529
+ "publish",
530
+ "npm auto-corrected some errors in your package.json when publishing. Please run \\"npm pkg fix\\" to address these errors.",
531
+ ],
532
+ Array [
533
+ "publish",
534
+ String(
535
+ errors corrected:
536
+ Removed invalid "scripts"
537
+ ),
538
+ ],
434
539
Array [
435
540
"publish",
436
541
"Skipping workspace workspace-p, marked as private",
0 commit comments