myop 0.1.44 → 0.1.45

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.
Files changed (2) hide show
  1. package/dist/myop-cli.js +2 -2
  2. package/package.json +1 -1
package/dist/myop-cli.js CHANGED
@@ -1906,7 +1906,7 @@ const $e = (o = !1) => {
1906
1906
  new ke(),
1907
1907
  ...Et
1908
1908
  ];
1909
- const eo = "0.1.44";
1909
+ const eo = "0.1.45";
1910
1910
  h.program = new ft();
1911
1911
  h.program.name("@myop/cli").description("Myop CLI - Remote UI Made Easy").version(eo);
1912
1912
  h.program.addOption(new me("-c, --config <value>", "myop.config.json file location").default("./myop.config.json", "./myop.config.json"));
@@ -2290,7 +2290,7 @@ h.program.command("pull").description("Download component HTML from Myop platfor
2290
2290
  }
2291
2291
  let c = e.output;
2292
2292
  c || (I.existsSync("./dist/index.html") ? c = "./dist/index.html" : c = "./index.html");
2293
- const $ = d.html, u = D.dirname(c);
2293
+ const $ = d.htmlContent || d.html, u = D.dirname(c);
2294
2294
  u && !I.existsSync(u) && I.mkdirSync(u, { recursive: !0 }), I.writeFileSync(c, $), console.log(` Saved to: ${c} (${($.length / 1024).toFixed(1)} KB)`);
2295
2295
  const y = I.existsSync(t);
2296
2296
  let C = !1;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "myop",
3
- "version": "0.1.44",
3
+ "version": "0.1.45",
4
4
  "description": "Myop cli",
5
5
  "type": "module",
6
6
  "repository": {