@aloma.io/integration-sdk 3.3.42 → 3.3.43

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.
@@ -78,5 +78,7 @@ declare function ${member.getName()}(${params}): ${retVal};
78
78
  };
79
79
  export default async (path) => {
80
80
  const parsed = await parseFromFiles([path]);
81
+ if (parsed.errors?.length)
82
+ throw new Error(path + ' ' + JSON.stringify(parsed.errors));
81
83
  return transform(parsed.project?.getModules() || []);
82
84
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aloma.io/integration-sdk",
3
- "version": "3.3.42",
3
+ "version": "3.3.43",
4
4
  "description": "",
5
5
  "author": "aloma.io",
6
6
  "license": "Apache-2.0",
@@ -101,5 +101,6 @@ declare function ${member.getName()}(${params}): ${retVal};
101
101
 
102
102
  export default async (path: string) => {
103
103
  const parsed = await parseFromFiles([path]);
104
+ if (parsed.errors?.length) throw new Error(path + ' ' + JSON.stringify(parsed.errors));
104
105
  return transform(parsed.project?.getModules() || []);
105
106
  };