@explorable-viz/fluid 0.9.4 → 0.9.5

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.5",
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"
@@ -4,14 +4,21 @@ set -xeu
4
4
  # Run from root of repo
5
5
 
6
6
  WEBSITE=$1
7
+ NPM_ROOT=node_modules/@explorable-viz/fluid
7
8
 
8
9
  if [ -e "website/$WEBSITE" ]; then
9
10
  echo "Error: website/$WEBSITE already exists" >&2
10
11
  exit 1
11
12
  fi
12
13
 
14
+ if [ -e "website/$WEBSITE" ]; then
15
+ echo "Error: $NPM_ROOT/website/$WEBSITE does not exist" >&2
16
+ exit 1
17
+ fi
18
+
13
19
  mkdir -p website/$WEBSITE
14
- cp -r node_modules/@explorable-viz/fluid/website/{css,font,shared} website
20
+ cp -r $NPM_ROOT/website/{css,font,shared} website
21
+ cp -r $NPM_ROOT/website/$1 website
15
22
 
16
23
  ln -s website/css website/$WEBSITE/css
17
24
  ln -s website/font website/$WEBSITE/font