Skip to content

chore: align repo scaffolding with the package standard - #27

Merged
TheGreatAxios merged 4 commits into
cl-9375-ollama-adapter-switch-to-oxfmt-and-oxlintfrom
cl-9397-ollama-adapter-align-repo-scaffolding-with-the-package
Sep 27, 2026
Merged

TheGreatAxios merged 4 commits into
cl-9375-ollama-adapter-switch-to-oxfmt-and-oxlintfrom
cl-9397-ollama-adapter-align-repo-scaffolding-with-the-package

Conversation

@TheGreatAxios

@TheGreatAxios TheGreatAxios commented Sep 26, 2026 •

Copy link
Copy Markdown
Contributor

Closes CL-9397

Summary

  • LICENSE replaced with Interchange's text: line 162 had been edited to "version 2.1 of the License" and now reads "either version 2.1 of the License, or (at your option) any later version" like every other repo. CLA.md and the CLA Assistant workflow (cla.yml, signatures on a cla-signatures branch) added; CONTRIBUTING links the CLA.
  • package.json: dropped main/types (exports covers Node and Bun), added keywords and homepage#readme, build clears dist first, test runs bun test src --pass-with-no-tests; key order is oxfmt's sortPackageJson order.
  • tsconfig.json and tsconfig.build.json use the shared templates (the build config inherits types: ["bun"]).
  • .gitignore replaced with the shared template.
  • New ci.yml (the repo had no CI): Node 24, bun run check, then packs the tarball and imports createOllamaAdapter and createOllamaAnthropicAdapter under Node.
  • CONTRIBUTING matches the template: the Packaging section (it restated package.json) is gone; the e2e instructions and "How it works" notes stay. New AGENTS.md.
  • README gains a Quickstart that runs one turn through runInference with createOllamaAdapter against a local Ollama.
  • CONTRIBUTING gets a Releasing section: releases are manual, as in Interchange (npm version, push tags, gh release create --generate-notes, npm publish).

Commits

  1. chore: use the Interchange LICENSE text and add the CLA
  2. build: align package.json and tsconfig with the package standard
  3. ci: run check and a Node pack smoke
  4. docs: trim CONTRIBUTING, add AGENTS.md and a README quickstart

Checks

bun run build, typecheck, lint, format:check, test and the Node pack-and-import smoke pass locally. test:e2e against a live Ollama server: 9 pass, 6 skip (models not pulled there). The Quickstart snippet typechecks and printed a reply against that server.

@TheGreatAxios
TheGreatAxios added this pull request to stack #25 September 26, 2026 03:06
@TheGreatAxios
TheGreatAxios force-pushed the cl-9397-ollama-adapter-align-repo-scaffolding-with-the-package branch from 87e5755 to 3c95108 Compare September 26, 2026 04:11
@TheGreatAxios
TheGreatAxios force-pushed the cl-9397-ollama-adapter-align-repo-scaffolding-with-the-package branch from 3c95108 to 39944f4 Compare September 27, 2026 01:02
@TheGreatAxios
TheGreatAxios merged commit a089160 into main Sep 27, 2026
2 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