@runtypelabs/react-flow 0.1.0 → 0.1.2

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.
@@ -10,9 +10,9 @@ case `uname` in
10
10
  esac
11
11
 
12
12
  if [ -z "$NODE_PATH" ]; then
13
- export NODE_PATH="/home/exedev/GitHub/core/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/bin/node_modules:/home/exedev/GitHub/core/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/node_modules:/home/exedev/GitHub/core/node_modules/.pnpm/typescript@5.9.3/node_modules:/home/exedev/GitHub/core/node_modules/.pnpm/node_modules"
13
+ export NODE_PATH="/home/runner/work/core/core/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/bin/node_modules:/home/runner/work/core/core/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/node_modules:/home/runner/work/core/core/node_modules/.pnpm/typescript@5.9.3/node_modules:/home/runner/work/core/core/node_modules/.pnpm/node_modules"
14
14
  else
15
- export NODE_PATH="/home/exedev/GitHub/core/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/bin/node_modules:/home/exedev/GitHub/core/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/node_modules:/home/exedev/GitHub/core/node_modules/.pnpm/typescript@5.9.3/node_modules:/home/exedev/GitHub/core/node_modules/.pnpm/node_modules:$NODE_PATH"
15
+ export NODE_PATH="/home/runner/work/core/core/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/bin/node_modules:/home/runner/work/core/core/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/node_modules:/home/runner/work/core/core/node_modules/.pnpm/typescript@5.9.3/node_modules:/home/runner/work/core/core/node_modules/.pnpm/node_modules:$NODE_PATH"
16
16
  fi
17
17
  if [ -x "$basedir/node" ]; then
18
18
  exec "$basedir/node" "$basedir/../typescript/bin/tsserver" "$@"
@@ -10,9 +10,9 @@ case `uname` in
10
10
  esac
11
11
 
12
12
  if [ -z "$NODE_PATH" ]; then
13
- export NODE_PATH="/home/exedev/GitHub/core/node_modules/.pnpm/vite@5.4.21_@types+node@25.0.3_lightningcss@1.30.1_terser@5.44.1/node_modules/vite/bin/node_modules:/home/exedev/GitHub/core/node_modules/.pnpm/vite@5.4.21_@types+node@25.0.3_lightningcss@1.30.1_terser@5.44.1/node_modules/vite/node_modules:/home/exedev/GitHub/core/node_modules/.pnpm/vite@5.4.21_@types+node@25.0.3_lightningcss@1.30.1_terser@5.44.1/node_modules:/home/exedev/GitHub/core/node_modules/.pnpm/node_modules"
13
+ export NODE_PATH="/home/runner/work/core/core/node_modules/.pnpm/vite@5.4.21_@types+node@25.0.3_lightningcss@1.30.1_terser@5.44.1/node_modules/vite/bin/node_modules:/home/runner/work/core/core/node_modules/.pnpm/vite@5.4.21_@types+node@25.0.3_lightningcss@1.30.1_terser@5.44.1/node_modules/vite/node_modules:/home/runner/work/core/core/node_modules/.pnpm/vite@5.4.21_@types+node@25.0.3_lightningcss@1.30.1_terser@5.44.1/node_modules:/home/runner/work/core/core/node_modules/.pnpm/node_modules"
14
14
  else
15
- export NODE_PATH="/home/exedev/GitHub/core/node_modules/.pnpm/vite@5.4.21_@types+node@25.0.3_lightningcss@1.30.1_terser@5.44.1/node_modules/vite/bin/node_modules:/home/exedev/GitHub/core/node_modules/.pnpm/vite@5.4.21_@types+node@25.0.3_lightningcss@1.30.1_terser@5.44.1/node_modules/vite/node_modules:/home/exedev/GitHub/core/node_modules/.pnpm/vite@5.4.21_@types+node@25.0.3_lightningcss@1.30.1_terser@5.44.1/node_modules:/home/exedev/GitHub/core/node_modules/.pnpm/node_modules:$NODE_PATH"
15
+ export NODE_PATH="/home/runner/work/core/core/node_modules/.pnpm/vite@5.4.21_@types+node@25.0.3_lightningcss@1.30.1_terser@5.44.1/node_modules/vite/bin/node_modules:/home/runner/work/core/core/node_modules/.pnpm/vite@5.4.21_@types+node@25.0.3_lightningcss@1.30.1_terser@5.44.1/node_modules/vite/node_modules:/home/runner/work/core/core/node_modules/.pnpm/vite@5.4.21_@types+node@25.0.3_lightningcss@1.30.1_terser@5.44.1/node_modules:/home/runner/work/core/core/node_modules/.pnpm/node_modules:$NODE_PATH"
16
16
  fi
17
17
  if [ -x "$basedir/node" ]; then
