Skip to content

Commit 4e3b0d1

Browse files
committed
refactor: update tsconfig and vite paths
1 parent 67cac1e commit 4e3b0d1

File tree

121 files changed

+183
-209
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

121 files changed

+183
-209
lines changed

playground/App.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
import "@/styles/style.css";
1+
import "~/styles/style.css";
22

33
import { Route, Router, useSearchParams } from "@solidjs/router";
44
import { ErrorBoundary } from "solid-js";
55
import { Dynamic } from "solid-js/web";
66

7-
import { SolidFlowProvider } from "@/components";
7+
import { SolidFlowProvider } from "~/index";
88

99
import { AppStateBar } from "./AppStateBar";
1010
import { SolidFlowExamplesMap } from "./constants";

playground/AppStateBar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { useSearchParams } from "@solidjs/router";
22
import { For, type JSX } from "solid-js";
33

4-
import { useSolidFlow } from "@/hooks";
4+
import { useSolidFlow } from "~/index";
55

66
import { SolidFlowExamplesMap } from "./constants";
77

playground/examples/accessibility/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {
88
MiniMap,
99
Panel,
1010
SolidFlow,
11-
} from "@/index";
11+
} from "~/index";
1212

1313
export const A11y = () => {
1414
const [nodes] = createNodeStore([

playground/examples/add-node-on-drop/AddNodeOnDrop.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import {
99
SolidFlow,
1010
useNodeConnections,
1111
useSolidFlow,
12-
} from "@/index";
12+
} from "~/index";
1313

1414
export const AddNodeOnDropExample = () => {
1515
const [nodes] = createNodeStore([

playground/examples/add-node-on-drop/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { SolidFlowProvider } from "@/index";
1+
import { SolidFlowProvider } from "~/index";
22

33
import { AddNodeOnDropExample } from "./AddNodeOnDrop";
44

playground/examples/backgrounds/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { For } from "solid-js";
22

3-
import { Background, type BackgroundProps, SolidFlow, SolidFlowProvider } from "@/index";
3+
import { Background, type BackgroundProps, SolidFlow, SolidFlowProvider } from "~/index";
44

55
const Flow = (props: { id: string; bgProps: BackgroundProps[] }) => {
66
return (

playground/examples/color-mode/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { createSignal } from "solid-js";
22

3-
import { Background, type ColorMode, Controls, MiniMap, Panel, SolidFlow } from "@/index";
3+
import { Background, type ColorMode, Controls, MiniMap, Panel, SolidFlow } from "~/index";
44

55
export function ColorMode() {
66
const [nodes] = createSignal([

playground/examples/custom-connection-line/ConnectionLine.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Show } from "solid-js";
22

3-
import { getBezierPath, useConnection } from "@/index";
3+
import { getBezierPath, useConnection } from "~/index";
44

55
export const ConnectionLine = () => {
66
const connection = useConnection();

playground/examples/custom-connection-line/CustomNode.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Handle, type NodeProps } from "@/index";
1+
import { Handle, type NodeProps } from "~/index";
22

33
const handleStyle = {
44
width: "10px",

playground/examples/custom-connection-line/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Background, createEdgeStore, createNodeStore, SolidFlow } from "@/index";
1+
import { Background, createEdgeStore, createNodeStore, SolidFlow } from "~/index";
22

33
import { ConnectionLine } from "./ConnectionLine";
44
import { CustomNode } from "./CustomNode";

0 commit comments

Comments
 (0)