Skip to content

NPM package version bump#302

Merged
robgruen merged 8 commits intomainfrom
dev/robgruen/update_ci
Feb 25, 2026
Merged

NPM package version bump#302
robgruen merged 8 commits intomainfrom
dev/robgruen/update_ci

Conversation

@robgruen
Copy link
Contributor

@robgruen robgruen commented Feb 24, 2026

This pull request updates the TypeChat package to improve its npm publishing workflow and package configuration. The most significant changes include adding scripts to handle the SECURITY.md file during publish, updating .npmignore to exclude unnecessary files, and incrementing the package version.

NPM publishing workflow improvements:

  • Added prepublishOnly and postpublish scripts in package.json to copy SECURITY.md into the package before publishing and remove it afterward, ensuring the file is included in the published package but not left in the working directory.
  • Updated .gitignore in node_modules/typescript/ to note that SECURITY.md is copied at publish time.

Package configuration updates:

  • Added a .npmignore file to exclude source files, examples, node_modules, TypeScript files, and other development artifacts from the published package, while ensuring type declarations are included.
  • Set the main and types fields in package.json to point to the built files in dist/, improving compatibility for consumers.
  • Bumped the package version from 0.1.1 to 0.1.2 in package.json. Available: https://www.npmjs.com/package/typechat/v/0.1.2

Repository metadata:

  • Updated the repository URL in package.json to use the git+https protocol for better npm compatibility.

@robgruen robgruen merged commit 5a42ac2 into main Feb 25, 2026
12 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