@dboio/cli 0.15.3 → 0.17.0

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.
@@ -213,7 +213,7 @@ export async function findMetadataForCompanion(companionPath) {
213
213
  const metaPath = join(dir, entry);
214
214
  try {
215
215
  const meta = JSON.parse(await readFile(metaPath, 'utf8'));
216
- const cols = [...(meta._contentColumns || [])];
216
+ const cols = [...(meta._companionReferenceColumns || meta._contentColumns || [])];
217
217
  if (meta._mediaFile) cols.push('_mediaFile');
218
218
  for (const col of cols) {
219
219
  const ref = meta[col];
@@ -251,7 +251,7 @@ export async function renameToUidConvention(meta, metaPath, uid, lastUpdated, se
251
251
  }
252
252
 
253
253
  // Determine naturalBase from the temp/old metadata filename
254
- // Temp format from add.js: "colors.metadata.json" → naturalBase = "colors"
254
+ // Temp format from adopt.js: "colors.metadata.json" → naturalBase = "colors"
255
255
  // Old tilde format: "colors~uid.metadata.json" → naturalBase = "colors"
256
256
  let naturalBase;
257
257
  const legacyParsed = detectLegacyTildeMetadata(metaFilename);
@@ -280,7 +280,7 @@ export async function renameToUidConvention(meta, metaPath, uid, lastUpdated, se
280
280
  if (serverTz && lastUpdated) {
281
281
  const { setFileTimestamps } = await import('./timestamps.js');
282
282
  try { await setFileTimestamps(newMetaPath, lastUpdated, lastUpdated, serverTz); } catch {}
283
- const contentCols = [...(meta._contentColumns || [])];
283
+ const contentCols = [...(meta._companionReferenceColumns || meta._contentColumns || [])];
284
284
  if (meta._mediaFile) contentCols.push('_mediaFile');
285
285
  for (const col of contentCols) {
286
286
  const ref = updatedMeta[col];
package/src/lib/ignore.js CHANGED
@@ -16,6 +16,7 @@ const DEFAULT_FILE_CONTENT = `# DBO CLI ignore patterns
16
16
  .dboignore
17
17
  *.dboio.json
18
18
  app.json
19
+ .dbo/dependencies/
19
20
 
20
21
  # Editor / IDE / OS
21
22
  .DS_Store