chore: align repo scaffolding with the package standard - #18
Merged
Conversation
TheGreatAxios
added this pull request to stack #16
September 26, 2026 02:56
TheGreatAxios
force-pushed
the
cl-9391-cron-align-repo-scaffolding-with-the-package-standard
branch
2 times, most recently
from
September 26, 2026 04:12
341f609 to
5ac7d4e
Compare
Each suite creates a database and runs every host and cron migration, which can outlast bun's 5s default hook timeout on a cold Postgres.
TheGreatAxios
force-pushed
the
cl-9391-cron-align-repo-scaffolding-with-the-package-standard
branch
from
September 27, 2026 02:01
5ac7d4e to
2a40e4c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes CL-9391
Summary
CLA.mdand the CLA Assistant workflow (cla.yml, signatures on acla-signaturesbranch) added; CONTRIBUTING links the CLA.package.json: droppedmain/types(exportscovers Node and Bun), addedkeywords,homepage#readme, enginesbun >=1.2.0alongsidenode >=24,buildclearsdistfirst,testrunsbun test src --pass-with-no-testsandtest:e2erunsbun test e2e, and acheckscript; key order is oxfmt'ssortPackageJsonorder.tsconfig.jsonandtsconfig.build.jsonuse the shared templates (dropsallowImportingTsExtensionsand the build comment; addsexactOptionalPropertyTypes,noImplicitOverride,moduleDetection). The one error it surfaced:runCronMigrationspassedssl: config.ssl(possiblyundefined) topostgres; it now passesconfig.ssl ?? false, which is the driver's default..gitignorereplaced with the shared template.ci.yml(the repo had no CI): one Node 24 job with a Postgres 16 service that runsbun run check,bun run test:e2e, then packs the tarball and importscreateCronRoutes,createCronTickerandisValidCronExpressionunder Node.Releasingsection: releases are manual, as in Interchange (npm version, push tags,gh release create --generate-notes,npm publish).Commits
chore: use the Interchange LICENSE text and add the CLAbuild: align package.json and tsconfig with the package standardci: run check and a Node pack smokedocs: trim CONTRIBUTING, add AGENTS.md, drop README badgesChecks
bun run build,check(typecheck, lint, format:check, test) and the Node pack-and-import smoke pass locally.test:e2epasses against local Postgres (9 tests), with no extra timeout flag.test:e2e database setup hooks get a 60s timeout (DB_SETUP_TIMEOUT_MS); a fresh database plus every migration can outlast bun's 5s default.