freshcrate
Skin:/
Home > Databases > rawsql-ts

rawsql-ts

SQL-first lifecycle toolkit for testing, inspecting, and evolving database applications.

Why this rank:Recent releaseStrong adoptionHealthy release cadence

Description

SQL-first lifecycle toolkit for testing, inspecting, and evolving database applications.

README

rawsql-ts

License: MIT

A monorepo for rawsql-ts: a SQL-first toolkit for parsing, testing, inspecting, and evolving database applications while keeping raw SQL as a first-class asset.

By parsing SQL into abstract syntax trees, rawsql-ts enables type-safe query building, static validation, and transparent result mapping — all while preserving the expressiveness and control of handwritten SQL. AST-based rewriting also powers Zero Table Dependency (ZTD) testing, which transforms application queries to run against in-memory fixtures instead of physical tables, enabling deterministic unit tests without database setup overhead. The repo additionally covers AST-based impact analysis, deterministic test evidence, schema documentation, and ztd-cli workflows for inspection and SQL artifact generation.

The ztd init scaffold now starts from a feature-first layout under src/features/<feature>/ and includes src/features/smoke/ as the removable teaching feature. Shared feature seams live under src/features/_shared/, driver-neutral runtime contracts under src/libraries/, driver or sink bindings under src/adapters/<tech>/, shared verification seams under tests/support/, and tool-managed assets under .ztd/. src/catalog may still exist as internal support, but it is no longer the user-facing standard location.

Note

This project is currently in beta. APIs may change until the v1.0 release.

Capability Index

Use this section as the shortest repo-level map. It is intentionally brief: package details live under each package README, while repo-level workflows point to the CLI or guide that owns them.

Packaged Capabilities

Capability Primary surface Start here
SQL parsing and AST rewriting rawsql-ts packages/core
SQL impact analysis / grep @rawsql-ts/sql-grep-core packages/sql-grep-core
Type-safe result mapping @rawsql-ts/sql-contract packages/sql-contract
Execution helpers @rawsql-ts/executor packages/executor
ZTD fixture rewriting and testkits @rawsql-ts/testkit-* packages/testkit-core
Test evidence storage and rendering @rawsql-ts/test-evidence-* packages/test-evidence-core
Schema documentation generation @rawsql-ts/ddl-docs-* packages/ddl-docs-cli
ZTD project scaffolding and SQL lifecycle tooling @rawsql-ts/ztd-cli packages/ztd-cli/README.md

Workflow Surfaces

These capabilities are important at the repo level even though they are mostly exposed through ztd-cli commands rather than standalone packages.

Workflow Entry point Why it matters
SQL pipeline planning and dry-run optimization analysis ztd query plan, ztd perf run --dry-run Explains how SQL may be decomposed into stages before execution.
SQL impact analysis before schema changes ztd query uses Supports rename/type-change investigations using AST-based usage analysis.
SQL-first optional filter authoring ztd query sssql scaffold, ztd query sssql refresh Keeps optional filters visible in SQL while runtime pruning stays explicit. Runtime no longer injects new filter predicates.
SQL debug and recovery for long CTE queries ztd query outline, ztd query lint, ztd query slice, ztd query patch apply Helps isolate and repair problematic query shapes; ztd query lint --rules join-direction adds a FK-aware JOIN readability guard.
Explicit-target schema inspection and migration-prep workflow ztd ddl diff, ztd ddl pull Supports safe inspection against explicit target databases and generation of diff / patch SQL artifacts. Applying generated SQL is intentionally out of scope.
Machine-readable CLI automation and telemetry ztd --output json, ztd describe, telemetry export modes Supports AI/tooling integration and timing investigation.

Packages

Core

Package Version Description
rawsql-ts npm SQL parser and AST transformer. Zero dependencies, browser-ready.
@rawsql-ts/sql-grep-core npm Low-dependency SQL usage analysis engine for AST-based schema impact checks.

Contract

Package Version Description
@rawsql-ts/sql-contract npm Type-safe result mapping for raw SQL queries. Driver and validator agnostic.

Execution

Package Version Description
@rawsql-ts/executor npm Optional helper for connection lifecycle and transaction scope when you want less boilerplate while keeping execution ownership in the caller.

Testing

Package Version Description
@rawsql-ts/testkit-core npm Fixture-backed CTE rewriting and schema validation engine. Driver-agnostic ZTD foundation.
@rawsql-ts/testkit-postgres npm Postgres-specific CTE rewriting and fixture validation. Works with any executor.
@rawsql-ts/adapter-node-pg npm Adapter connecting pg (node-postgres) to testkit-postgres.
@rawsql-ts/testkit-sqlite npm SQLite-specific CTE rewriting and fixture validation. In-memory testing with better-sqlite3.

Evidence

Package Version Description
@rawsql-ts/test-evidence-core npm Core schema and storage model for deterministic test evidence.
@rawsql-ts/test-evidence-renderer-md npm Markdown renderer for saved test evidence reports.

