@explorable-viz/fluid 0.7.18 → 0.7.19

Sign up to get free protection for your applications and to get access to all the features.
@@ -24805,7 +24805,6 @@ var concatM2 = (dictMonad) => foldrArray((() => {
24805
24805
  return (f) => (g) => (a) => $0.bind(f(a))(g);
24806
24806
  })())(dictMonad.Applicative0().pure);
24807
24807
  var Folder = (x) => x;
24808
- var File = (x) => x;
24809
24808
  var parse = (dictMonadError) => {
24810
24809
  const $0 = dictMonadError.MonadThrow0();
24811
24810
  const $1 = $0.Monad0().Applicative0().pure;
@@ -28357,14 +28356,14 @@ var execParserPure = (pprefs) => (pinfo) => (args) => {
28357
28356
  };
28358
28357
 
28359
28358
  // output-es/Fluid/index.js
28360
- var $Command = (tag, _1, _2, _3) => ({ tag, _1, _2, _3 });
28359
+ var $Command = (tag, _1, _2) => ({ tag, _1, _2 });
28361
28360
  var $Program = (_1) => ({ tag: "Program", _1 });
28362
28361
  var loadProgCxt2 = /* @__PURE__ */ loadProgCxt(monadAffAff)(monadErrorAff)(loadFile);
28363
28362
  var prepConfig2 = /* @__PURE__ */ prepConfig(monadAffAff)(monadErrorAff)(loadFile);
28364
28363
  var graphEval2 = /* @__PURE__ */ graphEval(monadErrorAff);
28365
28364
  var fromFoldable29 = /* @__PURE__ */ (() => fromFoldableImpl(foldableList.foldr))();
28366
28365
  var Evaluate = (value0) => $Command("Evaluate", value0);
28367
- var Publish = (value0) => (value1) => (value2) => $Command("Publish", value0, value1, value2);
28366
+ var Publish = (value0) => (value1) => $Command("Publish", value0, value1);
28368
28367
  var parseImports = /* @__PURE__ */ $Parser(
28369
28368
  "BindP",
28370
28369
  /* @__PURE__ */ manyM(/* @__PURE__ */ option(readerAsk)(/* @__PURE__ */ (() => {
@@ -28390,7 +28389,7 @@ var output = (v) => {
28390
28389
  })(v2["out\u03B1"]._2)
28391
28390
  )))));
28392
28391
  };
28393
- var execOptions = {
28392
+ var copyOptions = {
28394
28393
  cwd: Nothing,
28395
28394
  env: Nothing,
28396
28395
  timeout: Nothing,
@@ -28401,7 +28400,7 @@ var execOptions = {
28401
28400
  encoding: Nothing,
28402
28401
  shell: Nothing
28403
28402
  };
28404
- var tester = (website) => exec2("yarn bundle-website " + website)(execOptions)((v) => {
28403
+ var copyFiles = (website) => exec2("yarn bundle-website " + website)(copyOptions)((v) => {
28405
28404
  if (v.error.tag === "Just") {
28406
28405
  return log(showErrorImpl(v.error._1));
28407
28406
  }
@@ -28420,7 +28419,7 @@ var dispatchCommand = (v) => {
28420
28419
  }
28421
28420
  if (v.tag === "Publish") {
28422
28421
  const $0 = v._1;
28423
- return _bind(_liftEffect(tester(v._2)))(() => _bind(_liftEffect(log("Published")))(() => output($0)));
28422
+ return _bind(_liftEffect(copyFiles(v._2)))(() => _bind(_liftEffect(log("Published")))(() => output($0)));
28424
28423
  }
28425
28424
  fail();
28426
28425
  };
@@ -28519,37 +28518,17 @@ var program = /* @__PURE__ */ (() => $Parser(
28519
28518
  var publish = /* @__PURE__ */ (() => $Parser(
28520
28519
  "MultP",
28521
28520
  $MultPE(
28522
- $Parser(
28523
- "MultP",
28524
- $MultPE(
28525
- parserFunctor.map(Publish)(program),
28526
- parserFunctor.map(Folder)(option(readerAsk)((() => {
28527
- const $0 = help("root directory under dist/");
28528
- const $1 = $0._2._1.tag === "Nothing" ? Nothing : $0._2._1;
28529
- const $2 = $0._2._2.tag === "Nothing" ? Nothing : $0._2._2;
28530
- return $Mod(
28531
- (x) => $0._1({
28532
- optNames: [$OptName("OptShort", "r"), $OptName("OptLong", "root"), ...x.optNames],
28533
- optCompleter: x.optCompleter,
28534
- optNoArgError: x.optNoArgError
28535
- }),
28536
- $DefaultProp($1.tag === "Nothing" ? Nothing : $1, $2.tag === "Nothing" ? Nothing : $2),
28537
- (x) => $0._3(x)
28538
- );
28539
- })()))
28540
- )
28541
- ),
28542
- parserFunctor.map(File)(option(readerAsk)((() => {
28543
- const $0 = help("Template for web-page");
28544
- const $1 = $0._2._1.tag === "Nothing" ? Nothing : $0._2._1;
28545
- const $2 = $0._2._2.tag === "Nothing" ? Nothing : $0._2._2;
28521
+ parserFunctor.map(Publish)(program),
28522
+ parserFunctor.map(Folder)(option(readerAsk)((() => {
28523
+ const $0 = help("root directory under dist/");
28524
+ const $1 = $0._2._2.tag === "Nothing" ? Nothing : $0._2._2;
28546
28525
  return $Mod(
28547
28526
  (x) => $0._1({
28548
- optNames: [$OptName("OptShort", "t"), $OptName("OptLong", "template"), ...x.optNames],
28527
+ optNames: [$OptName("OptShort", "r"), $OptName("OptLong", "root"), ...x.optNames],
28549
28528
  optCompleter: x.optCompleter,
28550
28529
  optNoArgError: x.optNoArgError
28551
28530
  }),
28552
- $DefaultProp($1.tag === "Nothing" ? Nothing : $1, $2.tag === "Nothing" ? Nothing : $2),
28531
+ $DefaultProp($Maybe("Just", "Misc"), $1.tag === "Nothing" ? Nothing : $1),
28553
28532
  (x) => $0._3(x)
28554
28533
  );
28555
28534
  })()))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@explorable-viz/fluid",
3
- "version": "0.7.18",
3
+ "version": "0.7.19",
4
4
  "description": "Fluid is an experimental programming language which integrates a bidirectional dynamic analysis to connect outputs to data sources in a fine-grained way. Fluid is implemented in PureScript and runs in the browser.",
5
5
  "main": "index.js",
6
6
  "repository": {