chore: align repo scaffolding with the package standard - #11
Merged
Conversation
TheGreatAxios
added this pull request to stack #9
September 26, 2026 03:00
TheGreatAxios
force-pushed
the
cl-9393-google-tools-align-repo-scaffolding-with-the-package
branch
from
September 26, 2026 03:01
49cb975 to
db4214d
Compare
TheGreatAxios
force-pushed
the
cl-9393-google-tools-align-repo-scaffolding-with-the-package
branch
from
September 26, 2026 04:12
db4214d to
85f1bc1
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-9393
Summary
LICENSE: the Interchange LGPL-2.1 text, byte-identical across @corbits repos (was the FSF text); addCLA.mdand thecla.ymlCLA Assistant workflowpackage.json: dropmain/types(exportscovers Node 24 and Bun);enginesaddsbun;fileslistsREADME.mdbeforeLICENSEas in every repo;typecheckis plaintsc --noEmit(now coveringe2e/),typecheck:e2eis gone,testadds--pass-with-no-tests, and a newcheckruns typecheck, lint, format check and unit tests. Key order is oxfmt'stsconfig.jsonandtsconfig.build.jsonfollow the standard templates; deletetsconfig.e2e.jsonandtsconfig.typecheck.json. The typecheck config gainsexactOptionalPropertyTypes,isolatedModules,moduleDetectionandresolveJsonModule, losesnoFallthroughCasesInSwitch, and uses Bun types onlyexactOptionalPropertyTypesfixes (no behavior change):src/client/client.ts: optional fields onGmailRequestand theGmailClientmethod options acceptundefined, since the tools forward optional inputs as-issrc/tools/models.ts:messageMetadatareads thesubjectandfromheaders once and omits the key when absente2e/helpers.ts: build the signedRequestfrom the source request or the URL string in separate branches.gitignore: the standard list plus.local/, which holds the live suite's Gmail refresh tokenci.yml: runs on pull requests and pushes tomain(was every branch push);bun run check, then a pack-and-import smoke under Node 24 that installs the tarball and checkscreateGmailTools,createGmailClientandGmailApiError(the old smoke imported./distdirectly); drops the single-entry matrixCONTRIBUTING.md: the standard template plus a CLA line and a shortened Live Gmail checks section (same env vars and fixture rules)AGENTS.md: rewritten from the placeholder to purpose, layout, rules and local developmentCLAUDE.md(Bun's generated boilerplate)Stacked on #10.
Releasingsection: releases are manual, as in Interchange (npm version, push tags,gh release create --generate-notes,npm publish).Commits
refactor: type optional Gmail fields for exactOptionalPropertyTypeschore: 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, rewrite AGENTS.md, drop CLAUDE.mdChecks
bun run build,bun run checkandbun run test:e2e(live suites skipped) pass; the Node pack smoke passes locally.