Skip to content

wazootech/worlds-libsql

Repository files navigation

Worlds LibSQL

Standalone LibSQL package extracted from @worlds/client.

Install

deno add jsr:@worlds/libsql

Usage

import { createClient } from "@libsql/client";
import { createLibsqlClient } from "@worlds/libsql";
import { LibsqlQuadStore } from "@worlds/libsql/quad-store";
import { LibsqlSearchIndex } from "@worlds/libsql/search-index";
import { LibsqlRdfjsStore } from "@worlds/libsql/rdfjs-store";

Development

deno task ci

Dry-run a JSR publish locally:

deno task publish:dry

Publishing to JSR

Releases publish automatically when changes merge to main. Bump "version" in deno.json in each release PR — JSR rejects duplicate versions.

One-time setup on jsr.io/@worlds/libsql:

  1. Open package settings and link https://github.com/wazootech/worlds-libsql.
  2. Enable GitHub Actions publishing (OIDC). The publish workflow uses id-token: write; no JSR token secret is required when OIDC is configured.
  3. Confirm your GitHub account can publish to the @worlds org.

After setup, merging to main runs CI, a publish dry-run, and deno publish.

About

LibSQL adapter extracted from worlds-client-ts

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors