You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -357,8 +360,8 @@ export async function validateReleaseSpecification(
357
360
const{ dependencies, peerDependencies }=
358
361
possibleDependent.validatedManifest;
359
362
return(
360
-
hasProperty(dependencies,packageName)||
361
-
hasProperty(peerDependencies,packageName)
363
+
hasProperty(dependencies,changedPackageName)||
364
+
hasProperty(peerDependencies,changedPackageName)
362
365
);
363
366
},
364
367
);
@@ -377,11 +380,11 @@ export async function validateReleaseSpecification(
377
380
if(missingDependentNames.length>0){
378
381
errors.push({
379
382
message: [
380
-
`The following dependents of package '${packageName}', which is being released with a major version bump, are missing from the release spec.`,
383
+
`The following dependents of package '${changedPackageName}', which is being released with a major version bump, are missing from the release spec.`,
381
384
missingDependentNames
382
385
.map((dependent)=>` - ${dependent}`)
383
386
.join('\n'),
384
-
` Consider including them in the release spec so that they are compatible with the new '${packageName}' version.`,
387
+
` Consider including them in the release spec so that they are compatible with the new '${changedPackageName}' version.`,
385
388
` If you are ABSOLUTELY SURE these packages are safe to omit, however, and want to postpone the release of a package, then list it with a directive of "intentionally-skip". For example:`,
@@ -421,11 +424,11 @@ export async function validateReleaseSpecification(
421
424
if(missingDependencies.length>0){
422
425
errors.push({
423
426
message: [
424
-
`The following packages, which are dependencies or peer dependencies of the package '${packageName}' being released, are missing from the release spec.`,
427
+
`The following packages, which are dependencies or peer dependencies of the package '${changedPackageName}' being released, are missing from the release spec.`,
425
428
missingDependencies
426
429
.map((dependency)=>` - ${dependency}`)
427
430
.join('\n'),
428
-
` These packages may have changes that '${packageName}' relies upon. Consider including them in the release spec.`,
431
+
` These packages may have changes that '${changedPackageName}' relies upon. Consider including them in the release spec.`,
429
432
` If you are ABSOLUTELY SURE these packages are safe to omit, however, and want to postpone the release of a package, then list it with a directive of "intentionally-skip". For example:`,
0 commit comments