Skip to content

Commit c0ef7b5

Browse files
committed
feat(web-ts-results): add vite-tsconfig-paths
1 parent 84dfb9d commit c0ef7b5

17 files changed

+78
-35
lines changed

webdriver-ts-results/package-lock.json

Lines changed: 47 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

webdriver-ts-results/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
"eslint-plugin-react-hooks": "^4.6.0",
3030
"typescript": "^5.2.2",
3131
"vite": "^4.4.9",
32-
"vite-plugin-singlefile": "^0.13.5"
32+
"vite-plugin-singlefile": "^0.13.5",
33+
"vite-tsconfig-paths": "^4.2.1"
3334
}
3435
}

webdriver-ts-results/src/components/BoxPlotTable/BoxPlotTable.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import {
55
Framework,
66
ResultLookup,
77
CpuDurationMode,
8-
} from "../../Common";
8+
} from "@/Common";
99
import BoxPlotTableRows from "./BoxPlotTableRows";
1010

1111
interface Props {

webdriver-ts-results/src/components/BoxPlotTable/BoxPlotTableRow.tsx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
import React from "react";
2-
import {
3-
Benchmark,
4-
Framework,
5-
ResultLookup,
6-
CpuDurationMode,
7-
} from "../../Common";
2+
import { Benchmark, Framework, ResultLookup, CpuDurationMode } from "@/Common";
83
import BoxPlotTableChart from "./BoxPlotTableChart";
94

105
interface Props {

webdriver-ts-results/src/components/BoxPlotTable/BoxPlotTableRows.tsx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
import React from "react";
2-
import {
3-
Benchmark,
4-
Framework,
5-
ResultLookup,
6-
CpuDurationMode,
7-
} from "../../Common";
2+
import { Benchmark, Framework, ResultLookup, CpuDurationMode } from "@/Common";
83
import BoxPlotTableRow from "./BoxPlotTableRow";
94

105
interface Props {

webdriver-ts-results/src/components/selection/BenchmarkSelector/BenchmarkSelectorCategory.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React from "react";
2-
import { BenchmarkType } from "../../../Common";
3-
import { useRootStore } from "../../../reducer";
4-
import SelectorContentContainer from "../SelectorContentContainer";
2+
import { BenchmarkType } from "@/Common";
3+
import { useRootStore } from "@/reducer";
4+
import SelectorContentContainer from "@components/selection/SelectorContentContainer";
55
import BenchmarkSelectorList from "./BenchmarkSelectorList";
66

77
interface Props {

webdriver-ts-results/src/components/selection/BenchmarkSelector/BenchmarkSelectorList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from "react";
2-
import type { Benchmark } from "../../../Common";
2+
import type { Benchmark } from "@/Common";
33

44
interface Props {
55
benchmarks: Array<Benchmark>;

webdriver-ts-results/src/components/selection/BenchmarkSelector/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from "react";
2-
import { BenchmarkType } from "../../../Common";
3-
import Dropdown from "../../ui/Dropdown";
2+
import { BenchmarkType } from "@/Common";
3+
import Dropdown from "@components/ui/Dropdown";
44
import BenchmarkSelectorCategory from "./BenchmarkSelectorCategory";
55

66
const BenchmarkSelector = () => {

webdriver-ts-results/src/components/selection/CopyPasteSelection.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import React from "react";
22
import { useCallback } from "react";
33
import { useEffect } from "react";
4-
import { useRootStore } from "../../reducer";
5-
import PasteIcon from "../../assets/icons/PasteIcon";
6-
import CopyIcon from "../../assets/icons/CopyIcon";
4+
import { useRootStore } from "@/reducer";
5+
import PasteIcon from "@/assets/icons/PasteIcon";
6+
import CopyIcon from "@/assets/icons/CopyIcon";
77
import "./CopyPasteSelection.css";
88

99
const CopyPasteSelection = () => {

webdriver-ts-results/src/components/selection/FrameworkSelector/FrameworkSelectorCategory.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React from "react";
2-
import SelectorContentContainer from "../SelectorContentContainer";
3-
import { FrameworkType } from "../../../Common";
4-
import { useRootStore } from "../../../reducer";
2+
import SelectorContentContainer from "@components/selection/SelectorContentContainer";
3+
import { FrameworkType } from "@/Common";
4+
import { useRootStore } from "@/reducer";
55
import FrameworkSelectorList from "./FrameworkSelectorList";
66

77
interface Props {

0 commit comments

Comments
 (0)