mirror of
https://github.com/lancedb/lancedb.git
synced 2026-10-12 23:02:28 +00:00
Thanks @vincentkoc for starting this! I was just looking into this myself. I started with your PR and added: - make arrow 21 the default - widen the peer range to <22 so if they release 21.3 that'll be included - have to do skipLibCheck in tsconfig.json, because of flatbuffers 25 which needs TypeScript 5.7 - fix override in Symbol.hasInstance - support new types in Arrow 20-21 (LargeList, Utf8View, BinaryView, IntervalMonthDayNano) - arrow-compat job in nodejs.yml that runs tests with arrow 19 and 20 (adds 2 sec) - put the list of arrow types in one place - update NODEJS_THIRD_PARTY_LICENSES.md - regenerated typescript docs (sorry about reorderings, one time cost) - reformat arrow.test.ts (sorry, almost all whitespace, thanks to biome. git diff -w shows 110 lines edited) - fixed Sliced Utf8View / BinaryView serialization error, by just converting them to Utf8 and Binary (as our rust code would anyway) --------- Co-authored-by: Vincent Koc <vincentkoc@ieee.org> Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
30 lines
828 B
JSON
30 lines
828 B
JSON
{
|
|
"include": ["lancedb/*.ts", "lancedb/**/*.ts", "lancedb/*.js"],
|
|
"compilerOptions": {
|
|
"target": "es2022",
|
|
"module": "commonjs",
|
|
"declaration": true,
|
|
"outDir": "./dist",
|
|
"strict": true,
|
|
"allowJs": true,
|
|
"resolveJsonModule": true,
|
|
"emitDecoratorMetadata": true,
|
|
"experimentalDecorators": true,
|
|
"moduleResolution": "Node",
|
|
// flatbuffers 25 (via apache-arrow 21) ships declarations that need
|
|
// TypeScript 5.7+ generic typed arrays; skip checking third-party .d.ts.
|
|
"skipLibCheck": true
|
|
},
|
|
"exclude": ["./dist/*", "./examples/*"],
|
|
"typedocOptions": {
|
|
"entryPoints": ["lancedb/index.ts"],
|
|
"out": "../docs/src/javascript/",
|
|
"visibilityFilters": {
|
|
"protected": false,
|
|
"private": false,
|
|
"inherited": true,
|
|
"external": false
|
|
}
|
|
}
|
|
}
|