@freik/pedroviz 0.1.0 → 0.1.2

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.html CHANGED
@@ -9,7 +9,7 @@
9
9
  -->
10
10
  <link rel="icon" type="image/png" href="./logo-pefhw544.png" />
11
11
  <title>Viz4Pedro</title>
12
- <link rel="stylesheet" crossorigin href="./index-0k6xv586.css"><script type="module" crossorigin src="./index-q4rh30qd.js"></script></head>
12
+ <link rel="stylesheet" crossorigin href="./index-0k6xv586.css"><script type="module" crossorigin src="./index-9vzrarn0.js"></script></head>
13
13
  <body>
14
14
  <div id="root"></div>
15
15
 
package/dist/main.js CHANGED
@@ -696,7 +696,7 @@ var field_dark_default = "./field-dark-kfzgjbw0.jpg";
696
696
  var field_light_default = "./field-light-p0m7q5e8.jpg";
697
697
 
698
698
  // src/index.html
699
- var src_default = __jsonParse("{\"index\":\"./index.html\",\"files\":[{\"input\":\"index.html\",\"path\":\"./index-q4rh30qd.js\",\"loader\":\"js\",\"isEntry\":true,\"headers\":{\"etag\":\"9yR4scNgFy0\",\"content-type\":\"text/javascript;charset=utf-8\"}},{\"input\":\"index.html\",\"path\":\"./index.html\",\"loader\":\"html\",\"isEntry\":true,\"headers\":{\"etag\":\"DZYttr1ABOM\",\"content-type\":\"text/html;charset=utf-8\"}},{\"input\":\"index.html\",\"path\":\"./index-0k6xv586.css\",\"loader\":\"css\",\"isEntry\":true,\"headers\":{\"etag\":\"oDNGndulKAY\",\"content-type\":\"text/css;charset=utf-8\"}},{\"input\":\"client/logo.png\",\"path\":\"./logo-pefhw544.png\",\"loader\":\"file\",\"isEntry\":false,\"headers\":{\"etag\":\"1o5vEbyFxMQ\",\"content-type\":\"image/png\"}}]}");
699
+ var src_default = __jsonParse("{\"index\":\"./index.html\",\"files\":[{\"input\":\"index.html\",\"path\":\"./index-9vzrarn0.js\",\"loader\":\"js\",\"isEntry\":true,\"headers\":{\"etag\":\"qRvf-GqYVSA\",\"content-type\":\"text/javascript;charset=utf-8\"}},{\"input\":\"index.html\",\"path\":\"./index.html\",\"loader\":\"html\",\"isEntry\":true,\"headers\":{\"etag\":\"Y2HpfO2A5mg\",\"content-type\":\"text/html;charset=utf-8\"}},{\"input\":\"index.html\",\"path\":\"./index-0k6xv586.css\",\"loader\":\"css\",\"isEntry\":true,\"headers\":{\"etag\":\"oDNGndulKAY\",\"content-type\":\"text/css;charset=utf-8\"}},{\"input\":\"client/logo.png\",\"path\":\"./logo-pefhw544.png\",\"loader\":\"file\",\"isEntry\":false,\"headers\":{\"etag\":\"1o5vEbyFxMQ\",\"content-type\":\"image/png\"}}]}");
700
700
 
701
701
  // src/server/getpaths.ts
702
702
  import fs, { promises as fsp2 } from "fs";
@@ -19394,8 +19394,6 @@ function OpenBrowser(url) {
19394
19394
  return;
19395
19395
  }
19396
19396
  child_proc.exec(command + " " + url, (err, stdout, stderr) => {
19397
- console.log("stdout: " + stdout.toString());
19398
- console.log("stderr: " + stderr.toString());
19399
19397
  if (err !== null && err !== undefined) {
19400
19398
  console.log(`exec error: ${JSON.stringify(err)}`);
19401
19399
  }
@@ -19447,7 +19445,7 @@ async function SaveDatabase(flattenedDb) {
19447
19445
  }
19448
19446
 
19449
19447
  // src/main.tsx
19450
- var args2 = process.argv.slice(2).map((str) => path2.resolve(str));
19448
+ var args2 = [...process.argv.slice(2), process.cwd()].map((str) => path2.resolve(str));
19451
19449
  setArgs(args2);
19452
19450
  chdir(import.meta.dir);
19453
19451
  var server = serve({
@@ -19467,7 +19465,7 @@ var server = serve({
19467
19465
  console: true
19468
19466
  }
19469
19467
  });
19470
- main(server.url).then(console.log).catch(console.error);
19468
+ main(server.url).then(() => {}).catch(console.error);
19471
19469
 
19472
- //# debugId=E6EB845BC5771A8864756E2164756E21
19470
+ //# debugId=EAA7D3EA0E019F3864756E2164756E21
19473
19471
  //# sourceMappingURL=main.js.map