@explorable-viz/fluid 0.9.4 → 0.9.6

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.9.4",
3
+ "version": "0.9.6",
4
4
  "description": "A functional programming language which integrates a bidirectional dynamic analysis, connecting 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": {
@@ -25,7 +25,7 @@
25
25
  "script/util/clean.sh",
26
26
  "script/util/lisp-case.sh",
27
27
  "website/article",
28
- "script/install-article.sh",
28
+ "script/install-website.sh",
29
29
  "script/util/serve.sh"
30
30
  ],
31
31
  "scripts": {
@@ -84,7 +84,7 @@
84
84
  "bin": {
85
85
  "fluid": "./dist/fluid/shared/fluid.mjs",
86
86
  "test-website": "./dist/fluid/shared/website-test.js",
87
- "install-article": "./script/install-article.sh",
87
+ "install-website": "./script/install-website.sh",
88
88
  "bundle-website": "./script/bundle-website.sh"
89
89
  },
90
90
  "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
@@ -0,0 +1,15 @@
1
+ #!/usr/bin/env bash
2
+ set -xeu
3
+
4
+ # Run from root of repo
5
+
6
+ WEBSITE=$1
7
+ NPM_ROOT=node_modules/@explorable-viz/fluid
8
+
9
+ if [ -e "website/$WEBSITE" ]; then
10
+ echo "Error: website/$WEBSITE already exists" >&2
11
+ exit 1
12
+ fi
13
+
14
+ mkdir -p website/$WEBSITE
15
+ cp -r $NPM_ROOT/website/$1 website
@@ -1,18 +0,0 @@
1
- #!/usr/bin/env bash
2
- set -xeu
3
-
4
- # Run from root of repo
5
-
6
- WEBSITE=$1
7
-
8
- if [ -e "website/$WEBSITE" ]; then
9
- echo "Error: website/$WEBSITE already exists" >&2
10
- exit 1
11
- fi
12
-
13
- mkdir -p website/$WEBSITE
14
- cp -r node_modules/@explorable-viz/fluid/website/{css,font,shared} website
15
-
16
- ln -s website/css website/$WEBSITE/css
17
- ln -s website/font website/$WEBSITE/font
18
- ln -s website/shared website/$WEBSITE/shared