@floomhq/floom 1.0.62 → 1.0.63
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/dist/push-watch.js +11 -0
- package/package.json +1 -1
package/dist/push-watch.js
CHANGED
|
@@ -236,6 +236,17 @@ export async function pushWatchOnce(opts) {
|
|
|
236
236
|
}
|
|
237
237
|
activePushKeys.add(pushKey);
|
|
238
238
|
if (pushed?.hash === hash) {
|
|
239
|
+
if (baselineAdoptAll() && pushed.source !== "adopted") {
|
|
240
|
+
pushManifest.files[pushKey] = {
|
|
241
|
+
hash,
|
|
242
|
+
slug: pushed.slug,
|
|
243
|
+
path: key,
|
|
244
|
+
pushedAt: new Date().toISOString(),
|
|
245
|
+
source: "adopted",
|
|
246
|
+
};
|
|
247
|
+
adopted += 1;
|
|
248
|
+
continue;
|
|
249
|
+
}
|
|
239
250
|
if (!isUnchangedSyncedPackage(root, skillPackage, syncManifest)) {
|
|
240
251
|
adopted += 1;
|
|
241
252
|
markPackageSynced(root, skillPackage, syncManifest, pushed.slug);
|