Skip to content

refactor: move core package into packages/ - #41

Merged
mcollina merged 1 commit into
mainfrom
chore/move-core-into-packages
Nov 6, 2026
Merged

mcollina merged 1 commit into
mainfrom
chore/move-core-into-packages

Conversation

@mcollina

@mcollina mcollina commented Nov 6, 2026

Copy link
Copy Markdown
Member

Moves @platformatic/sqlite-js-stream from the repo root into packages/sqlite-js-stream, so every published package lives under packages/. The repo root becomes a private pnpm workspace container that only keeps the monorepo-level config (workspace, tsconfig base/repo typecheck, eslint, version-bump script, workflows).

This follows the layout the sibling packages (backend-s3, backend-pg, sqlite-js-stream-paged-vfs) already use.

Orchestration scripts (build, typecheck, lint, test:all, test:paged-vfs, bench, golden:go) moved to the root package.json; the core package keeps only its own test/build/prepack/bench scripts. Sub-package tests that import the core's shared test helpers now use ../../sqlite-js-stream/test/helpers/.... The version-bump script reads the base version from the core package and bumps only packages/*, and the CI/release workflow paths were updated. The stray untracked packages/paged-vfs directory (which had no package.json) was removed.

Verified: build, repo-wide typecheck, lint, the core suite (158 pass, 0 fail), and the S3 suite (43 pass, 0 fail) all pass.

Move @platformatic/sqlite-js-stream from the repo root to
packages/sqlite-js-stream so every published package lives under
packages/. The repo root becomes a private pnpm workspace container:
orchestration scripts move there, the shared tsconfig stays as the
base/repo-wide typecheck, and sub-package tests update their imports of
the core's shared helpers. Also remove the stray untracked
packages/paged-vfs directory (it had no package.json).
@mcollina
mcollina merged commit 1c68ccc into main Nov 6, 2026
19 checks passed
@mcollina
mcollina deleted the chore/move-core-into-packages branch November 6, 2026 22:15
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