Skip to content

chore: align sqb with the Panates repository standards - #121

Merged
erayhanoglu merged 21 commits into
mainfrom
dev
Nov 4, 2026
Merged

erayhanoglu merged 21 commits into
mainfrom
dev

Conversation

@erayhanoglu

Copy link
Copy Markdown
Member

Summary

Releases #118, #119 and #120: sqb now follows the Panates repository standards (panates/ai-harness #1 to #9). Only chore:, docs: and ci: commits, so this is a patch release.

  • Manifests: engines.node is >=22 (the sqlite package keeps >=22.5.0, the first release with node:sqlite). Package sources are private: true; rman build writes build/package.json without it, so the published manifests do not change in that respect. Dependencies upgraded with rman deps -u. The oracle, postgres and sqljs descriptions say adapter.
  • READMEs: one sentence and the documentation links under the logo, package names as H1, Node.js 22, the BSD 3-Clause license instead of MIT, links to panates/sqb.
  • Repository: CODE_OF_CONDUCT.md, SECURITY.md, issue templates, a committed .claude/settings.json, project notes in CLAUDE.md; renovate.json and unused test variables removed; the workspace is read from pnpm-workspace.yaml only.
  • CI: main-from-dev fails a pull request into main from any branch but dev; this pull request is its first run here.

Release note

Node.js 22 or later is now the declared minimum (@sqb/sqlite: 22.5). Older versions are no longer tested. No API changes.

Test plan

github-actions Bot and others added 21 commits October 30, 2026 07:09
The version bump, the source stamps and the changelog entry are written on
'main' by `rman version`. Merging them back keeps this branch reporting the
version that actually shipped, and keeps the next pull request carrying only its own work.

[skip ci]
SECURITY.md and CODE_OF_CONDUCT.md come from the panates plugin templates (repository-setup). The issue templates ask for the package, the database and driver, the Node.js version and the generated SQL.
Version updates come from rman deps (ai-harness #5); Renovate never opened a pull request here.
The same root scripts as every repository (ai-harness #3): rman lint, rman check, rman format.
GitHub strips style attributes, so style="text-align: center" did not center the logo. align="center" does (ai-harness #6).
build/, .env.* (except .env.example) in .gitignore; /.claude and /graphify-out in .prettierignore.
The shared settings offer the panates plugin from panates/ai-harness and turn off the Co-Authored-By trailer. .gitignore now ignores only .claude/settings.local.json and .claude/worktrees/, so machine-local hooks stay out of the repository.
Node.js 20 is end of life and CI tests on 22 and later. Older versions may still work; they are no longer tested. The sqlite package keeps >=22.5.0, the first release with node:sqlite.
private: true in each source manifest stops a publish from the source directory (ai-harness #1). rman writes the published manifest into build/ without it; checked with rman build.
@nestjs/common, @nestjs/core, @nestjs/platform-express and @nestjs/testing ^12.3.3, @panates/eslint-config and @panates/eslint-config-ts ^2.3.5, @panates/rman-preset ^2.2.2, @swc/core ^1.16.21, @swc/helpers ^0.5.24, globals ^17.14.0, tslib ^2.9.1, valgen ^7.0.7, and the lockfile. Lint, check and build pass; tests as on dev (789 passing, 8 that need a database server).
One sentence under the logo and the documentation link line under the badges (ai-harness #6). Node Compatibility says 22 or later, as the manifests do now. The license is BSD 3-Clause, as LICENSE and every package.json say, not MIT. Links point to panates/sqb, and the coverage link to dev.
Every package README now has the package name as H1 and one sentence under the logo (ai-harness #6), says Node.js 22 or later, and names the BSD 3-Clause license with an absolute link, since npm shows these files without the repository. The oracle, postgres and sqljs sentences say they are adapters: their package.json descriptions call them serialization extensions.
CLAUDE.md held only the shared sections. ai-harness #7 asks for a project summary, the directory layout and repository-specific traps; the trap here is that database suites need the servers CI starts.
No code reads INIT_POSTGRES, INIT_MONGODB or INIT_SQB, which .mocharc.cjs set, and packages/common no longer exists. Lint passes; tests as on dev (789 passing, 8 that need a database server).
chore: align sqb with the repository standards
The commit types and format come from the git-workflow skill of the panates plugin (ai-harness #4); company rules are not copied into CLAUDE.md (#7). The copy had drifted: it allowed a dev: type and left out build, ci and revert.
main takes pull requests from dev only (ai-harness git-workflow). The main-from-dev workflow is the panates plugin template: it reads nothing and passes the branch names through env.
Their package.json descriptions said serialization extension, which is what the -dialect packages are. npm shows the description on the package page.
chore: finish aligning sqb with the repository standards
rman finds workspace members in pnpm-workspace.yaml since 2.39.0, so the comment saying it still reads package.json's workspaces was out of date (panates/ai-harness#9), and the workspaces field only repeated the list. rman build still builds all 18 projects.
chore: read the workspace from pnpm-workspace.yaml only
@erayhanoglu
erayhanoglu merged commit 1fd7541 into main Nov 4, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant