NPM publish workflow - #3
Merged
Merged
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR sets up an automated NPM publishing workflow using Changesets for version management and package publishing. The changes prepare four packages for publication to NPM while reorganizing internal dependencies to use a private workspace package naming convention.
Key Changes
- Configured Changesets for automated versioning and publishing workflow
- Renamed internal config package from
@adobe/uix-configto@repo/uix-configto prevent accidental publishing - Reset publishable package versions to 0.0.1 and added NPM publish configuration
Reviewed Changes
Copilot reviewed 18 out of 21 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| package.json | Added Changesets CLI dependency and npm scripts for versioning and publishing |
| .changeset/config.json | Configured Changesets with public access and ignored internal packages |
| .changeset/README.md | Standard Changesets documentation |
| .github/workflows/publish.yml | GitHub Actions workflow for automated publishing to NPM |
| .github/workflows/changeset-check.yml | CI check to enforce changeset creation on PRs |
| PUBLISHING.md | Comprehensive documentation for the publishing workflow |
| packages/typescript-config/package.json | Renamed to @repo/uix-config and removed public access config |
| packages/*/package.json | Updated to version 0.0.1, added publishConfig, and updated config dependency references |
| packages/*/tsconfig.json | Updated to reference renamed @repo/uix-config package |
| packages/commons-contract/src/index.ts | Added export for contentFragment.js module |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
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.
Description
Add github workflows for publishing contracts packages to public NPM
Publishing process: https://github.com/adobe/uix-contracts/blob/aa75a901bcc52fe5f4bb8ea379a57a048dde8e2f/PUBLISHING.md
Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: