@tenonhq/sincronia-core 0.0.43 → 0.0.45

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/dist/appUtils.js +5 -1
  2. package/package.json +1 -1
package/dist/appUtils.js CHANGED
@@ -68,9 +68,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
68
68
  regularFiles.push(file);
69
69
  }
70
70
  });
71
+ // Write metadata files with updated _lastUpdatedOn field
72
+ const metadataPromises = metadataFiles.map(async (file) => {
73
+ return fileWrite(file, recPath);
74
+ });
71
75
  // Write regular files
72
76
  const regularPromises = regularFiles.map((file) => fileWrite(file, recPath));
73
- await Promise.all([...regularPromises]);
77
+ await Promise.all([...metadataPromises, ...regularPromises]);
74
78
  // Remove content from ALL files and exclude metadata from manifest
75
79
  rec.files = regularFiles.map((file) => {
76
80
  const fileCopy = { ...file };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tenonhq/sincronia-core",
3
- "version": "0.0.43",
3
+ "version": "0.0.45",
4
4
  "description": "Next-gen file syncer",
5
5
  "license": "GPL-3.0",
6
6
  "main": "./dist/index.js",