Documentation

Package Version Description
@rawsql-ts/ddl-docs-cli npm CLI that generates Markdown table definition docs from DDL files.
@rawsql-ts/ddl-docs-vitepress npm Scaffold generator for VitePress-based database schema documentation sites.

CLI

Package Version Description
@rawsql-ts/ztd-cli npm SQL-first CLI for ZTD workflows, schema inspection, and migration SQL artifact generation.

For the machine-readable CLI surface, see ztd-cli Agent Interface and ztd-cli Describe Schema.

Architecture

rawsql-ts (core)
├─ @rawsql-ts/sql-grep-core
├─ @rawsql-ts/sql-contract
├─ @rawsql-ts/executor
├─ @rawsql-ts/testkit-core
│  ├─ @rawsql-ts/testkit-postgres
│  │  └─ @rawsql-ts/adapter-node-pg
│  └─ @rawsql-ts/testkit-sqlite
├─ @rawsql-ts/ddl-docs-cli
│  └─ @rawsql-ts/ddl-docs-vitepress
└─ @rawsql-ts/ztd-cli
   └─ uses @rawsql-ts/sql-grep-core for `query uses`

Quick Start

npm install rawsql-ts

See the Core Package Documentation for usage examples and API reference. For reusable AST-based impact analysis, see @rawsql-ts/sql-grep-core. For repo-level SQL lifecycle workflows, inspection commands, and ZTD project guidance, see @rawsql-ts/ztd-cli. Deterministic dogfooding spec: docs/dogfooding/DOGFOODING.md.

Tutorials

  • SQL-first End-to-End Tutorial - Walk from DDL to ztd-config, model-gen, repository wiring, and the first passing smoke test in one focused path.
  • Migration Repair Loop - Repair DDL, SQL, DTO, and migration artifacts with AI after the starter flow is green.

Intent and Procedure

Treat each query as one unit: 1 SQL file / 1 QuerySpec / 1 repository entrypoint / 1 DTO.

Keep handwritten SQL assets close to each feature in src/features/<feature>/queries/<query>/ so the SQL, boundary contract, and query-local tests stay in one place.

Use this repo by treating DDL and SQL as source assets, and generated specs, repositories, and tests as downstream artifacts that must stay in sync.

Procedure: DDL -> SQL -> generate -> wire -> test.

For a step-by-step example, see the SQL-first tutorial above.

Getting Started with AI

If you are using an AI coding agent, start with a short prompt that sets only the minimum project shape and domain language. You do not need to explain package-manager setup in that prompt.

Optional Docker helper:

If you want a local PostgreSQL 18 instance for ZTD tests, use a tiny compose file like this:

services:
  postgres:
    image: postgres:18
    environment:
      POSTGRES_USER: ztd
      POSTGRES_PASSWORD: ztd
      POSTGRES_DB: ztd
    ports:
      - "5432:5432"
    volumes:
      - ztd-postgres-data:/var/lib/postgresql/data

volumes:
  ztd-postgres-data:

Then run docker compose up -d and point ZTD_DB_URL at that database for the fixture-backed rewrite path.

CLI Tool Routing Happy Paths

  • SQL pipeline / debug → ztd query plan <sql-file>
  • Impact analysis → ztd query uses <target>
  • SQL-first optional filters → ztd query sssql scaffold <sql-file> / ztd query sssql refresh <sql-file>
  • Schema inspection → ztd ddl diff --url <target>

For the full routing guide and decision table, see SQL Tool Happy Paths.

Database Boundary at a Glance

For repo-level workflows, keep this boundary in mind:

  • .env is the source of truth for the fixture-backed ZTD runtime inputs, and ZTD_DB_URL is the implicit database input used by ztd-cli
  • DATABASE_URL is typically an application/runtime/deployment concern and is not read automatically by ztd-cli
  • any non-ZTD database target must be supplied explicitly via --url or --db-*
  • migration SQL artifacts may be generated by ztd-cli, but apply / deployment execution remains outside its ownership

This boundary exists for both AI-driven and human-driven workflows. It keeps test, inspection, and deployment concerns from silently collapsing into a single default database model.

Online Demo

Try rawsql-ts in your browser

License

MIT

Release History

