From b4911fda69311d5ed35f0bf2390b2e79908c5bbe Mon Sep 17 00:00:00 2001 From: Gordon Smith Date: Tue, 13 Aug 2024 08:22:23 +0100 Subject: [PATCH] chore: Update documentation and links Signed-off-by: Gordon Smith --- .gitignore | 9 +-- docs/.vitepress/config.js | 10 +-- docs/index.md | 10 +-- package.json | 2 +- packages/base91/README.md | 20 +++--- packages/base91/src/base91.ts | 2 +- packages/duckdb/README.md | 33 +++++++-- packages/duckdb/src/duckdb.ts | 2 +- packages/expat/README.md | 29 ++++++-- packages/expat/src/expat.ts | 2 +- packages/expat/src/wasm-library.ts | 59 ---------------- packages/graphviz-cli/README.md | 1 + packages/graphviz/README.md | 5 +- packages/graphviz/src/graphviz.ts | 2 +- packages/wasm/README.md | 106 +++-------------------------- packages/wasm/src/wasm-library.ts | 59 ---------------- packages/zstd/README.md | 21 ++++-- packages/zstd/src/zstd.ts | 2 +- tsconfig.json | 21 +----- typedoc.json | 12 ++-- 20 files changed, 117 insertions(+), 290 deletions(-) delete mode 100644 packages/expat/src/wasm-library.ts delete mode 100644 packages/wasm/src/wasm-library.ts diff --git a/.gitignore b/.gitignore index 1f30fb71..25310caa 100644 --- a/.gitignore +++ b/.gitignore @@ -9,10 +9,11 @@ dist/ dist-test/ /docs/.vitepress/cache /docs/.vitepress/dist -/docs/classes -/docs/interfaces -/docs/modules -/docs/.nojekyll +/docs/base91 +/docs/duckdb +/docs/expat +/docs/graphviz +/docs/zstd /docs/README.md /emsdk* /lib-* diff --git a/docs/.vitepress/config.js b/docs/.vitepress/config.js index 09fccb44..ff555074 100644 --- a/docs/.vitepress/config.js +++ b/docs/.vitepress/config.js @@ -34,11 +34,11 @@ export default { { text: 'WASM API', items: [ - { text: 'Base91', link: '/base91/classes/Base91' }, - { text: 'DuckDB', link: '/duckdb/classes/DuckDB' }, - { text: 'Expat', link: '/expat/classes/Expat' }, - { text: 'Graphviz', link: '/graphviz/classes/Graphviz' }, - { text: 'Zstd', link: '/zstd/classes/Zstd' }, + { text: 'Base91', link: '/base91/src/base91/classes/Base91' }, + { text: 'DuckDB', link: '/duckdb/src/duckdb/classes/DuckDB' }, + { text: 'Expat', link: '/expat/src/expat/classes/Expat' }, + { text: 'Graphviz', link: '/graphviz/src/graphviz/classes/Graphviz' }, + { text: 'Zstd', link: '/zstd/src/zstd/classes/Zstd' }, ] } diff --git a/docs/index.md b/docs/index.md index 7ddfb4e3..97757c49 100644 --- a/docs/index.md +++ b/docs/index.md @@ -25,17 +25,17 @@ hero: features: - title: Base 91 details: Similar to Base 64 but uses more characters resulting in smaller strings. - link: /base91/classes/Base91 + link: /base91/src/base91/classes/Base91 - title: DuckDB details: DuckDB - a fast in-process analytical database. - link: /duckdb/classes/DuckDB + link: /duckdb/src/duckdb/classes/DuckDB - title: Expat details: A popular stream-oriented XML parser library. - link: /expat/classes/Expat + link: /expat/src/expat/classes/Expat - title: GraphViz details: The Graphviz layout algorithms take descriptions of graphs in a simple text language, and make diagrams in useful formats, such as images and SVG for web pages or display in an interactive graph browser. - link: /graphviz/classes/Graphviz + link: /graphviz/src/graphviz/classes/Graphviz - title: Zstd details: Zstandard is a fast compression algorithm, providing high compression ratios and is backed by an extremely fast decoder. - link: /zstd/classes/Zstd + link: /zstd/src/zstd/classes/Zstd --- diff --git a/package.json b/package.json index 5256fbad..3722de48 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "uninstall-build-deps": "rimraf ./emsdk ./vcpkg ./src-expat ./src-vcpkg ./wasi-sdk ./wit-bindgen", "uninstall": "rimraf --glob ./node_modules ./packages/**/node_modules ./package-lock.json", "clean-build": "rimraf --glob .nyc_output bin build coverage output-* tmp vcpkg/vcpkg .nx", - "clean-docs": "rimraf docs/.vitepress/dist docs/classes docs/interfaces docs/modules docs/.nojekyll docs/README.md", + "clean-docs": "rimraf docs/.vitepress/dist docs/.vitepress/cache docs/base91 docs/duckdb docs/expat docs/graphviz docs/zstd docs/README.md", "clean-root": "run-p clean-build clean-docs", "clean": "lerna run clean", "copy-res": "cp ./docs/*.png ./docs/.vitepress/dist", diff --git a/packages/base91/README.md b/packages/base91/README.md index 40d8b165..aefc8e2a 100644 --- a/packages/base91/README.md +++ b/packages/base91/README.md @@ -1,20 +1,24 @@ -# @hpcc-js/wasm-graphviz +# @hpcc-js/wasm-base91 -This package provides a WebAssembly wrapper around the [Graphviz](https://www.graphviz.org/) library. This allows for the rendering of DOT language graphs directly within a browser or NodeJS type environment. +This package provides a WebAssembly wrapper around the [Base91](https://base91.sourceforge.net/) library. This allows for the encoding and decoding of binary data to a more compact form than Base64. ## Installation ```sh -npm install @hpcc-js/wasm-graphviz +npm install @hpcc-js/wasm-base91 ``` -## Usage +## Quick Start ```typescript -import { Graphviz } from "@hpcc-js/wasm-graphviz"; +import { Base91 } from "@hpcc-js/wasm-base91"; -const graphviz = await Graphviz.load(); -const svg = graphviz.dot(`digraph { a -> b; }`); -document.body.innerHTML = svg; +const base91 = await Base91.load(); + +const encoded_data = await base91.encode(data); +const decoded_data = await base91.decode(encoded_data); ``` +## Reference + +* [API Documentation](https://hpcc-systems.github.io/hpcc-js-wasm/base91/src/base91/classes/Base91.html) diff --git a/packages/base91/src/base91.ts b/packages/base91/src/base91.ts index 8917d7b0..5d72c5bd 100644 --- a/packages/base91/src/base91.ts +++ b/packages/base91/src/base91.ts @@ -12,7 +12,7 @@ let g_base91: Promise; * See [Base91](https://base91.sourceforge.net/) for more details. * * ```ts - * import { Base91 } from "@hpcc-js/wasm/base91"; + * import { Base91 } from "@hpcc-js/wasm-base91"; * * const base91 = await Base91.load(); * diff --git a/packages/duckdb/README.md b/packages/duckdb/README.md index 40d8b165..b6fe33cc 100644 --- a/packages/duckdb/README.md +++ b/packages/duckdb/README.md @@ -1,20 +1,39 @@ -# @hpcc-js/wasm-graphviz +# @hpcc-js/wasm-duckdb -This package provides a WebAssembly wrapper around the [Graphviz](https://www.graphviz.org/) library. This allows for the rendering of DOT language graphs directly within a browser or NodeJS type environment. +This package rewraps the DuckDB webassembly distribution provided by DuckDB, this is purly a convenience to provide a consistent loading experience with the rest of the @hpcc-js.wasm library. +See [DuckDB](https://github.com/duckdb/duckdb) and [DuckDB-wasm](https://github.com/duckdb/duckdb-wasm) for more details. ## Installation ```sh -npm install @hpcc-js/wasm-graphviz +npm install @hpcc-js/wasm-duckdb ``` ## Usage ```typescript -import { Graphviz } from "@hpcc-js/wasm-graphviz"; +import { DuckDB } from "@hpcc-js/wasm-duckdb"; -const graphviz = await Graphviz.load(); -const svg = graphviz.dot(`digraph { a -> b; }`); -document.body.innerHTML = svg; +let duckdb = await DuckDB.load(); +const c = await duckdb.db.connect(); + +const data = [ + { "col1": 1, "col2": "foo" }, + { "col1": 2, "col2": "bar" }, +]; +await duckdb.db.registerFileText("rows.json", JSON.stringify(data)); +await c.insertJSONFromPath('rows.json', { name: 'rows' }); + +const arrowResult = await c.query("SELECT * FROM read_json_auto('rows.json')"); +const result = arrowResult.toArray().map((row) => row.toJSON()); +expect(result.length).to.equal(data.length); +for (let i = 0; i < result.length; i++) { + expect(result[i].col2).to.equal(data[i].col2); +} + +c.close(); ``` +## Reference + +* [API Documentation](https://hpcc-systems.github.io/hpcc-js-wasm/duckdb/src/duckdb/classes/DuckDB.html) diff --git a/packages/duckdb/src/duckdb.ts b/packages/duckdb/src/duckdb.ts index e6d3829c..815c70cc 100644 --- a/packages/duckdb/src/duckdb.ts +++ b/packages/duckdb/src/duckdb.ts @@ -8,7 +8,7 @@ import { AsyncDuckDB, ConsoleLogger } from "@duckdb/duckdb-wasm"; * See [DuckDB](https://github.com/duckdb/duckdb) for more details. * * ```ts - * import { DuckDB } from "@hpcc-js/wasm/duckdb"; + * import { DuckDB } from "@hpcc-js/wasm-duckdb"; * * let duckdb = await DuckDB.load(); * const c = await duckdb.db.connect(); diff --git a/packages/expat/README.md b/packages/expat/README.md index 40d8b165..f1e8dab4 100644 --- a/packages/expat/README.md +++ b/packages/expat/README.md @@ -1,20 +1,35 @@ -# @hpcc-js/wasm-graphviz +# @hpcc-js/wasm-expat -This package provides a WebAssembly wrapper around the [Graphviz](https://www.graphviz.org/) library. This allows for the rendering of DOT language graphs directly within a browser or NodeJS type environment. +This package provides a WebAssembly wrapper around the [libexpat](https://libexpat.github.io/) library. This provides efficent SAX XML parsing. ## Installation ```sh -npm install @hpcc-js/wasm-graphviz +npm install @hpcc-js/wasm-expat ``` ## Usage ```typescript -import { Graphviz } from "@hpcc-js/wasm-graphviz"; +import { Expat } from "@hpcc-js/wasm-expat"; -const graphviz = await Graphviz.load(); -const svg = graphviz.dot(`digraph { a -> b; }`); -document.body.innerHTML = svg; +const expat = await Expat.load(); + +const xml = ` \ + + content + +`; + +const callback = { + startElement(tag, attrs) { console.log("start", tag, attrs); }, + endElement(tag) { console.log("end", tag); }, + characterData(content) { console.log("characterData", content); } +}; + +expat.parse(xml, callback); ``` +## Reference + +* [API Documentation](https://hpcc-systems.github.io/hpcc-js-wasm/expat/src/expat/classes/Expat.html) diff --git a/packages/expat/src/expat.ts b/packages/expat/src/expat.ts index 5ffef688..ffa861a2 100644 --- a/packages/expat/src/expat.ts +++ b/packages/expat/src/expat.ts @@ -26,7 +26,7 @@ function parseAttrs(attrs: string): Attributes { * See [libexpat.github.io](https://libexpat.github.io/) for c++ details. * * ```ts - * import { Expat } from "@hpcc-js/wasm/expat"; + * import { Expat } from "@hpcc-js/wasm-expat"; * * const expat = await Expat.load(); * diff --git a/packages/expat/src/wasm-library.ts b/packages/expat/src/wasm-library.ts deleted file mode 100644 index 615d4d91..00000000 --- a/packages/expat/src/wasm-library.ts +++ /dev/null @@ -1,59 +0,0 @@ -export type PTR = number; -export interface HeapU8 { - ptr: PTR; - size: number; -} - -/** - * Base class to simplify moving data into and out of Wasm memory. - */ -export class WasmLibrary { - - protected _module: any; - protected _exports: any; - - protected constructor(_module: any, _export: any) { - this._module = _module; - this._exports = _export; - } - - protected malloc_heapu8(size: number): HeapU8 { - const ptr: PTR = this._exports.malloc(size); - return { - ptr, - size - }; - } - - protected free_heapu8(data: HeapU8) { - this._exports.free(data.ptr); - } - - protected uint8_heapu8(data: Uint8Array): HeapU8 { - const retVal = this.malloc_heapu8(data.byteLength); - this._module.HEAPU8.set(data, retVal.ptr); - return retVal; - } - - protected heapu8_view(data: HeapU8): Uint8Array { - return this._module.HEAPU8.subarray(data.ptr, data.ptr + data.size); - } - - protected heapu8_uint8(data: HeapU8): Uint8Array { - return new Uint8Array([...this.heapu8_view(data)]); - } - - protected string_heapu8(str: string): HeapU8 { - const data = Uint8Array.from(str, x => x.charCodeAt(0)); - return this.uint8_heapu8(data); - } - - protected heapu8_string(data: HeapU8): string { - const retVal = Array.from({ length: data.size }); - const submodule = this._module.HEAPU8.subarray(data.ptr, data.ptr + data.size); - submodule.forEach((c: number, i: number) => { - retVal[i] = String.fromCharCode(c); - }); - return retVal.join(""); - } -} diff --git a/packages/graphviz-cli/README.md b/packages/graphviz-cli/README.md index 50373f41..d9aeb717 100644 --- a/packages/graphviz-cli/README.md +++ b/packages/graphviz-cli/README.md @@ -3,6 +3,7 @@ This package provides a command line interface for the `@hpcc-js/wasm-graphviz` package. To call `@hpcc-js/wasm-graphviz-cli` without installing: + ```sh npx @hpcc-js/wasm-graphviz-cli [options] fileOrDot ``` diff --git a/packages/graphviz/README.md b/packages/graphviz/README.md index 40d8b165..0d818d6d 100644 --- a/packages/graphviz/README.md +++ b/packages/graphviz/README.md @@ -8,7 +8,7 @@ This package provides a WebAssembly wrapper around the [Graphviz](https://www.gr npm install @hpcc-js/wasm-graphviz ``` -## Usage +## Quick Start ```typescript import { Graphviz } from "@hpcc-js/wasm-graphviz"; @@ -18,3 +18,6 @@ const svg = graphviz.dot(`digraph { a -> b; }`); document.body.innerHTML = svg; ``` +## Reference + +* [API Documentation](https://hpcc-systems.github.io/hpcc-js-wasm/graphviz/src/graphviz/classes/Graphviz.html) diff --git a/packages/graphviz/src/graphviz.ts b/packages/graphviz/src/graphviz.ts index 564f0f30..3402cf3b 100644 --- a/packages/graphviz/src/graphviz.ts +++ b/packages/graphviz/src/graphviz.ts @@ -14,7 +14,7 @@ export type Engine = "circo" | "dot" | "fdp" | "sfdp" | "neato" | "osage" | "pat /** * Example: Passing a web hosted Image to GraphViz: * ```ts - * import { Graphviz } from "@hpcc-js/wasm/graphviz"; + * import { Graphviz } from "@hpcc-js/wasm-graphviz"; * * const graphviz = await Graphviz.load(); * const svg = graphviz.layout('digraph { a[image="https://.../image.png"]; }', "svg", "dot", { diff --git a/packages/wasm/README.md b/packages/wasm/README.md index 45ceeee3..9df4a13e 100644 --- a/packages/wasm/README.md +++ b/packages/wasm/README.md @@ -1,100 +1,10 @@ -# @hpcc-js/wasm - Version 2 +# @hpcc-js/wasm -![Tests](https://github.com/hpcc-systems/hpcc-js-wasm/workflows/Test%20PR/badge.svg) -[![Coverage Status](https://coveralls.io/repos/github/GordonSmith/hpcc-js-wasm/badge.svg?branch=BUMP_VERSIONS)](https://coveralls.io/github/GordonSmith/hpcc-js-wasm?branch=BUMP_VERSIONS) +_This folder contains a rebundling the following WebAssembly libraries for backward compatability:_ -**Note: @hpcc-js/wasm is now an ESM by default package** - this is a good thing, but does require some breaking changes. - -This repository contains a collection of useful c++ libraries compiled to WASM for (re)use in Node JS, Web Browsers and JavaScript Libraries: -- [base91](https://base91.sourceforge.net/) - v0.6.0 -- [duckdb](https://github.com/duckdb/duckdb) - v0.9.2 -- [expat](https://libexpat.github.io/) - v2.6.2 -- [graphviz](https://www.graphviz.org/) - v12.0.0 -- [zstd](https://github.com/facebook/zstd) - v1.5.6 -- ...more to follow... - -Built with: -- [emsdk](https://github.com/emscripten-core/emsdk) - v3.1.64 - -## Homepage and Documents - -* [Homepage](https://hpcc-systems.github.io/hpcc-js-wasm/) - * [Base91](https://hpcc-systems.github.io/hpcc-js-wasm/base91/classes/Base91.html) - * [DuckDB](https://hpcc-systems.github.io/hpcc-js-wasm/duckdb/classes/DuckDB.html) - * [Expat](https://hpcc-systems.github.io/hpcc-js-wasm/expat/classes/Expat.html) - * [Graphviz](https://hpcc-systems.github.io/hpcc-js-wasm/graphviz/classes/Graphviz.html) - * [Zstd](https://hpcc-systems.github.io/hpcc-js-wasm/zstd/classes/Zstd.html) - -## Quick Start - -```ts -import { Base91, Graphviz, Zstd } from "@hpcc-js/wasm"; - -// Graphviz --- -async function dot2svg() { - const graphviz = await Graphviz.load(); - console.log("svg: ", graphviz.dot('digraph G { Hello -> World }')); -} - -dot2svg(); - -// Base91 + Zstd --- -const text = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, adipiscing nec, ultricies sed, dolor. Cras elementum ultrices diam. Maecenas ligula massa, varius a, semper congue, euismod non, mi. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, adipiscing nec, ultricies sed, dolor. Cras elementum ultrices diam. Maecenas ligula massa, varius a, semper congue, euismod non, mi."; -const data = new TextEncoder().encode(text); - -async function compressDecompress() { - const zstd = await Zstd.load(); - const compressed_data = zstd.compress(data); - const base91 = await Base91.load(); - const base91Str = base91.encode(compressed_data); - - const compressed_data2 = base91.decode(base91Str); - const data2 = zstd.decompress(compressed_data2); - const text2 = new TextDecoder().decode(data2); - - console.log("Text Length: ", text.length); - console.log("Compressed Length: ", compressed_data.length); - console.log("Base91 Length: ", base91Str.length); - console.log("Passed: ", text === text2); -} - -compressDecompress(); -``` - -## Quick Migration from v1 - -v1.x.x -```ts -import { graphviz, wasmFolder } from "@hpcc-js/wasm"; - -wasmFolder("https://cdn.jsdelivr.net/npm/@hpcc-js/wasm/dist"); - -const dot = "digraph G { Hello -> World }"; - -graphviz.dot(dot).then(svg => { - const div = document.getElementById("placeholder"); - div.innerHTML = svg; -}); - -graphvizVersion.then(version => console.log(version)); -``` - -v2.x.x -```ts -import { Graphviz } from "@hpcc-js/wasm"; - -const dot = "digraph G { Hello -> World }"; - -Graphviz.load().then(graphviz => { - const svg = graphviz.dot(dot); - const div = document.getElementById("placeholder"); - div.innerHTML = svg; - - console.log(graphviz.version()); -}); -``` - -Notes: -* wasmFolder is no longer needed -* All wasm libraries have the same asynchronous load pattern - - `const instance = await .load();` +* [@hpcc-js/wasm-base91](../base91/README.md) +* [@hpcc-js/wasm-duckdb](../duckdb/README.md) +* [@hpcc-js/wasm-expat](../expat/README.md) +* [@hpcc-js/wasm-graphviz](../graphviz/README.md) +* [@hpcc-js/wasm-graphviz-cli](../graphviz-cli/README.md) +* [@hpcc-js/wasm-zstd](../zstd/README.md) diff --git a/packages/wasm/src/wasm-library.ts b/packages/wasm/src/wasm-library.ts deleted file mode 100644 index 615d4d91..00000000 --- a/packages/wasm/src/wasm-library.ts +++ /dev/null @@ -1,59 +0,0 @@ -export type PTR = number; -export interface HeapU8 { - ptr: PTR; - size: number; -} - -/** - * Base class to simplify moving data into and out of Wasm memory. - */ -export class WasmLibrary { - - protected _module: any; - protected _exports: any; - - protected constructor(_module: any, _export: any) { - this._module = _module; - this._exports = _export; - } - - protected malloc_heapu8(size: number): HeapU8 { - const ptr: PTR = this._exports.malloc(size); - return { - ptr, - size - }; - } - - protected free_heapu8(data: HeapU8) { - this._exports.free(data.ptr); - } - - protected uint8_heapu8(data: Uint8Array): HeapU8 { - const retVal = this.malloc_heapu8(data.byteLength); - this._module.HEAPU8.set(data, retVal.ptr); - return retVal; - } - - protected heapu8_view(data: HeapU8): Uint8Array { - return this._module.HEAPU8.subarray(data.ptr, data.ptr + data.size); - } - - protected heapu8_uint8(data: HeapU8): Uint8Array { - return new Uint8Array([...this.heapu8_view(data)]); - } - - protected string_heapu8(str: string): HeapU8 { - const data = Uint8Array.from(str, x => x.charCodeAt(0)); - return this.uint8_heapu8(data); - } - - protected heapu8_string(data: HeapU8): string { - const retVal = Array.from({ length: data.size }); - const submodule = this._module.HEAPU8.subarray(data.ptr, data.ptr + data.size); - submodule.forEach((c: number, i: number) => { - retVal[i] = String.fromCharCode(c); - }); - return retVal.join(""); - } -} diff --git a/packages/zstd/README.md b/packages/zstd/README.md index 40d8b165..ea0de40f 100644 --- a/packages/zstd/README.md +++ b/packages/zstd/README.md @@ -1,20 +1,27 @@ -# @hpcc-js/wasm-graphviz +# @hpcc-js/wasm-zstd -This package provides a WebAssembly wrapper around the [Graphviz](https://www.graphviz.org/) library. This allows for the rendering of DOT language graphs directly within a browser or NodeJS type environment. +This package provides a WebAssembly wrapper around the [Zstandard](https://facebook.github.io/zstd/) library. This provides efficient compression and decompression of data. ## Installation ```sh -npm install @hpcc-js/wasm-graphviz +npm install @hpcc-js/wasm-zstd ``` ## Usage ```typescript -import { Graphviz } from "@hpcc-js/wasm-graphviz"; +import { Zstd } from "@hpcc-js/wasm-zstd"; -const graphviz = await Graphviz.load(); -const svg = graphviz.dot(`digraph { a -> b; }`); -document.body.innerHTML = svg; +const zstd = await Zstd.load(); + +// Generate some "data" +const data = new Uint8Array(Array.from({ length: 100000 }, (_, i) => i % 256)); + +const compressed_data = zstd.compress(data); +const decompressed_data = zstd.decompress(compressed_data); ``` +## Reference + +* [API Documentation](https://hpcc-systems.github.io/hpcc-js-wasm/zstd/src/zstd/classes/Zstd.html) diff --git a/packages/zstd/src/zstd.ts b/packages/zstd/src/zstd.ts index 262e425c..def00f60 100644 --- a/packages/zstd/src/zstd.ts +++ b/packages/zstd/src/zstd.ts @@ -13,7 +13,7 @@ let g_zstd: Promise; * See [Zstandard](https://facebook.github.io/zstd/) for more details. * * ```ts - * import { Zstd } from "@hpcc-js/wasm/zstd"; + * import { Zstd } from "@hpcc-js/wasm-zstd"; * * const zstd = await Zstd.load(); * diff --git a/tsconfig.json b/tsconfig.json index 521804c4..99b8c67c 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,23 +1,8 @@ { + "extends": "./packages/tsconfig.json", "compilerOptions": { - "rootDir": "src-ts", - "outDir": "./lib-esm", - "declarationDir": "./types", - "module": "NodeNext", - "target": "ESNext", - "declaration": true, - "strict": true, - "skipLibCheck": true, - "lib": [ - "dom", - "ES2020" - ], - "types": [ - "mocha" - ], + "rootDir": "./packages" }, - "include": [ - "src-ts/**/*" - ], + "include": [], "references": [] } \ No newline at end of file diff --git a/typedoc.json b/typedoc.json index 78d9f624..7acaff59 100644 --- a/typedoc.json +++ b/typedoc.json @@ -1,11 +1,11 @@ { "entryPoints": [ - "./src-ts/base91.ts", - "./src-ts/duckdb.ts", - "./src-ts/expat.ts", - "./src-ts/graphviz.ts", - "./src-ts/wasm-library.ts", - "./src-ts/zstd.ts", + "./packages/base91/src/base91.ts", + "./packages/base91/src/wasm-library.ts", + "./packages/duckdb/src/duckdb.ts", + "./packages/expat/src/expat.ts", + "./packages/graphviz/src/graphviz.ts", + "./packages/zstd/src/zstd.ts", ], "out": "./docs", "readme": "none",