CRUD abstraction for DDD repositories, packaged per language.
Versions are independent per language. A repo milestone name (for example planning v0.7.0) does not force every language package to publish that number. Language lines may diverge; today npm / Packagist are at 0.12.0, Go at 0.12.1 (packages/js/package.json / packages/php/VERSION / packages/go/VERSION).
npm package: @b4moss/crudian (packages/js)
Current published line: see packages/js/package.json (0.12.0).
npm install @b4moss/crudian| Subpath | Backend |
|---|---|
@b4moss/crudian/bun-sqlite |
Bun bun:sqlite (sync, SQLite) |
@b4moss/crudian/drizzle |
Drizzle + better-sqlite3 (sync, SQLite) |
@b4moss/crudian/prisma |
Prisma (async; SQLite / Postgres / MySQL via dialect) |
@b4moss/crudian/libsql |
@libsql/client (async, SQLite-compatible) |
@b4moss/crudian/typeorm |
TypeORM DataSource (async; SQLite / Postgres / MySQL) |
Full method samples: packages/js/README.md.
Release: git tag vX.Y.Z must match package.json version. Pushing that tree to release runs npm publish only when the packed content differs from the registry (.github/CI.md).
Go module: github.com/b4moss/crudian/packages/go (packages/go)
There is no npm-style package registry upload. The canonical identity is the module path on GitHub; consumers resolve a git tag with the Go toolchain (go get / go.mod). The public module proxy caches source; it is not a separate store you publish tarballs into.
The module path includes packages/go so it matches the monorepo layout (Go nested-module rule). Current Go line: packages/go/VERSION → 0.12.1, git tag packages/go/v0.12.1.
go get github.com/b4moss/crudian/packages/go@v0.12.1| Import path | Role |
|---|---|
github.com/b4moss/crudian/packages/go/gorm |
GORM adapter (SQLite / Postgres / MySQL) |
github.com/b4moss/crudian/packages/go/libsql |
libSQL (database/sql) adapter (SQLite-compatible) |
github.com/b4moss/crudian/packages/go/crudian |
Shared contract, Where, Dialect, CRUD, Pool |
Usage, drivers, and API notes: packages/go/README.md. Dialect acceptance: docs/tests/dialect/mysql-postgres.md.
Release: tag packages/go/vX.Y.Z matching VERSION. Root tag vX.Y.Z alone does not publish Go. CD creates a GitHub Release and pings the module proxy; it does not upload to npm.
Composer package: b4moss/crudian (packages/php)
Requires PHP 8.3+. PDO adapters for SQLite / Postgres / MySQL; libSQL via official SDK (technical preview, needs ext-ffi).
composer require b4moss/crudian| Namespace | Role |
|---|---|
B4moss\Crudian\ |
Shared contract, Where, Dialect, CRUD, Executor |
B4moss\Crudian\Pdo\ |
createCrud(PDO) |
B4moss\Crudian\Libsql\ |
createCrud($connection) (preview) |
Usage: packages/php/README.md. Acceptance: docs/tests/v0.12.0.md.
Release: tag packages/php/vX.Y.Z matching packages/php/VERSION. Monorepo CD gates tests and creates the Release marker; b4moss/crudian-php mirrors packages/php and tags vX.Y.Z for Packagist (b4moss/crudian).
| Doc | Contents |
|---|---|
docs/README.md |
Pillar(目的・スコープ・技術方針) |
docs/index.md |
OKF 索引 |
docs/specs/ |
現行仕様(ドメイン別) |
docs/plans/ |
これからやる内容 |
docs/roadmap.md |
マイルストーン |
docs/tests/ |
テスト仕様(specs と同じドメイン切り) |
.github/CI.md |
CI/CD policy(path-filtered tests, CD per language, gate tests + act smoke) |
.github/tests/ |
Automated tests for publish/skip gate scripts (make gate-tests) |
MIT © Bicycle for Mind LLC., Kohki SHIKATA — see LICENSE.