Skip to content

fix(ts-client): include readme in published package#1340

Merged
sscargal merged 1 commit into
MemMachine:mainfrom
haosenwang1018:fix/ts-client-publish-readme
May 13, 2026
Merged

fix(ts-client): include readme in published package#1340
sscargal merged 1 commit into
MemMachine:mainfrom
haosenwang1018:fix/ts-client-publish-readme

Conversation

@haosenwang1018

Copy link
Copy Markdown
Contributor

Purpose of the change

Ensure the published @memmachine/client npm package includes its README so the npm package page and tarball contain the client usage/docs content.

Description

Follow-up to #1181

packages/ts-client/package.json currently restricts the published file set to dist, which means the package README is omitted from the published artifact.

This change updates the files field to include README.md alongside dist.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Refactor (does not change functionality, e.g., code style improvements, linting)
  • Documentation update
  • Project Maintenance (updates to build scripts, CI, etc., that do not affect the main project)
  • Security (improves security without changing functionality)

How Has This Been Tested?

  • Unit Test
  • Integration Test
  • End-to-end Test
  • Test Script (please provide)
  • Manual verification (list step-by-step instructions)

Test command:

  • cd packages/ts-client && npm pack --dry-run

Verified that README.md is now included in the tarball contents.

Checklist

  • I have signed the commit(s) within this pull request
  • My code follows the style guidelines of this project (See STYLE_GUIDE.md)
  • I have performed a self-review of my own code
  • I have commented my code
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added unit tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules
  • I have checked my code and corrected any misspellings

Maintainer Checklist

  • Confirmed all checks passed
  • Contributor has signed the commit(s)
  • Reviewed the code
  • Run, Tested, and Verified the change(s) work as expected

@sscargal sscargal requested a review from Copilot April 17, 2026 17:35

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Ensures the published @memmachine/client npm package includes its README so documentation appears on the npm package page and in the packed tarball.

Changes:

  • Expands the files whitelist in packages/ts-client/package.json to include README.md in addition to dist.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread packages/ts-client/package.json
@sscargal

Copy link
Copy Markdown
Contributor

@haosenwang1018 thank you for the pull request submission. Please sign your commits, resolve the unit test failures, and review the CoPilot feedback. You only need to resolve the relevant items. Thanks.

Add `README.md` to the `files` whitelist in
`packages/ts-client/package.json` so the package README ships in
the published tarball and renders on the npm package page.

Note: the Copilot review comment about README path resolution is
not applicable here — `packages/ts-client/README.md` already
exists alongside `package.json`, so the entry resolves correctly
and the README is included in `npm pack` output.

Refs: MemMachine#1340

Co-authored-by: Steve Scargall <steve.scargall@gmail.com>
Signed-off-by: Steve Scargall <37674041+sscargal@users.noreply.github.com>
@sscargal sscargal force-pushed the fix/ts-client-publish-readme branch from 6fdfad3 to 610b59c Compare May 13, 2026 19:38
@sscargal sscargal requested a review from Copilot May 13, 2026 20:03

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

@sscargal sscargal left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. tested ok.

@sscargal sscargal merged commit de9f69b into MemMachine:main May 13, 2026
49 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.

4 participants