 
   moduleCache =
     version: 1
-    dependencies: {}
+    dependencies: []
+    folders: []
   loadDependencies(modulePath, modulePath, metadata, moduleCache)
   loadFolderCompatibility(modulePath, modulePath, metadata, moduleCache)
 

    childMetadata = JSON.parse(fs.readFileSync(childMetadataPath))
    if childMetadata?.version
      relativePath = path.relative(rootPath, childPath)
      moduleCache.dependencies[relativePath] = childMetadata.version
      loadDependencies(childPath, rootPath, rootMetadata, moduleCache)

loadFolderCompatibility = (modulePath, rootPath, rootMetadata, moduleCache) ->

      paths[relativePath] = true
  fs.traverseTreeSync(modulePath, onFile, onDirectory)

  paths = Object.keys(paths)
  if paths.length > 0 and Object.keys(dependencies).length > 0
    moduleCache.folders.push({paths, dependencies})
