monorepo-next 12.4.0 → 12.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/releasable.js +1 -13
package/package.json
CHANGED
package/src/releasable.js
CHANGED
@@ -128,22 +128,10 @@ async function _getChangedReleasableFiles({
|
|
128
128
|
|
129
129
|
let changedPublishedFilesOld = new Set(changedPublishedFiles);
|
130
130
|
|
131
|
-
let changedPublishedFilesNew =
|
132
|
-
|
133
|
-
for (let file of changedFiles) {
|
134
|
-
if (changedPublishedFilesOld.has(file)) {
|
135
|
-
changedPublishedFilesNew.add(file);
|
136
|
-
}
|
137
|
-
|
131
|
+
let changedPublishedFilesNew = changedPublishedFilesOld
|
138
132
|
// these files may not show up in the bundle, but
|
139
133
|
// contribute to what goes in the bundle, so we must preserve
|
140
134
|
// the changed status to know if the package is invalidated or not
|
141
|
-
if (filesContributingToReleasability.has(file)) {
|
142
|
-
changedPublishedFilesNew.add(file);
|
143
|
-
}
|
144
|
-
}
|
145
|
-
|
146
|
-
changedPublishedFilesNew = changedPublishedFilesOld
|
147
135
|
.union(filesContributingToReleasability)
|
148
136
|
.intersect(changedFiles);
|
149
137
|
|