@explorable-viz/fluid 0.7.25 → 0.7.27

Sign up to get free protection for your applications and to get access to all the features.
@@ -28400,7 +28400,7 @@ var copyOptions = {
28400
28400
  encoding: Nothing,
28401
28401
  shell: Nothing
28402
28402
  };
28403
- var copyFiles = (website) => exec2("./node_modules/@explorable-viz/fluidscript/bundle-website.sh -w" + website + " -r true")(copyOptions)((v) => {
28403
+ var copyFiles = (website) => exec2("./node_modules/@explorable-viz/fluid/script/bundle-website.sh -w " + website + " -r true")(copyOptions)((v) => {
28404
28404
  if (v.error.tag === "Just") {
28405
28405
  return log(showErrorImpl(v.error._1));
28406
28406
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@explorable-viz/fluid",
3
- "version": "0.7.25",
3
+ "version": "0.7.27",
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": {
@@ -21,7 +21,7 @@
21
21
  "dist/fluid/",
22
22
  "script/bundle-website.sh",
23
23
  "script/util/clean.sh",
24
- "script/util/lisp_case.sh"
24
+ "script/util/lisp-case.sh"
25
25
  ],
26
26
  "scripts": {
27
27
  "tidy": "./script/tidy.sh",
@@ -0,0 +1,10 @@
1
+ #!/usr/bin/env bash
2
+ set -e
3
+
4
+ toLispCase() {
5
+ INPUT="$1"
6
+ RESULT=$(echo "$INPUT" | sed -E 's/([a-z0-9])([A-Z])/\1-\2/g' | tr '[:upper:]' '[:lower:]')
7
+ echo "$RESULT"
8
+ }
9
+
10
+ toLispCase "$1"