Skip to content

NPM publish workflow - #3

Merged
AmyJZhao merged 6 commits into
mainfrom
npm-publish-workflow
Oct 16, 2025
Merged

NPM publish workflow#3
AmyJZhao merged 6 commits into
mainfrom
npm-publish-workflow

Conversation

@AmyJZhao

@AmyJZhao AmyJZhao commented Oct 15, 2025

Copy link
Copy Markdown
Member

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

  • 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 change)

Checklist:

  • I have signed the Adobe Open Source CLA.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@AmyJZhao
AmyJZhao requested a review from Copilot October 15, 2025 16:45

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 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-config to @repo/uix-config to 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.

@AmyJZhao
AmyJZhao requested review from kokoc and lukem235 October 15, 2025 17:28

@kokoc kokoc left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

@AmyJZhao
AmyJZhao merged commit 49c1bb0 into main Oct 16, 2025
3 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.

3 participants