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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/releasable.js +1 -13
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "monorepo-next",
3
- "version": "12.4.0",
3
+ "version": "12.4.1",
4
4
  "description": "Detach monorepo packages from normal linking",
5
5
  "bin": {
6
6
  "next": "bin/next.js"
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 = new Set();
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