@xrmforge/typegen 0.8.6 → 0.8.7

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/index.js CHANGED
@@ -2610,7 +2610,7 @@ function toImportSpecifier(relativePath) {
2610
2610
  }
2611
2611
  function generateBarrelIndex(files) {
2612
2612
  const lines = [GENERATED_HEADER];
2613
- const entities = files.filter((f) => f.type === "entity");
2613
+ const entities = files.filter((f) => f.type === "entity" && !f.relativePath.endsWith(".json"));
2614
2614
  const optionsets = files.filter((f) => f.type === "optionset");
2615
2615
  const forms = files.filter((f) => f.type === "form");
2616
2616
  const fields = files.filter((f) => f.type === "fields");