@explorable-viz/fluid 0.7.66 → 0.7.67

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.
@@ -0,0 +1,29 @@
1
+ {
2
+ "parserOptions": {
3
+ "ecmaVersion": 6,
4
+ "sourceType": "module"
5
+ },
6
+ "extends": "eslint:recommended",
7
+ "env": {
8
+ "node": true
9
+ },
10
+ "rules": {
11
+ "strict": [2, "global"],
12
+ "block-scoped-var": 2,
13
+ "consistent-return": 2,
14
+ "eqeqeq": [2, "smart"],
15
+ "guard-for-in": 2,
16
+ "no-caller": 2,
17
+ "no-extend-native": 2,
18
+ "no-loop-func": 2,
19
+ "no-new": 2,
20
+ "no-param-reassign": 2,
21
+ "no-return-assign": 2,
22
+ "no-unused-expressions": 2,
23
+ "no-use-before-define": 2,
24
+ "radix": [2, "always"],
25
+ "indent": [2, 2],
26
+ "quotes": [2, "double"],
27
+ "semi": [2, "always"]
28
+ }
29
+ }
@@ -0,0 +1,8 @@
1
+ /.*
2
+ !/.gitignore
3
+ !/.eslintrc.json
4
+ !/.github/
5
+ /bower_components/
6
+ /node_modules/
7
+ /output/
8
+ package-lock.json
@@ -0,0 +1,29 @@
1
+ {
2
+ "parserOptions": {
3
+ "ecmaVersion": 6,
4
+ "sourceType": "module"
5
+ },
6
+ "extends": "eslint:recommended",
7
+ "env": {
8
+ "node": true
9
+ },
10
+ "rules": {
11
+ "strict": [2, "global"],
12
+ "block-scoped-var": 2,
13
+ "consistent-return": 2,
14
+ "eqeqeq": [2, "smart"],
15
+ "guard-for-in": 2,
16
+ "no-caller": 2,
17
+ "no-extend-native": 2,
18
+ "no-loop-func": 2,
19
+ "no-new": 2,
20
+ "no-param-reassign": 2,
21
+ "no-return-assign": 2,
22
+ "no-unused-expressions": 2,
23
+ "no-use-before-define": 2,
24
+ "radix": [2, "always"],
25
+ "indent": [2, 2],
26
+ "quotes": [2, "double"],
27
+ "semi": [2, "always"]
28
+ }
29
+ }
@@ -0,0 +1,8 @@
1
+ /.*
2
+ !/.gitignore
3
+ !/.eslintrc.json
4
+ !/.github/
5
+ /bower_components/
6
+ /node_modules/
7
+ /output/
8
+ package-lock.json
@@ -0,0 +1,29 @@
1
+ {
2
+ "parserOptions": {
3
+ "ecmaVersion": 6,
4
+ "sourceType": "module"
5
+ },
6
+ "extends": "eslint:recommended",
7
+ "env": {
8
+ "node": true
9
+ },
10
+ "rules": {
11
+ "strict": [2, "global"],
12
+ "block-scoped-var": 2,
13
+ "consistent-return": 2,
14
+ "eqeqeq": [2, "smart"],
15
+ "guard-for-in": 2,
16
+ "no-caller": 2,
17
+ "no-extend-native": 2,
18
+ "no-loop-func": 2,
19
+ "no-new": 2,
20
+ "no-param-reassign": 2,
21
+ "no-return-assign": 2,
22
+ "no-unused-expressions": 2,
23
+ "no-use-before-define": 2,
24
+ "radix": [2, "always"],
25
+ "indent": [2, 2],
26
+ "quotes": [2, "double"],
27
+ "semi": [2, "always"]
28
+ }
29
+ }
@@ -0,0 +1,8 @@
1
+ /.*
2
+ !/.gitignore
3
+ !/.eslintrc.json
4
+ !/.github/
5
+ /bower_components/
6
+ /node_modules/
7
+ /output/
8
+ package-lock.json
@@ -0,0 +1,8 @@
1
+ /.*
2
+ !/.github
3
+ !/.gitignore
4
+ !/.npmrc
5
+ !/.travis.yml
6
+ /bower_components/
7
+ /node_modules/
8
+ /output/
@@ -0,0 +1 @@
1
+ package-lock=false
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@explorable-viz/fluid",
3
- "version": "0.7.66",
3
+ "version": "0.7.67",
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": {
@@ -10,26 +10,30 @@ while getopts "w:r:" opt; do
10
10
  esac
11
11
  done
12
12
 
13
+ PREFIX_=${PREFIX:+$PREFIX/}
14
+
13
15
  WEBSITE_LISP_CASE=$(./$PREFIX/script/util/lisp-case.sh "$WEBSITE")
14
16
  echo "$WEBSITE -> $WEBSITE_LISP_CASE"
15
17
  echo "Cleaning dist/$WEBSITE_LISP_CASE"
16
- . "${PREFIX:+$PREFIX/}script/util/clean.sh" $WEBSITE_LISP_CASE
18
+ . "${PREFIX_}script/util/clean.sh" $WEBSITE_LISP_CASE
17
19
 
18
- . "${PREFIX:+$PREFIX/}script/bundle-page.sh" $WEBSITE ${PREFIX:+$PREFIX}
20
+ . "${PREFIX_}script/bundle-page.sh" $WEBSITE ${PREFIX:+$PREFIX}
19
21
 
20
22
  shopt -s nullglob
21
23
 
22
24
  # Only support one level of nesting for now
25
+ set +x
23
26
  PAGES=($(for FILE in website/$WEBSITE/*.html; do
24
27
  basename "$FILE" | sed 's/\.[^.]*$//'
25
28
  done | sort -u))
29
+ set -x
26
30
 
27
31
  for PAGE in "${PAGES[@]}"; do
28
- . "${PREFIX:+$PREFIX/}script/bundle-page.sh" $WEBSITE.$PAGE ${PREFIX:+$PREFIX}
32
+ . "${PREFIX_}script/bundle-page.sh" $WEBSITE.$PAGE ${PREFIX:+$PREFIX}
29
33
  done
30
34
 
31
35
  echo "Processing other static files:"
32
- set +u # try to remove +u
36
+ set +xu # try to remove +u
33
37
  TO_COPY=()
34
38
  shopt -s extglob
35
39
  for CHILD in website/$WEBSITE/!(.|..); do
@@ -39,7 +43,7 @@ for CHILD in website/$WEBSITE/!(.|..); do
39
43
  fi
40
44
  done
41
45
  shopt -u extglob
42
- set -u
46
+ set -xu
43
47
 
44
48
  for CHILD in "${TO_COPY[@]}"; do
45
49
  cp -rL "$CHILD" dist/$WEBSITE_LISP_CASE
@@ -49,9 +53,9 @@ echo "Processing shared js files:"
49
53
  cp -r fluid dist/$WEBSITE_LISP_CASE
50
54
 
51
55
  if [[ "$PREFIX" != "" ]]; then
52
- cp -r "${PREFIX:+$PREFIX/}dist/fluid/fluid" dist/$WEBSITE_LISP_CASE
56
+ cp -r "${PREFIX_}dist/fluid/fluid" dist/$WEBSITE_LISP_CASE
53
57
  fi
54
- cp -r "${PREFIX:+$PREFIX/}dist/fluid/shared" dist/$WEBSITE_LISP_CASE
58
+ cp -r "${PREFIX_}dist/fluid/shared" dist/$WEBSITE_LISP_CASE
55
59
 
56
60
  if [[ -e "website/$SRC_PATH/test.mjs" ]]; then
57
61
  cp website/$SRC_PATH/test.mjs dist/SRC_PATH_LISP_CASE/test.mjs
@@ -1,13 +0,0 @@
1
- # https://editorconfig.org
2
- root = true
3
-
4
- [*]
5
- indent_style = space
6
- indent_size = 2
7
- end_of_line = lf
8
- charset = utf-8
9
- trim_trailing_whitespace = true
10
- insert_final_newline = true
11
-
12
- [*.md]
13
- trim_trailing_whitespace = false
@@ -1,30 +0,0 @@
1
- {
2
- "env": { "browser": true },
3
- "extends": "eslint:recommended",
4
- "parserOptions": { "ecmaVersion": 6, "sourceType": "module" },
5
- "rules": {
6
- "block-scoped-var": "error",
7
- "consistent-return": "error",
8
- "eqeqeq": "error",
9
- "guard-for-in": "error",
10
- "no-bitwise": "error",
11
- "no-caller": "error",
12
- "no-constant-condition": ["error", { "checkLoops": false }],
13
- "no-extra-parens": "off",
14
- "no-extend-native": "error",
15
- "no-loop-func": "error",
16
- "no-new": "error",
17
- "no-param-reassign": "error",
18
- "no-return-assign": "error",
19
- "no-sequences": "error",
20
- "no-unused-expressions": "error",
21
- "no-use-before-define": "error",
22
- "no-undef": "error",
23
- "no-eq-null": "error",
24
- "radix": ["error", "always"],
25
- "indent": ["error", 2, { "SwitchCase": 0 }],
26
- "quotes": ["error", "double"],
27
- "semi": ["error", "always"],
28
- "strict": ["error", "global"]
29
- }
30
- }
@@ -1,13 +0,0 @@
1
- .*
2
- !.gitignore
3
- !.github
4
- !.editorconfig
5
- !.eslintrc.json
6
-
7
- output
8
- generated-docs
9
- bower_components
10
-
11
- node_modules
12
- package-lock.json
13
- *.lock
@@ -1,13 +0,0 @@
1
- # https://editorconfig.org
2
- root = true
3
-
4
- [*]
5
- indent_style = space
6
- indent_size = 2
7
- end_of_line = lf
8
- charset = utf-8
9
- trim_trailing_whitespace = true
10
- insert_final_newline = true
11
-
12
- [*.md]
13
- trim_trailing_whitespace = false
@@ -1,9 +0,0 @@
1
- .*
2
- !.gitignore
3
- !.github
4
- !.editorconfig
5
- !.tidyrc.json
6
-
7
- output
8
- generated-docs
9
- bower_components
@@ -1,10 +0,0 @@
1
- {
2
- "importSort": "source",
3
- "importWrap": "source",
4
- "indent": 2,
5
- "operatorsFile": null,
6
- "ribbon": 1,
7
- "typeArrowPlacement": "first",
8
- "unicode": "never",
9
- "width": null
10
- }