Skip to content

Commit 0af43f1

Browse files
committed
refactor: migrate project to monorepo
1 parent 764300e commit 0af43f1

Some content is hidden

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

83 files changed

+2480
-1299
lines changed

.gitignore

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ node_modules
44

55
.DS_Store
66
.tasks
7-
/*.tgz
7+
*.tgz
88

99
# Playwright
10-
/test-results/
11-
/playwright-report/
12-
/blob-report/
13-
/playwright/.cache/
10+
test-results/
11+
playwright-report/
12+
blob-report/
13+
playwright/.cache/

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
22.11.0
1+
24.13.0

.prettierignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
coverage
22
dist
33
node_modules
4+
bun.lock
5+
test-results

apps/e2e/App.tsx

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import { Route, Router } from "@solidjs/router";
2+
import type { Component } from "solid-js";
3+
4+
import { Home } from "./pages/Home";
5+
import { Resize } from "./pages/Resize";
6+
import { Tooltip } from "./pages/Tooltip";
7+
8+
export const App: Component = () => {
9+
return (
10+
<Router>
11+
<Route path="/" component={Home} />
12+
<Route path="/test-resize" component={Resize} />
13+
<Route path="/test-tooltip" component={Tooltip} />
14+
</Router>
15+
);
16+
};

e2e/resize-infinite-growth.test.ts renamed to apps/e2e/__tests__/resize-infinite-growth.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import { expect, test } from "@playwright/test";
1414
*/
1515
test.describe("Infinite Height Growth Bug (Fixed)", () => {
1616
test.beforeEach(async ({ page }) => {
17-
await page.goto("/resize-bug-test");
17+
await page.goto("/test-resize");
1818
// Wait for charts to render
1919
await page.waitForSelector(".u-wrap");
2020
});
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ function getSection(page: Page, headingText: string) {
4040

4141
test.describe("SolidUplot Resize Behaviors", () => {
4242
test.beforeEach(async ({ page }) => {
43-
await page.goto("/dynamic-resize");
43+
await page.goto("/test-resize");
4444
// Wait for at least one chart to render
4545
await page.waitForSelector(".u-wrap");
4646
});
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ async function hoverChartAndWaitForTooltip(
4848

4949
test.describe("Tooltip Positioning", () => {
5050
test.beforeEach(async ({ page }) => {
51-
await page.goto("/tooltip-test");
51+
await page.goto("/test-tooltip");
5252
await page.waitForSelector(".u-wrap");
5353
});
5454

File renamed without changes.

apps/e2e/index.html

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<!doctype html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1" />
6+
<meta name="theme-color" content="#000000" />
7+
<title>E2E Test App</title>
8+
</head>
9+
<body>
10+
<noscript>You need to enable JavaScript to run this app.</noscript>
11+
<div id="root"></div>
12+
13+
<script src="./index.tsx" type="module"></script>
14+
</body>
15+
</html>
File renamed without changes.

0 commit comments

Comments
 (0)