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
Copy file name to clipboardExpand all lines: src/release-specification.test.ts
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -657,7 +657,7 @@ ${releaseSpecificationPath}
657
657
});
658
658
});
659
659
660
-
it('throws if there are any packages in the release with a major version bump using the word "major", but any of their dependents defined as "peerDependencies" have no changes since their latest release and are not listed in the release',async()=>{
660
+
it('throws if there are any packages in the release with a major version bump using the word "major", but any of their dependents defined as "peerDependencies" are not listed in the release, even if they have no changes',async()=>{
661
661
awaitwithSandbox(async(sandbox)=>{
662
662
constproject=buildMockProject({
663
663
workspacePackages: {
@@ -767,7 +767,7 @@ ${releaseSpecificationPath}
767
767
});
768
768
});
769
769
770
-
it('throws if there are any packages in the release with a major version bump using a literal version, but any of their dependents defined as "peerDependencies" have no changes since their latest release and are not listed in the release',async()=>{
770
+
it('throws if there are any packages in the release with a major version bump using a literal version, but any of their dependents defined as "peerDependencies" are not listed in the release, even if they have no changes',async()=>{
771
771
awaitwithSandbox(async(sandbox)=>{
772
772
constproject=buildMockProject({
773
773
workspacePackages: {
@@ -878,7 +878,7 @@ ${releaseSpecificationPath}
878
878
});
879
879
});
880
880
881
-
it('throws if there are any packages in the release with a major version bump using the word "major", but their dependents via "peerDependencies" have no changes since their latest release and have their version specified as null in the release spec',async()=>{
881
+
it('throws if there are any packages in the release with a major version bump using the word "major", but their dependents via "peerDependencies" have their version specified as null in the release spec, even if they have no changes',async()=>{
882
882
awaitwithSandbox(async(sandbox)=>{
883
883
constproject=buildMockProject({
884
884
workspacePackages: {
@@ -990,7 +990,7 @@ ${releaseSpecificationPath}
990
990
});
991
991
});
992
992
993
-
it('throws if there are any packages in the release with a major version bump using a literal version, but their dependents via "peerDependencies" have no changes since their latest release and have their version specified as null in the release spec',async()=>{
993
+
it('throws if there are any packages in the release with a major version bump using a literal version, but their dependents via "peerDependencies" have their version specified as null in the release spec, even if they have no changes',async()=>{
description={`The following packages are dependencies or peer dependencies of ${pkg.name}. Because they may have introduced new changes that ${pkg.name} is now using, you need to verify whether to include them in the release.
125
130
126
131
To do this, look at the change history for each package and compare it with the change history for ${pkg.name}. If ${pkg.name} uses any new changes from a package, then you need to include it by bumping its version. If you have confirmed that the changes to a package do not affect ${pkg.name}, you may omit it from the release by choosing "Skip" instead.`}
@@ -134,7 +139,7 @@ To do this, look at the change history for each package and compare it with the
description={`Because ${pkg.name} is being released with a new major version, to prevent peer dependency warnings in consuming projects, all of the following packages which list ${pkg.name} as a peer dependency need to be included in the release. Please choose new versions for these packages. If for some reason you feel it is safe to omit a package you may choose "Skip".`}
0 commit comments