@microtronics/studio-cli 0.27.2 → 0.28.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.
@@ -288,7 +288,7 @@ async function buildDDE(cwd, fs, logger) {
288
288
  return result.diagnostics;
289
289
  }
290
290
  async function buildDLO(cwd, fs, logger) {
291
- const compiler = new compiler_1.DloCompiler(logger);
291
+ const compiler = new compiler_1.DloCompiler(cwd, fs, logger);
292
292
  const { diagnostics } = await compiler.compile(cwd, fs);
293
293
  return diagnostics;
294
294
  }
@@ -311,15 +311,16 @@ var Registry;
311
311
  }
312
312
  }
313
313
  Registry.updateApplicationFile = updateApplicationFile;
314
- })(Registry || (exports.Registry = Registry = {}));
315
- /**
316
- * inject the X-Semver header for application based requests
317
- * with this header the semver versioning is required
318
- */
319
- function injectSemverHeader(useSemver = false) {
320
- if (useSemver) {
321
- return { 'X-Semver': 'true' };
314
+ /**
315
+ * inject the X-Semver header for application based requests
316
+ * with this header the semver versioning is required
317
+ */
318
+ function injectSemverHeader(useSemver = false) {
319
+ if (useSemver) {
320
+ return { 'X-Semver': 'true' };
321
+ }
322
+ return {};
322
323
  }
323
- return {};
324
- }
324
+ Registry.injectSemverHeader = injectSemverHeader;
325
+ })(Registry || (exports.Registry = Registry = {}));
325
326
  //# sourceMappingURL=registryAPI.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@microtronics/studio-cli",
3
- "version": "0.27.2",
3
+ "version": "0.28.0",
4
4
  "description": "Microtronics Studio CLI Tool",
5
5
  "main": "./out/api.js",
6
6
  "typings": "./dist/studio-cli.d.ts",