@runtypelabs/react-flow 1.0.39 → 1.0.41
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/CHANGELOG.md +15 -0
- package/dist/index.js +0 -5
- package/example/CHANGELOG.md +17 -0
- package/example/package.json +1 -1
- package/example/src/App.tsx +0 -58
- package/package.json +2 -2
- package/src/components/RuntypeFlowEditor.tsx +0 -21
- package/src/components/nodes/BaseNode.tsx +4 -20
- package/src/components/nodes/CodeNode.tsx +0 -6
- package/src/components/nodes/ConditionalNode.tsx +0 -9
- package/src/components/nodes/FetchUrlNode.tsx +0 -9
- package/src/components/nodes/PromptNode.tsx +0 -6
- package/src/components/nodes/SendEmailNode.tsx +0 -7
- package/src/hooks/useFlowValidation.ts +0 -36
- package/src/hooks/useRuntypeFlow.ts +0 -42
- package/src/index.ts +0 -4
- package/src/types/index.ts +0 -18
- package/src/utils/adapter.ts +1 -53
- package/src/utils/layout.ts +0 -23
- package/tsup.config.ts +0 -2
- package/.turbo/turbo-build.log +0 -13
- package/dist/index.mjs +0 -3334
- package/example/node_modules/.bin/tsc +0 -43
- package/example/node_modules/.bin/tsserver +0 -43
- package/example/node_modules/.bin/vite +0 -43
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
#!/bin/sh
|
|
2
|
-
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
-
basedir_win="$basedir"
|
|
4
|
-
exe=""
|
|
5
|
-
msys=""
|
|
6
|
-
|
|
7
|
-
case `uname -a` in
|
|
8
|
-
*CYGWIN*|*MINGW*|*MSYS*)
|
|
9
|
-
if command -v cygpath > /dev/null 2>&1; then
|
|
10
|
-
basedir_win=`cygpath -w "$basedir"`
|
|
11
|
-
fi
|
|
12
|
-
exe=".exe"
|
|
13
|
-
msys="true"
|
|
14
|
-
;;
|
|
15
|
-
*WSL2*)
|
|
16
|
-
if command -v wslpath > /dev/null 2>&1; then
|
|
17
|
-
basedir_win="$(wslpath -w "$basedir" 2> /dev/null)"
|
|
18
|
-
if [ $? -ne 0 ] || [ -z "$basedir_win" ]; then
|
|
19
|
-
basedir_win="$basedir"
|
|
20
|
-
else
|
|
21
|
-
exe=".exe"
|
|
22
|
-
fi
|
|
23
|
-
fi
|
|
24
|
-
;;
|
|
25
|
-
esac
|
|
26
|
-
|
|
27
|
-
if [ -z "$NODE_PATH" ]; then
|
|
28
|
-
export NODE_PATH="/home/runner/actions-runner/_work/core/core/node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/node_modules:/home/runner/actions-runner/_work/core/core/node_modules/.pnpm/typescript@6.0.3/node_modules:/home/runner/actions-runner/_work/core/core/node_modules/.pnpm/node_modules"
|
|
29
|
-
else
|
|
30
|
-
export NODE_PATH="/home/runner/actions-runner/_work/core/core/node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/node_modules:/home/runner/actions-runner/_work/core/core/node_modules/.pnpm/typescript@6.0.3/node_modules:/home/runner/actions-runner/_work/core/core/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
31
|
-
fi
|
|
32
|
-
if [ -n "$exe" ] && [ -x "$basedir/node.exe" ]; then
|
|
33
|
-
exec "$basedir/node.exe" "$basedir_win/../typescript/bin/tsc" "$@"
|
|
34
|
-
elif [ -x "$basedir/node" ]; then
|
|
35
|
-
exec "$basedir/node" "$basedir/../typescript/bin/tsc" "$@"
|
|
36
|
-
elif command -v node >/dev/null 2>&1; then
|
|
37
|
-
exec node "$basedir/../typescript/bin/tsc" "$@"
|
|
38
|
-
elif [ -n "$exe" ] && command -v node.exe >/dev/null 2>&1; then
|
|
39
|
-
exec node.exe "$basedir_win/../typescript/bin/tsc" "$@"
|
|
40
|
-
else
|
|
41
|
-
exec node "$basedir/../typescript/bin/tsc" "$@"
|
|
42
|
-
fi
|
|
43
|
-
# cmd-shim-target=/home/runner/actions-runner/_work/core/core/packages/react-flow/example/node_modules/typescript/bin/tsc
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
#!/bin/sh
|
|
2
|
-
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
-
basedir_win="$basedir"
|
|
4
|
-
exe=""
|
|
5
|
-
msys=""
|
|
6
|
-
|
|
7
|
-
case `uname -a` in
|
|
8
|
-
*CYGWIN*|*MINGW*|*MSYS*)
|
|
9
|
-
if command -v cygpath > /dev/null 2>&1; then
|
|
10
|
-
basedir_win=`cygpath -w "$basedir"`
|
|
11
|
-
fi
|
|
12
|
-
exe=".exe"
|
|
13
|
-
msys="true"
|
|
14
|
-
;;
|
|
15
|
-
*WSL2*)
|
|
16
|
-
if command -v wslpath > /dev/null 2>&1; then
|
|
17
|
-
basedir_win="$(wslpath -w "$basedir" 2> /dev/null)"
|
|
18
|
-
if [ $? -ne 0 ] || [ -z "$basedir_win" ]; then
|
|
19
|
-
basedir_win="$basedir"
|
|
20
|
-
else
|
|
21
|
-
exe=".exe"
|
|
22
|
-
fi
|
|
23
|
-
fi
|
|
24
|
-
;;
|
|
25
|
-
esac
|
|
26
|
-
|
|
27
|
-
if [ -z "$NODE_PATH" ]; then
|
|
28
|
-
export NODE_PATH="/home/runner/actions-runner/_work/core/core/node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/node_modules:/home/runner/actions-runner/_work/core/core/node_modules/.pnpm/typescript@6.0.3/node_modules:/home/runner/actions-runner/_work/core/core/node_modules/.pnpm/node_modules"
|
|
29
|
-
else
|
|
30
|
-
export NODE_PATH="/home/runner/actions-runner/_work/core/core/node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/node_modules:/home/runner/actions-runner/_work/core/core/node_modules/.pnpm/typescript@6.0.3/node_modules:/home/runner/actions-runner/_work/core/core/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
31
|
-
fi
|
|
32
|
-
if [ -n "$exe" ] && [ -x "$basedir/node.exe" ]; then
|
|
33
|
-
exec "$basedir/node.exe" "$basedir_win/../typescript/bin/tsserver" "$@"
|
|
34
|
-
elif [ -x "$basedir/node" ]; then
|
|
35
|
-
exec "$basedir/node" "$basedir/../typescript/bin/tsserver" "$@"
|
|
36
|
-
elif command -v node >/dev/null 2>&1; then
|
|
37
|
-
exec node "$basedir/../typescript/bin/tsserver" "$@"
|
|
38
|
-
elif [ -n "$exe" ] && command -v node.exe >/dev/null 2>&1; then
|
|
39
|
-
exec node.exe "$basedir_win/../typescript/bin/tsserver" "$@"
|
|
40
|
-
else
|
|
41
|
-
exec node "$basedir/../typescript/bin/tsserver" "$@"
|
|
42
|
-
fi
|
|
43
|
-
# cmd-shim-target=/home/runner/actions-runner/_work/core/core/packages/react-flow/example/node_modules/typescript/bin/tsserver
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
#!/bin/sh
|
|
2
|
-
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
3
|
-
basedir_win="$basedir"
|
|
4
|
-
exe=""
|
|
5
|
-
msys=""
|
|
6
|
-
|
|
7
|
-
case `uname -a` in
|
|
8
|
-
*CYGWIN*|*MINGW*|*MSYS*)
|
|
9
|
-
if command -v cygpath > /dev/null 2>&1; then
|
|
10
|
-
basedir_win=`cygpath -w "$basedir"`
|
|
11
|
-
fi
|
|
12
|
-
exe=".exe"
|
|
13
|
-
msys="true"
|
|
14
|
-
;;
|
|
15
|
-
*WSL2*)
|
|
16
|
-
if command -v wslpath > /dev/null 2>&1; then
|
|
17
|
-
basedir_win="$(wslpath -w "$basedir" 2> /dev/null)"
|
|
18
|
-
if [ $? -ne 0 ] || [ -z "$basedir_win" ]; then
|
|
19
|
-
basedir_win="$basedir"
|
|
20
|
-
else
|
|
21
|
-
exe=".exe"
|
|
22
|
-
fi
|
|
23
|
-
fi
|
|
24
|
-
;;
|
|
25
|
-
esac
|
|
26
|
-
|
|
27
|
-
if [ -z "$NODE_PATH" ]; then
|
|
28
|
-
export NODE_PATH="/home/runner/actions-runner/_work/core/core/node_modules/.pnpm/vite@8.1.4_@types+node@26.2.0_esbuild@0.28.1_jiti@2.7.0_terser@5.46.0_tsx@4.21.0_yaml@2.9.0/node_modules/vite/node_modules:/home/runner/actions-runner/_work/core/core/node_modules/.pnpm/vite@8.1.4_@types+node@26.2.0_esbuild@0.28.1_jiti@2.7.0_terser@5.46.0_tsx@4.21.0_yaml@2.9.0/node_modules:/home/runner/actions-runner/_work/core/core/node_modules/.pnpm/node_modules"
|
|
29
|
-
else
|
|
30
|
-
export NODE_PATH="/home/runner/actions-runner/_work/core/core/node_modules/.pnpm/vite@8.1.4_@types+node@26.2.0_esbuild@0.28.1_jiti@2.7.0_terser@5.46.0_tsx@4.21.0_yaml@2.9.0/node_modules/vite/node_modules:/home/runner/actions-runner/_work/core/core/node_modules/.pnpm/vite@8.1.4_@types+node@26.2.0_esbuild@0.28.1_jiti@2.7.0_terser@5.46.0_tsx@4.21.0_yaml@2.9.0/node_modules:/home/runner/actions-runner/_work/core/core/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
31
|
-
fi
|
|
32
|
-
if [ -n "$exe" ] && [ -x "$basedir/node.exe" ]; then
|
|
33
|
-
exec "$basedir/node.exe" "$basedir_win/../vite/bin/vite.js" "$@"
|
|
34
|
-
elif [ -x "$basedir/node" ]; then
|
|
35
|
-
exec "$basedir/node" "$basedir/../vite/bin/vite.js" "$@"
|
|
36
|
-
elif command -v node >/dev/null 2>&1; then
|
|
37
|
-
exec node "$basedir/../vite/bin/vite.js" "$@"
|
|
38
|
-
elif [ -n "$exe" ] && command -v node.exe >/dev/null 2>&1; then
|
|
39
|
-
exec node.exe "$basedir_win/../vite/bin/vite.js" "$@"
|
|
40
|
-
else
|
|
41
|
-
exec node "$basedir/../vite/bin/vite.js" "$@"
|
|
42
|
-
fi
|
|
43
|
-
# cmd-shim-target=/home/runner/actions-runner/_work/core/core/packages/react-flow/example/node_modules/vite/bin/vite.js
|