8000 GitHub - sher/kyt: Typed schema, migrations, and query builder for Postgres and Cloudflare D1, built on Kysely. · GitHub
[go: up one dir, main page]

Skip to content
sherPublic

About

Typed schema, migrations, and query builder for Postgres and Cloudflare D1, built on Kysely.

Topics

Resources

Stars

4 stars

Watchers

0 watching

Forks

Latest commit

 

History

131 Commits

Folders and files

Repository files navigation

kyt

CI kyt-d1 kyt-pg

Typed schema, migrations, and query builder, built on Kysely and Valibot.

Package Database Folder
kyt-d1 Cloudflare D1 packages/kyt-d1
kyt-pg Postgres, with postgres.js packages/kyt-pg

kyt-d1 was called d1-kyt until 0.11.0.

Releasing

  1. In a PR, bump version in the package's package.json and add a ## <version> entry to its CHANGELOG.md.
  2. Merge the PR.
  3. In GitHub, open Actions, then Publish, then Run workflow. Pick kyt-d1, kyt-pg or both. Tick dry_run to try it without publishing.

The workflow runs every test, then publishes to npm with trusted publishing, so it needs no npm token. A version that is already on npm is skipped. For each new version, it creates a tag and a GitHub Release, such as kyt-pg@0.1.2, with that version's CHANGELOG entry as the notes.

Each package needs one setting on npmjs.com, under Settings, then Trusted publishing, then GitHub Actions:

Field Value
Organization or user sher
Repository kyt
Workflow filename publish.yml
Environment leave empty

Dependency updates

  • pnpm refuses any package version published less than 7 days ago (minimumReleaseAge: 10080 minutes, in pnpm-workspace.yaml). To let one package through early, add it to minimumReleaseAgeExclude.
  • Dependabot checks the workflow actions every week. It opens a PR only for a release that is at least 7 days old, and it updates the pinned SHA and its version comment.

About

Typed schema, migrations, and query builder for Postgres and Cloudflare D1, built on Kysely.

Topics

Resources

Stars

4 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages

0