@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.
- package/.spago/node-process/v11.0.0/.eslintrc.json +29 -0
- package/.spago/node-process/v11.0.0/.gitignore +8 -0
- package/.spago/node-process/v11.1.0/.eslintrc.json +29 -0
- package/.spago/node-process/v11.1.0/.gitignore +8 -0
- package/.spago/node-process/v11.2.0/.eslintrc.json +29 -0
- package/.spago/node-process/v11.2.0/.gitignore +8 -0
- package/.spago/optparse/v6.0.0/.gitignore +8 -0
- package/.spago/optparse/v6.0.0/.npmrc +1 -0
- package/package.json +1 -1
- package/script/bundle-website.sh +11 -7
- package/.spago/affjax-node/v1.0.0/.editorconfig +0 -13
- package/.spago/affjax-node/v1.0.0/.eslintrc.json +0 -30
- package/.spago/affjax-node/v1.0.0/.gitignore +0 -13
- package/.spago/pathy/v9.0.0/.editorconfig +0 -13
- package/.spago/pathy/v9.0.0/.gitignore +0 -9
- package/.spago/pathy/v9.0.0/.tidyrc.json +0 -10
@@ -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,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,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 @@
|
|
1
|
+
package-lock=false
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@explorable-viz/fluid",
|
3
|
-
"version": "0.7.
|
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": {
|
package/script/bundle-website.sh
CHANGED
@@ -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
|
-
. "${
|
18
|
+
. "${PREFIX_}script/util/clean.sh" $WEBSITE_LISP_CASE
|
17
19
|
|
18
|
-
. "${
|
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
|
-
. "${
|
32
|
+
. "${PREFIX_}script/bundle-page.sh" $WEBSITE.$PAGE ${PREFIX:+$PREFIX}
|
29
33
|
done
|
30
34
|
|
31
35
|
echo "Processing other static files:"
|
32
|
-
set +
|
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 -
|
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 "${
|
56
|
+
cp -r "${PREFIX_}dist/fluid/fluid" dist/$WEBSITE_LISP_CASE
|
53
57
|
fi
|
54
|
-
cp -r "${
|
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,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
|
-
}
|