VersionChangesUrgencyDate
rawsql-ts@0.23.0### Minor Changes - [#856](https://github.com/mk3008/rawsql-ts/pull/856) [`4698a87`](https://github.com/mk3008/rawsql-ts/commit/4698a87e9a73f8d6b87b0545cb0a740246f7d457) Thanks [@mk3008](https://github.com/mk3008)! - Add `identifierEscapeTarget: "minimal"` to `SqlFormatter` so identifier quotes are removed only when the bare identifier is syntactically valid and semantically safe. The escape symbol remains controlled separately by `identifierEscape` (`quote`, `backtick`, `bracket`, or explicit High5/31/2026
rawsql-ts@0.22.0### Minor Changes - [#853](https://github.com/mk3008/rawsql-ts/pull/853) [`95cf764`](https://github.com/mk3008/rawsql-ts/commit/95cf764a6ed70ec158f594f023354bfc9bc81110) Thanks [@mk3008](https://github.com/mk3008)! - Add SSSQL rewrite plan APIs on `SSSQLFilterBuilder` so callers can inspect scaffold, refresh, and remove rewrites before applying them. Plans include rewritten SQL, edit spans, safety metadata, warnings, and errors. Scalar add and remove plans can now return minimal span-based editHigh5/29/2026
@rawsql-ts/ztd-cli@0.27.2### Patch Changes - [#848](https://github.com/mk3008/rawsql-ts/pull/848) [`ab62ac5`](https://github.com/mk3008/rawsql-ts/commit/ab62ac5b26cb14a10cc8905fceabcf2590fe4a27) Thanks [@mk3008](https://github.com/mk3008)! - Tighten the starter first-run experience by keeping the generated smoke QuerySpec typecheckable, wrapping aggregate Postgres connection failures with concise recovery steps, and extending publish artifact verification to run starter typecheck, DB-free smoke tests, and ztd-config beHigh5/23/2026
rawsql-ts@0.20.0### Minor Changes - [#773](https://github.com/mk3008/rawsql-ts/pull/773) [`e9e425f`](https://github.com/mk3008/rawsql-ts/commit/e9e425f77b51402fcca03393305ac36bc99d7576) Thanks [@mk3008](https://github.com/mk3008)! - Improve SSSQL `refresh` so correlated `EXISTS` / `NOT EXISTS` branches can be safely re-anchored after query structure changes. `rawsql-ts` now relocates correlated optional branches by inferring a single anchor from outer references, rebases aliases when moving branches across High4/21/2026
@rawsql-ts/ztd-cli@0.26.0### Minor Changes - [#773](https://github.com/mk3008/rawsql-ts/pull/773) [`e9e425f`](https://github.com/mk3008/rawsql-ts/commit/e9e425f77b51402fcca03393305ac36bc99d7576) Thanks [@mk3008](https://github.com/mk3008)! - Improve SSSQL `refresh` so correlated `EXISTS` / `NOT EXISTS` branches can be safely re-anchored after query structure changes. `rawsql-ts` now relocates correlated optional branches by inferring a single anchor from outer references, rebases aliases when moving branches across High4/21/2026
@rawsql-ts/testkit-sqlite@1.0.5### Patch Changes - Updated dependencies [[`e9e425f`](https://github.com/mk3008/rawsql-ts/commit/e9e425f77b51402fcca03393305ac36bc99d7576), [`6a1cb41`](https://github.com/mk3008/rawsql-ts/commit/6a1cb415366f3b8c0650f1caac67d9235ed1a130)]: - rawsql-ts@0.20.0 - @rawsql-ts/testkit-core@0.16.5High4/21/2026
@rawsql-ts/testkit-postgres@0.15.7### Patch Changes - Updated dependencies [[`e9e425f`](https://github.com/mk3008/rawsql-ts/commit/e9e425f77b51402fcca03393305ac36bc99d7576), [`6a1cb41`](https://github.com/mk3008/rawsql-ts/commit/6a1cb415366f3b8c0650f1caac67d9235ed1a130)]: - rawsql-ts@0.20.0 - @rawsql-ts/testkit-core@0.16.5High4/21/2026
@rawsql-ts/testkit-core@0.16.5### Patch Changes - Updated dependencies [[`e9e425f`](https://github.com/mk3008/rawsql-ts/commit/e9e425f77b51402fcca03393305ac36bc99d7576), [`6a1cb41`](https://github.com/mk3008/rawsql-ts/commit/6a1cb415366f3b8c0650f1caac67d9235ed1a130)]: - rawsql-ts@0.20.0High4/21/2026
@rawsql-ts/sql-grep-core@0.1.9### Patch Changes - Updated dependencies [[`e9e425f`](https://github.com/mk3008/rawsql-ts/commit/e9e425f77b51402fcca03393305ac36bc99d7576), [`6a1cb41`](https://github.com/mk3008/rawsql-ts/commit/6a1cb415366f3b8c0650f1caac67d9235ed1a130)]: - rawsql-ts@0.20.0High4/21/2026
@rawsql-ts/ddl-docs-cli@0.2.7### Patch Changes - Updated dependencies [[`e9e425f`](https://github.com/mk3008/rawsql-ts/commit/e9e425f77b51402fcca03393305ac36bc99d7576), [`6a1cb41`](https://github.com/mk3008/rawsql-ts/commit/6a1cb415366f3b8c0650f1caac67d9235ed1a130)]: - rawsql-ts@0.20.0High4/21/2026
@rawsql-ts/adapter-node-pg@0.15.8### Patch Changes - Updated dependencies [[`e9e425f`](https://github.com/mk3008/rawsql-ts/commit/e9e425f77b51402fcca03393305ac36bc99d7576), [`6a1cb41`](https://github.com/mk3008/rawsql-ts/commit/6a1cb415366f3b8c0650f1caac67d9235ed1a130)]: - rawsql-ts@0.20.0 - @rawsql-ts/testkit-core@0.16.5 - @rawsql-ts/testkit-postgres@0.15.7High4/21/2026
rawsql-ts@0.19.0### Minor Changes - [#752](https://github.com/mk3008/rawsql-ts/pull/752) [`6bf1fcc`](https://github.com/mk3008/rawsql-ts/commit/6bf1fccfcf3cdce4b74cc42ef3d086c54defb54b) Thanks [@mk3008](https://github.com/mk3008)! - Add `ztd feature query scaffold` for creating child query boundaries under an existing boundary without rewriting the parent boundary. Promote `--scope-dir` as the primary `ztd query uses` narrowing flag while keeping `--specs-dir` as a deprecated compatibility alias. SupportHigh4/11/2026
@rawsql-ts/ztd-cli@0.25.0### Minor Changes - [#752](https://github.com/mk3008/rawsql-ts/pull/752) [`6bf1fcc`](https://github.com/mk3008/rawsql-ts/commit/6bf1fccfcf3cdce4b74cc42ef3d086c54defb54b) Thanks [@mk3008](https://github.com/mk3008)! - Add `ztd feature query scaffold` for creating child query boundaries under an existing boundary without rewriting the parent boundary. Promote `--scope-dir` as the primary `ztd query uses` narrowing flag while keeping `--specs-dir` as a deprecated compatibility alias. SupportMedium4/11/2026
@rawsql-ts/testkit-sqlite@1.0.4### Patch Changes - Updated dependencies [[`6bf1fcc`](https://github.com/mk3008/rawsql-ts/commit/6bf1fccfcf3cdce4b74cc42ef3d086c54defb54b)]: - rawsql-ts@0.19.0 - @rawsql-ts/testkit-core@0.16.4Medium4/11/2026
@rawsql-ts/testkit-postgres@0.15.6### Patch Changes - Updated dependencies [[`6bf1fcc`](https://github.com/mk3008/rawsql-ts/commit/6bf1fccfcf3cdce4b74cc42ef3d086c54defb54b)]: - rawsql-ts@0.19.0 - @rawsql-ts/testkit-core@0.16.4Medium4/11/2026
@rawsql-ts/testkit-core@0.16.4### Patch Changes - Updated dependencies [[`6bf1fcc`](https://github.com/mk3008/rawsql-ts/commit/6bf1fccfcf3cdce4b74cc42ef3d086c54defb54b)]: - rawsql-ts@0.19.0Medium4/11/2026
@rawsql-ts/sql-grep-core@0.1.8### Patch Changes - Updated dependencies [[`6bf1fcc`](https://github.com/mk3008/rawsql-ts/commit/6bf1fccfcf3cdce4b74cc42ef3d086c54defb54b)]: - rawsql-ts@0.19.0Medium4/11/2026
@rawsql-ts/ddl-docs-cli@0.2.6### Patch Changes - Updated dependencies [[`6bf1fcc`](https://github.com/mk3008/rawsql-ts/commit/6bf1fccfcf3cdce4b74cc42ef3d086c54defb54b)]: - rawsql-ts@0.19.0Medium4/11/2026
@rawsql-ts/adapter-node-pg@0.15.7### Patch Changes - Updated dependencies [[`6bf1fcc`](https://github.com/mk3008/rawsql-ts/commit/6bf1fccfcf3cdce4b74cc42ef3d086c54defb54b)]: - rawsql-ts@0.19.0 - @rawsql-ts/testkit-core@0.16.4 - @rawsql-ts/testkit-postgres@0.15.6Medium4/11/2026
@rawsql-ts/ztd-cli@0.24.3### Patch Changes - [#724](https://github.com/mk3008/rawsql-ts/pull/724) [`d6b7162`](https://github.com/mk3008/rawsql-ts/commit/d6b71629e6ae2f9000bf2e15153ccea967cebad8) Thanks [@mk3008](https://github.com/mk3008)! - Fix starter scaffolds so the Vitest setup derives `ZTD_TEST_DATABASE_URL` from `ZTD_DB_PORT`, which keeps the DB-backed smoke test aligned with the compose port even if an older localhost:5432 URL is still present. Add a regression test for the generated setup file so the port overHigh4/6/2026
@rawsql-ts/ztd-cli@0.24.2### Patch Changes - [#722](https://github.com/mk3008/rawsql-ts/pull/722) [`fcc9d19`](https://github.com/mk3008/rawsql-ts/commit/fcc9d1990598483240a64bf0eb92f181c2682ff4) Thanks [@mk3008](https://github.com/mk3008)! - Update the starter smoke scaffold and documentation to use the feature-first layout with query-local ZTD assets under `src/features/<feature>/<query>/tests/`, including the new `smoke` starter structure.Medium4/6/2026
@rawsql-ts/ztd-cli@0.24.1### Patch Changes - [#715](https://github.com/mk3008/rawsql-ts/pull/715) [`e3eba48`](https://github.com/mk3008/rawsql-ts/commit/e3eba48cca031f04573043ce73f078d3603d8ff0) Thanks [@mk3008](https://github.com/mk3008)! - Fix feature scaffold queryspec generation so CRUD baselines no longer import non-existent `sql-contract` cardinality helpers and instead use locally generated row-count handling.Medium4/3/2026
@rawsql-ts/ztd-cli@0.24.0### Minor Changes - [#694](https://github.com/mk3008/rawsql-ts/pull/694) [`cc1102f`](https://github.com/mk3008/rawsql-ts/commit/cc1102fdbf19e43eff3a45fc1ffb0afb5218ccc4) Thanks [@mk3008](https://github.com/mk3008)! - Expand `ztd feature scaffold` so the CRUD boundary baseline now supports `--action update` and `--action delete` in addition to `insert`. The generated scaffold keeps the same `entryspec.ts` plus query-local `queryspec.ts` and SQL layout, uses `zod` DTO schemas at both boundaries, Medium4/2/2026
@rawsql-ts/sql-grep-core@0.1.7### Patch Changes - [#696](https://github.com/mk3008/rawsql-ts/pull/696) [`686edf2`](https://github.com/mk3008/rawsql-ts/commit/686edf2d23960d8108b4c01777364980183664fe) Thanks [@mk3008](https://github.com/mk3008)! - Fix two dogfooded workflow gaps in the current starter/tutorial path. `ztd query uses` now discovers scaffolded feature-local `queryspec.ts` files that load SQL through `loadSqlResource(...)`, so DDL repair and usage search work against the generated VSA layout instead of reportMedium4/2/2026
rawsql-ts@0.18.0### Minor Changes - [#679](https://github.com/mk3008/rawsql-ts/pull/679) [`be9b689`](https://github.com/mk3008/rawsql-ts/commit/be9b6893ff42f783f9cb52f1b8cd9cdc6c120e23) Thanks [@mk3008](https://github.com/mk3008)! - Add SSSQL scaffold and refresh commands, and change `DynamicQueryBuilder` so legacy runtime filter predicates fail fast instead of being injected at runtime. Runtime optional-condition pruning, sort, and paging remain supported.Medium3/28/2026
@rawsql-ts/ztd-cli@0.23.0### Minor Changes - [#679](https://github.com/mk3008/rawsql-ts/pull/679) [`be9b689`](https://github.com/mk3008/rawsql-ts/commit/be9b6893ff42f783f9cb52f1b8cd9cdc6c120e23) Thanks [@mk3008](https://github.com/mk3008)! - Add SSSQL scaffold and refresh commands, and change `DynamicQueryBuilder` so legacy runtime filter predicates fail fast instead of being injected at runtime. Runtime optional-condition pruning, sort, and paging remain supported. ### Patch Changes - [#682](https://github.com/mk300Medium3/28/2026
@rawsql-ts/testkit-sqlite@1.0.3### Patch Changes - Updated dependencies [[`68b385e`](https://github.com/mk3008/rawsql-ts/commit/68b385e0407b8a610078ea4c07ee0c602e6910ed), [`be9b689`](https://github.com/mk3008/rawsql-ts/commit/be9b6893ff42f783f9cb52f1b8cd9cdc6c120e23)]: - @rawsql-ts/testkit-core@0.16.3 - rawsql-ts@0.18.0Medium3/28/2026
@rawsql-ts/testkit-postgres@0.15.5### Patch Changes - Updated dependencies [[`68b385e`](https://github.com/mk3008/rawsql-ts/commit/68b385e0407b8a610078ea4c07ee0c602e6910ed), [`be9b689`](https://github.com/mk3008/rawsql-ts/commit/be9b6893ff42f783f9cb52f1b8cd9cdc6c120e23)]: - @rawsql-ts/testkit-core@0.16.3 - rawsql-ts@0.18.0Medium3/28/2026
@rawsql-ts/testkit-core@0.16.3### Patch Changes - [#672](https://github.com/mk3008/rawsql-ts/pull/672) [`68b385e`](https://github.com/mk3008/rawsql-ts/commit/68b385e0407b8a610078ea4c07ee0c602e6910ed) Thanks [@mk3008](https://github.com/mk3008)! - `ztd-config` now reuses shared DDL analysis for linting and table metadata generation, and skips no-op config writes so telemetry matches actual persistence. - Updated dependencies [[`be9b689`](https://github.com/mk3008/rawsql-ts/commit/be9b6893ff42f783f9cb52f1b8cd9cdc6c120e23)]: Medium3/28/2026
@rawsql-ts/sql-grep-core@0.1.6### Patch Changes - [#682](https://github.com/mk3008/rawsql-ts/pull/682) [`07eb7fd`](https://github.com/mk3008/rawsql-ts/commit/07eb7fdda0b932f3f6bc13d58767e57927d6707e) Thanks [@mk3008](https://github.com/mk3008)! - The starter README now stays focused on entry points, while the repository telemetry setup and observed SQL investigation flows are documented in separate guides. You can now follow step-by-step instructions for editing the generated telemetry scaffold, emitting safe structured Medium3/28/2026
@rawsql-ts/ddl-docs-cli@0.2.5### Patch Changes - Updated dependencies [[`be9b689`](https://github.com/mk3008/rawsql-ts/commit/be9b6893ff42f783f9cb52f1b8cd9cdc6c120e23)]: - rawsql-ts@0.18.0Medium3/28/2026
@rawsql-ts/adapter-node-pg@0.15.6### Patch Changes - Updated dependencies [[`68b385e`](https://github.com/mk3008/rawsql-ts/commit/68b385e0407b8a610078ea4c07ee0c602e6910ed), [`be9b689`](https://github.com/mk3008/rawsql-ts/commit/be9b6893ff42f783f9cb52f1b8cd9cdc6c120e23)]: - @rawsql-ts/testkit-core@0.16.3 - rawsql-ts@0.18.0 - @rawsql-ts/testkit-postgres@0.15.5Medium3/28/2026
@rawsql-ts/ztd-cli@0.22.5### Patch Changes - [#660](https://github.com/mk3008/rawsql-ts/pull/660) [`2bc9b36`](https://github.com/mk3008/rawsql-ts/commit/2bc9b369918e395ef7fd4eb7fad30b9f42869a00) Thanks [@mk3008](https://github.com/mk3008)! - Improve the starter quickstart and smoke scaffold so the Docker daemon prerequisite is easier to spot, and align the starter `smoke` QuerySpec with the feature-local SQL file path generated by `ztd init`.Medium3/24/2026
@rawsql-ts/ztd-cli@0.22.4### Patch Changes - [#653](https://github.com/mk3008/rawsql-ts/pull/653) [`4540a22`](https://github.com/mk3008/rawsql-ts/commit/4540a22a57c600cbd4f4dbe2fe160cd8da1fb12e) Thanks [@mk3008](https://github.com/mk3008)! - Improve `query uses` for feature-local VSA projects by discovering QuerySpec files from the project tree, preferring spec-relative SQL resolution, and clarifying the VSA-first impact-analysis contract in docs and CLI help. - [#652](https://github.com/mk3008/rawsql-ts/pull/652) [`3Medium3/23/2026
@rawsql-ts/sql-grep-core@0.1.5### Patch Changes - [#653](https://github.com/mk3008/rawsql-ts/pull/653) [`4540a22`](https://github.com/mk3008/rawsql-ts/commit/4540a22a57c600cbd4f4dbe2fe160cd8da1fb12e) Thanks [@mk3008](https://github.com/mk3008)! - Improve `query uses` for feature-local VSA projects by discovering QuerySpec files from the project tree, preferring spec-relative SQL resolution, and clarifying the VSA-first impact-analysis contract in docs and CLI help.Medium3/23/2026
@rawsql-ts/ztd-cli@0.22.3### Patch Changes - [#647](https://github.com/mk3008/rawsql-ts/pull/647) [`bbdae2c`](https://github.com/mk3008/rawsql-ts/commit/bbdae2cadcbd8668fb5f823168c4f1b5eff8a02f) Thanks [@mk3008](https://github.com/mk3008)! - Improve `ztd ddl diff` reviewability by emitting review-first text/json summaries alongside a SQL artifact, and update the migration docs to explain how to inspect and apply the generated files. - [#646](https://github.com/mk3008/rawsql-ts/pull/646) [`fe400bc`](https://github.com/Low3/22/2026
@rawsql-ts/ztd-cli@0.22.2### Patch Changes - Republish `@rawsql-ts/sql-contract` with its runtime `dist/` artifacts so standalone consumers can run `ztd model-gen` in the starter tutorial without a missing module error. Refresh the starter README generated by `@rawsql-ts/ztd-cli` so standalone users can recover from a busy `5432` port and keep using `pnpm add -D` when the project was initialized with pnpm.Low3/22/2026
@rawsql-ts/sql-contract@0.3.2### Patch Changes - Republish `@rawsql-ts/sql-contract` with its runtime `dist/` artifacts so standalone consumers can run `ztd model-gen` in the starter tutorial without a missing module error. Refresh the starter README generated by `@rawsql-ts/ztd-cli` so standalone users can recover from a busy `5432` port and keep using `pnpm add -D` when the project was initialized with pnpm.Low3/22/2026
@rawsql-ts/testkit-postgres@0.15.4### Patch Changes - [#639](https://github.com/mk3008/rawsql-ts/pull/639) [`a948119`](https://github.com/mk3008/rawsql-ts/commit/a948119b1fcc6ed884d1f939cdbf14132320b638) Thanks [@mk3008](https://github.com/mk3008)! - Fix the published dependency graph for the PostgreSQL adapter tutorial path so standalone consumers can install `@rawsql-ts/adapter-node-pg` without a `workspace:` protocol leak.Low3/21/2026
@rawsql-ts/adapter-node-pg@0.15.5### Patch Changes - [#639](https://github.com/mk3008/rawsql-ts/pull/639) [`a948119`](https://github.com/mk3008/rawsql-ts/commit/a948119b1fcc6ed884d1f939cdbf14132320b638) Thanks [@mk3008](https://github.com/mk3008)! - Fix the published dependency graph for the PostgreSQL adapter tutorial path so standalone consumers can install `@rawsql-ts/adapter-node-pg` without a `workspace:` protocol leak. - Updated dependencies [[`a948119`](https://github.com/mk3008/rawsql-ts/commit/a948119b1fcc6ed884d1f93Low3/21/2026
@rawsql-ts/testkit-core@0.16.2### Patch Changes - [#636](https://github.com/mk3008/rawsql-ts/pull/636) [`849541e`](https://github.com/mk3008/rawsql-ts/commit/849541e001b3406eadf0da1637631ce670390950) Thanks [@mk3008](https://github.com/mk3008)! - Re-release `@rawsql-ts/testkit-core` with a corrected published manifest so standalone `ztd init --starter --with-ai-guidance --with-dogfooding --yes` consumers can complete `pnpm install` without a workspace protocol mismatch.Low3/21/2026
@rawsql-ts/ztd-cli@0.22.1### Patch Changes - [#628](https://github.com/mk3008/rawsql-ts/pull/628) [`b579253`](https://github.com/mk3008/rawsql-ts/commit/b5792534c0f01934274c7db980fbe651c58fda4a) Thanks [@mk3008](https://github.com/mk3008)! - Fix the init scaffold so `@rawsql-ts/testkit-core` is installed automatically and `npx ztd ztd-config` works in a fresh standalone project. - Updated dependencies [[`5d15113`](https://github.com/mk3008/rawsql-ts/commit/5d151130b492b0bfbb787a1410ceb1eeee0683e6)]: - @rawsql-ts/sqlLow3/21/2026
@rawsql-ts/testkit-sqlite@1.0.2### Patch Changes - [#628](https://github.com/mk3008/rawsql-ts/pull/628) [`5d15113`](https://github.com/mk3008/rawsql-ts/commit/5d151130b492b0bfbb787a1410ceb1eeee0683e6) Thanks [@mk3008](https://github.com/mk3008)! - Replace workspace-only dependency ranges in published package manifests with publishable semver ranges so standalone consumers can install these packages without workspace resolution errors.Low3/21/2026
@rawsql-ts/test-evidence-renderer-md@0.3.2### Patch Changes - [#628](https://github.com/mk3008/rawsql-ts/pull/628) [`5d15113`](https://github.com/mk3008/rawsql-ts/commit/5d151130b492b0bfbb787a1410ceb1eeee0683e6) Thanks [@mk3008](https://github.com/mk3008)! - Replace workspace-only dependency ranges in published package manifests with publishable semver ranges so standalone consumers can install these packages without workspace resolution errors.Low3/21/2026
@rawsql-ts/sql-grep-core@0.1.4### Patch Changes - [#628](https://github.com/mk3008/rawsql-ts/pull/628) [`5d15113`](https://github.com/mk3008/rawsql-ts/commit/5d151130b492b0bfbb787a1410ceb1eeee0683e6) Thanks [@mk3008](https://github.com/mk3008)! - Replace workspace-only dependency ranges in published package manifests with publishable semver ranges so standalone consumers can install these packages without workspace resolution errors.Low3/21/2026
@rawsql-ts/sql-contract-zod@0.1.5### Patch Changes - [#628](https://github.com/mk3008/rawsql-ts/pull/628) [`5d15113`](https://github.com/mk3008/rawsql-ts/commit/5d151130b492b0bfbb787a1410ceb1eeee0683e6) Thanks [@mk3008](https://github.com/mk3008)! - Replace workspace-only dependency ranges in published package manifests with publishable semver ranges so standalone consumers can install these packages without workspace resolution errors.Low3/21/2026
@rawsql-ts/ddl-docs-vitepress@0.2.3### Patch Changes - [#634](https://github.com/mk3008/rawsql-ts/pull/634) [`d0c63f2`](https://github.com/mk3008/rawsql-ts/commit/d0c63f22298f8ec1aa6e23d783e986c07cf0285d) Thanks [@mk3008](https://github.com/mk3008)! - Add repository metadata to the ddl-docs packages so npm Trusted Publishing provenance validation can verify the package source during release. - Updated dependencies [[`d0c63f2`](https://github.com/mk3008/rawsql-ts/commit/d0c63f22298f8ec1aa6e23d783e986c07cf0285d)]: - @rawsql-ts/Low3/21/2026
@rawsql-ts/ddl-docs-cli@0.2.4### Patch Changes - [#634](https://github.com/mk3008/rawsql-ts/pull/634) [`d0c63f2`](https://github.com/mk3008/rawsql-ts/commit/d0c63f22298f8ec1aa6e23d783e986c07cf0285d) Thanks [@mk3008](https://github.com/mk3008)! - Add repository metadata to the ddl-docs packages so npm Trusted Publishing provenance validation can verify the package source during release.Low3/21/2026
@rawsql-ts/ztd-cli@0.22.0### Minor Changes - [#626](https://github.com/mk3008/rawsql-ts/pull/626) [`25fdcd3`](https://github.com/mk3008/rawsql-ts/commit/25fdcd321a239cfeb77d4a9b4fcaaff2f479d88a) Thanks [@mk3008](https://github.com/mk3008)! - Refresh the ztd-cli starter workflow and README so the feature-first starter scaffold, AI prompt, tutorial, and dogfooding guidance line up with the new first-run experience. ### Patch Changes - [#621](https://github.com/mk3008/rawsql-ts/pull/621) [`ecd69d2`](https://github.com/mLow3/21/2026
@rawsql-ts/ztd-cli@0.21.0### Minor Changes - [#616](https://github.com/mk3008/rawsql-ts/pull/616) [`33b300c`](https://github.com/mk3008/rawsql-ts/commit/33b300c147c909296f5a29f547a12210ed612170) Thanks [@mk3008](https://github.com/mk3008)! - Remove the scaffold's `tables/` and `views/` folders and update the docs, AGENTS guidance, and tests so `1 SQL file / 1 QuerySpec / 1 repository entrypoint / 1 DTO` is the only query-unit storage rule. ### Patch Changes - [#610](https://github.com/mk3008/rawsql-ts/pull/610) [`41bLow3/19/2026
@rawsql-ts/ztd-cli@0.20.2### Patch Changes - Updated dependencies [[`214bb0a`](https://github.com/mk3008/rawsql-ts/commit/214bb0a8d6ceffb193e78d7531d78d6d2182b34a)]: - @rawsql-ts/sql-grep-core@0.1.3Low3/15/2026
@rawsql-ts/test-evidence-renderer-md@0.3.1### Patch Changes - [#571](https://github.com/mk3008/rawsql-ts/pull/571) [`6fd0afa`](https://github.com/mk3008/rawsql-ts/commit/6fd0afa9b3faef0e41ba6a56e3d40fc507a9172a) Thanks [@mk3008](https://github.com/mk3008)! - Fix published package manifests so npm consumers do not receive `workspace:` dependency ranges when installing `@rawsql-ts/ztd-cli` and its internal runtime dependencies.Low3/15/2026
@rawsql-ts/sql-grep-core@0.1.3### Patch Changes - [#583](https://github.com/mk3008/rawsql-ts/pull/583) [`214bb0a`](https://github.com/mk3008/rawsql-ts/commit/214bb0a8d6ceffb193e78d7531d78d6d2182b34a) Thanks [@mk3008](https://github.com/mk3008)! - Fix `@rawsql-ts/sql-grep-core` so its publish artifact build no longer fails on parser result typing and `rawsql-ts` import resolution during pack.Low3/15/2026

Dependencies & License Audit

Loading dependencies...

Similar Packages

slot-jsx-pragma🎰 Enable declarative slottable components with a custom JSX pragma for seamless React integration and enhanced performance.main@2026-06-06
DesktopCommanderMCPThis is MCP server for Claude that gives it terminal control, file system search and diff file editing capabilitiesv0.2.42
VSCode-Local-CopilotNo descriptionmain@2026-06-05
mem9Enable AI agents to retain memory across sessions using persistent storage designed for continuous context retention.main@2026-06-05
openclaw-engramLocal-first memory plugin for OpenClaw AI agents. LLM-powered extraction, plain markdown storage, hybrid search via QMD. Gives agents persistent long-term memory across conversations.v9.3.613

More in Databases

WeKnoraLLM-powered framework for deep document understanding, semantic retrieval, and context-aware answers using RAG paradigm.
orbitOne API for 20+ LLM providers, your databases, and your files — self-hosted, open-source AI gateway with RAG, voice, and guardrails.
ai-real-estate-assistantAdvanced AI Real Estate Assistant using RAG, LLMs, and Python. Features market analysis, property valuation, and intelligent search.
alibabacloud-adb20211201Alibaba Cloud adb (20211201) SDK Library for Python