Skip to content

Commit d7f3a8b

Browse files
committed
refactor: replace hand-rolled component library with react
1 parent 7140ec1 commit d7f3a8b

Some content is hidden

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

86 files changed

+1759
-3970
lines changed

biome.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
"recommended": true,
1414
"suspicious": {
1515
"noExplicitAny": "off",
16-
"noTemplateCurlyInString": "off"
16+
"noTemplateCurlyInString": "off",
17+
"noArrayIndexKey": "off"
1718
},
1819
"style": {
1920
"noNonNullAssertion": "off"
@@ -35,7 +36,7 @@
3536
},
3637
"overrides": [
3738
{
38-
"includes": ["**/*.test.ts"],
39+
"includes": ["**/*.test.ts", "**/*.test.tsx"],
3940
"linter": {
4041
"rules": {
4142
"suspicious": {

index.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
<!DOCTYPE html>
22
<html>
33
<head><title></title></head>
4-
<body class="typeset" id="baseline">
5-
<script type="module" src="/src/manual_test.ts"></script>
4+
<body>
5+
<div id="app"></div>
6+
<script type="module" src="/src/manual_test.tsx"></script>
67
</body>
78
</html>

package.json

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,23 +21,24 @@
2121
"license": "MIT",
2222
"dependencies": {
2323
"@observablehq/plot": "^0.6.17",
24-
"d3": "4.10.0",
2524
"emuto": "^1.37.1",
26-
"fast-deep-equal": "^2.0.1",
27-
"sassline": "^2.1.2",
28-
"spinkit": "^1.2.5",
2925
"yamljs": "^0.3.0"
3026
},
27+
"peerDependencies": {
28+
"react": "^18.0.0 || ^19.0.0",
29+
"react-dom": "^18.0.0 || ^19.0.0"
30+
},
3131
"devDependencies": {
3232
"@biomejs/biome": "^2.4.3",
33-
"@types/d3": "^4.13.15",
34-
"@types/sinon": "^21.0.0",
33+
"@testing-library/jest-dom": "^6.9.1",
34+
"@testing-library/react": "^16.3.2",
35+
"@types/react": "^19.2.14",
36+
"@types/react-dom": "^19.2.3",
3537
"@types/yamljs": "^0.2.34",
38+
"@vitejs/plugin-react": "^5.1.4",
3639
"@vitest/coverage-v8": "^4.0.18",
3740
"jsdom": "^14.0.0",
38-
"sass": "^1.86.0",
3941
"semantic-release": "^15.13.3",
40-
"sinon": "^7.3.1",
4142
"typescript": "^5.9.3",
4243
"vite": "^6.3.5",
4344
"vitest": "^4.0.18"

0 commit comments

Comments
 (0)