Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,13 @@ yarn add @nillion/client-wasm @nillion/client-vms @nillion/client-react-hooks
- 💻 [Code examples](./client-vms/tests/) - See the TypeScript client in action
- ⚛️ [React Hooks](./client-react-hooks/) - Learn how to use our React hooks

### Build docs from source tree

Clone this repo, and from the repo root run:
```shell
pnpm -F client-vms docs
```

## Packages

- `@nillion/client-react-hooks` - React hooks built on `@nillion/client-vms` and `@tanstack/react-query`
Expand Down
4 changes: 3 additions & 1 deletion client-vms/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"typecheck": "tsc",
"test": "vitest test",
"clean": "rm -rf dist",
"docs": "typedoc",
"watch:esbuild": "node esbuild.config.mjs --watch",
"watch:types": "tsc -p tsconfig.build.json --watch",
"build": "pnpm clean && node esbuild.config.mjs && tsc -p tsconfig.build.json",
Expand All @@ -23,8 +24,8 @@
"dependencies": {
"@bufbuild/protobuf": "^2.2.2",
"@connectrpc/connect": "^2.0.0",
"@connectrpc/connect-web": "^2.0.0",
"@connectrpc/connect-node": "^2.0.0",
"@connectrpc/connect-web": "^2.0.0",
"@cosmjs/proto-signing": "^0.32.4",
"@cosmjs/stargate": "^0.32.4",
"@nillion/client-wasm": "workspace:^",
Expand All @@ -45,6 +46,7 @@
"browserslist": "^4.24.2",
"dotenv": "^16.4.5",
"esbuild-plugin-browserslist": "^0.15.0",
"typedoc": "^0.27.7",
"vite": "^5.4.11",
"vite-plugin-wasm": "^3.3.0",
"vite-tsconfig-paths": "^5.1.2",
Expand Down
7 changes: 7 additions & 0 deletions client-vms/typedoc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"entryPoints": ["./src/index.ts"],
"out": "docs",
"excludePrivate": true,
"excludeProtected": true,
"theme": "default"
}
116 changes: 116 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.