@explorable-viz/fluid 0.7.20 → 0.7.22
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/fluid/fluid.mjs +3 -3
- package/package.json +1 -1
- package/script/bundle-website.sh +11 -2
package/dist/fluid/fluid.mjs
CHANGED
@@ -28400,7 +28400,7 @@ var copyOptions = {
|
|
28400
28400
|
encoding: Nothing,
|
28401
28401
|
shell: Nothing
|
28402
28402
|
};
|
28403
|
-
var copyFiles = (website) => exec2("
|
28403
|
+
var copyFiles = (website) => exec2("./node_modules/@explorable-viz/fluidscript/bundle-website.sh -w" + website + " -r node_modules/@explorable-viz/fluid")(copyOptions)((v) => {
|
28404
28404
|
if (v.error.tag === "Just") {
|
28405
28405
|
return log(showErrorImpl(v.error._1));
|
28406
28406
|
}
|
@@ -28520,11 +28520,11 @@ var publish = /* @__PURE__ */ (() => $Parser(
|
|
28520
28520
|
$MultPE(
|
28521
28521
|
parserFunctor.map(Publish)(program),
|
28522
28522
|
parserFunctor.map(Folder)(option(readerAsk)((() => {
|
28523
|
-
const $0 = help("root directory under dist/");
|
28523
|
+
const $0 = help("root directory of website under dist/");
|
28524
28524
|
const $1 = $0._2._2.tag === "Nothing" ? Nothing : $0._2._2;
|
28525
28525
|
return $Mod(
|
28526
28526
|
(x) => $0._1({
|
28527
|
-
optNames: [$OptName("OptShort", "
|
28527
|
+
optNames: [$OptName("OptShort", "w"), $OptName("OptLong", "website"), ...x.optNames],
|
28528
28528
|
optCompleter: x.optCompleter,
|
28529
28529
|
optNoArgError: x.optNoArgError
|
28530
28530
|
}),
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@explorable-viz/fluid",
|
3
|
-
"version": "0.7.
|
3
|
+
"version": "0.7.22",
|
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": {
|
package/script/bundle-website.sh
CHANGED
@@ -2,8 +2,17 @@
|
|
2
2
|
# run from project root
|
3
3
|
set -xe
|
4
4
|
|
5
|
-
|
6
|
-
|
5
|
+
ROOT_DIR=""
|
6
|
+
WEBSITE="Misc"
|
7
|
+
|
8
|
+
while getopts "r:w:" opt; do
|
9
|
+
case $opt in
|
10
|
+
r) ROOT_DIR="$OPTARG";;
|
11
|
+
w) WEBSITE="$OPTARG";;
|
12
|
+
esac
|
13
|
+
done
|
14
|
+
|
15
|
+
. $ROOT_DIR script/bundle-page.sh $WEBSITE
|
7
16
|
|
8
17
|
# Only support one level of nesting for now
|
9
18
|
shopt -s nullglob
|