Skip to content

Commit e5ed67a

Browse files
authored
fix: import parquetDataSource from the built package (#379)
* get parquetDataSource from the build package * adapt script * only build types
1 parent 5746dd7 commit e5ed67a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

bin/tools/parquetSql.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { asyncBufferFromFile, asyncBufferFromUrl, parquetMetadataAsync } from 'hyparquet'
22
import { compressors } from 'hyparquet-compressors'
33
import { collect, executeSql } from 'squirreling'
4-
import { parquetDataSource } from '../../src/index.js'
4+
import { parquetDataSource } from 'hyperparam'
55
import { markdownTable } from './markdownTable.js'
66

77
const maxRows = 100

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@
4545
"preserve": "npm run build",
4646
"storybook": "storybook dev -p 6006",
4747
"test": "vitest run",
48-
"typecheck": "tsc --noEmit",
48+
"typecheck": "run-s build:types typecheck-once-built",
49+
"typecheck-once-built": "tsc --noEmit",
4950
"url": "run-p -l watch:ts watch:cli watch:url",
5051
"preurl": "npm run build",
5152
"watch:cli": "vite build --watch",

0 commit comments

Comments
 (0)