Skip to content

Publish to npm - #1

Merged
mcharytoniuk merged 2 commits into
mainfrom
publish-to-npm
Jul 18, 2026
Merged

Publish to npm#1
mcharytoniuk merged 2 commits into
mainfrom
publish-to-npm

Conversation

@mcharytoniuk

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR prepares glazur for publishing to npm by generating and shipping TypeScript declaration files, exposing them via package.json metadata/exports, and documenting npm installation.

Changes:

  • Add a dedicated TypeScript build config to emit declarations into a types/ directory.
  • Update npm packaging metadata (files, types, exports) and add a prepack hook to generate types before publishing.
  • Ignore generated types/ artifacts in git/Prettier and document npm install glazur in the README.

Reviewed changes

Copilot reviewed 5 out of 7 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
tsconfig.build.json Adds a build-only TS config to emit declaration files into types/.
README.md Documents npm installation.
package.json Publishes types/ + wires up types and exports for type consumers; adds prepack.
package-lock.json Updates license metadata to match package.json.
Makefile Adds a types build step (tsc declarations) and cleans generated output.
.prettierignore Ignores generated types/ output.
.gitignore Ignores generated types/ output.

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

Comment thread Makefile
@mcharytoniuk
mcharytoniuk merged commit f8281b4 into main Jul 18, 2026
3 checks passed
@mcharytoniuk
mcharytoniuk deleted the publish-to-npm branch July 18, 2026 23:55
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.

2 participants