Skip to content

Commit 897e880

Browse files
authored
Update dependencies, font, and Publish v0.2.50 (#260)
1 parent 03e8263 commit 897e880

File tree

10 files changed

+35
-26
lines changed

10 files changed

+35
-26
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
[![npm](https://img.shields.io/npm/v/hyperparam)](https://www.npmjs.com/package/hyperparam)
44
[![workflow status](https://github.com/hyparam/hyperparam-cli/actions/workflows/ci.yml/badge.svg)](https://github.com/hyparam/hyperparam-cli/actions)
55
[![mit license](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
6-
![coverage](https://img.shields.io/badge/Coverage-62-darkred)
6+
![coverage](https://img.shields.io/badge/Coverage-60-darkred)
77

88
This is the hyperparam cli tool.
99

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta charset="UTF-8">
55
<title>hyperparam</title>
6-
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Mulish:wght@400;600&display=swap"/>
6+
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Public+Sans:wght@300;500&display=swap"/>
77
<link href="favicon.png" rel="icon" />
88
<meta name="description" content="hyperparam is the missing UI for machine learning" />
99
<meta name="theme-color" content="#6b00ff">

package.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "hyperparam",
3-
"version": "0.2.49",
3+
"version": "0.2.50",
44
"description": "Hyperparam CLI",
55
"author": "Hyperparam",
66
"homepage": "https://hyperparam.app",
@@ -33,7 +33,7 @@
3333
"build:lib": "vite build -c vite.lib.config.ts && cp src/assets/global.css lib/global.css",
3434
"build:app": "vite build",
3535
"build": "run-s build:lib build:types build:app",
36-
"coverage": "vitest run --coverage --coverage.include=src --coverage.include=bin",
36+
"coverage": "vitest run --coverage --coverage.include=src --coverage.include=bin --coverage.exclude=src/**/*.stories.tsx",
3737
"dev:cli": "run-p -l watch:ts watch:cli watch:serve",
3838
"dev": "run-p -l watch:ts watch:static",
3939
"lint": "eslint",
@@ -44,7 +44,7 @@
4444
"storybook": "storybook dev -p 6006",
4545
"test": "vitest run",
4646
"typecheck": "tsc --noEmit",
47-
"url": "run-p -l watch:ts watch:vite watch:url",
47+
"url": "run-p -l watch:ts watch:cli watch:url",
4848
"preurl": "npm run build",
4949
"watch:cli": "vite build --watch",
5050
"watch:serve": "NODE_ENV=development nodemon bin/cli.js",
@@ -53,36 +53,36 @@
5353
"watch:url": "NODE_ENV=development nodemon bin/cli.js https://hyperparam.blob.core.windows.net/hyperparam/starcoderdata-js-00000-of-00065.parquet"
5454
},
5555
"dependencies": {
56-
"hightable": "0.17.0",
57-
"hyparquet": "1.15.0",
56+
"hightable": "0.17.2",
57+
"hyparquet": "1.16.2",
5858
"hyparquet-compressors": "1.1.1",
5959
"icebird": "0.3.0",
6060
"react": "18.3.1",
6161
"react-dom": "18.3.1"
6262
},
6363
"devDependencies": {
64-
"@eslint/js": "9.28.0",
65-
"@storybook/react-vite": "9.0.4",
64+
"@eslint/js": "9.29.0",
65+
"@storybook/react-vite": "9.0.11",
6666
"@testing-library/react": "16.3.0",
67-
"@types/node": "22.15.29",
68-
"@types/react": "19.1.6",
67+
"@types/node": "24.0.3",
68+
"@types/react": "19.1.8",
6969
"@types/react-dom": "19.1.6",
70-
"@vitejs/plugin-react": "4.5.1",
71-
"@vitest/coverage-v8": "3.2.1",
72-
"eslint": "9.28.0",
70+
"@vitejs/plugin-react": "4.5.2",
71+
"@vitest/coverage-v8": "3.2.4",
72+
"eslint": "9.29.0",
7373
"eslint-plugin-react": "7.37.5",
7474
"eslint-plugin-react-hooks": "5.2.0",
7575
"eslint-plugin-react-refresh": "0.4.20",
76-
"eslint-plugin-storybook": "9.0.4",
76+
"eslint-plugin-storybook": "9.0.11",
7777
"globals": "16.2.0",
7878
"jsdom": "26.1.0",
7979
"nodemon": "3.1.10",
8080
"npm-run-all": "4.1.5",
81-
"storybook": "9.0.4",
81+
"storybook": "9.0.11",
8282
"typescript": "5.8.3",
83-
"typescript-eslint": "8.33.1",
83+
"typescript-eslint": "8.34.1",
8484
"vite": "6.3.5",
85-
"vitest": "3.2.1"
85+
"vitest": "3.2.4"
8686
},
8787
"eslintConfig": {
8888
"extends": [

src/assets/global.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
* {
22
box-sizing: border-box;
3-
font-family: 'Mulish', 'Helvetica Neue', Helvetica, Arial, sans-serif;
3+
font-family: 'Public Sans', 'Inter', 'Mulish', 'Helvetica Neue', Helvetica, Arial, sans-serif;
4+
font-weight: 300;
45
margin: 0;
56
padding: 0;
67
}

src/components/CellPanel/CellPanel.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ export default function CellPanel({ df, row, col, setProgress, setError, onClose
5555

5656
const headers = <>
5757
<SlideCloseButton onClick={onClose} />
58-
<span>column `{df.header[col]}`</span>
59-
<span>row {row + 1}</span>
58+
<span>column: {df.header[col]}</span>
59+
<span>row: {row + 1}</span>
6060
</>
6161

6262
return <ContentWrapper headers={headers}>

src/components/ParquetView/ParquetView.module.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,8 @@
1414
background-color: #ccd;
1515
border-right: 1px solid #ccc;
1616
}
17+
18+
> [role="menu"] > [role="menuitem"] {
19+
color: #333;
20+
}
1721
}

src/components/SideBar/SideBar.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
filter: drop-shadow(0 0 2px #bbb);
2424
font-family: "Century Gothic", "Helvetica Neue", Helvetica, Arial, sans-serif;
2525
font-size: 1.1em;
26-
font-weight: bold;
26+
font-weight: 500;
2727
text-orientation: mixed;
2828
letter-spacing: 0.3px;
2929
padding: 10px 12px;

src/components/SlidePanel/SlidePanel.module.css

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,11 @@
1414

1515
/* resizer separator */
1616
& > [role="separator"] {
17-
width: 5px;
17+
border-right: 1px solid #ddd;
18+
border-left: 1px solid #ddd;
19+
width: 6px;
1820
cursor: col-resize;
19-
background-color: #bfbbbb;
21+
background-color: #eee;
2022
transition: background-color 0.2s;
2123
user-select: none;
2224

src/lib/tableProvider.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,8 @@ export function parquetDataFrame(from: AsyncBufferFrom, metadata: FileMetaData):
169169
}
170170
}).catch((error: unknown) => {
171171
console.error('Error fetching sort index or resolving sorted rows', error)
172+
// Reject at least one promise to trigger the error bar
173+
wrapped[0]?.index.reject(`Error fetching sort index or resolving sorted rows: ${error}`)
172174
})
173175

174176
return wrapped

tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"compilerOptions": {
3-
"target": "ES2020",
3+
"target": "es2022",
44
"useDefineForClassFields": true,
5-
"lib": ["ES2020", "DOM", "DOM.Iterable"],
5+
"lib": ["es2022", "DOM", "DOM.Iterable"],
66
"module": "ESNext",
77
"skipLibCheck": true,
88

0 commit comments

Comments
 (0)