18
18
  exec "$basedir/node" "$basedir/../vite/bin/vite.js" "$@"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@runtypelabs/react-flow",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "React Flow adapter for building visual flow editors with Runtype",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -16,8 +16,8 @@
16
16
  "*.css"
17
17
  ],
18
18
  "dependencies": {
19
- "@travrse/shared": "1.0.0",
20
- "@runtypelabs/sdk": "0.1.1"
19
+ "@runtypelabs/shared": "1.0.0",
20
+ "@runtypelabs/sdk": "0.2.0"
21
21
  },
22
22
  "peerDependencies": {
23
23
  "@xyflow/react": "^12.0.0",
@@ -23,7 +23,7 @@ import {
23
23
  createDefaultStep,
24
24
  } from '../utils/adapter'
25
25
  import { autoLayout } from '../utils/layout'
26
- import type { FlowStepType } from '@travrse/shared'
26
+ import type { FlowStepType } from '@runtypelabs/shared'
27
27
 
28
28
  // ============================================================================
29
29
  // Hook Options
@@ -1,5 +1,5 @@
1
1
  import type { Node, Edge, NodeProps } from '@xyflow/react'
2
- import type { FlowStepType, PromptStepMode } from '@travrse/shared'
2
+ import type { FlowStepType, PromptStepMode } from '@runtypelabs/shared'
3
3
  import type { RuntypeClient } from '@runtypelabs/sdk'
4
4
 
5
5
  // ============================================================================
@@ -1,5 +1,5 @@
1
1
  import type { FlowStep, RuntypeNode, RuntypeEdge, RuntypeNodeData } from '../types'
2
- import type { FlowStepType } from '@travrse/shared'
2
+ import type { FlowStepType } from '@runtypelabs/shared'
3
3
 
4
4
  // ============================================================================
5
5
  // Constants
@@ -1,21 +0,0 @@
1
- #!/bin/sh
2
- basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
-
4
- case `uname` in
5
- *CYGWIN*|*MINGW*|*MSYS*)
6
- if command -v cygpath > /dev/null 2>&1; then
7
- basedir=`cygpath -w "$basedir"`
8
- fi
9
- ;;
10
- esac
11
-
12
- if [ -z "$NODE_PATH" ]; then
13
- export NODE_PATH="/home/exedev/GitHub/core/node_modules/.pnpm/browserslist@4.28.1/node_modules/browserslist/node_modules:/home/exedev/GitHub/core/node_modules/.pnpm/browserslist@4.28.1/node_modules:/home/exedev/GitHub/core/node_modules/.pnpm/node_modules"
14
- else
15
- export NODE_PATH="/home/exedev/GitHub/core/node_modules/.pnpm/browserslist@4.28.1/node_modules/browserslist/node_modules:/home/exedev/GitHub/core/node_modules/.pnpm/browserslist@4.28.1/node_modules:/home/exedev/GitHub/core/node_modules/.pnpm/node_modules:$NODE_PATH"
16
- fi
17
- if [ -x "$basedir/node" ]; then
18
- exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/browserslist@4.28.1/node_modules/browserslist/cli.js" "$@"
19
- else
20
- exec node "$basedir/../../../../../node_modules/.pnpm/browserslist@4.28.1/node_modules/browserslist/cli.js" "$@"
21
- fi
@@ -1,21 +0,0 @@
1
- #!/bin/sh
2
- basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
-
4
- case `uname` in
5
- *CYGWIN*|*MINGW*|*MSYS*)
6
- if command -v cygpath > /dev/null 2>&1; then
7
- basedir=`cygpath -w "$basedir"`
8
- fi
9
- ;;
10
- esac
11
-
12
- if [ -z "$NODE_PATH" ]; then
13
- export NODE_PATH="/home/exedev/GitHub/core/node_modules/.pnpm/terser@5.44.1/node_modules/terser/bin/node_modules:/home/exedev/GitHub/core/node_modules/.pnpm/terser@5.44.1/node_modules/terser/node_modules:/home/exedev/GitHub/core/node_modules/.pnpm/terser@5.44.1/node_modules:/home/exedev/GitHub/core/node_modules/.pnpm/node_modules"
14
- else
15
- export NODE_PATH="/home/exedev/GitHub/core/node_modules/.pnpm/terser@5.44.1/node_modules/terser/bin/node_modules:/home/exedev/GitHub/core/node_modules/.pnpm/terser@5.44.1/node_modules/terser/node_modules:/home/exedev/GitHub/core/node_modules/.pnpm/terser@5.44.1/node_modules:/home/exedev/GitHub/core/node_modules/.pnpm/node_modules:$NODE_PATH"
16
- fi
17
- if [ -x "$basedir/node" ]; then
18
- exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/terser@5.44.1/node_modules/terser/bin/terser" "$@"
19
- else
20
- exec node "$basedir/../../../../../node_modules/.pnpm/terser@5.44.1/node_modules/terser/bin/terser" "$@"
21
- fi