@explorable-viz/fluid 0.7.74 → 0.7.76

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@explorable-viz/fluid",
3
- "version": "0.7.74",
3
+ "version": "0.7.76",
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": {
@@ -33,6 +33,7 @@
33
33
  "bundle-page": "./script/bundle-page.sh",
34
34
  "bundle-website": "./script/bundle-website.sh",
35
35
  "bundle-website-all": "./script/bundle-website-all.sh",
36
+ "fluid": "node ./dist/fluid/shared/fluid.mjs",
36
37
  "npm-publish": "./script/npm-publish.sh",
37
38
  "serve": "./script/serve.sh",
38
39
  "test": "./script/test.sh",
@@ -11,8 +11,6 @@ while getopts "w:r" opt; do
11
11
  done
12
12
 
13
13
  PREFIX_=${PREFIX:+$PREFIX/}
14
- pwd
15
- ls -la script/util/lisp-case.sh
16
14
  WEBSITE_LISP_CASE=$(. "${PREFIX_}script/util/lisp-case.sh" "$WEBSITE")
17
15
  echo "$WEBSITE -> $WEBSITE_LISP_CASE"
18
16
  echo "Cleaning dist/$WEBSITE_LISP_CASE"
@@ -50,14 +48,12 @@ for CHILD in "${TO_COPY[@]}"; do
50
48
  cp -rL "$CHILD" dist/$WEBSITE_LISP_CASE
51
49
  done
52
50
 
53
- echo "Processing shared js files:"
51
+ echo "Processing Fluid source files:"
54
52
  cp -r fluid dist/$WEBSITE_LISP_CASE
53
+ [ -d "website/$WEBSITE/fluid" ] && cp -r "website/$WEBSITE/fluid" dist/$WEBSITE_LISP_CASE
55
54
 
56
- # if [[ "$PREFIX" != "" ]]; then
57
- # cp -r "${PREFIX_}dist/fluid/fluid" dist/$WEBSITE_LISP_CASE
58
- # fi
55
+ echo "Processing shared JavaScript files:"
59
56
  cp -r "${PREFIX_}dist/fluid/shared" dist/$WEBSITE_LISP_CASE
60
- [ -d "website/$WEBSITE/fluid" ] && cp -r "website/$WEBSITE/fluid" dist/$WEBSITE_LISP_CASE
61
57
 
62
58
  if [[ -e "website/$SRC_PATH/test.mjs" ]]; then
63
59
  cp website/$SRC_PATH/test.mjs dist/SRC_PATH_LISP_CASE/test.mjs